@verified-network/verified-custody 0.5.3 → 0.5.5

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 CHANGED
@@ -46,6 +46,7 @@ interface VerifiedCustodyProps {
46
46
  enablePhone?: boolean;
47
47
  createPasskeyDomain?: string;
48
48
  getPasskeyDomain?: string;
49
+ eventEmitter?: any;
49
50
  dashbordElement?: React.ComponentType<{
50
51
  setIsLoading: React.Dispatch<React.SetStateAction<boolean>>;
51
52
  [key: string]: any;
@@ -88,6 +89,7 @@ declare const FTUPage: (props: {
88
89
  styles: any;
89
90
  rnPasskey: any;
90
91
  };
92
+ eventEmitter: any;
91
93
  createPasskeyDomain?: string;
92
94
  getPasskeyDomain?: string;
93
95
  fontsLoaded?: boolean;
@@ -139,6 +141,7 @@ declare const EnterPinPage: (props: {
139
141
  styles: any;
140
142
  rnPasskey: any;
141
143
  };
144
+ eventEmitter: any;
142
145
  createPasskeyDomain?: string;
143
146
  getPasskeyDomain?: string;
144
147
  fontsLoaded?: boolean;
@@ -227,6 +230,7 @@ declare const CreatePinPage: (props: {
227
230
  rootExpandedWidth?: string;
228
231
  rootExpandedHeight?: string;
229
232
  passKeyRpId?: string;
233
+ eventEmitter: any;
230
234
  }) => React$1.JSX.Element;
231
235
 
232
236
  declare const ContactPage: (props: {
@@ -320,6 +324,7 @@ declare const AddCosignersPage: (props: {
320
324
  styles: any;
321
325
  rnPasskey: any;
322
326
  };
327
+ eventEmitter: any;
323
328
  fontsLoaded?: boolean;
324
329
  setStep: (step: string) => void;
325
330
  setIsLoading: (isLoading: boolean) => void;
@@ -363,8 +368,9 @@ declare const encryptString: (text: string, secretKey: string) => string;
363
368
  declare const decryptString: (encryptedText: string, secretKey: string) => string;
364
369
  declare const publicKeyCredentialRequestOptions: (rpId?: string) => any;
365
370
  declare const encryptWithPasskey: (plaintext: string, rawId: ArrayBuffer | Uint8Array, // allow both ArrayBuffer or Uint8Array
366
- rawIdString: string) => Promise<string>;
367
- declare const decryptWithPasskey: (encryptedString: string, rawId: ArrayBuffer | Uint8Array) => Promise<string>;
371
+ rawIdString: string, isReactNative?: boolean) => Promise<string>;
372
+ declare const decryptWithPasskey: (encryptedString: string, rawId: ArrayBuffer | Uint8Array, // allow both ArrayBuffer or Uint8Array
373
+ isReactNative?: boolean) => Promise<string>;
368
374
 
369
375
  declare const initPlatform: () => Promise<void>;
370
376
  declare const getPlatformComponents: () => {
package/dist/index.d.ts CHANGED
@@ -46,6 +46,7 @@ interface VerifiedCustodyProps {
46
46
  enablePhone?: boolean;
47
47
  createPasskeyDomain?: string;
48
48
  getPasskeyDomain?: string;
49
+ eventEmitter?: any;
49
50
  dashbordElement?: React.ComponentType<{
50
51
  setIsLoading: React.Dispatch<React.SetStateAction<boolean>>;
51
52
  [key: string]: any;
@@ -88,6 +89,7 @@ declare const FTUPage: (props: {
88
89
  styles: any;
89
90
  rnPasskey: any;
90
91
  };
92
+ eventEmitter: any;
91
93
  createPasskeyDomain?: string;
92
94
  getPasskeyDomain?: string;
93
95
  fontsLoaded?: boolean;
@@ -139,6 +141,7 @@ declare const EnterPinPage: (props: {
139
141
  styles: any;
140
142
  rnPasskey: any;
141
143
  };
144
+ eventEmitter: any;
142
145
  createPasskeyDomain?: string;
143
146
  getPasskeyDomain?: string;
144
147
  fontsLoaded?: boolean;
@@ -227,6 +230,7 @@ declare const CreatePinPage: (props: {
227
230
  rootExpandedWidth?: string;
228
231
  rootExpandedHeight?: string;
229
232
  passKeyRpId?: string;
233
+ eventEmitter: any;
230
234
  }) => React$1.JSX.Element;
231
235
 
232
236
  declare const ContactPage: (props: {
@@ -320,6 +324,7 @@ declare const AddCosignersPage: (props: {
320
324
  styles: any;
321
325
  rnPasskey: any;
322
326
  };
327
+ eventEmitter: any;
323
328
  fontsLoaded?: boolean;
324
329
  setStep: (step: string) => void;
325
330
  setIsLoading: (isLoading: boolean) => void;
@@ -363,8 +368,9 @@ declare const encryptString: (text: string, secretKey: string) => string;
363
368
  declare const decryptString: (encryptedText: string, secretKey: string) => string;
364
369
  declare const publicKeyCredentialRequestOptions: (rpId?: string) => any;
365
370
  declare const encryptWithPasskey: (plaintext: string, rawId: ArrayBuffer | Uint8Array, // allow both ArrayBuffer or Uint8Array
366
- rawIdString: string) => Promise<string>;
367
- declare const decryptWithPasskey: (encryptedString: string, rawId: ArrayBuffer | Uint8Array) => Promise<string>;
371
+ rawIdString: string, isReactNative?: boolean) => Promise<string>;
372
+ declare const decryptWithPasskey: (encryptedString: string, rawId: ArrayBuffer | Uint8Array, // allow both ArrayBuffer or Uint8Array
373
+ isReactNative?: boolean) => Promise<string>;
368
374
 
369
375
  declare const initPlatform: () => Promise<void>;
370
376
  declare const getPlatformComponents: () => {