We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
redirectUrl
1 parent d588bf0 commit 0c01d91Copy full SHA for 0c01d91
CHANGELOG.md
@@ -4,6 +4,7 @@
4
5
### Fixed
6
- Ensure `acceptedCryptosuites` are used when present.
7
+- Ensure `redirectUrl` is returned for completed vcapi exchanges when present.
8
9
## 15.2.0 - 2026-02-02
10
lib/exchanges/vcapi.js
@@ -98,7 +98,13 @@ export class VcapiExchange extends Exchange {
98
}
99
100
this._finish({verifiablePresentation});
101
- const value = verifiablePresentation ? {verifiablePresentation} : null;
+ const value = {};
102
+ if(verifiablePresentation) {
103
+ value.verifiablePresentation = verifiablePresentation;
104
+ }
105
+ if(data?.redirectUrl) {
106
+ value.redirectUrl = data.redirectUrl;
107
108
return {value, done: true};
109
110
0 commit comments