@mosip/react-inji-verify-sdk 0.15.0-beta.20 → 0.15.0-beta.22
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { OpenID4VPVerificationProps } from "./OpenID4VPVerification.types";
|
|
3
3
|
import "./OpenID4VPVerification.css";
|
|
4
|
+
export declare const isMobileDevice: () => boolean;
|
|
4
5
|
declare const OpenID4VPVerification: React.FC<OpenID4VPVerificationProps>;
|
|
5
6
|
export default OpenID4VPVerification;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export type OpenID4VPError = {
|
|
3
|
-
message: string;
|
|
4
|
-
code?: string;
|
|
5
|
-
details?: unknown;
|
|
6
|
-
};
|
|
7
2
|
export type VerificationStatus = "valid" | "invalid" | "expired";
|
|
8
3
|
export interface VerificationResult {
|
|
9
4
|
/**
|
|
@@ -149,6 +144,10 @@ export type OpenID4VPVerificationProps = ExclusivePresentationDefinition & Exclu
|
|
|
149
144
|
*/
|
|
150
145
|
onError: (error: AppError) => void;
|
|
151
146
|
};
|
|
147
|
+
export interface SessionState {
|
|
148
|
+
requestId: string;
|
|
149
|
+
transactionId: string;
|
|
150
|
+
}
|
|
152
151
|
export type AppError = {
|
|
153
152
|
errorMessage: string;
|
|
154
153
|
errorCode?: string;
|