@cloak.dev/sdk 0.2.2-staging.33f11a2 → 0.2.2-staging.5dffa29

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/README.md CHANGED
@@ -6,7 +6,9 @@ USDC/USDT with the output landing in a public token account. Groth16 proofs are
6
6
  client-side (snarkjs) and verified on-chain by the Cloak program.
7
7
 
8
8
  Version 0.2.2 targets the mainnet program deployed on 2026-08-24 and the ceremony-frozen
9
- `cloak-transaction-0.2.0` circuit bundle. See [Version and compatibility](#version-and-compatibility).
9
+ `cloak-transaction-0.2.0` circuit bundle the SDK line and the circuit bundle version are
10
+ independent, and the bundle has not moved since 0.2.0. See
11
+ [Version and compatibility](#version-and-compatibility).
10
12
 
11
13
  ## Installation
12
14
 
@@ -627,13 +629,15 @@ relay endpoint and the localhost-RPC check.
627
629
 
628
630
  ## Version and compatibility
629
631
 
630
- - SDK 0.2.2 pairs with the mainnet program at `zh1eLd6rSphLejbFfJEneUwzHRfMKxgzrgkfwA6qRkW`
631
- (deployed 2026-08-24) and the 0.2.0 circuit bundle the program and circuit bundle are unchanged
632
- since 0.2.0; only the SDK package version has moved. All flows in this README were exercised on
633
- mainnet on 2026-08-25: deposit, private send and withdraw on SOL, USDC and USDT; swaps SOL to
634
- USDC and USDT; viewing-key discovery followed by a spend; keypair-only deposit recovery.
635
- - 0.2.2 adds the opt-in `TransactOptions.relaySupplementalAlt` (see [SPL pools](#spl-pools-usdc-usdt)):
636
- off by default, and existing behavior is unchanged when it is left unset.
632
+ - The 0.2.x line pairs with the mainnet program at `zh1eLd6rSphLejbFfJEneUwzHRfMKxgzrgkfwA6qRkW`
633
+ (deployed 2026-08-24) and the 0.2.0 circuit bundle; 0.2.2 is the current release. All flows in
634
+ this README were exercised on mainnet on 2026-08-25, on 0.2.0: deposit, private send and withdraw
635
+ on SOL, USDC and USDT; swaps SOL to USDC and USDT; viewing-key discovery followed by a spend;
636
+ keypair-only deposit recovery. 0.2.1 and 0.2.2 are additive against that release (the relay-owned
637
+ supplemental lookup table in 0.2.2) and target the same program and the same circuit bundle, so
638
+ `npm install @cloak.dev/sdk@^0.2.0` resolves to the newest of them. The bridge client rides the
639
+ same line; which version carries it to npm has not been decided, and staging exercises it as a
640
+ `0.2.2-staging.<sha>` prerelease under the `staging` dist-tag.
637
641
  - Proofs generated with the 0.1.x circuits are rejected by the mainnet program. SDK 0.1.x builds
638
642
  (which ship the 0.1.0 bundle) are not usable against it; upgrade to 0.2.x.
639
643
  - The note-based `CloakSDK` class is removed in 0.2.0. It targeted the pre-0.2.0 instruction layout