@zkpassport/sdk 0.5.4 → 0.5.5
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/assets/abi/ZKPassportVerifier.json +17 -17
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js +4 -4
- package/dist/esm/assets/abi/ZKPassportVerifier.json +17 -17
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +4 -4
- package/package.json +2 -2
- package/src/assets/abi/ZKPassportVerifier.json +17 -17
- package/src/index.ts +5 -5
package/src/index.ts
CHANGED
|
@@ -76,7 +76,7 @@ import ZKPassportVerifierAbi from "./assets/abi/ZKPassportVerifier.json"
|
|
|
76
76
|
import { RegistryClient } from "@zkpassport/registry"
|
|
77
77
|
import { Bridge, BridgeInterface } from "@obsidion/bridge"
|
|
78
78
|
|
|
79
|
-
const VERSION = "0.5.
|
|
79
|
+
const VERSION = "0.5.5"
|
|
80
80
|
|
|
81
81
|
const DEFAULT_DATE_VALUE = new Date(1111, 10, 11)
|
|
82
82
|
|
|
@@ -125,8 +125,8 @@ export type SolidityVerifierParameters = {
|
|
|
125
125
|
committedInputs: string
|
|
126
126
|
committedInputCounts: number[]
|
|
127
127
|
validityPeriodInDays: number
|
|
128
|
+
domain: string
|
|
128
129
|
scope: string
|
|
129
|
-
subscope: string
|
|
130
130
|
devMode: boolean
|
|
131
131
|
}
|
|
132
132
|
|
|
@@ -2949,7 +2949,7 @@ export class ZKPassport {
|
|
|
2949
2949
|
if (network === "ethereum_sepolia") {
|
|
2950
2950
|
return {
|
|
2951
2951
|
...baseConfig,
|
|
2952
|
-
address: "
|
|
2952
|
+
address: "0xDDeFf76024052D26B78A7Fac66FFbd6fbc5bd9Ad",
|
|
2953
2953
|
}
|
|
2954
2954
|
} else if (network === "local_anvil") {
|
|
2955
2955
|
return {
|
|
@@ -3112,8 +3112,8 @@ export class ZKPassport {
|
|
|
3112
3112
|
committedInputs: `0x${compressedCommittedInputs}`,
|
|
3113
3113
|
committedInputCounts: committedInputCountsArray,
|
|
3114
3114
|
validityPeriodInDays,
|
|
3115
|
-
|
|
3116
|
-
|
|
3115
|
+
domain: domain ?? this.domain,
|
|
3116
|
+
scope: scope ?? "",
|
|
3117
3117
|
devMode,
|
|
3118
3118
|
}
|
|
3119
3119
|
return params
|