@verified-network/verified-custody 0.4.1 → 0.4.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/Hind-Regular-R5KOYWFC.ttf +0 -0
- package/dist/Manrope-Regular-33576HBZ.ttf +0 -0
- package/dist/Roboto-Regular-UUBD26YO.ttf +0 -0
- package/dist/index.d.mts +137 -4
- package/dist/index.d.ts +137 -4
- 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 +16 -8
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.d.mts
CHANGED
|
@@ -65,6 +65,22 @@ interface VerifiedCustodyHelpers {
|
|
|
65
65
|
declare const VerifiedCustody: (props: VerifiedCustodyProps) => React$1.JSX.Element;
|
|
66
66
|
|
|
67
67
|
declare const FTUPage: (props: {
|
|
68
|
+
platform: {
|
|
69
|
+
View: any;
|
|
70
|
+
Text: any;
|
|
71
|
+
Image: any;
|
|
72
|
+
ScrollView: any;
|
|
73
|
+
StyleSheet: any;
|
|
74
|
+
TextInput: any;
|
|
75
|
+
TouchableOpacity: any;
|
|
76
|
+
ActivityIndicator: any;
|
|
77
|
+
Font: any;
|
|
78
|
+
AsyncStorage: any;
|
|
79
|
+
EventEmitter: any;
|
|
80
|
+
isReactNative: boolean;
|
|
81
|
+
styles: any;
|
|
82
|
+
rnPasskey: any;
|
|
83
|
+
};
|
|
68
84
|
fontsLoaded?: boolean;
|
|
69
85
|
popupView?: boolean;
|
|
70
86
|
action?: string;
|
|
@@ -85,12 +101,29 @@ declare const FTUPage: (props: {
|
|
|
85
101
|
setisOnboard?: (isOnboard: boolean) => void;
|
|
86
102
|
helperFunctions?: VerifiedCustodyHelpers;
|
|
87
103
|
setIsLoading?: (isLoading: boolean) => void;
|
|
104
|
+
setShowDashboard?: (showDashboard: boolean) => void;
|
|
88
105
|
dashbordElement?: React$1.ComponentType<{
|
|
89
106
|
setIsLoading: React$1.Dispatch<React$1.SetStateAction<boolean>>;
|
|
90
107
|
}>;
|
|
91
108
|
}) => React$1.JSX.Element;
|
|
92
109
|
|
|
93
110
|
declare const EnterPinPage: (props: {
|
|
111
|
+
platform: {
|
|
112
|
+
View: any;
|
|
113
|
+
Text: any;
|
|
114
|
+
Image: any;
|
|
115
|
+
ScrollView: any;
|
|
116
|
+
StyleSheet: any;
|
|
117
|
+
TextInput: any;
|
|
118
|
+
TouchableOpacity: any;
|
|
119
|
+
ActivityIndicator: any;
|
|
120
|
+
Font: any;
|
|
121
|
+
AsyncStorage: any;
|
|
122
|
+
EventEmitter: any;
|
|
123
|
+
isReactNative: boolean;
|
|
124
|
+
styles: any;
|
|
125
|
+
rnPasskey: any;
|
|
126
|
+
};
|
|
94
127
|
fontsLoaded?: boolean;
|
|
95
128
|
setisOnboard: (isOnboard: boolean) => void;
|
|
96
129
|
vaultId: string;
|
|
@@ -124,6 +157,23 @@ declare const EnterPinPage: (props: {
|
|
|
124
157
|
}) => React$1.JSX.Element;
|
|
125
158
|
|
|
126
159
|
declare const CreatePinPage: (props: {
|
|
160
|
+
platform: {
|
|
161
|
+
View: any;
|
|
162
|
+
Text: any;
|
|
163
|
+
Image: any;
|
|
164
|
+
ScrollView: any;
|
|
165
|
+
StyleSheet: any;
|
|
166
|
+
TextInput: any;
|
|
167
|
+
TouchableOpacity: any;
|
|
168
|
+
ActivityIndicator: any;
|
|
169
|
+
Font: any;
|
|
170
|
+
AsyncStorage: any;
|
|
171
|
+
EventEmitter: any;
|
|
172
|
+
isReactNative: boolean;
|
|
173
|
+
styles: any;
|
|
174
|
+
rnPasskey: any;
|
|
175
|
+
};
|
|
176
|
+
fontsLoaded?: boolean;
|
|
127
177
|
setStep: (step: string) => void;
|
|
128
178
|
setIsLoading: (isLoading: boolean) => void;
|
|
129
179
|
setShowSuccessBtn?: (showSuccessBtn: boolean) => void;
|
|
@@ -148,6 +198,23 @@ declare const CreatePinPage: (props: {
|
|
|
148
198
|
}) => React$1.JSX.Element;
|
|
149
199
|
|
|
150
200
|
declare const ContactPage: (props: {
|
|
201
|
+
platform: {
|
|
202
|
+
View: any;
|
|
203
|
+
Text: any;
|
|
204
|
+
Image: any;
|
|
205
|
+
ScrollView: any;
|
|
206
|
+
StyleSheet: any;
|
|
207
|
+
TextInput: any;
|
|
208
|
+
TouchableOpacity: any;
|
|
209
|
+
ActivityIndicator: any;
|
|
210
|
+
Font: any;
|
|
211
|
+
AsyncStorage: any;
|
|
212
|
+
EventEmitter: any;
|
|
213
|
+
isReactNative: boolean;
|
|
214
|
+
styles: any;
|
|
215
|
+
rnPasskey: any;
|
|
216
|
+
};
|
|
217
|
+
fontsLoaded?: boolean;
|
|
151
218
|
setStep: (step: string) => void;
|
|
152
219
|
setIsLoading: (isLoading: boolean) => void;
|
|
153
220
|
setUserNumberFmt: (number: string) => void;
|
|
@@ -171,6 +238,23 @@ declare const ContactPage: (props: {
|
|
|
171
238
|
}) => React$1.JSX.Element;
|
|
172
239
|
|
|
173
240
|
declare const OTPPage: (props: {
|
|
241
|
+
platform: {
|
|
242
|
+
View: any;
|
|
243
|
+
Text: any;
|
|
244
|
+
Image: any;
|
|
245
|
+
ScrollView: any;
|
|
246
|
+
StyleSheet: any;
|
|
247
|
+
TextInput: any;
|
|
248
|
+
TouchableOpacity: any;
|
|
249
|
+
ActivityIndicator: any;
|
|
250
|
+
Font: any;
|
|
251
|
+
AsyncStorage: any;
|
|
252
|
+
EventEmitter: any;
|
|
253
|
+
isReactNative: boolean;
|
|
254
|
+
styles: any;
|
|
255
|
+
rnPasskey: any;
|
|
256
|
+
};
|
|
257
|
+
fontsLoaded?: boolean;
|
|
174
258
|
setStep: (step: string) => void;
|
|
175
259
|
setIsLoading: (isLoading: boolean) => void;
|
|
176
260
|
setUserNumberFmt: (number: string) => void;
|
|
@@ -184,10 +268,27 @@ declare const OTPPage: (props: {
|
|
|
184
268
|
userNumberFmt: string;
|
|
185
269
|
userEmail: string;
|
|
186
270
|
noContract?: boolean;
|
|
187
|
-
helperFunctions?:
|
|
271
|
+
helperFunctions?: any;
|
|
188
272
|
}) => React$1.JSX.Element;
|
|
189
273
|
|
|
190
274
|
declare const AddCosignersPage: (props: {
|
|
275
|
+
platform: {
|
|
276
|
+
View: any;
|
|
277
|
+
Text: any;
|
|
278
|
+
Image: any;
|
|
279
|
+
ScrollView: any;
|
|
280
|
+
StyleSheet: any;
|
|
281
|
+
TextInput: any;
|
|
282
|
+
TouchableOpacity: any;
|
|
283
|
+
ActivityIndicator: any;
|
|
284
|
+
Font: any;
|
|
285
|
+
AsyncStorage: any;
|
|
286
|
+
EventEmitter: any;
|
|
287
|
+
isReactNative: boolean;
|
|
288
|
+
styles: any;
|
|
289
|
+
rnPasskey: any;
|
|
290
|
+
};
|
|
291
|
+
fontsLoaded?: boolean;
|
|
191
292
|
setStep: (step: string) => void;
|
|
192
293
|
setIsLoading: (isLoading: boolean) => void;
|
|
193
294
|
userNumberFmt: string;
|
|
@@ -207,12 +308,44 @@ declare const AddCosignersPage: (props: {
|
|
|
207
308
|
enablePhone?: boolean;
|
|
208
309
|
}) => React$1.JSX.Element;
|
|
209
310
|
|
|
311
|
+
/**
|
|
312
|
+
*
|
|
313
|
+
* @param document Any web page loaded in the browser / Dom tree
|
|
314
|
+
*/
|
|
315
|
+
declare const loadAllGoogleFonts: (document: Document) => boolean;
|
|
316
|
+
/**
|
|
317
|
+
*
|
|
318
|
+
* @param expoFont default export from expo-font for react-native
|
|
319
|
+
*/
|
|
320
|
+
declare const loadAllGoogleFontsRN: (expoFont: any) => Promise<boolean>;
|
|
210
321
|
declare const hashTheString: (text: string) => string;
|
|
211
322
|
declare const encryptString: (text: string, secretKey: string) => string;
|
|
212
323
|
declare const decryptString: (encryptedText: string, secretKey: string) => string;
|
|
324
|
+
declare const publicKeyCredentialRequestOptions: () => any;
|
|
325
|
+
declare const encryptWithPasskey: (plaintext: string, rawId: ArrayBuffer | Uint8Array, // allow both ArrayBuffer or Uint8Array
|
|
326
|
+
rawIdString: string) => Promise<string>;
|
|
327
|
+
declare const decryptWithPasskey: (encryptedString: string, rawId: ArrayBuffer | Uint8Array) => Promise<string>;
|
|
328
|
+
|
|
329
|
+
declare const initPlatform: () => Promise<void>;
|
|
330
|
+
declare const getPlatformComponents: () => {
|
|
331
|
+
isReactNative: boolean;
|
|
332
|
+
View: any;
|
|
333
|
+
Text: any;
|
|
334
|
+
Image: any;
|
|
335
|
+
ScrollView: any;
|
|
336
|
+
StyleSheet: any;
|
|
337
|
+
TextInput: any;
|
|
338
|
+
TouchableOpacity: any;
|
|
339
|
+
ActivityIndicator: any;
|
|
340
|
+
Font: any;
|
|
341
|
+
AsyncStorage: any;
|
|
342
|
+
EventEmitter: any;
|
|
343
|
+
styles: any;
|
|
344
|
+
rnPasskey: any;
|
|
345
|
+
};
|
|
213
346
|
|
|
214
|
-
declare const VaultContextProvider: (
|
|
215
|
-
children:
|
|
347
|
+
declare const VaultContextProvider: ({ children }: {
|
|
348
|
+
children: any;
|
|
216
349
|
}) => React$1.JSX.Element;
|
|
217
350
|
|
|
218
|
-
export { AddCosignersPage as AddCoSignersPage, ContactPage, CreatePinPage, EnterPinPage, FTUPage, OTPPage, VaultContextProvider, VerifiedCustody, type VerifiedCustodyHelpers, type VerifiedCustodyProps, type VerifiedWalletAction, type VerifiedWalletTx, type VerifiedWalletVault, decryptString, encryptString, hashTheString };
|
|
351
|
+
export { AddCosignersPage as AddCoSignersPage, ContactPage, CreatePinPage, EnterPinPage, FTUPage, OTPPage, VaultContextProvider, VerifiedCustody, type VerifiedCustodyHelpers, type VerifiedCustodyProps, type VerifiedWalletAction, type VerifiedWalletTx, type VerifiedWalletVault, decryptString, decryptWithPasskey, encryptString, encryptWithPasskey, getPlatformComponents, hashTheString, initPlatform, loadAllGoogleFonts, loadAllGoogleFontsRN, publicKeyCredentialRequestOptions };
|
package/dist/index.d.ts
CHANGED
|
@@ -65,6 +65,22 @@ interface VerifiedCustodyHelpers {
|
|
|
65
65
|
declare const VerifiedCustody: (props: VerifiedCustodyProps) => React$1.JSX.Element;
|
|
66
66
|
|
|
67
67
|
declare const FTUPage: (props: {
|
|
68
|
+
platform: {
|
|
69
|
+
View: any;
|
|
70
|
+
Text: any;
|
|
71
|
+
Image: any;
|
|
72
|
+
ScrollView: any;
|
|
73
|
+
StyleSheet: any;
|
|
74
|
+
TextInput: any;
|
|
75
|
+
TouchableOpacity: any;
|
|
76
|
+
ActivityIndicator: any;
|
|
77
|
+
Font: any;
|
|
78
|
+
AsyncStorage: any;
|
|
79
|
+
EventEmitter: any;
|
|
80
|
+
isReactNative: boolean;
|
|
81
|
+
styles: any;
|
|
82
|
+
rnPasskey: any;
|
|
83
|
+
};
|
|
68
84
|
fontsLoaded?: boolean;
|
|
69
85
|
popupView?: boolean;
|
|
70
86
|
action?: string;
|
|
@@ -85,12 +101,29 @@ declare const FTUPage: (props: {
|
|
|
85
101
|
setisOnboard?: (isOnboard: boolean) => void;
|
|
86
102
|
helperFunctions?: VerifiedCustodyHelpers;
|
|
87
103
|
setIsLoading?: (isLoading: boolean) => void;
|
|
104
|
+
setShowDashboard?: (showDashboard: boolean) => void;
|
|
88
105
|
dashbordElement?: React$1.ComponentType<{
|
|
89
106
|
setIsLoading: React$1.Dispatch<React$1.SetStateAction<boolean>>;
|
|
90
107
|
}>;
|
|
91
108
|
}) => React$1.JSX.Element;
|
|
92
109
|
|
|
93
110
|
declare const EnterPinPage: (props: {
|
|
111
|
+
platform: {
|
|
112
|
+
View: any;
|
|
113
|
+
Text: any;
|
|
114
|
+
Image: any;
|
|
115
|
+
ScrollView: any;
|
|
116
|
+
StyleSheet: any;
|
|
117
|
+
TextInput: any;
|
|
118
|
+
TouchableOpacity: any;
|
|
119
|
+
ActivityIndicator: any;
|
|
120
|
+
Font: any;
|
|
121
|
+
AsyncStorage: any;
|
|
122
|
+
EventEmitter: any;
|
|
123
|
+
isReactNative: boolean;
|
|
124
|
+
styles: any;
|
|
125
|
+
rnPasskey: any;
|
|
126
|
+
};
|
|
94
127
|
fontsLoaded?: boolean;
|
|
95
128
|
setisOnboard: (isOnboard: boolean) => void;
|
|
96
129
|
vaultId: string;
|
|
@@ -124,6 +157,23 @@ declare const EnterPinPage: (props: {
|
|
|
124
157
|
}) => React$1.JSX.Element;
|
|
125
158
|
|
|
126
159
|
declare const CreatePinPage: (props: {
|
|
160
|
+
platform: {
|
|
161
|
+
View: any;
|
|
162
|
+
Text: any;
|
|
163
|
+
Image: any;
|
|
164
|
+
ScrollView: any;
|
|
165
|
+
StyleSheet: any;
|
|
166
|
+
TextInput: any;
|
|
167
|
+
TouchableOpacity: any;
|
|
168
|
+
ActivityIndicator: any;
|
|
169
|
+
Font: any;
|
|
170
|
+
AsyncStorage: any;
|
|
171
|
+
EventEmitter: any;
|
|
172
|
+
isReactNative: boolean;
|
|
173
|
+
styles: any;
|
|
174
|
+
rnPasskey: any;
|
|
175
|
+
};
|
|
176
|
+
fontsLoaded?: boolean;
|
|
127
177
|
setStep: (step: string) => void;
|
|
128
178
|
setIsLoading: (isLoading: boolean) => void;
|
|
129
179
|
setShowSuccessBtn?: (showSuccessBtn: boolean) => void;
|
|
@@ -148,6 +198,23 @@ declare const CreatePinPage: (props: {
|
|
|
148
198
|
}) => React$1.JSX.Element;
|
|
149
199
|
|
|
150
200
|
declare const ContactPage: (props: {
|
|
201
|
+
platform: {
|
|
202
|
+
View: any;
|
|
203
|
+
Text: any;
|
|
204
|
+
Image: any;
|
|
205
|
+
ScrollView: any;
|
|
206
|
+
StyleSheet: any;
|
|
207
|
+
TextInput: any;
|
|
208
|
+
TouchableOpacity: any;
|
|
209
|
+
ActivityIndicator: any;
|
|
210
|
+
Font: any;
|
|
211
|
+
AsyncStorage: any;
|
|
212
|
+
EventEmitter: any;
|
|
213
|
+
isReactNative: boolean;
|
|
214
|
+
styles: any;
|
|
215
|
+
rnPasskey: any;
|
|
216
|
+
};
|
|
217
|
+
fontsLoaded?: boolean;
|
|
151
218
|
setStep: (step: string) => void;
|
|
152
219
|
setIsLoading: (isLoading: boolean) => void;
|
|
153
220
|
setUserNumberFmt: (number: string) => void;
|
|
@@ -171,6 +238,23 @@ declare const ContactPage: (props: {
|
|
|
171
238
|
}) => React$1.JSX.Element;
|
|
172
239
|
|
|
173
240
|
declare const OTPPage: (props: {
|
|
241
|
+
platform: {
|
|
242
|
+
View: any;
|
|
243
|
+
Text: any;
|
|
244
|
+
Image: any;
|
|
245
|
+
ScrollView: any;
|
|
246
|
+
StyleSheet: any;
|
|
247
|
+
TextInput: any;
|
|
248
|
+
TouchableOpacity: any;
|
|
249
|
+
ActivityIndicator: any;
|
|
250
|
+
Font: any;
|
|
251
|
+
AsyncStorage: any;
|
|
252
|
+
EventEmitter: any;
|
|
253
|
+
isReactNative: boolean;
|
|
254
|
+
styles: any;
|
|
255
|
+
rnPasskey: any;
|
|
256
|
+
};
|
|
257
|
+
fontsLoaded?: boolean;
|
|
174
258
|
setStep: (step: string) => void;
|
|
175
259
|
setIsLoading: (isLoading: boolean) => void;
|
|
176
260
|
setUserNumberFmt: (number: string) => void;
|
|
@@ -184,10 +268,27 @@ declare const OTPPage: (props: {
|
|
|
184
268
|
userNumberFmt: string;
|
|
185
269
|
userEmail: string;
|
|
186
270
|
noContract?: boolean;
|
|
187
|
-
helperFunctions?:
|
|
271
|
+
helperFunctions?: any;
|
|
188
272
|
}) => React$1.JSX.Element;
|
|
189
273
|
|
|
190
274
|
declare const AddCosignersPage: (props: {
|
|
275
|
+
platform: {
|
|
276
|
+
View: any;
|
|
277
|
+
Text: any;
|
|
278
|
+
Image: any;
|
|
279
|
+
ScrollView: any;
|
|
280
|
+
StyleSheet: any;
|
|
281
|
+
TextInput: any;
|
|
282
|
+
TouchableOpacity: any;
|
|
283
|
+
ActivityIndicator: any;
|
|
284
|
+
Font: any;
|
|
285
|
+
AsyncStorage: any;
|
|
286
|
+
EventEmitter: any;
|
|
287
|
+
isReactNative: boolean;
|
|
288
|
+
styles: any;
|
|
289
|
+
rnPasskey: any;
|
|
290
|
+
};
|
|
291
|
+
fontsLoaded?: boolean;
|
|
191
292
|
setStep: (step: string) => void;
|
|
192
293
|
setIsLoading: (isLoading: boolean) => void;
|
|
193
294
|
userNumberFmt: string;
|
|
@@ -207,12 +308,44 @@ declare const AddCosignersPage: (props: {
|
|
|
207
308
|
enablePhone?: boolean;
|
|
208
309
|
}) => React$1.JSX.Element;
|
|
209
310
|
|
|
311
|
+
/**
|
|
312
|
+
*
|
|
313
|
+
* @param document Any web page loaded in the browser / Dom tree
|
|
314
|
+
*/
|
|
315
|
+
declare const loadAllGoogleFonts: (document: Document) => boolean;
|
|
316
|
+
/**
|
|
317
|
+
*
|
|
318
|
+
* @param expoFont default export from expo-font for react-native
|
|
319
|
+
*/
|
|
320
|
+
declare const loadAllGoogleFontsRN: (expoFont: any) => Promise<boolean>;
|
|
210
321
|
declare const hashTheString: (text: string) => string;
|
|
211
322
|
declare const encryptString: (text: string, secretKey: string) => string;
|
|
212
323
|
declare const decryptString: (encryptedText: string, secretKey: string) => string;
|
|
324
|
+
declare const publicKeyCredentialRequestOptions: () => any;
|
|
325
|
+
declare const encryptWithPasskey: (plaintext: string, rawId: ArrayBuffer | Uint8Array, // allow both ArrayBuffer or Uint8Array
|
|
326
|
+
rawIdString: string) => Promise<string>;
|
|
327
|
+
declare const decryptWithPasskey: (encryptedString: string, rawId: ArrayBuffer | Uint8Array) => Promise<string>;
|
|
328
|
+
|
|
329
|
+
declare const initPlatform: () => Promise<void>;
|
|
330
|
+
declare const getPlatformComponents: () => {
|
|
331
|
+
isReactNative: boolean;
|
|
332
|
+
View: any;
|
|
333
|
+
Text: any;
|
|
334
|
+
Image: any;
|
|
335
|
+
ScrollView: any;
|
|
336
|
+
StyleSheet: any;
|
|
337
|
+
TextInput: any;
|
|
338
|
+
TouchableOpacity: any;
|
|
339
|
+
ActivityIndicator: any;
|
|
340
|
+
Font: any;
|
|
341
|
+
AsyncStorage: any;
|
|
342
|
+
EventEmitter: any;
|
|
343
|
+
styles: any;
|
|
344
|
+
rnPasskey: any;
|
|
345
|
+
};
|
|
213
346
|
|
|
214
|
-
declare const VaultContextProvider: (
|
|
215
|
-
children:
|
|
347
|
+
declare const VaultContextProvider: ({ children }: {
|
|
348
|
+
children: any;
|
|
216
349
|
}) => React$1.JSX.Element;
|
|
217
350
|
|
|
218
|
-
export { AddCosignersPage as AddCoSignersPage, ContactPage, CreatePinPage, EnterPinPage, FTUPage, OTPPage, VaultContextProvider, VerifiedCustody, type VerifiedCustodyHelpers, type VerifiedCustodyProps, type VerifiedWalletAction, type VerifiedWalletTx, type VerifiedWalletVault, decryptString, encryptString, hashTheString };
|
|
351
|
+
export { AddCosignersPage as AddCoSignersPage, ContactPage, CreatePinPage, EnterPinPage, FTUPage, OTPPage, VaultContextProvider, VerifiedCustody, type VerifiedCustodyHelpers, type VerifiedCustodyProps, type VerifiedWalletAction, type VerifiedWalletTx, type VerifiedWalletVault, decryptString, decryptWithPasskey, encryptString, encryptWithPasskey, getPlatformComponents, hashTheString, initPlatform, loadAllGoogleFonts, loadAllGoogleFontsRN, publicKeyCredentialRequestOptions };
|