@silvana-one/nft 1.0.42 → 1.1.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.
@@ -19,6 +19,8 @@ declare const NFTGameProgram: {
19
19
  forceRecompile?: boolean;
20
20
  proofsEnabled?: boolean;
21
21
  withRuntimeTables?: boolean;
22
+ numChunks?: number;
23
+ lazyMode?: boolean;
22
24
  }) => Promise<{
23
25
  verificationKey: {
24
26
  data: string;
@@ -35,6 +37,9 @@ declare const NFTGameProgram: {
35
37
  proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
36
38
  };
37
39
  }>;
40
+ analyzeSingleMethod<K extends "merge" | "updateMetadataAndOwner">(methodName: K): Promise<import("node_modules/o1js/dist/node/lib/provable/core/provable-context.js").ConstraintSystemSummary & {
41
+ proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
42
+ }>;
38
43
  publicInputType: typeof NFTState;
39
44
  publicOutputType: typeof NFTState;
40
45
  privateInputTypes: {
@@ -56,7 +61,7 @@ declare const NFTGameProgram: {
56
61
  };
57
62
  Proof: {
58
63
  new ({ proof, publicInput, publicOutput, maxProofsVerified, }: {
59
- proof: import("node_modules/o1js/dist/node/snarky.js").Pickles.Proof;
64
+ proof: import("node_modules/o1js/dist/node/bindings.js").Pickles.Proof;
60
65
  publicInput: NFTState;
61
66
  publicOutput: NFTState;
62
67
  maxProofsVerified: 0 | 1 | 2;
@@ -82,8 +87,8 @@ declare const NFTGameProgram: {
82
87
  input: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
83
88
  output: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
84
89
  };
85
- _proofFromBase64(proofString: import("node_modules/o1js/dist/node/snarky.js").Base64ProofString, maxProofsVerified: 0 | 1 | 2): unknown;
86
- _proofToBase64(proof: import("node_modules/o1js/dist/node/snarky.js").Pickles.Proof, maxProofsVerified: 0 | 1 | 2): string;
90
+ _proofFromBase64(proofString: import("node_modules/o1js/dist/node/bindings.js").Base64ProofString, maxProofsVerified: 0 | 1 | 2): unknown;
91
+ _proofToBase64(proof: import("node_modules/o1js/dist/node/bindings.js").Pickles.Proof, maxProofsVerified: 0 | 1 | 2): string;
87
92
  };
88
93
  proofsEnabled: boolean;
89
94
  setProofsEnabled(proofsEnabled: boolean): void;
@@ -133,7 +138,7 @@ declare const NFTGameProgram: {
133
138
  isOdd: import("o1js").Bool | boolean;
134
139
  };
135
140
  }, args_0: import("node_modules/o1js/dist/node/lib/provable/merkle-tree-indexed.js").IndexedMerkleMapBase | {
136
- root: bigint;
141
+ _internalRoot: bigint;
137
142
  length: bigint;
138
143
  data: {
139
144
  nodes: (bigint | undefined)[][];
@@ -19,6 +19,8 @@ declare const NFTProgram: {
19
19
  forceRecompile?: boolean;
20
20
  proofsEnabled?: boolean;
21
21
  withRuntimeTables?: boolean;
22
+ numChunks?: number;
23
+ lazyMode?: boolean;
22
24
  }) => Promise<{
23
25
  verificationKey: {
24
26
  data: string;
@@ -35,6 +37,9 @@ declare const NFTProgram: {
35
37
  proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
36
38
  };
37
39
  }>;
40
+ analyzeSingleMethod<K extends "insertMetadata" | "merge">(methodName: K): Promise<import("node_modules/o1js/dist/node/lib/provable/core/provable-context.js").ConstraintSystemSummary & {
41
+ proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
42
+ }>;
38
43
  publicInputType: typeof NFTState;
39
44
  publicOutputType: typeof NFTState;
40
45
  privateInputTypes: {
@@ -56,7 +61,7 @@ declare const NFTProgram: {
56
61
  };
57
62
  Proof: {
58
63
  new ({ proof, publicInput, publicOutput, maxProofsVerified, }: {
59
- proof: import("node_modules/o1js/dist/node/snarky.js").Pickles.Proof;
64
+ proof: import("node_modules/o1js/dist/node/bindings.js").Pickles.Proof;
60
65
  publicInput: NFTState;
61
66
  publicOutput: NFTState;
62
67
  maxProofsVerified: 0 | 1 | 2;
@@ -82,8 +87,8 @@ declare const NFTProgram: {
82
87
  input: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
83
88
  output: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
84
89
  };
85
- _proofFromBase64(proofString: import("node_modules/o1js/dist/node/snarky.js").Base64ProofString, maxProofsVerified: 0 | 1 | 2): unknown;
86
- _proofToBase64(proof: import("node_modules/o1js/dist/node/snarky.js").Pickles.Proof, maxProofsVerified: 0 | 1 | 2): string;
90
+ _proofFromBase64(proofString: import("node_modules/o1js/dist/node/bindings.js").Base64ProofString, maxProofsVerified: 0 | 1 | 2): unknown;
91
+ _proofToBase64(proof: import("node_modules/o1js/dist/node/bindings.js").Pickles.Proof, maxProofsVerified: 0 | 1 | 2): string;
87
92
  };
88
93
  proofsEnabled: boolean;
89
94
  setProofsEnabled(proofsEnabled: boolean): void;
@@ -133,7 +138,7 @@ declare const NFTProgram: {
133
138
  isOdd: import("o1js").Bool | boolean;
134
139
  };
135
140
  }, args_0: import("node_modules/o1js/dist/node/lib/provable/merkle-tree-indexed.js").IndexedMerkleMapBase | {
136
- root: bigint;
141
+ _internalRoot: bigint;
137
142
  length: bigint;
138
143
  data: {
139
144
  nodes: (bigint | undefined)[][];