@lightprotocol/stateless.js 0.17.2-alpha.2 → 0.19.0
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/constants.d.ts +25 -0
- package/dist/cjs/browser/idl.d.ts +4 -0
- package/dist/cjs/browser/index.cjs +1 -1
- package/dist/cjs/browser/index.cjs.map +1 -1
- package/dist/cjs/browser/instruction/pack-compressed-accounts.d.ts +17 -1
- package/dist/cjs/browser/rpc.d.ts +48 -8
- package/dist/cjs/browser/test-helpers/index.d.ts +1 -0
- package/dist/cjs/browser/test-helpers/test-rpc/test-rpc.d.ts +15 -0
- package/dist/cjs/browser/utils/get-light-state-tree-info.d.ts +74 -0
- package/dist/cjs/browser/utils/index.d.ts +1 -1
- package/dist/cjs/node/constants.d.ts +25 -0
- package/dist/cjs/node/idl.d.ts +4 -0
- package/dist/cjs/node/index.cjs +1 -1
- package/dist/cjs/node/index.cjs.map +1 -1
- package/dist/cjs/node/instruction/pack-compressed-accounts.d.ts +17 -1
- package/dist/cjs/node/rpc.d.ts +48 -8
- package/dist/cjs/node/test-helpers/index.d.ts +1 -0
- package/dist/cjs/node/test-helpers/test-rpc/test-rpc.d.ts +15 -0
- package/dist/cjs/node/utils/get-light-state-tree-info.d.ts +74 -0
- package/dist/cjs/node/utils/index.d.ts +1 -1
- package/dist/types/index.d.ts +211 -40
- package/package.json +3 -2
- /package/dist/cjs/browser/{utils → test-helpers}/test-utils.d.ts +0 -0
- /package/dist/cjs/node/{utils → test-helpers}/test-utils.d.ts +0 -0
|
@@ -17,6 +17,21 @@ export declare const defaultStaticAccountsStruct: () => {
|
|
|
17
17
|
accountCompressionAuthority: PublicKey;
|
|
18
18
|
cpiSignatureAccount: null;
|
|
19
19
|
};
|
|
20
|
+
export declare const defaultStateTreeLookupTables: () => {
|
|
21
|
+
mainnet: {
|
|
22
|
+
stateTreeLookupTable: PublicKey;
|
|
23
|
+
nullifyTable: PublicKey;
|
|
24
|
+
};
|
|
25
|
+
devnet: {
|
|
26
|
+
stateTreeLookupTable: PublicKey;
|
|
27
|
+
nullifyTable: PublicKey;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export declare const isLocalTest: (url: string) => boolean;
|
|
31
|
+
export declare const localTestActiveStateTreeInfo: () => {
|
|
32
|
+
activeStateTrees: PublicKey[];
|
|
33
|
+
activeQueues: PublicKey[];
|
|
34
|
+
};
|
|
20
35
|
export declare const defaultTestStateTreeAccounts: () => {
|
|
21
36
|
nullifierQueue: PublicKey;
|
|
22
37
|
merkleTree: PublicKey;
|
|
@@ -24,10 +39,20 @@ export declare const defaultTestStateTreeAccounts: () => {
|
|
|
24
39
|
addressTree: PublicKey;
|
|
25
40
|
addressQueue: PublicKey;
|
|
26
41
|
};
|
|
42
|
+
export declare const defaultTestStateTreeAccounts2: () => {
|
|
43
|
+
nullifierQueue2: PublicKey;
|
|
44
|
+
merkleTree2: PublicKey;
|
|
45
|
+
};
|
|
46
|
+
export declare const stateTreeLookupTableMainnet = "ABwZ1gQYCrj74azGZvtSk6eBQ9PD7Ch1FCcETcjr9QcC";
|
|
47
|
+
export declare const nullifiedStateTreeLookupTableMainnet = "9cnE7YBEUQXDf7gbapCCnRR7cERYqac6ip1g1cfdF2nb";
|
|
48
|
+
export declare const stateTreeLookupTableDevnet = "zpuJRGT84P9nMzTwpBihvWrRwazj8caUJTya8JAVQnv";
|
|
49
|
+
export declare const nullifiedStateTreeLookupTableDevnet = "3rsYNhcaosPZcMrSiQubjbE3rTLuAYJQvSe78NCruqCB";
|
|
27
50
|
export declare const nullifierQueuePubkey = "nfq1NvQDJ2GEgnS8zt9prAe8rjjpAW1zFkrvZoBR148";
|
|
28
51
|
export declare const merkletreePubkey = "smt1NamzXdq4AMqS2fS2F1i5KTYPZRhoHgWx38d8WsT";
|
|
29
52
|
export declare const addressTree = "amt1Ayt45jfbdw5YSo7iz6WZxUmnZsQTYXy82hVwyC2";
|
|
30
53
|
export declare const addressQueue = "aq1S9z4reTSQAdgWHGD2zDaS39sjGrAxbR31vxJ2F4F";
|
|
54
|
+
export declare const merkleTree2Pubkey = "smt2rJAFdyJJupwMKAqTNAJwvjhmiZ4JYGZmbVRw1Ho";
|
|
55
|
+
export declare const nullifierQueue2Pubkey = "nfq2hgS7NYemXsFaFUCe3EMXSDSfnZnAe27jC6aPP1X";
|
|
31
56
|
export declare const confirmConfig: ConfirmOptions;
|
|
32
57
|
export declare const DEFAULT_MERKLE_TREE_HEIGHT = 26;
|
|
33
58
|
export declare const DEFAULT_MERKLE_TREE_ROOTS = 2800;
|