@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
|
*
|
|
@@ -1713,7 +1713,7 @@
|
|
|
1713
1713
|
return urlParams.get(param);
|
|
1714
1714
|
};
|
|
1715
1715
|
const createSession = async ({credentialQuery: credentialQuery, challenge: challenge, redirectUri: redirectUri, apiBaseUrl: apiBaseUrl, walletProviderId: walletProviderId, dcApiSupported: dcApiSupported, applicationId: applicationId}) => {
|
|
1716
|
-
const
|
|
1716
|
+
const openid4vpConfiguration = !!walletProviderId || !!redirectUri ? {
|
|
1717
1717
|
redirectUri: redirectUri,
|
|
1718
1718
|
walletProviderId: walletProviderId
|
|
1719
1719
|
} : undefined;
|
|
@@ -1722,7 +1722,7 @@
|
|
|
1722
1722
|
challenge: challenge,
|
|
1723
1723
|
applicationId: applicationId,
|
|
1724
1724
|
dcApiSupported: dcApiSupported,
|
|
1725
|
-
|
|
1725
|
+
openid4vpConfiguration: openid4vpConfiguration
|
|
1726
1726
|
};
|
|
1727
1727
|
const responseResult = await safeFetch(`${apiBaseUrl}/v2/presentations/web/sessions`, {
|
|
1728
1728
|
method: "POST",
|
|
@@ -1780,7 +1780,7 @@
|
|
|
1780
1780
|
challenge: challenge,
|
|
1781
1781
|
responseCode: responseCode
|
|
1782
1782
|
};
|
|
1783
|
-
const fetchResultFn = async () => await safeFetch(`${apiBaseUrl}/v2/presentations/
|
|
1783
|
+
const fetchResultFn = async () => await safeFetch(`${apiBaseUrl}/v2/presentations/sessions/${sessionId}/result`, {
|
|
1784
1784
|
method: "POST",
|
|
1785
1785
|
headers: {
|
|
1786
1786
|
"Content-Type": "application/json"
|