Skip to content

Commit

Permalink
export additional types from sdk (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmidyllic authored Sep 13, 2023
1 parent 091b92d commit fb00bf4
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ The blockchain verification algorithm is used
if you want request specific proof (example):

``` javascript
const proofRequest: protocol.ZKPRequest = {
const proofRequest: protocol.ZeroKnowledgeProofRequest = {
id: 1,
circuitId: 'credentialAtomicQueryMTPV2',
query: {
Expand Down
4 changes: 2 additions & 2 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
@@ -1,6 +1,6 @@
{
"name": "@iden3/js-iden3-auth",
"version": "1.0.1",
"version": "1.0.2",
"description": "iden3-auth implementation in JavaScript",
"main": "dist/cjs/index.js",
"source": "./src/index.ts",
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export * as auth from '@lib/auth/auth';
export * as resolver from '@lib/state/resolver';
export * as protocol from '@lib/types-sdk';
8 changes: 8 additions & 0 deletions src/types-sdk.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export {
AuthorizationRequestMessage,
AuthorizationResponseMessage,
CredentialsOfferMessage,
ZeroKnowledgeProofRequest,
ZeroKnowledgeProofResponse,
PROTOCOL_CONSTANTS
} from '@0xpolygonid/js-sdk';

0 comments on commit fb00bf4

Please sign in to comment.