Skip to content

Commit e0dee42

Browse files
Merge pull request #70 from reclaimprotocol/fixing-ai-proofs
fixing ai proofs
2 parents 75a3160 + cefc27c commit e0dee42

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@reclaimprotocol/js-sdk",
3-
"version": "4.7.0",
3+
"version": "4.7.1",
44
"description": "Designed to request proofs from the Reclaim protocol and manage the flow of claims and witness interactions.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/Reclaim.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ export class ReclaimProofRequest {
12141214
if (statusUrlResponse.session.proofs && statusUrlResponse.session.proofs.length > 0) {
12151215
const proofs = statusUrlResponse.session.proofs;
12161216
if (this.claimCreationType === ClaimCreationType.STANDALONE) {
1217-
const verified = await verifyProof(proofs);
1217+
const verified = await verifyProof(proofs, this.options?.acceptAiProviders);
12181218
if (!verified) {
12191219
logger.info(`Proofs not verified: ${JSON.stringify(proofs)}`);
12201220
throw new ProofNotVerifiedError();

0 commit comments

Comments
 (0)