@verified-network/verified-custody 0.5.3 → 0.5.4

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
@@ -363,8 +363,9 @@ declare const encryptString: (text: string, secretKey: string) => string;
363
363
  declare const decryptString: (encryptedText: string, secretKey: string) => string;
364
364
  declare const publicKeyCredentialRequestOptions: (rpId?: string) => any;
365
365
  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>;
366
+ rawIdString: string, isReactNative?: boolean) => Promise<string>;
367
+ declare const decryptWithPasskey: (encryptedString: string, rawId: ArrayBuffer | Uint8Array, // allow both ArrayBuffer or Uint8Array
368
+ isReactNative?: boolean) => Promise<string>;
368
369
 
369
370
  declare const initPlatform: () => Promise<void>;
370
371
  declare const getPlatformComponents: () => {
package/dist/index.d.ts CHANGED
@@ -363,8 +363,9 @@ declare const encryptString: (text: string, secretKey: string) => string;
363
363
  declare const decryptString: (encryptedText: string, secretKey: string) => string;
364
364
  declare const publicKeyCredentialRequestOptions: (rpId?: string) => any;
365
365
  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>;
366
+ rawIdString: string, isReactNative?: boolean) => Promise<string>;
367
+ declare const decryptWithPasskey: (encryptedString: string, rawId: ArrayBuffer | Uint8Array, // allow both ArrayBuffer or Uint8Array
368
+ isReactNative?: boolean) => Promise<string>;
368
369
 
369
370
  declare const initPlatform: () => Promise<void>;
370
371
  declare const getPlatformComponents: () => {