veilix-sdk 0.0.7 → 0.0.8
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/dist/circuits/paths.cjs.map +1 -1
- package/dist/circuits/paths.js.map +1 -1
- package/dist/index.cjs +3 -52
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -52
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +3 -52
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +3 -52
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
package/dist/react/index.cjs
CHANGED
|
@@ -376,18 +376,6 @@ var veilix_devnet_default = {
|
|
|
376
376
|
]
|
|
377
377
|
}
|
|
378
378
|
},
|
|
379
|
-
{
|
|
380
|
-
name: "queue",
|
|
381
|
-
address: "A43DyUGA7s8eXPxqEjJY6EBu1KKbNgfxF8h17VAHn13w"
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
name: "slot_hashes",
|
|
385
|
-
address: "SysvarS1otHashes111111111111111111111111111"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
name: "instructions",
|
|
389
|
-
address: "Sysvar1nstructions1111111111111111111111111"
|
|
390
|
-
},
|
|
391
379
|
{
|
|
392
380
|
name: "system_program",
|
|
393
381
|
address: "11111111111111111111111111111111"
|
|
@@ -744,18 +732,6 @@ var veilix_devnet_default = {
|
|
|
744
732
|
]
|
|
745
733
|
}
|
|
746
734
|
},
|
|
747
|
-
{
|
|
748
|
-
name: "queue",
|
|
749
|
-
address: "A43DyUGA7s8eXPxqEjJY6EBu1KKbNgfxF8h17VAHn13w"
|
|
750
|
-
},
|
|
751
|
-
{
|
|
752
|
-
name: "slot_hashes",
|
|
753
|
-
address: "SysvarS1otHashes111111111111111111111111111"
|
|
754
|
-
},
|
|
755
|
-
{
|
|
756
|
-
name: "instructions",
|
|
757
|
-
address: "Sysvar1nstructions1111111111111111111111111"
|
|
758
|
-
},
|
|
759
735
|
{
|
|
760
736
|
name: "mint"
|
|
761
737
|
},
|
|
@@ -2145,18 +2121,6 @@ var veilix_default = {
|
|
|
2145
2121
|
]
|
|
2146
2122
|
}
|
|
2147
2123
|
},
|
|
2148
|
-
{
|
|
2149
|
-
name: "queue",
|
|
2150
|
-
address: "A43DyUGA7s8eXPxqEjJY6EBu1KKbNgfxF8h17VAHn13w"
|
|
2151
|
-
},
|
|
2152
|
-
{
|
|
2153
|
-
name: "slot_hashes",
|
|
2154
|
-
address: "SysvarS1otHashes111111111111111111111111111"
|
|
2155
|
-
},
|
|
2156
|
-
{
|
|
2157
|
-
name: "instructions",
|
|
2158
|
-
address: "Sysvar1nstructions1111111111111111111111111"
|
|
2159
|
-
},
|
|
2160
2124
|
{
|
|
2161
2125
|
name: "system_program",
|
|
2162
2126
|
address: "11111111111111111111111111111111"
|
|
@@ -2513,18 +2477,6 @@ var veilix_default = {
|
|
|
2513
2477
|
]
|
|
2514
2478
|
}
|
|
2515
2479
|
},
|
|
2516
|
-
{
|
|
2517
|
-
name: "queue",
|
|
2518
|
-
address: "A43DyUGA7s8eXPxqEjJY6EBu1KKbNgfxF8h17VAHn13w"
|
|
2519
|
-
},
|
|
2520
|
-
{
|
|
2521
|
-
name: "slot_hashes",
|
|
2522
|
-
address: "SysvarS1otHashes111111111111111111111111111"
|
|
2523
|
-
},
|
|
2524
|
-
{
|
|
2525
|
-
name: "instructions",
|
|
2526
|
-
address: "Sysvar1nstructions1111111111111111111111111"
|
|
2527
|
-
},
|
|
2528
2480
|
{
|
|
2529
2481
|
name: "mint"
|
|
2530
2482
|
},
|
|
@@ -12702,7 +12654,6 @@ async function buildDepositIx(senderPubkey, commitmentBytes, denominationLamport
|
|
|
12702
12654
|
[buffer.Buffer.from("commitment"), commitmentBuf],
|
|
12703
12655
|
getProgramId()
|
|
12704
12656
|
);
|
|
12705
|
-
const queueAccount = new web3_js.PublicKey(getDepositQueueAddress());
|
|
12706
12657
|
const remainingAccounts = [];
|
|
12707
12658
|
if (tempSigner) {
|
|
12708
12659
|
remainingAccounts.push({
|
|
@@ -12718,9 +12669,9 @@ async function buildDepositIx(senderPubkey, commitmentBytes, denominationLamport
|
|
|
12718
12669
|
pool: poolPDA,
|
|
12719
12670
|
treasury: treasuryPDA,
|
|
12720
12671
|
commitmentAccount: commitmentPDA,
|
|
12721
|
-
queue: queueAccount,
|
|
12722
|
-
slotHashes:
|
|
12723
|
-
instructions:
|
|
12672
|
+
// queue: queueAccount,
|
|
12673
|
+
// slotHashes: anchor.web3.SYSVAR_SLOT_HASHES_PUBKEY,
|
|
12674
|
+
// instructions: anchor.web3.SYSVAR_INSTRUCTIONS_PUBKEY,
|
|
12724
12675
|
systemProgram: anchor__namespace.web3.SystemProgram.programId
|
|
12725
12676
|
}).remainingAccounts(remainingAccounts).instruction();
|
|
12726
12677
|
} else {
|