@dexterai/vault 0.3.4 → 0.3.5

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.
@@ -4749,11 +4749,11 @@ function buildSetSwigAtomicFromIdentity(params) {
4749
4749
  deriveSwigId(params.identitySeed, params.hmacKey)
4750
4750
  );
4751
4751
  const [swigAddress, swigAccountBump] = import_web35.PublicKey.findProgramAddressSync(
4752
- [Buffer.from(swigId)],
4752
+ [Buffer.from("swig"), Buffer.from(swigId)],
4753
4753
  SWIG_PROGRAM_ID
4754
4754
  );
4755
4755
  const [swigWalletAddress, swigWalletAddressBump] = import_web35.PublicKey.findProgramAddressSync(
4756
- [swigAddress.toBytes()],
4756
+ [Buffer.from("swig-wallet-address"), swigAddress.toBytes()],
4757
4757
  SWIG_PROGRAM_ID
4758
4758
  );
4759
4759
  return buildSetSwigAtomicInstruction({
@@ -4711,11 +4711,11 @@ function buildSetSwigAtomicFromIdentity(params) {
4711
4711
  deriveSwigId(params.identitySeed, params.hmacKey)
4712
4712
  );
4713
4713
  const [swigAddress, swigAccountBump] = PublicKey5.findProgramAddressSync(
4714
- [Buffer.from(swigId)],
4714
+ [Buffer.from("swig"), Buffer.from(swigId)],
4715
4715
  SWIG_PROGRAM_ID
4716
4716
  );
4717
4717
  const [swigWalletAddress, swigWalletAddressBump] = PublicKey5.findProgramAddressSync(
4718
- [swigAddress.toBytes()],
4718
+ [Buffer.from("swig-wallet-address"), swigAddress.toBytes()],
4719
4719
  SWIG_PROGRAM_ID
4720
4720
  );
4721
4721
  return buildSetSwigAtomicInstruction({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexterai/vault",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "Canonical off-chain mirror of the dexter-vault Solana Anchor program — Solana instruction builders, byte-precise message encoders, account decoders, secp256r1/Ed25519 precompile helpers, counterfactual Swig derivation, and signer interfaces. The single source of truth for any TypeScript code that produces bytes the on-chain program will verify.",
5
5
  "author": "Dexter",
6
6
  "license": "MIT",