Skip to content

Commit

Permalink
[INJIVER-161] Upgrade cbor package version
Browse files Browse the repository at this point in the history
Signed-off-by: Shiva <[email protected]>
  • Loading branch information
shiva-beehyv committed Apr 23, 2024
1 parent 3106602 commit 657275a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
17 changes: 13 additions & 4 deletions inji-verify/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 inji-verify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@mosip/pixelpass": "0.1.2",
"@mosip/pixelpass": "^0.1.4",
"@mui/icons-material": "^5.15.15",
"@mui/material": "^5.15.14",
"@mui/styled-engine": "^5.15.14",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const DisplayActiveStep = () => {
navigate('/offline');
}
setVcStatus(status);
if (vcStatus?.status === "OK") {
if (status?.status === "OK") {
setVc(vc);
}
})
Expand Down
2 changes: 1 addition & 1 deletion inji-verify/src/utils/did-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const getDIDMethod = (did: string) => {
export const resolveDid = async (did: string) => {
const didMethod = getDIDMethod(did);
if (SUPPORTED_DID_METHODS.indexOf(didMethod) === -1)
throw new Error("Unsupported DID method");
throw new Error(`Unsupported DID method: ${didMethod}. DID: ${did}`);
const webResolver = getResolver();
let didResolver = new Resolver({
...webResolver
Expand Down

0 comments on commit 657275a

Please sign in to comment.