@mosip/react-inji-verify-sdk 0.15.0-beta.2 → 0.15.0-beta.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 +35 -30
- package/dist/components/openid4vp-verification/OpenID4VPVerification.d.ts +1 -0
- package/dist/components/openid4vp-verification/OpenID4VPVerification.types.d.ts +16 -19
- package/dist/index.js +1 -1
- package/dist/utils/constants.d.ts +1 -0
- package/dist/utils/dataProcessor.d.ts +0 -2
- package/dist/utils/utils.d.ts +1 -0
- package/package.json +1 -1
- package/dist/components/WalletSelectionModal/WalletSelectionModal.d.ts +0 -13
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
export declare const decodeQrData: (qrData: any) => Promise<any>;
|
|
2
2
|
export declare const extractRedirectUrlFromQrData: (qrData: string) => string | null;
|
|
3
|
-
export declare const initiateOvpFlow: (redirectUri: string) => void;
|
|
4
|
-
export declare const handleOvpFlow: (qrData: string) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isSdJwt: (vpToken: string) => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mosip/react-inji-verify-sdk",
|
|
3
|
-
"version": "0.15.0-beta.
|
|
3
|
+
"version": "0.15.0-beta.21",
|
|
4
4
|
"description": "A react component library to perform Inji verify tasks, such as OpenId4VP sharing, Reading VC QR codes",
|
|
5
5
|
"sideEffects": ["*.css"],
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "./WalletSelectionModal.css";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { Wallet } from "../openid4vp-verification/OpenID4VPVerification.types";
|
|
4
|
-
interface WalletSelectionModalProps {
|
|
5
|
-
isOpen: boolean;
|
|
6
|
-
wallets: Wallet[];
|
|
7
|
-
selectedWallet: Wallet | null;
|
|
8
|
-
onSelect: (wallet: Wallet | null) => void;
|
|
9
|
-
onCancel: () => void;
|
|
10
|
-
onProceed: () => void;
|
|
11
|
-
}
|
|
12
|
-
declare const WalletSelectionModal: React.FC<WalletSelectionModalProps>;
|
|
13
|
-
export default WalletSelectionModal;
|