@verified-network/verified-custody 0.2.8 → 0.3.0
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/index.d.mts +19 -1
- package/dist/index.d.ts +19 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -4
package/dist/index.d.mts
CHANGED
|
@@ -51,6 +51,8 @@ interface VerifiedCustodyHelpers {
|
|
|
51
51
|
sendCreatorCompleted: (channel: "sms" | "email", cretorId: string, txId: number) => Promise<boolean>;
|
|
52
52
|
sendCreatorAcceptance: (channel: "sms" | "email", creatorId: string, coSignerId: string) => Promise<boolean>;
|
|
53
53
|
sendCreatorRejection: (channel: "sms" | "email", creatorId: string, coSignerId: string) => Promise<boolean>;
|
|
54
|
+
sendOTPVerification: (channel: "sms" | "email", creatorId: string) => Promise<boolean>;
|
|
55
|
+
checkOTPVerification: (creatorId: string, otp: string) => Promise<boolean>;
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
declare const VerifiedCustody: (props: VerifiedCustodyProps) => React$1.JSX.Element;
|
|
@@ -98,6 +100,14 @@ declare const EnterPinPage: (props: {
|
|
|
98
100
|
reqTxData?: any;
|
|
99
101
|
setIsLoading: (isLoading: boolean) => void;
|
|
100
102
|
setShowDashboard?: (showDashboard: boolean) => void;
|
|
103
|
+
setShowCompleteVault?: (showDashboard: boolean) => void;
|
|
104
|
+
setUserEmail?: (userEmail: string) => void;
|
|
105
|
+
setUserNumberFmt?: (userNumberFmt: string) => void;
|
|
106
|
+
setSelectedCountry?: (selectedCountry: {
|
|
107
|
+
area: string;
|
|
108
|
+
flag: string;
|
|
109
|
+
name: string;
|
|
110
|
+
}) => void;
|
|
101
111
|
helperFunctions?: VerifiedCustodyHelpers;
|
|
102
112
|
}) => React$1.JSX.Element;
|
|
103
113
|
|
|
@@ -142,6 +152,8 @@ declare const ContactPage: (props: {
|
|
|
142
152
|
flag: string;
|
|
143
153
|
};
|
|
144
154
|
allCountries: any;
|
|
155
|
+
noContract?: boolean;
|
|
156
|
+
helperFunctions?: VerifiedCustodyHelpers;
|
|
145
157
|
}) => React$1.JSX.Element;
|
|
146
158
|
|
|
147
159
|
declare const OTPPage: (props: {
|
|
@@ -156,6 +168,8 @@ declare const OTPPage: (props: {
|
|
|
156
168
|
};
|
|
157
169
|
userNumberFmt: string;
|
|
158
170
|
userEmail: string;
|
|
171
|
+
noContract?: boolean;
|
|
172
|
+
helperFunctions?: VerifiedCustodyHelpers;
|
|
159
173
|
}) => React$1.JSX.Element;
|
|
160
174
|
|
|
161
175
|
declare const AddCosignersPage: (props: {
|
|
@@ -181,4 +195,8 @@ declare const hashTheString: (text: string) => string;
|
|
|
181
195
|
declare const encryptString: (text: string, secretKey: string) => string;
|
|
182
196
|
declare const decryptString: (encryptedText: string, secretKey: string) => string;
|
|
183
197
|
|
|
184
|
-
|
|
198
|
+
declare const VaultContextProvider: (props: {
|
|
199
|
+
children: React$1.JSX.Element;
|
|
200
|
+
}) => React$1.JSX.Element;
|
|
201
|
+
|
|
202
|
+
export { AddCosignersPage as AddCoSignersPage, ContactPage, CreatePinPage, EnterPinPage, FTUPage, OTPPage, VaultContextProvider, VerifiedCustody, type VerifiedCustodyHelpers, type VerifiedCustodyProps, type VerifiedWalletAction, type VerifiedWalletTx, type VerifiedWalletVault, decryptString, encryptString, hashTheString };
|
package/dist/index.d.ts
CHANGED
|
@@ -51,6 +51,8 @@ interface VerifiedCustodyHelpers {
|
|
|
51
51
|
sendCreatorCompleted: (channel: "sms" | "email", cretorId: string, txId: number) => Promise<boolean>;
|
|
52
52
|
sendCreatorAcceptance: (channel: "sms" | "email", creatorId: string, coSignerId: string) => Promise<boolean>;
|
|
53
53
|
sendCreatorRejection: (channel: "sms" | "email", creatorId: string, coSignerId: string) => Promise<boolean>;
|
|
54
|
+
sendOTPVerification: (channel: "sms" | "email", creatorId: string) => Promise<boolean>;
|
|
55
|
+
checkOTPVerification: (creatorId: string, otp: string) => Promise<boolean>;
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
declare const VerifiedCustody: (props: VerifiedCustodyProps) => React$1.JSX.Element;
|
|
@@ -98,6 +100,14 @@ declare const EnterPinPage: (props: {
|
|
|
98
100
|
reqTxData?: any;
|
|
99
101
|
setIsLoading: (isLoading: boolean) => void;
|
|
100
102
|
setShowDashboard?: (showDashboard: boolean) => void;
|
|
103
|
+
setShowCompleteVault?: (showDashboard: boolean) => void;
|
|
104
|
+
setUserEmail?: (userEmail: string) => void;
|
|
105
|
+
setUserNumberFmt?: (userNumberFmt: string) => void;
|
|
106
|
+
setSelectedCountry?: (selectedCountry: {
|
|
107
|
+
area: string;
|
|
108
|
+
flag: string;
|
|
109
|
+
name: string;
|
|
110
|
+
}) => void;
|
|
101
111
|
helperFunctions?: VerifiedCustodyHelpers;
|
|
102
112
|
}) => React$1.JSX.Element;
|
|
103
113
|
|
|
@@ -142,6 +152,8 @@ declare const ContactPage: (props: {
|
|
|
142
152
|
flag: string;
|
|
143
153
|
};
|
|
144
154
|
allCountries: any;
|
|
155
|
+
noContract?: boolean;
|
|
156
|
+
helperFunctions?: VerifiedCustodyHelpers;
|
|
145
157
|
}) => React$1.JSX.Element;
|
|
146
158
|
|
|
147
159
|
declare const OTPPage: (props: {
|
|
@@ -156,6 +168,8 @@ declare const OTPPage: (props: {
|
|
|
156
168
|
};
|
|
157
169
|
userNumberFmt: string;
|
|
158
170
|
userEmail: string;
|
|
171
|
+
noContract?: boolean;
|
|
172
|
+
helperFunctions?: VerifiedCustodyHelpers;
|
|
159
173
|
}) => React$1.JSX.Element;
|
|
160
174
|
|
|
161
175
|
declare const AddCosignersPage: (props: {
|
|
@@ -181,4 +195,8 @@ declare const hashTheString: (text: string) => string;
|
|
|
181
195
|
declare const encryptString: (text: string, secretKey: string) => string;
|
|
182
196
|
declare const decryptString: (encryptedText: string, secretKey: string) => string;
|
|
183
197
|
|
|
184
|
-
|
|
198
|
+
declare const VaultContextProvider: (props: {
|
|
199
|
+
children: React$1.JSX.Element;
|
|
200
|
+
}) => React$1.JSX.Element;
|
|
201
|
+
|
|
202
|
+
export { AddCosignersPage as AddCoSignersPage, ContactPage, CreatePinPage, EnterPinPage, FTUPage, OTPPage, VaultContextProvider, VerifiedCustody, type VerifiedCustodyHelpers, type VerifiedCustodyProps, type VerifiedWalletAction, type VerifiedWalletTx, type VerifiedWalletVault, decryptString, encryptString, hashTheString };
|