Compare commits

...
9 Commits
Author SHA1 Message Date
telackey 5a0298dda5 Fix yarn.lock (#51)
Tests / sdk_tests (push) Successful in 3m26s
Reviewed-on: #51
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-01-15 18:23:30 +00:00
telackey 97b74760d9 Bump version. (#50)
Tests / sdk_tests (push) Successful in 3m44s
Reviewed-on: #50
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-01-15 18:03:26 +00:00
telackey 6814707752 Update SDK version. (#48)
Tests / sdk_tests (push) Successful in 5m19s
Reviewed-on: #48
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2023-12-21 21:38:11 +00:00
telackey e1da44bae7 Bump version (#47)
Tests / sdk_tests (push) Successful in 3m59s
Reviewed-on: #47
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2023-12-13 21:13:39 +00:00
telackey 51fd81a082 Decode JSON strings automatically.
Tests / sdk_tests (push) Has been cancelled
2023-12-13 15:10:09 -06:00
telackey 3cdd930b82 0.1.5 (#46)
Tests / sdk_tests (push) Successful in 4m1s
Reviewed-on: #46
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2023-12-08 04:55:27 +00:00
telackey 80d1b01713 SDK 0.1.11 (#45)
Tests / sdk_tests (push) Waiting to run
Reviewed-on: #45
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2023-12-08 04:53:08 +00:00
telackey f3c0ae8c34 Use SDK 0.1.10 (#44)
Tests / sdk_tests (push) Successful in 6m37s
Reviewed-on: #44
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2023-12-07 22:15:04 +00:00
telackey f5625d0c87 Take the path as-is, not relative to the current dir. (#43)
Tests / sdk_tests (push) Successful in 4m12s
Reviewed-on: #43
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2023-12-05 03:53:15 +00:00
4 changed files with 14 additions and 8 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@cerc-io/laconic-registry-cli",
"version": "0.1.3",
"version": "0.1.9",
"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.9",
"@cerc-io/laconic-sdk": "^0.1.14",
"js-yaml": "^3.14.1",
"lodash": "^4.17.21",
"lodash-clean": "^2.2.3",
+1 -1
View File
@@ -30,7 +30,7 @@ export const handler = async (argv: Arguments) => {
let file = null;
if (filename) {
file = path.join(process.cwd(), filename as string);
file = filename as string;
} else {
file = 0; // stdin
}
+7 -1
View File
@@ -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));
}
}
+4 -4
View File
@@ -2,10 +2,10 @@
# yarn lockfile v1
"@cerc-io/laconic-sdk@0.1.9":
version "0.1.9"
resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Flaconic-sdk/-/0.1.9/laconic-sdk-0.1.9.tgz#cf11d20a22c75fd61126640824d27d687f925151"
integrity sha512-LlOBZ39cYalvu9YZBpf5KUkgJJDlsuUhAaBReedwVV5O7zwy+3zRaM4HkX+3saG3a4qR8VfYWEeS5GqF9b6Ixw==
"@cerc-io/laconic-sdk@^0.1.14":
version "0.1.14"
resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Flaconic-sdk/-/0.1.14/laconic-sdk-0.1.14.tgz#67a255133c8907657878270f02b7084e11e23736"
integrity sha512-B9iR/PYripQwkXYuJBubz6IojixWLuJb7WZosCuitn+2hroH8+K/VhkBhdKHpJGMs6Z+3GneOzhu7XrLhn1j6Q==
dependencies:
"@cosmjs/amino" "^0.28.1"
"@cosmjs/crypto" "^0.28.1"