-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Timo Glastra <[email protected]>
- Loading branch information
1 parent
238e6c6
commit 6864ca5
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,5 +36,10 @@ | |
"@sd-jwt/core": "0.1.2-alpha.0", | ||
"@sd-jwt/utils": "0.1.2-alpha.0", | ||
"@sd-jwt/types": "0.1.2-alpha.1" | ||
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"@sphereon/[email protected]": "patches/@[email protected]" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/dist/VcIssuer.js b/dist/VcIssuer.js | ||
index 976789a3560a89df59094c868239b6d468e08fff..8be2d2bb1b0fe914fe0abca5c9e0e7028b038e49 100644 | ||
--- a/dist/VcIssuer.js | ||
+++ b/dist/VcIssuer.js | ||
@@ -304,7 +304,7 @@ class VcIssuer { | ||
let preAuthorizedCode; | ||
let issuerState; | ||
try { | ||
- if (credentialRequest.format !== 'jwt_vc_json' && credentialRequest.format !== 'jwt_vc_json-ld' && credentialRequest.format !== 'vc+sd-jwt') { | ||
+ if (credentialRequest.format !== 'jwt_vc_json' && credentialRequest.format !== 'jwt_vc_json-ld' && credentialRequest.format !== 'vc+sd-jwt' && credentialRequest.format !== 'ldp_vc') { | ||
throw Error(`Format ${credentialRequest.format} not supported yet`); | ||
} | ||
else if (typeof this._jwtVerifyCallback !== 'function' && typeof jwtVerifyCallback !== 'function') { |