@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
package/dist/node/cjs/index.cjs
CHANGED
|
@@ -7555,6 +7555,9 @@ var AuthHandler = class extends AbstractMessageHandler {
|
|
|
7555
7555
|
(resp) => resp.id.toString() === proofRequest.id.toString()
|
|
7556
7556
|
);
|
|
7557
7557
|
if (!proofResp) {
|
|
7558
|
+
if (proofRequest.optional) {
|
|
7559
|
+
continue;
|
|
7560
|
+
}
|
|
7558
7561
|
throw new Error(`proof is not given for requestId ${proofRequest.id}`);
|
|
7559
7562
|
}
|
|
7560
7563
|
const circuitId = proofResp.circuitId;
|