@mosip/react-inji-verify-sdk 0.14.0-beta.2 → 0.14.0-beta.4
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/components/{openid4vp-verification → WalletSelectionModal}/WalletSelectionModal.d.ts +2 -1
- package/dist/components/openid4vp-verification/OpenID4VPVerification.types.d.ts +7 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -1
- package/dist/utils/api.d.ts +1 -1
- package/package.json +2 -8
- package/dist/components/Button/Button.d.ts +0 -10
package/dist/components/{openid4vp-verification → WalletSelectionModal}/WalletSelectionModal.d.ts
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import "./WalletSelectionModal.css";
|
|
1
2
|
import React from "react";
|
|
2
|
-
import { Wallet } from "
|
|
3
|
+
import { Wallet } from "../openid4vp-verification/OpenID4VPVerification.types";
|
|
3
4
|
interface WalletSelectionModalProps {
|
|
4
5
|
isOpen: boolean;
|
|
5
6
|
wallets: Wallet[];
|
|
@@ -21,7 +21,7 @@ export type VerificationResults = VerificationResult[];
|
|
|
21
21
|
export interface QrData {
|
|
22
22
|
transactionId: string;
|
|
23
23
|
requestId: string;
|
|
24
|
-
authorizationDetails
|
|
24
|
+
authorizationDetails?: {
|
|
25
25
|
responseType: string;
|
|
26
26
|
clientId: string;
|
|
27
27
|
presentationDefinition: Record<string, unknown>;
|
|
@@ -31,6 +31,7 @@ export interface QrData {
|
|
|
31
31
|
iat: number;
|
|
32
32
|
};
|
|
33
33
|
expiresAt: number;
|
|
34
|
+
requestUri?: string;
|
|
34
35
|
}
|
|
35
36
|
export interface VPRequestBody {
|
|
36
37
|
clientId: string;
|
|
@@ -120,6 +121,11 @@ type BaseProps = ExclusivePresentationDefinition & ExclusiveCallbacks & {
|
|
|
120
121
|
verifyServiceUrl: string;
|
|
121
122
|
/**
|
|
122
123
|
|
|
124
|
+
The client identifier for relaying party.
|
|
125
|
+
*/
|
|
126
|
+
clientId: string;
|
|
127
|
+
/**
|
|
128
|
+
|
|
123
129
|
The protocol being used for verification (e.g., OpenID4VP).
|
|
124
130
|
*/
|
|
125
131
|
protocol?: string;
|
package/dist/index.d.ts
CHANGED