Skip to content

Commit

Permalink
fix(deps): update dependency @metamask/eth-sig-util to v7 (#1258)
Browse files Browse the repository at this point in the history
* test(credential-eip712): fix test vector containing 22 byte null address instead of 20
  • Loading branch information
renovate[bot] committed Oct 13, 2023
1 parent 28c65f7 commit ba88d6b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 30 deletions.
2 changes: 1 addition & 1 deletion __tests__/fixtures/cred3.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"name": "Verifiable Event Attendance",
"chainId": 1,
"version": "1",
"verifyingContract": "0x00000000000000000000000000000000000000000000"
"verifyingContract": "0x0000000000000000000000000000000000000000"
},
"primaryType": "VerifiableCredential"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/credential-eip712/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
},
"dependencies": {
"@metamask/eth-sig-util": "^6.0.0",
"@metamask/eth-sig-util": "^7.0.0",
"@veramo/core-types": "workspace:^",
"@veramo/utils": "workspace:^",
"debug": "^4.3.3",
Expand Down
1 change: 1 addition & 0 deletions packages/credential-w3c/src/action-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ export class CredentialPlugin implements IAgentPlugin {
}
verifiedCredential = <VerifiableCredential>credential
} catch (e: any) {
debug('encountered error while verifying EIP712 credential: %o', e)
const { message, errorCode } = e
return {
verified: false,
Expand Down
32 changes: 4 additions & 28 deletions pnpm-lock.yaml

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

0 comments on commit ba88d6b

Please sign in to comment.