@zkpassport/sdk 0.9.0 → 0.10.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.
@@ -21,17 +21,26 @@ type QueryResultErrors = {
21
21
  scope?: QueryResultError<string>;
22
22
  };
23
23
  };
24
- type SolidityVerifierParameters = {
24
+ type SolidityProofVerificationData = {
25
25
  vkeyHash: string;
26
26
  proof: string;
27
27
  publicInputs: string[];
28
+ };
29
+ type SolidityCommitments = {
28
30
  committedInputs: string;
29
31
  committedInputCounts: number[];
32
+ };
33
+ type SolidityServiceConfig = {
30
34
  validityPeriodInSeconds: number;
31
35
  domain: string;
32
36
  scope: string;
33
37
  devMode: boolean;
34
38
  };
39
+ type SolidityVerifierParameters = {
40
+ proofVerificationData: SolidityProofVerificationData;
41
+ commitments: SolidityCommitments;
42
+ serviceConfig: SolidityServiceConfig;
43
+ };
35
44
  type QueryBuilderResult = {
36
45
  /**
37
46
  * The URL of the request.
@@ -188,4 +197,4 @@ type QueryBuilder = {
188
197
  done: () => QueryBuilderResult;
189
198
  };
190
199
 
191
- export type { QueryBuilder, QueryBuilderResult, QueryResultError, QueryResultErrors, SolidityVerifierParameters };
200
+ export type { QueryBuilder, QueryBuilderResult, QueryResultError, QueryResultErrors, SolidityCommitments, SolidityProofVerificationData, SolidityServiceConfig, SolidityVerifierParameters };