@vultisig/cli 2.21.1 → 2.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +58 -0
- package/dist/index.js +1423 -1226
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,63 @@
|
|
|
1
1
|
# @vultisig/cli
|
|
2
2
|
|
|
3
|
+
## 2.23.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1262](https://github.com/vultisig/vultisig-sdk/pull/1262) [`10164ae`](https://github.com/vultisig/vultisig-sdk/commit/10164ae94af2183a63e908318ed4e675d2fe1e6e) Thanks [@rcoderdev](https://github.com/rcoderdev)! - Preserve exact decimal swap amounts from CLI input through preview and execution.
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`23563f4`](https://github.com/vultisig/vultisig-sdk/commit/23563f41da7b142e5ae9d34d4287eaaaa3fef701), [`859ab28`](https://github.com/vultisig/vultisig-sdk/commit/859ab287d3574c508b4abce5950e8e42c17f8198)]:
|
|
10
|
+
- @vultisig/sdk@2.23.0
|
|
11
|
+
- @vultisig/core-chain@2.29.1
|
|
12
|
+
- @vultisig/rujira@56.0.0
|
|
13
|
+
|
|
14
|
+
## 2.22.0
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [#1583](https://github.com/vultisig/vultisig-sdk/pull/1583) [`028b3ce`](https://github.com/vultisig/vultisig-sdk/commit/028b3cec5e56e5ab41de5eeb66f6837af9e1dd27) Thanks [@Toby1009](https://github.com/Toby1009)! - Move every Sui read, simulation and broadcast off JSON-RPC.
|
|
19
|
+
|
|
20
|
+
Sui is retiring JSON-RPC: shutdown on Foundation mainnet full nodes began the
|
|
21
|
+
week of 2026-07-27 and full decommission (code removal) lands mid-October 2026,
|
|
22
|
+
after which no provider can serve it. This is a scheduled migration ahead of
|
|
23
|
+
that date, NOT a fix for a live outage — as of 2026-07-27 both
|
|
24
|
+
`sui-rpc.publicnode.com` and `fullnode.mainnet.sui.io` still answer JSON-RPC.
|
|
25
|
+
|
|
26
|
+
- `getSuiClient()` now returns a `SuiGrpcClient` pointed at
|
|
27
|
+
`https://fullnode.mainnet.sui.io:443` (gRPC-web over HTTPS).
|
|
28
|
+
- React Native uses `SuiGraphQLClient` against
|
|
29
|
+
`https://graphql.mainnet.sui.io/graphql` instead: grpc-web needs
|
|
30
|
+
`Response.body` streaming, which Hermes' fetch does not provide. Both clients
|
|
31
|
+
implement the same unified transport interface, so callsites are identical.
|
|
32
|
+
- Balance, coin metadata, coin listing, tx hash, tx status, broadcast and
|
|
33
|
+
keysign gas refinement moved to `getBalance` / `getCoinMetadata` / `listCoins`
|
|
34
|
+
/ `simulateTransaction` / `getTransaction` / `executeTransaction`.
|
|
35
|
+
- The dependency-free `@vultisig/sdk` balance tools (`getSuiBalance`,
|
|
36
|
+
`getSuiTokenBalance`, `getSuiAllBalances`) now POST Sui GraphQL and follow the
|
|
37
|
+
paginated `balances` connection to completion, returning `tokens_unavailable`
|
|
38
|
+
rather than a silently truncated portfolio.
|
|
39
|
+
|
|
40
|
+
Broadcast-error classification follows the transport. A gRPC failure carries the
|
|
41
|
+
grpc-status NAME in `code` (not a JSON-RPC number) and a percent-encoded message,
|
|
42
|
+
so both classifiers were re-pointed:
|
|
43
|
+
|
|
44
|
+
- `isTransientBroadcastError` retries `UNAVAILABLE` / `DEADLINE_EXCEEDED` /
|
|
45
|
+
`RESOURCE_EXHAUSTED` and decodes the message before pattern-matching. A
|
|
46
|
+
grpc-web response is HTTP 200 with the real status in the trailer, so the
|
|
47
|
+
existing 5xx branch never saw a busy or restarting node.
|
|
48
|
+
- The CLI's permanent-vs-retryable gate matches `INVALID_ARGUMENT` instead of
|
|
49
|
+
the numeric `-32002`. Left unchanged, that gate would have gone dead and every
|
|
50
|
+
permanent Sui rejection would have been re-broadcast as if transient.
|
|
51
|
+
|
|
52
|
+
Breaking for direct consumers: `assertSuiTxSucceeded` now takes the unified
|
|
53
|
+
client's transaction result (`{ $kind, Transaction | FailedTransaction }`)
|
|
54
|
+
instead of a JSON-RPC effects object.
|
|
55
|
+
|
|
56
|
+
- Updated dependencies [[`4b14790`](https://github.com/vultisig/vultisig-sdk/commit/4b14790fb5f0fa5b9a58f6fe5575ad4c2bab3867), [`70f4583`](https://github.com/vultisig/vultisig-sdk/commit/70f4583a359f988460633b44046bf5811c9c0f74), [`98ec3bf`](https://github.com/vultisig/vultisig-sdk/commit/98ec3bfdcf0831df00ceec6618c796dbfa2c4d13), [`bb5b62c`](https://github.com/vultisig/vultisig-sdk/commit/bb5b62c60ca298d0aa98614e8c2b01eeef0d8bdb), [`d7fd8fd`](https://github.com/vultisig/vultisig-sdk/commit/d7fd8fd891d2bb9f007b3feff5b31cc961bae497), [`3cf9cdc`](https://github.com/vultisig/vultisig-sdk/commit/3cf9cdc14f0069f231f2ea0cede3cec155af95d5), [`f99133d`](https://github.com/vultisig/vultisig-sdk/commit/f99133dc7a99f44bbe78ba43fa59e7ec761c73e1), [`3cf9cdc`](https://github.com/vultisig/vultisig-sdk/commit/3cf9cdc14f0069f231f2ea0cede3cec155af95d5), [`6142529`](https://github.com/vultisig/vultisig-sdk/commit/6142529abc39bb548be8b1f32453f0207584c4e2), [`028b3ce`](https://github.com/vultisig/vultisig-sdk/commit/028b3cec5e56e5ab41de5eeb66f6837af9e1dd27), [`70f4583`](https://github.com/vultisig/vultisig-sdk/commit/70f4583a359f988460633b44046bf5811c9c0f74), [`e76ba9b`](https://github.com/vultisig/vultisig-sdk/commit/e76ba9ba78ec52f30f3678ef4acc933ef5712cdc), [`4777264`](https://github.com/vultisig/vultisig-sdk/commit/47772647b90336ae3297d208777523592f69dde4), [`89410fb`](https://github.com/vultisig/vultisig-sdk/commit/89410fbb0abf3ad05919fb38d1abc74a5acf9a6b), [`787e755`](https://github.com/vultisig/vultisig-sdk/commit/787e755d230d1e0fa012583d6edd8b7fa5aad88d)]:
|
|
57
|
+
- @vultisig/core-chain@2.29.0
|
|
58
|
+
- @vultisig/sdk@2.22.0
|
|
59
|
+
- @vultisig/rujira@55.0.0
|
|
60
|
+
|
|
3
61
|
## 2.21.1
|
|
4
62
|
|
|
5
63
|
### Patch Changes
|