ffi-bindings 1.0.3 → 1.0.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.esm.js +28139 -0
- package/package.json +12 -3
- package/src/generated/matrix_sdk.ts +1843 -0
- package/src/generated/matrix_sdk_base.ts +252 -0
- package/src/generated/matrix_sdk_common.ts +370 -0
- package/src/generated/matrix_sdk_crypto.ts +1280 -0
- package/src/generated/matrix_sdk_ffi.ts +65263 -0
- package/src/generated/matrix_sdk_ui.ts +816 -0
- package/src/generated/wasm-bindgen/index.d.ts +5455 -0
- package/src/generated/wasm-bindgen/index.js +14223 -0
- package/src/generated/wasm-bindgen/index_bg.wasm +0 -0
- package/src/generated/wasm-bindgen/index_bg.wasm.d.ts +2840 -0
- package/src/generated-compat/matrix_sdk.js +20 -3
- package/src/generated-compat/matrix_sdk_base.js +11 -3
- package/src/generated-compat/matrix_sdk_common.js +10 -3
- package/src/generated-compat/matrix_sdk_crypto.js +15 -3
- package/src/generated-compat/matrix_sdk_ffi.js +259 -259
- package/src/generated-compat/matrix_sdk_ui.js +10 -3
- package/src/generated-compat/wasm-bindgen/index.d.ts +4 -4
- package/src/generated-compat/wasm-bindgen/index.js +155 -221
- package/src/generated-compat/wasm-bindgen/index_bg.wasm +0 -0
- package/src/generated-compat/wasm-bindgen/index_bg.wasm.d.ts +4 -4
- package/src/index.web.js +14 -32
- package/src/index.web.js.bak +28 -46
- package/src/index.web.ts +46 -0
- package/src/index.web.ts.bak +46 -0
- package/src/generated-compat/wasm-bindgen/index.d.js +0 -66
|
@@ -20,9 +20,16 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
20
20
|
/* eslint-disable */
|
|
21
21
|
// @ts-nocheck
|
|
22
22
|
import * as wasmBundle from "./wasm-bindgen/index.js";
|
|
23
|
-
import
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
import * as uniffi from "uniffi-bindgen-react-native";
|
|
24
|
+
var _uniffi = uniffi,
|
|
25
|
+
AbstractFfiConverterByteArray = _uniffi.AbstractFfiConverterByteArray,
|
|
26
|
+
FfiConverterBool = _uniffi.FfiConverterBool,
|
|
27
|
+
FfiConverterInt32 = _uniffi.FfiConverterInt32,
|
|
28
|
+
UniffiEnum = _uniffi.UniffiEnum,
|
|
29
|
+
UniffiInternalError = _uniffi.UniffiInternalError,
|
|
30
|
+
UniffiRustCaller = _uniffi.UniffiRustCaller,
|
|
31
|
+
uniffiCreateFfiConverterString = _uniffi.uniffiCreateFfiConverterString,
|
|
32
|
+
uniffiTypeNameSymbol = _uniffi.uniffiTypeNameSymbol; // Get converters from the other files, if any.
|
|
26
33
|
var nativeModule = function nativeModule() {
|
|
27
34
|
return wasmBundle;
|
|
28
35
|
};
|
|
@@ -5113,10 +5113,10 @@ export interface InitOutput {
|
|
|
5113
5113
|
readonly uniffi_matrix_sdk_ffi_fn_method_widgetdriverhandle_send: (a: bigint, b: number) => bigint;
|
|
5114
5114
|
readonly ubrn_ffi_matrix_sdk_base_uniffi_contract_version: () => number;
|
|
5115
5115
|
readonly ffi_matrix_sdk_base_uniffi_contract_version: () => number;
|
|
5116
|
+
readonly ubrn_ffi_matrix_sdk_common_uniffi_contract_version: () => number;
|
|
5117
|
+
readonly ffi_matrix_sdk_common_uniffi_contract_version: () => number;
|
|
5116
5118
|
readonly ubrn_ffi_matrix_sdk_crypto_uniffi_contract_version: () => number;
|
|
5117
5119
|
readonly ffi_matrix_sdk_crypto_uniffi_contract_version: () => number;
|
|
5118
|
-
readonly ubrn_ffi_matrix_sdk_ui_uniffi_contract_version: () => number;
|
|
5119
|
-
readonly ffi_matrix_sdk_ui_uniffi_contract_version: () => number;
|
|
5120
5120
|
readonly ubrn_uniffi_matrix_sdk_crypto_fn_clone_backupsecrets: (a: bigint, b: number) => bigint;
|
|
5121
5121
|
readonly uniffi_matrix_sdk_crypto_fn_clone_backupsecrets: (a: bigint, b: number) => bigint;
|
|
5122
5122
|
readonly ubrn_uniffi_matrix_sdk_crypto_fn_clone_crosssigningsecrets: (a: bigint, b: number) => bigint;
|
|
@@ -5139,8 +5139,8 @@ export interface InitOutput {
|
|
|
5139
5139
|
readonly uniffi_matrix_sdk_fn_free_oauthauthorizationdata: (a: bigint, b: number) => void;
|
|
5140
5140
|
readonly ubrn_uniffi_matrix_sdk_fn_method_oauthauthorizationdata_login_url: (a: bigint, b: number) => [number, number];
|
|
5141
5141
|
readonly uniffi_matrix_sdk_fn_method_oauthauthorizationdata_login_url: (a: number, b: bigint, c: number) => void;
|
|
5142
|
-
readonly
|
|
5143
|
-
readonly
|
|
5142
|
+
readonly ubrn_ffi_matrix_sdk_ui_uniffi_contract_version: () => number;
|
|
5143
|
+
readonly ffi_matrix_sdk_ui_uniffi_contract_version: () => number;
|
|
5144
5144
|
readonly __wbg_get_rustcallstatus_code: (a: number) => number;
|
|
5145
5145
|
readonly __wbg_rustcallstatus_free: (a: number, b: number) => void;
|
|
5146
5146
|
readonly __wbg_set_rustcallstatus_code: (a: number, b: number) => void;
|