getInterchain: perChain + chains options (default first anchor per chain); bump 1.5.0
Some checks failed
Build and Test / build (20.x) (push) Failing after 41s
Build and Test / build (18.x) (push) Failing after 44s
Publish to NPM Registry / publish (release) Successful in 51s
Build and Test / build (16.x) (push) Failing after 47s

transaction.getInterchain / block.getInterchain take an optional
{ perChain?, chains? } that maps to prime-node's ?perChain=&chains= params.
Default (no options) returns one anchor per chain. Shared buildInterchainQuery
helper + InterchainOptions type, exported; jest-tested.
This commit is contained in:
2026-06-05 10:55:30 -04:00
parent 5a943f45a6
commit 5ae6dbfc3f
7 changed files with 97 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@dragonchain-inc/prime-sdk",
"version": "1.4.0",
"version": "1.5.0",
"description": "Official Dragonchain Prime SDK for Node.js and TypeScript",
"main": "./dist/index.js",
"module": "./dist/index.mjs",