@0xpolygonid/js-sdk 1.35.5 → 1.35.6
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 +3 -0
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/browser/umd/index.global.js +1 -1
- package/dist/browser/umd/index.global.js.map +1 -1
- package/dist/node/cjs/index.cjs +3 -0
- package/dist/node/cjs/index.cjs.map +1 -1
- package/dist/node/esm/index.js +3 -0
- package/dist/node/esm/index.js.map +1 -1
- package/dist/types/iden3comm/handlers/auth.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/iden3comm/handlers/auth.ts +3 -0
|
@@ -7016,6 +7016,9 @@ var AuthHandler = class extends AbstractMessageHandler {
|
|
|
7016
7016
|
(resp) => resp.id.toString() === proofRequest.id.toString()
|
|
7017
7017
|
);
|
|
7018
7018
|
if (!proofResp) {
|
|
7019
|
+
if (proofRequest.optional) {
|
|
7020
|
+
continue;
|
|
7021
|
+
}
|
|
7019
7022
|
throw new Error(`proof is not given for requestId ${proofRequest.id}`);
|
|
7020
7023
|
}
|
|
7021
7024
|
const circuitId = proofResp.circuitId;
|