@0xpolygonid/js-sdk 1.10.2 → 1.10.3
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/browser/esm/index.js +5 -1
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/browser/umd/index.js +5 -1
- package/dist/browser/umd/index.js.map +1 -1
- package/dist/node/cjs/proof/verifiers/pub-signals-verifier.js +5 -1
- package/dist/node/esm/proof/verifiers/pub-signals-verifier.js +5 -1
- package/package.json +1 -1
|
@@ -417,7 +417,11 @@ class PubSignalsVerifier {
|
|
|
417
417
|
transitionTimestamp: contractState.replacedAtTimestamp.toString()
|
|
418
418
|
};
|
|
419
419
|
}
|
|
420
|
-
return {
|
|
420
|
+
return {
|
|
421
|
+
latest: !contractState.replacedAtTimestamp ||
|
|
422
|
+
contractState.replacedAtTimestamp.toString() === zeroInt.toString(),
|
|
423
|
+
transitionTimestamp: contractState.replacedAtTimestamp?.toString() ?? 0
|
|
424
|
+
};
|
|
421
425
|
}
|
|
422
426
|
async rootResolve(state, id) {
|
|
423
427
|
let globalStateInfo;
|
|
@@ -414,7 +414,11 @@ export class PubSignalsVerifier {
|
|
|
414
414
|
transitionTimestamp: contractState.replacedAtTimestamp.toString()
|
|
415
415
|
};
|
|
416
416
|
}
|
|
417
|
-
return {
|
|
417
|
+
return {
|
|
418
|
+
latest: !contractState.replacedAtTimestamp ||
|
|
419
|
+
contractState.replacedAtTimestamp.toString() === zeroInt.toString(),
|
|
420
|
+
transitionTimestamp: contractState.replacedAtTimestamp?.toString() ?? 0
|
|
421
|
+
};
|
|
418
422
|
}
|
|
419
423
|
async rootResolve(state, id) {
|
|
420
424
|
let globalStateInfo;
|