@vultisig/sdk 1.8.5 → 1.8.6

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @vultisig/sdk
2
2
 
3
+ ## 1.8.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#651](https://github.com/vultisig/vultisig-sdk/pull/651) [`e9c4997`](https://github.com/vultisig/vultisig-sdk/commit/e9c4997bae3a499785295b76dbc956807cc704f5) Thanks [@Ehsan-saradar](https://github.com/Ehsan-saradar)! - Add Sui dApp signing helpers to `@vultisig/core-chain/chains/sui`. Two new
8
+ public modules:
9
+ - `./chains/sui/sign` exports `suiTransactionDataIntent` /
10
+ `suiPersonalMessageIntent` (defensive clones of the 3-byte intent
11
+ prefixes), `getSuiTransactionDataDigest(txBytes)` and
12
+ `getSuiPersonalMessageDigest(messageBytes)` for the intent-prefixed
13
+ blake2b-256 digests the wallet's Ed25519 signer signs, and
14
+ `buildSuiSerializedSignature({ signature, publicKey })` for the 97-byte
15
+ `flag(1) || sig(64) || pubkey(32)` Wallet Standard wire signature.
16
+ - `./chains/sui/buildTransactionFromJson` exports
17
+ `buildSuiTransactionFromJson({ transactionJson, sender })` which hydrates
18
+ a serialized Sui `Transaction` (V1 or V2 JSON) and resolves it to BCS
19
+ bytes via `Transaction.build({ client: getSuiClient() })`. Lets
20
+ extension callers move the build step off the dApp page (where the dApp
21
+ page's Content Security Policy blocks the Sui RPC) and into the
22
+ extension's own context.
23
+
3
24
  ## 1.8.5
4
25
 
5
26
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vultisig/sdk",
3
- "version": "1.8.5",
3
+ "version": "1.8.6",
4
4
  "description": "The self-custody MPC wallet SDK for AI agents. Bitcoin, Ethereum, Solana & 36+ chains via DKLS23 threshold signatures. TypeScript, multi-platform (Node, browser, React Native).",
5
5
  "type": "module",
6
6
  "main": "dist/index.node.cjs",