@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.
- package/dist/node/admin/advanced.d.ts +6 -6
- package/dist/node/contracts/collection.d.ts +6 -6
- package/dist/node/contracts.d.ts +18 -18
- package/dist/node/index.cjs +1 -2
- package/dist/node/marketplace/auction.d.ts +6 -6
- package/dist/node/marketplace/bid.d.ts +6 -6
- package/dist/node/marketplace/nft-shares.d.ts +21 -21
- package/dist/node/marketplace/offer.d.ts +6 -6
- package/dist/node/metadata/metadata.js +1 -2
- package/dist/node/metadata/metadata.js.map +1 -1
- package/dist/node/zkprogram-example/game.d.ts +9 -4
- package/dist/node/zkprogram-example/update.d.ts +9 -4
- package/dist/tsconfig.node.tsbuildinfo +1 -1
- package/dist/tsconfig.web.tsbuildinfo +1 -1
- package/dist/web/admin/advanced.d.ts +6 -6
- package/dist/web/contracts/collection.d.ts +6 -6
- package/dist/web/contracts.d.ts +18 -18
- package/dist/web/marketplace/auction.d.ts +6 -6
- package/dist/web/marketplace/bid.d.ts +6 -6
- package/dist/web/marketplace/nft-shares.d.ts +21 -21
- package/dist/web/marketplace/offer.d.ts +6 -6
- package/dist/web/metadata/metadata.js +1 -2
- package/dist/web/metadata/metadata.js.map +1 -1
- package/dist/web/zkprogram-example/game.d.ts +9 -4
- package/dist/web/zkprogram-example/update.d.ts +9 -4
- package/package.json +14 -14
- package/src/metadata/metadata.ts +8 -3
|
@@ -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/
|
|
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/
|
|
86
|
-
_proofToBase64(proof: import("node_modules/o1js/dist/node/
|
|
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
|
-
|
|
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/
|
|
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/
|
|
86
|
-
_proofToBase64(proof: import("node_modules/o1js/dist/node/
|
|
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
|
-
|
|
141
|
+
_internalRoot: bigint;
|
|
137
142
|
length: bigint;
|
|
138
143
|
data: {
|
|
139
144
|
nodes: (bigint | undefined)[][];
|