@lightprotocol/stateless.js 0.22.1-alpha.2 → 0.22.1-alpha.4
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 +7 -5
- package/dist/cjs/browser/index.cjs +1 -1
- package/dist/cjs/browser/index.cjs.map +1 -1
- package/dist/cjs/browser/rpc.d.ts +1 -0
- package/dist/cjs/node/constants.d.ts +7 -5
- package/dist/cjs/node/index.cjs +1 -1
- package/dist/cjs/node/index.cjs.map +1 -1
- package/dist/cjs/node/rpc.d.ts +1 -0
- package/dist/es/browser/constants.d.ts +7 -5
- package/dist/es/browser/index.js +1 -1
- package/dist/es/browser/index.js.map +1 -1
- package/dist/es/browser/rpc.d.ts +1 -0
- package/dist/types/index.d.ts +9 -6
- package/package.json +2 -2
package/dist/cjs/node/rpc.d.ts
CHANGED
|
@@ -101,6 +101,7 @@ export declare class Rpc extends Connection implements CompressionApiInterface {
|
|
|
101
101
|
/**
|
|
102
102
|
* Get a list of all state tree infos. If not already cached, fetches from
|
|
103
103
|
* the cluster.
|
|
104
|
+
* if featureFlags.isV2(), returns v2 trees too.
|
|
104
105
|
*/
|
|
105
106
|
getStateTreeInfos(): Promise<TreeInfo[]>;
|
|
106
107
|
/**
|
|
@@ -57,10 +57,6 @@ export declare const defaultStateTreeLookupTables: () => {
|
|
|
57
57
|
* @internal
|
|
58
58
|
*/
|
|
59
59
|
export declare const isLocalTest: (url: string) => boolean;
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
export declare const localTestActiveStateTreeInfos: () => TreeInfo[];
|
|
64
60
|
export declare const getDefaultAddressSpace: () => {
|
|
65
61
|
tree: PublicKey;
|
|
66
62
|
queue: PublicKey;
|
|
@@ -132,9 +128,15 @@ export declare const batchMerkleTree5 = "bmt5yU97jC88YXTuSukYHa8Z5Bi2ZDUtmzfkDTA
|
|
|
132
128
|
export declare const batchQueue5 = "oq5oh5ZR3yGomuQgFduNDzjtGvVWfDRGLuDVjv9a96P";
|
|
133
129
|
export declare const batchCpiContext5 = "cpi5ZTjdgYpZ1Xr7B1cMLLUE81oTtJbNNAyKary2nV6";
|
|
134
130
|
export declare const batchAddressTree = "amt2kaJA14v3urZbZvnc5v2np8jqvc4Z8zDep5wbtzx";
|
|
135
|
-
export declare const testBatchAddressTree = "EzKE84aVTkCUhDHLELqyJaq1Y7UVVmqxXqZjVHwHY3rK";
|
|
136
131
|
export declare const batchMerkleTree = "bmt1LryLZUMmF7ZtqESaw7wifBXLfXHQYoE4GAmrahU";
|
|
137
132
|
export declare const batchQueue = "oq1na8gojfdUhsfCpyjNt6h4JaDWtHf1yQj4koBWfto";
|
|
133
|
+
/**
|
|
134
|
+
* @internal
|
|
135
|
+
* Returns local test tree infos.
|
|
136
|
+
* V1: 2 state trees (smt/nfq/cpi pairs)
|
|
137
|
+
* V2: 5 batched state trees (bmt/oq/cpi triplets) + 1 address tree (amt2)
|
|
138
|
+
*/
|
|
139
|
+
export declare const localTestActiveStateTreeInfos: () => TreeInfo[];
|
|
138
140
|
export declare const confirmConfig: ConfirmOptions;
|
|
139
141
|
export declare const DEFAULT_MERKLE_TREE_HEIGHT = 26;
|
|
140
142
|
export declare const DEFAULT_MERKLE_TREE_ROOTS = 2800;
|