Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97b74760d9 | ||
|
|
6814707752 | ||
|
|
e1da44bae7 | ||
|
|
51fd81a082 | ||
|
|
3cdd930b82 | ||
|
|
80d1b01713 |
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@cerc-io/laconic-registry-cli",
|
||||
"version": "0.1.4",
|
||||
"version": "0.1.8",
|
||||
"main": "index.js",
|
||||
"repository": "git@github.com:cerc-io/laconic-registry-cli.git",
|
||||
"author": "",
|
||||
@@ -15,7 +15,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"fs-extra": "^10.1.0",
|
||||
"@cerc-io/laconic-sdk": "^0.1.10",
|
||||
"@cerc-io/laconic-sdk": "^0.1.14",
|
||||
"js-yaml": "^3.14.1",
|
||||
"lodash": "^4.17.21",
|
||||
"lodash-clean": "^2.2.3",
|
||||
|
||||
+7
-1
@@ -11,6 +11,12 @@ export const queryOutput = (result: any, output: unknown) => {
|
||||
if (output=="json"){
|
||||
console.log(JSON.parse(JSON.stringify(result)));
|
||||
} else {
|
||||
console.log(JSON.stringify(result,undefined,2));
|
||||
console.log(JSON.stringify(result, (key, value) => {
|
||||
try {
|
||||
return JSON.parse(value)
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}, 2));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
"@cerc-io/laconic-sdk@^0.1.10":
|
||||
version "0.1.10"
|
||||
resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Flaconic-sdk/-/0.1.10/laconic-sdk-0.1.10.tgz#e706f3ad980df1e27c28dc1729d207b1419c6311"
|
||||
integrity sha512-vS7WxTpSa7x+uraW920DJV/7MSHxPBKtOFUWg4nj+6r2llx2pCGiVa/FoPQsvLfAPKRy2Uju/I12EhvTYKXqfg==
|
||||
"@cerc-io/laconic-sdk@^0.1.13":
|
||||
version "0.1.13"
|
||||
resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Flaconic-sdk/-/0.1.13/laconic-sdk-0.1.13.tgz#a51c601f50f3c96656556b7c3f28bc544aac8aef"
|
||||
integrity sha512-P5dCEZjpQTGupSDz1mBfGl3SK/95KKHP0Yww6zlz9xva8l66P9t6juYcF//Os2vA4PzDujCTETPr15kJHSFcTQ==
|
||||
dependencies:
|
||||
"@cosmjs/amino" "^0.28.1"
|
||||
"@cosmjs/crypto" "^0.28.1"
|
||||
|
||||
Reference in New Issue
Block a user