Compare commits

...

4 Commits

Author SHA1 Message Date
e6dc638aa7 Increment package version (#66)
All checks were successful
Lint / lint (18.x) (push) Successful in 1m3s
Publish npm package to gitea / npm_publish (18.x) (release) Successful in 1m17s
Tests / cli_tests (18.x) (push) Successful in 8m18s
Reviewed-on: #66
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-06-19 07:03:18 +00:00
094a3d4383 Handle race condition in CI tests and upgrade SDK (#64)
All checks were successful
Publish npm package to gitea / npm_publish (18.x) (release) Successful in 1m9s
Lint / lint (18.x) (push) Successful in 1m5s
Tests / cli_tests (18.x) (push) Successful in 8m29s
Part of #63

Reviewed-on: #64
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-06-17 08:03:14 +00:00
decc59784a Change to trigger test CI job
All checks were successful
Lint / lint (18.x) (push) Successful in 1m36s
Tests / cli_tests (18.x) (push) Successful in 8m17s
2024-06-14 20:40:15 +00:00
9a201d85b5 Bump version for publishing latest package (#60)
All checks were successful
Lint / lint (18.x) (push) Successful in 1m26s
Tests / cli_tests (18.x) (push) Successful in 8m58s
Part of https://www.notion.so/Create-laconic-registry-SDK-d3a636d4aba44f7cbba3bd99b7146811

Reviewed-on: #60
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
2024-03-28 12:00:06 +00:00
4 changed files with 12 additions and 9 deletions

View File

@ -514,3 +514,4 @@ Reassociate records (switch bond):
```bash
$ laconic cns bond records reassociate --old-bond-id 5c40abd336ae1561f2a1b55be73b12f5a083080bf879b4c9288d182d238badb0 --new-bond-id 3e11c61f179897e4b12e9b63de35d36f88ac146755e7a28ce0bcdd07cf3a03ae
```

View File

@ -1,6 +1,6 @@
{
"name": "@cerc-io/laconic-registry-cli",
"version": "0.1.10",
"version": "0.1.13",
"main": "index.js",
"repository": "git@github.com:cerc-io/laconic-registry-cli.git",
"author": "",
@ -28,7 +28,7 @@
"typescript": "^4.6.3"
},
"dependencies": {
"@cerc-io/laconic-sdk": "^0.1.15",
"@cerc-io/laconic-sdk": "^0.1.16",
"fs-extra": "^10.1.0",
"js-yaml": "^3.14.1",
"lodash": "^4.17.21",

View File

@ -1,5 +1,10 @@
#!/usr/bin/env bash
set -e
# Wait for the laconid endpoint to come up
docker compose exec laconicd sh -c "curl --retry 20 --retry-delay 3 --retry-connrefused http://127.0.0.1:9473/api"
# Get the key from laconicd
laconicd_key=$(yes | docker compose exec laconicd laconicd keys export mykey --unarmored-hex --unsafe)
@ -27,8 +32,5 @@ EOL
)
echo "$config" > "$config_file"
# Wait for the laconid endpoint to come up
docker compose exec laconicd sh -c "curl --retry 10 --retry-delay 3 --retry-connrefused http://127.0.0.1:9473/api"
# Run tests
TEST_ACCOUNT=$laconicd_account_address yarn test

View File

@ -302,10 +302,10 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
"@cerc-io/laconic-sdk@^0.1.15":
version "0.1.15"
resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Flaconic-sdk/-/0.1.15/laconic-sdk-0.1.15.tgz#1011a07933c6f1525e05e1ba7dd6a4e4df9b6edb"
integrity sha512-Ifl4JUGpckZsu2RkaGyGlObpu9B9GhwFVoDCt8WM9ApdtFnGEVSbDzRuh4f2vLj9WaZkbfdSI/Xci1Fugj3lZg==
"@cerc-io/laconic-sdk@^0.1.16":
version "0.1.16"
resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Flaconic-sdk/-/0.1.16/laconic-sdk-0.1.16.tgz#53f12a32f156a177987f89e727eb5f16743df7db"
integrity sha512-wu6k711qHPxowgyzAmjxz8i/ZTGxW+4sHf9WQ+0hW/E9PlR3Gn8OIsN3J8tvY45wvNdKKR3bm+7w/byyYLRF9A==
dependencies:
"@cosmjs/amino" "^0.28.1"
"@cosmjs/crypto" "^0.28.1"