@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
|
*
|
|
@@ -1859,7 +1859,7 @@ const getHashParamValue = (hash, param) => {
|
|
|
1859
1859
|
};
|
|
1860
1860
|
|
|
1861
1861
|
const createSession = async ({credentialQuery: credentialQuery, challenge: challenge, redirectUri: redirectUri, apiBaseUrl: apiBaseUrl, walletProviderId: walletProviderId, dcApiSupported: dcApiSupported, applicationId: applicationId}) => {
|
|
1862
|
-
const
|
|
1862
|
+
const openid4vpConfiguration = !!walletProviderId || !!redirectUri ? {
|
|
1863
1863
|
redirectUri: redirectUri,
|
|
1864
1864
|
walletProviderId: walletProviderId
|
|
1865
1865
|
} : undefined;
|
|
@@ -1868,7 +1868,7 @@ const createSession = async ({credentialQuery: credentialQuery, challenge: chall
|
|
|
1868
1868
|
challenge: challenge,
|
|
1869
1869
|
applicationId: applicationId,
|
|
1870
1870
|
dcApiSupported: dcApiSupported,
|
|
1871
|
-
|
|
1871
|
+
openid4vpConfiguration: openid4vpConfiguration
|
|
1872
1872
|
};
|
|
1873
1873
|
const responseResult = await safeFetch(`${apiBaseUrl}/v2/presentations/web/sessions`, {
|
|
1874
1874
|
method: "POST",
|
|
@@ -1929,7 +1929,7 @@ const exchangeSessionResult = async ({challenge: challenge, responseCode: respon
|
|
|
1929
1929
|
challenge: challenge,
|
|
1930
1930
|
responseCode: responseCode
|
|
1931
1931
|
};
|
|
1932
|
-
const fetchResultFn = async () => await safeFetch(`${apiBaseUrl}/v2/presentations/
|
|
1932
|
+
const fetchResultFn = async () => await safeFetch(`${apiBaseUrl}/v2/presentations/sessions/${sessionId}/result`, {
|
|
1933
1933
|
method: "POST",
|
|
1934
1934
|
headers: {
|
|
1935
1935
|
"Content-Type": "application/json"
|