Skip to content

Commit

Permalink
export core (#80)
Browse files Browse the repository at this point in the history
* export core
  • Loading branch information
vmidyllic authored Jan 31, 2024
1 parent e892bae commit f3cdf61
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@iden3/js-crypto": "1.0.3",
"@0xpolygonid/js-sdk": "1.7.2",
"@0xpolygonid/js-sdk": "1.7.4",
"@iden3/js-iden3-core": "1.2.1",
"@iden3/js-jsonld-merklization": "1.1.2",
"@iden3/js-jwz": "1.2.1",
Expand Down
2 changes: 1 addition & 1 deletion src/circuits/authV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class AuthPubSignalsV2 extends IDOwnershipPubSignals implements PubSignal
}

verifyQuery(): Promise<BaseConfig> {
return Promise.resolve(new BaseConfig());
throw new Error(`authV2 circuit doesn't support queries`);
}

async verifyStates(resolvers: Resolvers, opts?: VerifyOpts): Promise<void> {
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * as auth from '@lib/auth/auth';
export * as resolver from '@lib/state/resolver';
export * as protocol from '@lib/types-sdk';
export { core } from '@0xpolygonid/js-sdk';

0 comments on commit f3cdf61

Please sign in to comment.