@wireapp/core-crypto 10.0.0-pre.11 → 10.0.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.
@@ -793,6 +793,8 @@ export const ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_e
793
793
  export const uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_eq: (a: bigint, b: bigint, c: number) => number;
794
794
  export const ubrn_uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_ne: (a: bigint, b: bigint, c: number) => number;
795
795
  export const uniffi_core_crypto_ffi_fn_method_databasekey_uniffi_trait_eq_ne: (a: bigint, b: bigint, c: number) => number;
796
+ export const ubrn_uniffi_core_crypto_ffi_fn_method_deserializedclientid_uniffi_trait_display: (a: number, b: number, c: number) => [number, number];
797
+ export const uniffi_core_crypto_ffi_fn_method_deserializedclientid_uniffi_trait_display: (a: number, b: number, c: number) => void;
796
798
  export const ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_hex_string: (a: bigint, b: number) => [number, number];
797
799
  export const uniffi_core_crypto_ffi_fn_method_deviceid_to_hex_string: (a: number, b: bigint, c: number) => void;
798
800
  export const ubrn_uniffi_core_crypto_ffi_fn_method_deviceid_to_u64: (a: bigint, b: number) => bigint;
@@ -853,6 +855,8 @@ export const ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_ne:
853
855
  export const uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_eq_ne: (a: bigint, b: bigint, c: number) => number;
854
856
  export const ubrn_uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_hash: (a: bigint, b: number) => bigint;
855
857
  export const uniffi_core_crypto_ffi_fn_method_secretkey_uniffi_trait_hash: (a: bigint, b: number) => bigint;
858
+ export const ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_display: (a: bigint, b: number) => [number, number];
859
+ export const uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_display: (a: number, b: bigint, c: number) => void;
856
860
  export const ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_eq: (a: bigint, b: bigint, c: number) => number;
857
861
  export const uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_eq: (a: bigint, b: bigint, c: number) => number;
858
862
  export const ubrn_uniffi_core_crypto_ffi_fn_method_uuid_uniffi_trait_eq_ne: (a: bigint, b: bigint, c: number) => number;
