@vultisig/cli 0.20.0 → 0.21.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 CHANGED
@@ -1,5 +1,36 @@
1
1
  # @vultisig/cli
2
2
 
3
+ ## 0.21.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#350](https://github.com/vultisig/vultisig-sdk/pull/350) [`bad88d8`](https://github.com/vultisig/vultisig-sdk/commit/bad88d8d87229284c739995c027eb33d3ffc19e3) Thanks [@gomesalexandre](https://github.com/gomesalexandre)! - feat: cosmos-sdk staking module - generic Delegate/Undelegate/BeginRedelegate/WithdrawDelegatorReward + LCD queries
8
+
9
+ Adds the cosmos-sdk staking + distribution module to the SDK, generic across every ibcEnabled cosmos chain we support (Cosmos Hub, Osmosis, Kujira, Terra, TerraClassic, Akash, Noble, Dydx).
10
+
11
+ **Signing primitives** (`@vultisig/sdk` -> `chains.cosmos.buildCosmosStakingTx`):
12
+ - `MsgDelegate`, `MsgUndelegate`, `MsgBeginRedelegate`, `MsgWithdrawDelegatorReward`
13
+ - Hand-rolled RN-safe protobuf (no cosmjs runtime dep) mirroring the existing `buildCosmosWasmExecuteTx` pattern
14
+ - Multi-msg batch txs supported (e.g. claim rewards from many validators in one tx)
15
+ - Byte-for-byte round-trip verified against `cosmjs-types` canonical decoder
16
+
17
+ **LCD query helpers** (`@vultisig/sdk` top-level + `@vultisig/core-chain/chains/cosmos/staking/lcdQueries`):
18
+ - `getCosmosDelegations(chain, address)` -> per-validator balance + shares
19
+ - `getCosmosUnbondingDelegations(chain, address)` -> pending unbondings with completion time
20
+ - `getCosmosDelegatorRewards(chain, address)` -> per-validator rewards + total
21
+ - `getCosmosVestingAccount(chain, address)` -> Periodic / Continuous / Delayed detection (returns null otherwise)
22
+
23
+ ship-once, unlock-many: adding a future cosmos chain is a config-only change.
24
+
25
+ 34 new unit tests including 4 real cosmoshub fixtures captured from `cosmos1a8l3srqyk5krvzhkt7cyzy52yxcght6322w2qy`.
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies [[`bad88d8`](https://github.com/vultisig/vultisig-sdk/commit/bad88d8d87229284c739995c027eb33d3ffc19e3)]:
30
+ - @vultisig/sdk@0.21.0
31
+ - @vultisig/client-shared@0.2.5
32
+ - @vultisig/rujira@16.0.0
33
+
3
34
  ## 0.20.0
4
35
 
5
36
  ### Patch Changes
package/dist/index.js CHANGED
@@ -9453,7 +9453,7 @@ var cachedVersion = null;
9453
9453
  function getVersion() {
9454
9454
  if (cachedVersion) return cachedVersion;
9455
9455
  if (true) {
9456
- cachedVersion = "0.20.0";
9456
+ cachedVersion = "0.21.0";
9457
9457
  return cachedVersion;
9458
9458
  }
9459
9459
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vultisig/cli",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "description": "The self-custody MPC wallet CLI for AI coding agents (Claude Code, Cursor, OpenCode). Natural-language agent mode, 36+ chains, DKLS23 threshold signatures. Seedless.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -73,10 +73,10 @@
73
73
  "@cosmjs/stargate": "^0.38.1",
74
74
  "@napi-rs/keyring": "^1.2.0",
75
75
  "@noble/hashes": "^2.0.1",
76
- "@vultisig/client-shared": "^0.2.4",
76
+ "@vultisig/client-shared": "^0.2.5",
77
77
  "@vultisig/core-chain": "^1.4.1",
78
- "@vultisig/rujira": "^15.0.0",
79
- "@vultisig/sdk": "^0.20.0",
78
+ "@vultisig/rujira": "^16.0.0",
79
+ "@vultisig/sdk": "^0.21.0",
80
80
  "chalk": "^5.6.2",
81
81
  "cli-table3": "^0.6.5",
82
82
  "commander": "^14.0.3",