From 4c93eb47a52959aadf31d280ec55bec63e9f68d2 Mon Sep 17 00:00:00 2001 From: Dimasik Kolezhniuk Date: Fri, 26 Jan 2024 15:51:47 +0100 Subject: [PATCH] Fix error msg. Update sdk deps --- package-lock.json | 8 ++++---- package.json | 2 +- src/circuits/authV2.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8531d04..3323321 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.1.0", "license": "AGPL-3.0", "dependencies": { - "@0xpolygonid/js-sdk": "1.7.2", + "@0xpolygonid/js-sdk": "1.7.3", "@iden3/js-crypto": "1.0.3", "@iden3/js-iden3-core": "1.2.1", "@iden3/js-jsonld-merklization": "1.1.2", @@ -47,9 +47,9 @@ } }, "node_modules/@0xpolygonid/js-sdk": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@0xpolygonid/js-sdk/-/js-sdk-1.7.2.tgz", - "integrity": "sha512-eIkjpNqXDM4w4+zwrvM9wtw3m+Mpy+y9QFywKnZTqiHTJF8qsjMixeEd9d+rKaecyxh1uytU0A+qP3lkfQYN0A==", + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/@0xpolygonid/js-sdk/-/js-sdk-1.7.3.tgz", + "integrity": "sha512-lMtkZMu8zWQe7vYDP583Q1TcohEv6+hlwcXpVzai+Mr0RssAywQTqoliZtlZEmUkT8rkgGUgNVEBOGRCovhcrw==", "dependencies": { "ajv": "8.12.0", "ajv-formats": "2.1.1", diff --git a/package.json b/package.json index 7943cb1..f5cd445 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ }, "dependencies": { "@iden3/js-crypto": "1.0.3", - "@0xpolygonid/js-sdk": "1.7.2", + "@0xpolygonid/js-sdk": "1.7.3", "@iden3/js-iden3-core": "1.2.1", "@iden3/js-jsonld-merklization": "1.1.2", "@iden3/js-jwz": "1.2.1", diff --git a/src/circuits/authV2.ts b/src/circuits/authV2.ts index 24e71e5..a139b6f 100644 --- a/src/circuits/authV2.ts +++ b/src/circuits/authV2.ts @@ -19,7 +19,7 @@ export class AuthPubSignalsV2 extends IDOwnershipPubSignals implements PubSignal } verifyQuery(): Promise { - return Promise.resolve(new BaseConfig()); + throw new Error(`auth circuit doesn't support queries`); } async verifyStates(resolvers: Resolvers, opts?: VerifyOpts): Promise {