@lightprotocol/compressed-token 0.10.1 → 0.11.1
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/cjs/browser/index.cjs +13 -2
- package/dist/cjs/browser/index.cjs.map +1 -1
- package/dist/cjs/node/index.cjs +13 -2
- package/dist/cjs/node/index.cjs.map +1 -1
- package/dist/es/browser/index.js +13 -2
- package/dist/es/browser/index.js.map +1 -1
- package/dist/types/index.d.ts +9 -1
- package/package.json +4 -4
|
@@ -5,7 +5,7 @@ var web3_js = require('@solana/web3.js');
|
|
|
5
5
|
var anchor = require('@coral-xyz/anchor');
|
|
6
6
|
|
|
7
7
|
const IDL = {
|
|
8
|
-
version: '0.
|
|
8
|
+
version: '0.6.2',
|
|
9
9
|
name: 'light_compressed_token',
|
|
10
10
|
instructions: [
|
|
11
11
|
{
|
|
@@ -1676,6 +1676,14 @@ const IDL = {
|
|
|
1676
1676
|
code: 6023,
|
|
1677
1677
|
name: 'InvalidTokenPoolPda',
|
|
1678
1678
|
},
|
|
1679
|
+
{
|
|
1680
|
+
code: 6024,
|
|
1681
|
+
name: 'NoInputTokenAccountsProvided',
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
code: 6025,
|
|
1685
|
+
name: 'NoInputsProvided',
|
|
1686
|
+
},
|
|
1679
1687
|
],
|
|
1680
1688
|
};
|
|
1681
1689
|
|
|
@@ -6888,6 +6896,9 @@ class CompressedTokenProgram {
|
|
|
6888
6896
|
stateless_js.defaultTestStateTreeAccounts().addressQueue,
|
|
6889
6897
|
this.programId,
|
|
6890
6898
|
TOKEN_PROGRAM_ID,
|
|
6899
|
+
web3_js.SystemProgram.programId,
|
|
6900
|
+
web3_js.ComputeBudgetProgram.programId,
|
|
6901
|
+
ASSOCIATED_TOKEN_PROGRAM_ID,
|
|
6891
6902
|
authority,
|
|
6892
6903
|
...optionalMintKeys,
|
|
6893
6904
|
...(remainingAccounts !== null && remainingAccounts !== void 0 ? remainingAccounts : []),
|
|
@@ -7026,7 +7037,7 @@ class CompressedTokenProgram {
|
|
|
7026
7037
|
/**
|
|
7027
7038
|
* Public key that identifies the CompressedPda program
|
|
7028
7039
|
*/
|
|
7029
|
-
CompressedTokenProgram.programId = new web3_js.PublicKey('
|
|
7040
|
+
CompressedTokenProgram.programId = new web3_js.PublicKey('cTokenmWW8bLPjZEBAUgYy3zKxQZW6VKi7bqNFEVv3m');
|
|
7030
7041
|
CompressedTokenProgram._program = null;
|
|
7031
7042
|
|
|
7032
7043
|
/**
|