@vlayer/sdk 0.1.0-nightly-20241016-4769145 → 0.1.0-nightly-20241017-3ad4fbf
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/package.json
CHANGED
|
@@ -21,32 +21,20 @@ export type CallContext = {
|
|
|
21
21
|
chain_id: number; // 31337
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
export
|
|
24
|
+
export type Proof = {
|
|
25
25
|
length: bigint;
|
|
26
26
|
seal: {
|
|
27
27
|
verifierSelector: Hex;
|
|
28
|
-
seal: [Hex, Hex, Hex, Hex, Hex, Hex, Hex, Hex];
|
|
28
|
+
seal: readonly [Hex, Hex, Hex, Hex, Hex, Hex, Hex, Hex];
|
|
29
29
|
mode: number;
|
|
30
30
|
};
|
|
31
|
-
|
|
32
|
-
bigint,
|
|
33
|
-
bigint,
|
|
34
|
-
bigint,
|
|
35
|
-
bigint,
|
|
36
|
-
bigint,
|
|
37
|
-
bigint,
|
|
38
|
-
bigint,
|
|
39
|
-
bigint,
|
|
40
|
-
bigint,
|
|
41
|
-
bigint,
|
|
42
|
-
];
|
|
43
|
-
assumptions: {
|
|
31
|
+
callAssumptions: {
|
|
44
32
|
proverContractAddress: Address;
|
|
45
33
|
functionSelector: Hex;
|
|
46
34
|
settleBlockHash: Hex;
|
|
47
35
|
settleBlockNumber: bigint;
|
|
48
36
|
};
|
|
49
|
-
}
|
|
37
|
+
};
|
|
50
38
|
|
|
51
39
|
export interface VCallResult {
|
|
52
40
|
evm_call_result: Hex;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import { AbiFunction, Hex, Abi, ContractFunctionName } from "viem";
|
|
2
2
|
import type { ContractFunctionArgsWithout } from "./viem";
|
|
3
|
-
import {
|
|
4
|
-
Branded,
|
|
5
|
-
WebProof,
|
|
6
|
-
WebProofStepExpectUrl,
|
|
7
|
-
WebProofStepStartPage,
|
|
8
|
-
} from "../../../web-proof-commons";
|
|
3
|
+
import { Branded, WebProof, WebProofStep } from "../../../web-proof-commons";
|
|
9
4
|
|
|
10
5
|
export type WebProofSetupInput = {
|
|
11
6
|
logoUrl: string;
|
|
12
|
-
steps: [
|
|
7
|
+
steps: WebProofStep[];
|
|
13
8
|
};
|
|
14
9
|
|
|
15
10
|
export type WebProofSetup = Branded<
|