@bench.games/opportunity-markets 0.1.22 → 0.1.23
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/browser/index.js +16 -0
- package/dist/index.cjs +17 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/browser/index.js
CHANGED
|
@@ -11376,6 +11376,21 @@ async function ensureCentralState(rpc, params) {
|
|
|
11376
11376
|
);
|
|
11377
11377
|
}
|
|
11378
11378
|
|
|
11379
|
+
// src/instructions/claimPendingDeposit.ts
|
|
11380
|
+
async function claimPendingDeposit(input) {
|
|
11381
|
+
const { programAddress, signer, tokenMint, encryptedTokenAccount, signerTokenAccount, tokenProgram } = input;
|
|
11382
|
+
return getClaimPendingDepositInstructionAsync(
|
|
11383
|
+
{
|
|
11384
|
+
signer,
|
|
11385
|
+
tokenMint,
|
|
11386
|
+
encryptedTokenAccount,
|
|
11387
|
+
signerTokenAccount,
|
|
11388
|
+
tokenProgram
|
|
11389
|
+
},
|
|
11390
|
+
programAddress ? { programAddress } : void 0
|
|
11391
|
+
);
|
|
11392
|
+
}
|
|
11393
|
+
|
|
11379
11394
|
// src/accounts/encryptedTokenAccount.ts
|
|
11380
11395
|
import {
|
|
11381
11396
|
getAddressEncoder as getAddressEncoder57,
|
|
@@ -11703,6 +11718,7 @@ export {
|
|
|
11703
11718
|
awaitBatchComputationFinalization,
|
|
11704
11719
|
awaitComputationFinalization,
|
|
11705
11720
|
circuitSource,
|
|
11721
|
+
claimPendingDeposit,
|
|
11706
11722
|
closeEphemeralEncryptedTokenAccount,
|
|
11707
11723
|
closeShareAccount,
|
|
11708
11724
|
createCipher,
|
package/dist/index.cjs
CHANGED
|
@@ -128,6 +128,7 @@ __export(index_exports, {
|
|
|
128
128
|
awaitBatchComputationFinalization: () => awaitBatchComputationFinalization,
|
|
129
129
|
awaitComputationFinalization: () => awaitComputationFinalization,
|
|
130
130
|
circuitSource: () => circuitSource,
|
|
131
|
+
claimPendingDeposit: () => claimPendingDeposit,
|
|
131
132
|
closeEphemeralEncryptedTokenAccount: () => closeEphemeralEncryptedTokenAccount,
|
|
132
133
|
closeShareAccount: () => closeShareAccount,
|
|
133
134
|
createCipher: () => createCipher,
|
|
@@ -10702,6 +10703,21 @@ async function ensureCentralState(rpc, params) {
|
|
|
10702
10703
|
);
|
|
10703
10704
|
}
|
|
10704
10705
|
|
|
10706
|
+
// src/instructions/claimPendingDeposit.ts
|
|
10707
|
+
async function claimPendingDeposit(input) {
|
|
10708
|
+
const { programAddress, signer, tokenMint, encryptedTokenAccount, signerTokenAccount, tokenProgram } = input;
|
|
10709
|
+
return getClaimPendingDepositInstructionAsync(
|
|
10710
|
+
{
|
|
10711
|
+
signer,
|
|
10712
|
+
tokenMint,
|
|
10713
|
+
encryptedTokenAccount,
|
|
10714
|
+
signerTokenAccount,
|
|
10715
|
+
tokenProgram
|
|
10716
|
+
},
|
|
10717
|
+
programAddress ? { programAddress } : void 0
|
|
10718
|
+
);
|
|
10719
|
+
}
|
|
10720
|
+
|
|
10705
10721
|
// src/accounts/encryptedTokenAccount.ts
|
|
10706
10722
|
var import_kit109 = require("@solana/kit");
|
|
10707
10723
|
var ENCRYPTED_TOKEN_ACCOUNT_SEED = "encrypted_token_account";
|
|
@@ -11012,6 +11028,7 @@ function nonceToBytes(nonce) {
|
|
|
11012
11028
|
awaitBatchComputationFinalization,
|
|
11013
11029
|
awaitComputationFinalization,
|
|
11014
11030
|
circuitSource,
|
|
11031
|
+
claimPendingDeposit,
|
|
11015
11032
|
closeEphemeralEncryptedTokenAccount,
|
|
11016
11033
|
closeShareAccount,
|
|
11017
11034
|
createCipher,
|