@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
package/dist/es/browser/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { PublicKey, SystemProgram, TransactionInstruction, Transaction, sendAndC
|
|
|
3
3
|
import { AnchorProvider, setProvider, Program, BN } from '@coral-xyz/anchor';
|
|
4
4
|
|
|
5
5
|
const IDL = {
|
|
6
|
-
version: '0.
|
|
6
|
+
version: '0.6.2',
|
|
7
7
|
name: 'light_compressed_token',
|
|
8
8
|
instructions: [
|
|
9
9
|
{
|
|
@@ -1674,6 +1674,14 @@ const IDL = {
|
|
|
1674
1674
|
code: 6023,
|
|
1675
1675
|
name: 'InvalidTokenPoolPda',
|
|
1676
1676
|
},
|
|
1677
|
+
{
|
|
1678
|
+
code: 6024,
|
|
1679
|
+
name: 'NoInputTokenAccountsProvided',
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
code: 6025,
|
|
1683
|
+
name: 'NoInputsProvided',
|
|
1684
|
+
},
|
|
1677
1685
|
],
|
|
1678
1686
|
};
|
|
1679
1687
|
|
|
@@ -6680,7 +6688,7 @@ class CompressedTokenProgram {
|
|
|
6680
6688
|
/**
|
|
6681
6689
|
* Public key that identifies the CompressedPda program
|
|
6682
6690
|
*/
|
|
6683
|
-
static programId = new PublicKey('
|
|
6691
|
+
static programId = new PublicKey('cTokenmWW8bLPjZEBAUgYy3zKxQZW6VKi7bqNFEVv3m');
|
|
6684
6692
|
static _program = null;
|
|
6685
6693
|
/** @internal */
|
|
6686
6694
|
static get program() {
|
|
@@ -6890,6 +6898,9 @@ class CompressedTokenProgram {
|
|
|
6890
6898
|
defaultTestStateTreeAccounts().addressQueue,
|
|
6891
6899
|
this.programId,
|
|
6892
6900
|
TOKEN_PROGRAM_ID,
|
|
6901
|
+
SystemProgram.programId,
|
|
6902
|
+
ComputeBudgetProgram.programId,
|
|
6903
|
+
ASSOCIATED_TOKEN_PROGRAM_ID,
|
|
6893
6904
|
authority,
|
|
6894
6905
|
...optionalMintKeys,
|
|
6895
6906
|
...(remainingAccounts ?? []),
|