@verified-network/verified-custody 0.3.0 → 0.3.2
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 +14 -9
- package/dist/index.d.ts +14 -9
- 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 +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -38,6 +38,7 @@ interface VerifiedCustodyProps {
|
|
|
38
38
|
showLogoPage?: boolean;
|
|
39
39
|
logoPageElement?: React.JSX.Element;
|
|
40
40
|
logoTimeoutTime?: number;
|
|
41
|
+
enablePhone?: boolean;
|
|
41
42
|
dashbordElement?: React.ComponentType<{
|
|
42
43
|
setIsLoading: React.Dispatch<React.SetStateAction<boolean>>;
|
|
43
44
|
[key: string]: any;
|
|
@@ -51,8 +52,8 @@ interface VerifiedCustodyHelpers {
|
|
|
51
52
|
sendCreatorCompleted: (channel: "sms" | "email", cretorId: string, txId: number) => Promise<boolean>;
|
|
52
53
|
sendCreatorAcceptance: (channel: "sms" | "email", creatorId: string, coSignerId: string) => Promise<boolean>;
|
|
53
54
|
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>;
|
|
55
|
+
sendOTPVerification: (creatorUniqueId: string, channel: "sms" | "email", creatorId: string) => Promise<boolean>;
|
|
56
|
+
checkOTPVerification: (creatorUniqueId: string, creatorId: string, otp: string) => Promise<boolean>;
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
declare const VerifiedCustody: (props: VerifiedCustodyProps) => React$1.JSX.Element;
|
|
@@ -74,6 +75,7 @@ declare const FTUPage: (props: {
|
|
|
74
75
|
logoTimeoutTime?: number;
|
|
75
76
|
showStartupPage?: boolean;
|
|
76
77
|
startupPageElement?: React$1.JSX.Element;
|
|
78
|
+
enablePhone?: boolean;
|
|
77
79
|
setisOnboard?: (isOnboard: boolean) => void;
|
|
78
80
|
helperFunctions?: VerifiedCustodyHelpers;
|
|
79
81
|
setIsLoading?: (isLoading: boolean) => void;
|
|
@@ -109,18 +111,19 @@ declare const EnterPinPage: (props: {
|
|
|
109
111
|
name: string;
|
|
110
112
|
}) => void;
|
|
111
113
|
helperFunctions?: VerifiedCustodyHelpers;
|
|
114
|
+
enablePhone?: boolean;
|
|
112
115
|
}) => React$1.JSX.Element;
|
|
113
116
|
|
|
114
117
|
declare const CreatePinPage: (props: {
|
|
115
118
|
setStep: (step: string) => void;
|
|
116
119
|
setIsLoading: (isLoading: boolean) => void;
|
|
117
|
-
setShowSuccessBtn
|
|
118
|
-
setSuccessBtnText
|
|
119
|
-
setSuccessBtnNeutText
|
|
120
|
-
setSuccessBtnFunc
|
|
121
|
-
setSuccessBtnNeutFunc
|
|
122
|
-
setActionHeaderText
|
|
123
|
-
setActionFooterText
|
|
120
|
+
setShowSuccessBtn?: (showSuccessBtn: boolean) => void;
|
|
121
|
+
setSuccessBtnText?: (successBtnText: string) => void;
|
|
122
|
+
setSuccessBtnNeutText?: (successBtnNeutText: string) => void;
|
|
123
|
+
setSuccessBtnFunc?: (successBtnFunc: any) => void;
|
|
124
|
+
setSuccessBtnNeutFunc?: (successBtnNeutFunc: any) => void;
|
|
125
|
+
setActionHeaderText?: (actionHeaderText: string) => void;
|
|
126
|
+
setActionFooterText?: (actionFooterText: string) => void;
|
|
124
127
|
userNumberFmt: string;
|
|
125
128
|
userEmail: string;
|
|
126
129
|
selectedCountry: {
|
|
@@ -154,6 +157,7 @@ declare const ContactPage: (props: {
|
|
|
154
157
|
allCountries: any;
|
|
155
158
|
noContract?: boolean;
|
|
156
159
|
helperFunctions?: VerifiedCustodyHelpers;
|
|
160
|
+
enablePhone?: boolean;
|
|
157
161
|
}) => React$1.JSX.Element;
|
|
158
162
|
|
|
159
163
|
declare const OTPPage: (props: {
|
|
@@ -189,6 +193,7 @@ declare const AddCosignersPage: (props: {
|
|
|
189
193
|
name: string;
|
|
190
194
|
};
|
|
191
195
|
helperFunctions?: VerifiedCustodyHelpers;
|
|
196
|
+
enablePhone?: boolean;
|
|
192
197
|
}) => React$1.JSX.Element;
|
|
193
198
|
|
|
194
199
|
declare const hashTheString: (text: string) => string;
|
package/dist/index.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ interface VerifiedCustodyProps {
|
|
|
38
38
|
showLogoPage?: boolean;
|
|
39
39
|
logoPageElement?: React.JSX.Element;
|
|
40
40
|
logoTimeoutTime?: number;
|
|
41
|
+
enablePhone?: boolean;
|
|
41
42
|
dashbordElement?: React.ComponentType<{
|
|
42
43
|
setIsLoading: React.Dispatch<React.SetStateAction<boolean>>;
|
|
43
44
|
[key: string]: any;
|
|
@@ -51,8 +52,8 @@ interface VerifiedCustodyHelpers {
|
|
|
51
52
|
sendCreatorCompleted: (channel: "sms" | "email", cretorId: string, txId: number) => Promise<boolean>;
|
|
52
53
|
sendCreatorAcceptance: (channel: "sms" | "email", creatorId: string, coSignerId: string) => Promise<boolean>;
|
|
53
54
|
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>;
|
|
55
|
+
sendOTPVerification: (creatorUniqueId: string, channel: "sms" | "email", creatorId: string) => Promise<boolean>;
|
|
56
|
+
checkOTPVerification: (creatorUniqueId: string, creatorId: string, otp: string) => Promise<boolean>;
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
declare const VerifiedCustody: (props: VerifiedCustodyProps) => React$1.JSX.Element;
|
|
@@ -74,6 +75,7 @@ declare const FTUPage: (props: {
|
|
|
74
75
|
logoTimeoutTime?: number;
|
|
75
76
|
showStartupPage?: boolean;
|
|
76
77
|
startupPageElement?: React$1.JSX.Element;
|
|
78
|
+
enablePhone?: boolean;
|
|
77
79
|
setisOnboard?: (isOnboard: boolean) => void;
|
|
78
80
|
helperFunctions?: VerifiedCustodyHelpers;
|
|
79
81
|
setIsLoading?: (isLoading: boolean) => void;
|
|
@@ -109,18 +111,19 @@ declare const EnterPinPage: (props: {
|
|
|
109
111
|
name: string;
|
|
110
112
|
}) => void;
|
|
111
113
|
helperFunctions?: VerifiedCustodyHelpers;
|
|
114
|
+
enablePhone?: boolean;
|
|
112
115
|
}) => React$1.JSX.Element;
|
|
113
116
|
|
|
114
117
|
declare const CreatePinPage: (props: {
|
|
115
118
|
setStep: (step: string) => void;
|
|
116
119
|
setIsLoading: (isLoading: boolean) => void;
|
|
117
|
-
setShowSuccessBtn
|
|
118
|
-
setSuccessBtnText
|
|
119
|
-
setSuccessBtnNeutText
|
|
120
|
-
setSuccessBtnFunc
|
|
121
|
-
setSuccessBtnNeutFunc
|
|
122
|
-
setActionHeaderText
|
|
123
|
-
setActionFooterText
|
|
120
|
+
setShowSuccessBtn?: (showSuccessBtn: boolean) => void;
|
|
121
|
+
setSuccessBtnText?: (successBtnText: string) => void;
|
|
122
|
+
setSuccessBtnNeutText?: (successBtnNeutText: string) => void;
|
|
123
|
+
setSuccessBtnFunc?: (successBtnFunc: any) => void;
|
|
124
|
+
setSuccessBtnNeutFunc?: (successBtnNeutFunc: any) => void;
|
|
125
|
+
setActionHeaderText?: (actionHeaderText: string) => void;
|
|
126
|
+
setActionFooterText?: (actionFooterText: string) => void;
|
|
124
127
|
userNumberFmt: string;
|
|
125
128
|
userEmail: string;
|
|
126
129
|
selectedCountry: {
|
|
@@ -154,6 +157,7 @@ declare const ContactPage: (props: {
|
|
|
154
157
|
allCountries: any;
|
|
155
158
|
noContract?: boolean;
|
|
156
159
|
helperFunctions?: VerifiedCustodyHelpers;
|
|
160
|
+
enablePhone?: boolean;
|
|
157
161
|
}) => React$1.JSX.Element;
|
|
158
162
|
|
|
159
163
|
declare const OTPPage: (props: {
|
|
@@ -189,6 +193,7 @@ declare const AddCosignersPage: (props: {
|
|
|
189
193
|
name: string;
|
|
190
194
|
};
|
|
191
195
|
helperFunctions?: VerifiedCustodyHelpers;
|
|
196
|
+
enablePhone?: boolean;
|
|
192
197
|
}) => React$1.JSX.Element;
|
|
193
198
|
|
|
194
199
|
declare const hashTheString: (text: string) => string;
|