@@ -863,29 +867,29 @@ export const ubrn_uniffi_core_crypto_ffi_fn_method_welcome_serialize: (a: bigint
863
867
  export const uniffi_core_crypto_ffi_fn_method_welcome_serialize: (a: number, b: bigint, c: number) => void;
864
868
  export const ubrn_uniffi_core_crypto_ffi_fn_method_x509credentialacquisition_finalize: (a: bigint) => bigint;
865
869
  export const uniffi_core_crypto_ffi_fn_method_x509credentialacquisition_finalize: (a: bigint) => bigint;
866
- export const __wbg_foreignfuturecompletef32_free: (a: number, b: number) => void;
867
- export const __wbg_foreignfuturecompletei64_free: (a: number, b: number) => void;
868
- export const foreignfuturecompletef32_call: (a: number, b: number, c: bigint, d: any) => void;
869
- export const foreignfuturecompletei64_call: (a: number, b: number, c: bigint, d: any) => void;
870
+ export const __wbg_foreignfuturecompletef64_free: (a: number, b: number) => void;
871
+ export const __wbg_foreignfuturecompleteu16_free: (a: number, b: number) => void;
872
+ export const foreignfuturecompletef64_call: (a: number, b: number, c: bigint, d: any) => void;
873
+ export const foreignfuturecompleteu16_call: (a: number, b: number, c: bigint, d: any) => void;
870
874
  export const __wbg_foreignfuturecompleteu8_free: (a: number, b: number) => void;
871
875
  export const __wbg_foreignfuturecompletevoid_free: (a: number, b: number) => void;
872
876
  export const foreignfuturecompleteu8_call: (a: number, b: number, c: bigint, d: any) => void;
873
877
  export const foreignfuturecompletevoid_call: (a: number, b: number, c: bigint, d: any) => void;
874
878
  export const __wbg_foreignfuturecompletei16_free: (a: number, b: number) => void;
879
+ export const __wbg_foreignfuturecompletei32_free: (a: number, b: number) => void;
875
880
  export const __wbg_foreignfuturecompletei8_free: (a: number, b: number) => void;
876
881
  export const __wbg_foreignfuturecompleterustbuffer_free: (a: number, b: number) => void;
877
- export const __wbg_foreignfuturecompleteu32_free: (a: number, b: number) => void;
878
882
  export const foreignfuturecompletei16_call: (a: number, b: number, c: bigint, d: any) => void;
883
+ export const foreignfuturecompletei32_call: (a: number, b: number, c: bigint, d: any) => void;
879
884
  export const foreignfuturecompletei8_call: (a: number, b: number, c: bigint, d: any) => void;
880
885
  export const foreignfuturecompleterustbuffer_call: (a: number, b: number, c: bigint, d: any) => void;
881
- export const foreignfuturecompleteu32_call: (a: number, b: number, c: bigint, d: any) => void;
882
- export const __wbg_foreignfuturecompletef64_free: (a: number, b: number) => void;
883
- export const __wbg_foreignfuturecompletei32_free: (a: number, b: number) => void;
884
- export const __wbg_foreignfuturecompleteu16_free: (a: number, b: number) => void;
886
+ export const __wbg_foreignfuturecompletef32_free: (a: number, b: number) => void;
887
+ export const __wbg_foreignfuturecompletei64_free: (a: number, b: number) => void;
888
+ export const __wbg_foreignfuturecompleteu32_free: (a: number, b: number) => void;
885
889
  export const __wbg_foreignfuturecompleteu64_free: (a: number, b: number) => void;
886
- export const foreignfuturecompletef64_call: (a: number, b: number, c: bigint, d: any) => void;
887
- export const foreignfuturecompletei32_call: (a: number, b: number, c: bigint, d: any) => void;
888
- export const foreignfuturecompleteu16_call: (a: number, b: number, c: bigint, d: any) => void;
890
+ export const foreignfuturecompletef32_call: (a: number, b: number, c: bigint, d: any) => void;
891
+ export const foreignfuturecompletei64_call: (a: number, b: number, c: bigint, d: any) => void;
892
+ export const foreignfuturecompleteu32_call: (a: number, b: number, c: bigint, d: any) => void;
889
893
  export const foreignfuturecompleteu64_call: (a: number, b: number, c: bigint, d: any) => void;
890
894
  export const __wbg_get_rustcallstatus_code: (a: number) => number;
891
895
  export const __wbg_rustcallstatus_free: (a: number, b: number) => void;
@@ -907,10 +911,10 @@ export const rust_sqlite_wasm_localtime: (a: number) => number;
907
911
  export const rust_sqlite_wasm_realloc: (a: number, b: number) => number;
908
912
  export const sqlite3_os_end: () => number;
909
913
  export const sqlite3_os_init: () => number;
914
+ export const wasm_bindgen__convert__closures_____invoke__ha506db150a6eba1b: (a: number, b: number, c: any) => void;
915
+ export const wasm_bindgen__closure__destroy__h987a717dcbb9636f: (a: number, b: number) => void;
910
916
  export const wasm_bindgen__convert__closures_____invoke__hf3c68230db5190d1: (a: number, b: number, c: any) => void;
911
917
  export const wasm_bindgen__closure__destroy__h4d2826f8cf3948a6: (a: number, b: number) => void;
912
- export const wasm_bindgen__convert__closures_____invoke__he6b63f055d8ab351: (a: number, b: number, c: any) => void;
913
- export const wasm_bindgen__closure__destroy__h0424ebc31579b4c3: (a: number, b: number) => void;
914
918
  export const __wbindgen_malloc: (a: number, b: number) => number;
915
919
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
916
920
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
@@ -53,6 +53,7 @@ export declare class Uuid extends UniffiAbstractObject {
53
53
  * Parse a `Uuid` from a string.
54
54
  */
55
55
  constructor(uuid: string);
56
+ toString(): string;
56
57
  equals(other: Uuid): boolean;
57
58
  hashCode(): bigint;
58
59
  uniffiDestroy(): void;
@@ -88,7 +89,7 @@ export declare class DeviceId extends UniffiAbstractObject {
88
89
  static instanceOf(obj_: any): obj_ is DeviceId;
89
90
  }
90
91
  /**
91
- * This directly represents a `ClientId` of the `<userid>-<device-id>@<domain>` format.
92
+ * This directly represents a `ClientId` of the `<userid>:<device-id>@<domain>` format.
92
93
  * Instantiate via [ClientId::deserialize].
93
94
  */
94
95
  export type DeserializedClientId = {
@@ -116,6 +117,7 @@ export declare const DeserializedClientId: Readonly<{
116
117
  create: (partial: Partial<DeserializedClientId> & Required<Omit<DeserializedClientId, never>>) => DeserializedClientId;
117
118
  new: (partial: Partial<DeserializedClientId> & Required<Omit<DeserializedClientId, never>>) => DeserializedClientId;
118
119
  defaults: () => Partial<DeserializedClientId>;
120
+ toString(self_: DeserializedClientId): string;
119
121
  }>;
120
122
  type ClientIdLike = ClientId;
121
123
  /**
@@ -3858,10 +3860,10 @@ declare class X509CredentialAcquisition$1 extends X509CredentialAcquisition {
3858
3860
  /**
3859
3861
  * Initialises the wasm module necessary for running core crypto.
3860
3862
  *
3861
- * @param location path where the wasm module is located.
3863
+ * @param path to the wasm module, e.g., on the local file system or a remote URL.
3862
3864
  * If omitted the module is assumed be located at the root of the core crypto module.
3863
3865
  */
3864
- export declare function initWasmModule(location?: string | undefined): Promise<void>;
3866
+ export declare function initWasmModule(path?: string | undefined): Promise<void>;
3865
3867
 
3866
3868
  export {
3867
3869
  CoreCryptoContext$1 as CoreCryptoContext,