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,26 @@ 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
|
+
FfiConverterFloat64 = _uniffi.FfiConverterFloat64,
|
|
28
|
+
FfiConverterInt32 = _uniffi.FfiConverterInt32,
|
|
29
|
+
FfiConverterInt64 = _uniffi.FfiConverterInt64,
|
|
30
|
+
FfiConverterObject = _uniffi.FfiConverterObject,
|
|
31
|
+
FfiConverterOptional = _uniffi.FfiConverterOptional,
|
|
32
|
+
UniffiAbstractObject = _uniffi.UniffiAbstractObject,
|
|
33
|
+
UniffiEnum = _uniffi.UniffiEnum,
|
|
34
|
+
UniffiError = _uniffi.UniffiError,
|
|
35
|
+
UniffiInternalError = _uniffi.UniffiInternalError,
|
|
36
|
+
UniffiRustCaller = _uniffi.UniffiRustCaller,
|
|
37
|
+
destructorGuardSymbol = _uniffi.destructorGuardSymbol,
|
|
38
|
+
pointerLiteralSymbol = _uniffi.pointerLiteralSymbol,
|
|
39
|
+
uniffiCreateFfiConverterString = _uniffi.uniffiCreateFfiConverterString,
|
|
40
|
+
uniffiCreateRecord = _uniffi.uniffiCreateRecord,
|
|
41
|
+
uniffiTypeNameSymbol = _uniffi.uniffiTypeNameSymbol,
|
|
42
|
+
variantOrdinalSymbol = _uniffi.variantOrdinalSymbol; // Get converters from the other files, if any.
|
|
26
43
|
var nativeModule = function nativeModule() {
|
|
27
44
|
return wasmBundle;
|
|
28
45
|
};
|
|
@@ -19,9 +19,17 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
19
19
|
/* eslint-disable */
|
|
20
20
|
// @ts-nocheck
|
|
21
21
|
import * as wasmBundle from "./wasm-bindgen/index.js";
|
|
22
|
-
import
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
import * as uniffi from "uniffi-bindgen-react-native";
|
|
23
|
+
var _uniffi = uniffi,
|
|
24
|
+
AbstractFfiConverterByteArray = _uniffi.AbstractFfiConverterByteArray,
|
|
25
|
+
FfiConverterDuration = _uniffi.FfiConverterDuration,
|
|
26
|
+
FfiConverterInt32 = _uniffi.FfiConverterInt32,
|
|
27
|
+
FfiConverterOptional = _uniffi.FfiConverterOptional,
|
|
28
|
+
FfiConverterUInt64 = _uniffi.FfiConverterUInt64,
|
|
29
|
+
UniffiInternalError = _uniffi.UniffiInternalError,
|
|
30
|
+
UniffiRustCaller = _uniffi.UniffiRustCaller,
|
|
31
|
+
uniffiCreateFfiConverterString = _uniffi.uniffiCreateFfiConverterString,
|
|
32
|
+
uniffiCreateRecord = _uniffi.uniffiCreateRecord; // Get converters from the other files, if any.
|
|
25
33
|
var nativeModule = function nativeModule() {
|
|
26
34
|
return wasmBundle;
|
|
27
35
|
};
|
|
@@ -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
|
+
FfiConverterInt32 = _uniffi.FfiConverterInt32,
|
|
27
|
+
FfiConverterOptional = _uniffi.FfiConverterOptional,
|
|
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
|
};
|
|
@@ -20,9 +20,21 @@ 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
|
+
FfiConverterInt32 = _uniffi.FfiConverterInt32,
|
|
27
|
+
FfiConverterObject = _uniffi.FfiConverterObject,
|
|
28
|
+
UniffiAbstractObject = _uniffi.UniffiAbstractObject,
|
|
29
|
+
UniffiError = _uniffi.UniffiError,
|
|
30
|
+
UniffiInternalError = _uniffi.UniffiInternalError,
|
|
31
|
+
UniffiRustCaller = _uniffi.UniffiRustCaller,
|
|
32
|
+
destructorGuardSymbol = _uniffi.destructorGuardSymbol,
|
|
33
|
+
pointerLiteralSymbol = _uniffi.pointerLiteralSymbol,
|
|
34
|
+
uniffiCreateFfiConverterString = _uniffi.uniffiCreateFfiConverterString,
|
|
35
|
+
uniffiCreateRecord = _uniffi.uniffiCreateRecord,
|
|
36
|
+
uniffiTypeNameSymbol = _uniffi.uniffiTypeNameSymbol,
|
|
37
|
+
variantOrdinalSymbol = _uniffi.variantOrdinalSymbol; // Get converters from the other files, if any.
|
|
26
38
|
var nativeModule = function nativeModule() {
|
|
27
39
|
return wasmBundle;
|
|
28
40
|
};
|