@mattrglobal/verifier-sdk-web 2.0.3-unstable.49 → 2.0.3-unstable.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/verifier-js-no-deps.cjs.js +4 -4
- package/dist/lib/verifier-js-no-deps.cjs.js.map +1 -1
- package/dist/lib/verifier-js.cjs.js +4 -4
- package/dist/lib/verifier-js.cjs.js.map +1 -1
- package/dist/verifier-js.development.js +4 -4
- package/dist/verifier-js.development.js.map +1 -1
- package/dist/verifier-js.production.esm.js +2 -2
- package/dist/verifier-js.production.esm.js.map +1 -1
- package/dist/verifier-js.production.js +2 -2
- package/dist/verifier-js.production.js.map +1 -1
- package/package.json +2 -2
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Do Not Translate or Localize
|
|
8
8
|
*
|
|
9
9
|
* Bundle of @mattrglobal/verifier-sdk-web
|
|
10
|
-
* Generated: 2025-08-
|
|
10
|
+
* Generated: 2025-08-21
|
|
11
11
|
* Version: 2.0.2
|
|
12
12
|
* Dependencies:
|
|
13
13
|
*/
|
|
@@ -493,7 +493,7 @@ const getHashParamValue = (hash, param) => {
|
|
|
493
493
|
};
|
|
494
494
|
|
|
495
495
|
const createSession = async ({credentialQuery: credentialQuery, challenge: challenge, redirectUri: redirectUri, apiBaseUrl: apiBaseUrl, walletProviderId: walletProviderId, dcApiSupported: dcApiSupported, applicationId: applicationId}) => {
|
|
496
|
-
const
|
|
496
|
+
const openid4vpConfiguration = !!walletProviderId || !!redirectUri ? {
|
|
497
497
|
redirectUri: redirectUri,
|
|
498
498
|
walletProviderId: walletProviderId
|
|
499
499
|
} : undefined;
|
|
@@ -502,7 +502,7 @@ const createSession = async ({credentialQuery: credentialQuery, challenge: chall
|
|
|
502
502
|
challenge: challenge,
|
|
503
503
|
applicationId: applicationId,
|
|
504
504
|
dcApiSupported: dcApiSupported,
|
|
505
|
-
|
|
505
|
+
openid4vpConfiguration: openid4vpConfiguration
|
|
506
506
|
};
|
|
507
507
|
const responseResult = await safeFetch(`${apiBaseUrl}/v2/presentations/web/sessions`, {
|
|
508
508
|
method: "POST",
|
|
@@ -563,7 +563,7 @@ const exchangeSessionResult = async ({challenge: challenge, responseCode: respon
|
|
|
563
563
|
challenge: challenge,
|
|
564
564
|
responseCode: responseCode
|
|
565
565
|
};
|
|
566
|
-
const fetchResultFn = async () => await safeFetch(`${apiBaseUrl}/v2/presentations/
|
|
566
|
+
const fetchResultFn = async () => await safeFetch(`${apiBaseUrl}/v2/presentations/sessions/${sessionId}/result`, {
|
|
567
567
|
method: "POST",
|
|
568
568
|
headers: {
|
|
569
569
|
"Content-Type": "application/json"
|