Skip to content

Commit

Permalink
update deps & migrate to Amoy (#86)
Browse files Browse the repository at this point in the history
* update deps


---------

Co-authored-by: vmidyllic <[email protected]>
  • Loading branch information
volodymyr-basiuk and vmidyllic authored Apr 3, 2024
1 parent 94c93bb commit d8091ec
Show file tree
Hide file tree
Showing 5 changed files with 324 additions and 481 deletions.
78 changes: 39 additions & 39 deletions package-lock.json

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

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@iden3/js-iden3-auth",
"version": "1.2.0",
"version": "1.3.0",
"description": "iden3-auth implementation in JavaScript",
"main": "dist/cjs/index.js",
"source": "./src/index.ts",
Expand Down Expand Up @@ -32,12 +32,12 @@
"url": "https://github.com/iden3/js-iden3-auth"
},
"dependencies": {
"@iden3/js-crypto": "1.0.3",
"@0xpolygonid/js-sdk": "1.9.4",
"@iden3/js-iden3-core": "1.2.1",
"@iden3/js-jsonld-merklization": "1.1.2",
"@iden3/js-jwz": "1.3.0",
"@iden3/js-merkletree": "1.1.2",
"@iden3/js-crypto": "1.1.0",
"@0xpolygonid/js-sdk": "1.10.0",
"@iden3/js-iden3-core": "1.3.1",
"@iden3/js-jsonld-merklization": "1.2.0",
"@iden3/js-jwz": "1.4.0",
"@iden3/js-merkletree": "1.2.0",
"did-resolver": "^4.1.0",
"ethers": "^5.4.0",
"tslib": "^2.6.2",
Expand Down
2 changes: 1 addition & 1 deletion src/circuits/ownershipVerifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export abstract class IDOwnershipPubSignals {
const senderId = DID.idFromDID(DID.parse(sender));
if (senderId.string() !== this.userId.string()) {
throw new Error(
`sender id is not used for proof creation, expected ${sender}, user from public signals: ${this.userId.string()}`
`sender id is not used for proof creation, expected ${senderId}, user from public signals: ${this.userId.string()}`
);
}
if (challenge !== this.challenge) {
Expand Down
Loading

0 comments on commit d8091ec

Please sign in to comment.