Commit Graph

11 Commits

Author SHA1 Message Date
2ffa63df41 add getInterchain: trace a transaction/block to validator blocks + interchain anchors
All checks were successful
Build and Test / build (20.x) (push) Successful in 45s
Build and Test / build (18.x) (push) Successful in 48s
Build and Test / build (16.x) (push) Successful in 52s
New transaction.getInterchain and block.getInterchain call the prime-node
/api/v1/{transaction,block}/{id}/interchain endpoints, returning an
InterchainTrace { blockId, validatorBlocks, interchainTransactions }. Adds
VerificationBlock / InterchainTransaction / InterchainTrace interfaces and
method-existence assertions.
2026-06-02 14:12:59 -04:00
e4430ae27c Fix Block model to match server: nest header with camelCase keys
All checks were successful
Build and Test / build (20.x) (push) Successful in 2m14s
Build and Test / build (18.x) (push) Successful in 2m21s
Build and Test / build (16.x) (push) Successful in 2m24s
The block endpoint returns block id / prev / timestamp nested under a
"header" object with camelCase keys (blockId, dcId, prevId, prevProof,
timestamp) and a proof of just {proof}. The previous flat snake_case
Block fields never matched the response and always deserialized empty.
Add a BlockHeader interface, nest it in Block, and make proof.scheme
optional. Verified live against a dev chain.
2026-05-29 17:08:41 -04:00
2071db93e5 Fix publish auth: use SA_DC_BUILD_API_TOKEN org secret
All checks were successful
Build and Test / build (16.x) (push) Successful in 15s
Build and Test / build (18.x) (push) Successful in 14s
Build and Test / build (20.x) (push) Successful in 13s
2026-03-17 11:10:22 -04:00
b6019a48e5 Fix publish workflow: configure Gitea registry only for publish step
All checks were successful
Build and Test / build (16.x) (push) Successful in 15s
Build and Test / build (18.x) (push) Successful in 13s
Build and Test / build (20.x) (push) Successful in 14s
2026-03-17 11:08:43 -04:00
14ac869ed6 Add workflow_dispatch and published trigger to publish workflow
All checks were successful
Build and Test / build (20.x) (push) Successful in 13s
Build and Test / build (18.x) (push) Successful in 13s
Build and Test / build (16.x) (push) Successful in 16s
2026-03-17 11:06:53 -04:00
18457fd270 Bump version to 1.1.0 and fix publish workflow token
All checks were successful
Build and Test / build (16.x) (push) Successful in 15s
Build and Test / build (18.x) (push) Successful in 13s
Build and Test / build (20.x) (push) Successful in 14s
- Bump to 1.1.0 for new types, credential functions, and client getters
- Use GITEA_TOKEN instead of NPM_TOKEN for Gitea NPM registry auth
v1.1.0
2026-03-17 11:04:03 -04:00
8f7a09c29d Fix lint errors in credentials.ts
All checks were successful
Build and Test / build (16.x) (push) Successful in 16s
Build and Test / build (18.x) (push) Successful in 14s
Build and Test / build (20.x) (push) Successful in 13s
- Fix prettier formatting for multi-line regex in expandPath
- Add proper types to regex callback params to fix no-unsafe-assignment
- Suppress no-unused-vars for destructured _rawContent in saveConfig
2026-03-17 10:57:27 -04:00
a92c42829c Fix CI: commit package-lock.json and remove it from .gitignore
Some checks failed
Build and Test / build (16.x) (push) Failing after 11s
Build and Test / build (18.x) (push) Failing after 9s
Build and Test / build (20.x) (push) Failing after 9s
npm ci requires a lockfile to exist in the repo. All 3 CI runs have
been failing since the initial commit because package-lock.json was
gitignored.
2026-03-17 10:53:08 -04:00
e6f95bc165 Sync Node SDK with Go SDK: add missing types, credentials functions, and client getters
Some checks failed
Build and Test / build (16.x) (push) Failing after 15s
Build and Test / build (20.x) (push) Failing after 14s
Build and Test / build (18.x) (push) Failing after 16s
- Add remote field to SmartContractCreateRequest
- Add GrpcConnectionInfo interface and field on SmartContract
- Add addChain, setDefault, deleteChain credential functions
- Add getPublicId, getAuthKeyId, getEndpoint client accessors
- Fix expandPath to handle both $VAR and ${VAR} env var formats
- Improve saveConfig with better yaml.dump options and _rawContent tracking
2026-03-17 10:50:43 -04:00
5c7770be70 Updated package name
Some checks failed
Build and Test / build (16.x) (push) Failing after 5s
Build and Test / build (18.x) (push) Failing after 3s
Build and Test / build (20.x) (push) Failing after 3s
2025-11-11 13:41:25 -05:00
98ab2e05a7 Initial Commit
Some checks failed
Build and Test / build (16.x) (push) Failing after 12s
Build and Test / build (18.x) (push) Failing after 6s
Build and Test / build (20.x) (push) Failing after 6s
2025-11-05 15:25:20 -05:00