@mattrglobal/verifier-sdk-web 2.1.1-unstable.20 → 2.1.1-unstable.21
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/README.md +41 -0
- package/dist/lib/verifier-js-no-deps.cjs.js.map +1 -1
- package/dist/lib/verifier-js.cjs.js.map +1 -1
- package/dist/typings/verifier/requestCredentialsDigitalCredentialsApi.d.ts +4 -2
- package/dist/typings/verifier/types/verifier-web-sdk.d.ts +4 -2
- package/dist/verifier-js.development.js.map +1 -1
- package/dist/verifier-js.production.esm.js.map +1 -1
- package/dist/verifier-js.production.js.map +1 -1
- package/package.json +2 -2
|
@@ -5,12 +5,14 @@ import { RequestCredentialsErrorType, RequestCredentialsResponse, RequestCredent
|
|
|
5
5
|
* Request credentials for the Digital Credentials API
|
|
6
6
|
*
|
|
7
7
|
* @param options - {@link RequestCredentialsWithDcApiOptions}
|
|
8
|
-
* @ignore -
|
|
8
|
+
* @ignore - Internal method
|
|
9
9
|
*/
|
|
10
10
|
export declare const requestCredentialsWithDigitalCredentialsApi: (options: RequestCredentialsWithDcApiOptions) => Promise<Result<RequestCredentialsResponse, BaseError<RequestCredentialsErrorType.RequestCredentialsFailed>>>;
|
|
11
11
|
/**
|
|
12
|
+
* @experimental
|
|
13
|
+
* > DC API support is currently offered as a **tech preview**. As such, functionality may be limited, may not work in all scenarios, and could change or break without prior notice.
|
|
14
|
+
*
|
|
12
15
|
* Checks if Digital Credentials API feature is supported for the current browser.
|
|
13
|
-
* @ignore - Dark release
|
|
14
16
|
*
|
|
15
17
|
* @returns boolean.
|
|
16
18
|
*/
|
|
@@ -32,9 +32,11 @@ export type CrossDeviceRequestCredentialsOptions = {
|
|
|
32
32
|
*/
|
|
33
33
|
export type OpenId4vpConfigurationSameDeviceOptions = {
|
|
34
34
|
/**
|
|
35
|
-
* An optional identifier
|
|
35
|
+
* An optional identifier of a specific wallet provider to target in OID4VP flows.
|
|
36
36
|
*
|
|
37
|
-
*
|
|
37
|
+
* When provided, must match an existing wallet provider configured on the MATTR VII verifier tenant.
|
|
38
|
+
*
|
|
39
|
+
* Defaults to DC API if the MATTR VII verifier application includes a `dcApiConfiguration` object. Otherwise defaults to the global wallet schema 'mdoc-openid4vp://'.
|
|
38
40
|
*/
|
|
39
41
|
walletProviderId?: string;
|
|
40
42
|
/**
|