@functionland/fula-client 0.2.16 → 0.2.17
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/fula_js.d.ts +5 -5
- package/fula_js.js +15 -15
- package/fula_js_bg.wasm +0 -0
- package/package.json +1 -1
package/fula_js.d.ts
CHANGED
|
@@ -209,11 +209,11 @@ export interface InitOutput {
|
|
|
209
209
|
readonly putEncrypted: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
210
210
|
readonly putEncryptedWithType: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
211
211
|
readonly init: () => void;
|
|
212
|
-
readonly
|
|
213
|
-
readonly
|
|
214
|
-
readonly
|
|
215
|
-
readonly
|
|
216
|
-
readonly
|
|
212
|
+
readonly __wasm_bindgen_func_elem_1065: (a: number, b: number, c: number) => void;
|
|
213
|
+
readonly __wasm_bindgen_func_elem_1064: (a: number, b: number) => void;
|
|
214
|
+
readonly __wasm_bindgen_func_elem_993: (a: number, b: number) => void;
|
|
215
|
+
readonly __wasm_bindgen_func_elem_992: (a: number, b: number) => void;
|
|
216
|
+
readonly __wasm_bindgen_func_elem_1463: (a: number, b: number, c: number, d: number) => void;
|
|
217
217
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
218
218
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
219
219
|
readonly __wbindgen_export3: (a: number) => void;
|
package/fula_js.js
CHANGED
|
@@ -242,16 +242,16 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
242
242
|
|
|
243
243
|
let WASM_VECTOR_LEN = 0;
|
|
244
244
|
|
|
245
|
-
function
|
|
246
|
-
wasm.
|
|
245
|
+
function __wasm_bindgen_func_elem_1065(arg0, arg1, arg2) {
|
|
246
|
+
wasm.__wasm_bindgen_func_elem_1065(arg0, arg1, addHeapObject(arg2));
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
function
|
|
250
|
-
wasm.
|
|
249
|
+
function __wasm_bindgen_func_elem_993(arg0, arg1) {
|
|
250
|
+
wasm.__wasm_bindgen_func_elem_993(arg0, arg1);
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
function
|
|
254
|
-
wasm.
|
|
253
|
+
function __wasm_bindgen_func_elem_1463(arg0, arg1, arg2, arg3) {
|
|
254
|
+
wasm.__wasm_bindgen_func_elem_1463(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
|
|
@@ -1042,7 +1042,7 @@ function __wbg_get_imports() {
|
|
|
1042
1042
|
const a = state0.a;
|
|
1043
1043
|
state0.a = 0;
|
|
1044
1044
|
try {
|
|
1045
|
-
return
|
|
1045
|
+
return __wasm_bindgen_func_elem_1463(a, state0.b, arg0, arg1);
|
|
1046
1046
|
} finally {
|
|
1047
1047
|
state0.a = a;
|
|
1048
1048
|
}
|
|
@@ -1207,24 +1207,24 @@ function __wbg_get_imports() {
|
|
|
1207
1207
|
const ret = getObject(arg0).versions;
|
|
1208
1208
|
return addHeapObject(ret);
|
|
1209
1209
|
};
|
|
1210
|
-
imports.wbg.__wbindgen_cast_04a5579367ffcd92 = function(arg0, arg1) {
|
|
1211
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 283, function: Function { arguments: [], shim_idx: 284, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1212
|
-
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_983, __wasm_bindgen_func_elem_984);
|
|
1213
|
-
return addHeapObject(ret);
|
|
1214
|
-
};
|
|
1215
1210
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
1216
1211
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1217
1212
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1218
1213
|
return addHeapObject(ret);
|
|
1219
1214
|
};
|
|
1215
|
+
imports.wbg.__wbindgen_cast_293162629359ccc7 = function(arg0, arg1) {
|
|
1216
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 284, function: Function { arguments: [], shim_idx: 285, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1217
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_992, __wasm_bindgen_func_elem_993);
|
|
1218
|
+
return addHeapObject(ret);
|
|
1219
|
+
};
|
|
1220
1220
|
imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
|
|
1221
1221
|
// Cast intrinsic for `U64 -> Externref`.
|
|
1222
1222
|
const ret = BigInt.asUintN(64, arg0);
|
|
1223
1223
|
return addHeapObject(ret);
|
|
1224
1224
|
};
|
|
1225
|
-
imports.wbg.
|
|
1226
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1227
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1225
|
+
imports.wbg.__wbindgen_cast_7418e77c9d43951b = function(arg0, arg1) {
|
|
1226
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 319, function: Function { arguments: [Externref], shim_idx: 320, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1227
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1064, __wasm_bindgen_func_elem_1065);
|
|
1228
1228
|
return addHeapObject(ret);
|
|
1229
1229
|
};
|
|
1230
1230
|
imports.wbg.__wbindgen_cast_77bc3e92745e9a35 = function(arg0, arg1) {
|
package/fula_js_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@functionland/fula-client",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.17",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "JavaScript/TypeScript SDK for Fula decentralized storage - client-side encryption with cross-platform key compatibility",
|
|
6
6
|
"main": "fula_js.js",
|