@cloak.dev/sdk 0.2.13 → 0.2.20-staging.456721e

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.
@@ -19,7 +19,7 @@ import {
19
19
  serializeUtxo,
20
20
  sumUtxoAmounts,
21
21
  utxoEquals
22
- } from "./chunk-GM3WEXYP.js";
22
+ } from "./chunk-44BQY7RQ.js";
23
23
  export {
24
24
  NATIVE_SOL_MINT,
25
25
  bigintToBytes32,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloak.dev/sdk",
3
3
  "description": "Shield, send, and swap on Solana privately — TypeScript SDK with UTXO-based zero-knowledge transactions",
4
- "version": "0.2.13",
4
+ "version": "0.2.20-staging.456721e",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",
@@ -26,7 +26,10 @@
26
26
  "script:admin-compliance": "tsx scripts/admin-compliance.ts",
27
27
  "script:compliance-smoke": "tsx scripts/compliance-smoke.ts",
28
28
  "fixture:chain-note": "tsx scripts/gen-chain-note-v3-fixture.ts",
29
- "test:examples": "CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/sol/deposit.ts && CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/sol/private-send.ts && CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/sol/withdraw.ts && CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/sol/swap.ts && CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/spl/deposit.ts && CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/spl/private-send.ts && CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/spl/withdraw.ts && CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/viewing-keys.ts",
29
+ "fixture:client-compat": "tsx scripts/gen-client-compat-fixture.ts",
30
+ "test:examples": "CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/sol/deposit.ts && CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/sol/private-send.ts && CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/sol/withdraw.ts && CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/sol/swap.ts && CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/spl/deposit.ts && CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/spl/private-send.ts && CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/spl/withdraw.ts && CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/viewing-keys.ts && CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/bridge/base-partner.ts && CLOAK_EXAMPLE_DRY_RUN=1 tsx examples/one-call/partner.ts",
31
+ "example:bridge-base": "tsx examples/bridge/base-partner.ts",
32
+ "example:one-call": "tsx examples/one-call/partner.ts",
30
33
  "example:deposit": "tsx examples/sol/deposit.ts",
31
34
  "example:private-send": "tsx examples/sol/private-send.ts",
32
35
  "example:withdraw": "tsx examples/sol/withdraw.ts",
@@ -64,6 +67,7 @@
64
67
  "@jup-ag/api": "^6.0.48",
65
68
  "@lightprotocol/hasher.rs": "^0.2.1",
66
69
  "@noble/hashes": "^1.8.0",
70
+ "@scure/bip39": "^1.6.0",
67
71
  "@solana-program/address-lookup-table": "0.14.1",
68
72
  "@solana-program/compute-budget": "0.18.1",
69
73
  "@solana-program/memo": "0.13.1",
@@ -83,6 +87,7 @@
83
87
  "@solana/web3.js": "1.99.0",
84
88
  "@types/jest": "^29.5.0",
85
89
  "@types/node": "^22.0.0",
90
+ "esbuild": "^0.25.11",
86
91
  "jest": "^29.5.0",
87
92
  "ts-jest": "^29.1.0",
88
93
  "ts-node": "^10.9.0",
@@ -92,9 +97,9 @@
92
97
  "typescript": "^5.0.0"
93
98
  },
94
99
  "peerDependencies": {
100
+ "@solana/web3.js": ">=1.99.0",
95
101
  "@switchboard-xyz/common": "^5.6.1",
96
- "@switchboard-xyz/on-demand": "^3.8.2",
97
- "@solana/web3.js": ">=1.99.0"
102
+ "@switchboard-xyz/on-demand": "^3.8.2"
98
103
  },
99
104
  "peerDependenciesMeta": {
100
105
  "@switchboard-xyz/common": {