@injistack/react-inji-verify-sdk 0.18.0-beta.19 → 0.18.0-beta.20

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.
@@ -13,6 +13,14 @@ export interface VerificationResult {
13
13
  verificationResponse: CredentialResult;
14
14
  }
15
15
  export type VerificationResults = VerificationResult[];
16
+ export interface VPVerificationSummaryVcResult {
17
+ vc: Record<string, unknown>;
18
+ vcStatus: VerificationStatus;
19
+ }
20
+ export interface VPVerificationSummaryResponse {
21
+ vcResults: VPVerificationSummaryVcResult[];
22
+ vpResultStatus: VerificationStatus;
23
+ }
16
24
  export interface VPRequestBody {
17
25
  clientId: string;
18
26
  nonce: string;
@@ -20,7 +28,13 @@ export interface VPRequestBody {
20
28
  presentationDefinitionId?: string;
21
29
  presentationDefinition?: PresentationDefinition;
22
30
  acceptVPWithoutHolderProof?: boolean;
23
- presentationFlow?: string;
31
+ /**
32
+ * When true, the verifier backend will generate a short-lived single-use `response_code`
33
+ * and return it via redirect for same-device web-wallet flows.
34
+ *
35
+ * Must be omitted/false for cross-device and same-device mobile-wallet (deeplink) flows.
36
+ */
37
+ responseCodeValidationRequired?: boolean;
24
38
  }
25
39
  type ExclusivePresentationDefinition =
26
40
  /**
@@ -143,7 +157,6 @@ export type OpenID4VPVerificationProps = ExclusivePresentationDefinition & Exclu
143
157
  };
144
158
  export interface SessionState {
145
159
  requestId: string;
146
- transactionId: string;
147
160
  }
148
161
  export type AppError = {
149
162
  errorMessage: string;