@functionland/fula-client 0.2.25 → 0.2.26
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 +17 -17
- package/fula_js_bg.wasm +0 -0
- package/package.json +1 -1
package/fula_js.d.ts
CHANGED
|
@@ -278,11 +278,11 @@ export interface InitOutput {
|
|
|
278
278
|
readonly testHpkeDecryptDek: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
279
279
|
readonly testHpkeEncryptDek: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
280
280
|
readonly init: () => void;
|
|
281
|
-
readonly
|
|
282
|
-
readonly
|
|
283
|
-
readonly
|
|
284
|
-
readonly
|
|
285
|
-
readonly
|
|
281
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6cf52915c666c35d: (a: number, b: number, c: any) => void;
|
|
282
|
+
readonly wasm_bindgen__closure__destroy__hc038225cacff5dfa: (a: number, b: number) => void;
|
|
283
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0e4d73a4ebd14ec2: (a: number, b: number) => void;
|
|
284
|
+
readonly wasm_bindgen__closure__destroy__h5aef55c560d8dd01: (a: number, b: number) => void;
|
|
285
|
+
readonly wasm_bindgen__convert__closures_____invoke__h5c196d725885eb95: (a: number, b: number, c: any, d: any) => void;
|
|
286
286
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
287
287
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
288
288
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/fula_js.js
CHANGED
|
@@ -227,16 +227,16 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
227
227
|
|
|
228
228
|
let WASM_VECTOR_LEN = 0;
|
|
229
229
|
|
|
230
|
-
function
|
|
231
|
-
wasm.
|
|
230
|
+
function wasm_bindgen__convert__closures_____invoke__h6cf52915c666c35d(arg0, arg1, arg2) {
|
|
231
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h6cf52915c666c35d(arg0, arg1, arg2);
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
function
|
|
235
|
-
wasm.
|
|
234
|
+
function wasm_bindgen__convert__closures_____invoke__h0e4d73a4ebd14ec2(arg0, arg1) {
|
|
235
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h0e4d73a4ebd14ec2(arg0, arg1);
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
function
|
|
239
|
-
wasm.
|
|
238
|
+
function wasm_bindgen__convert__closures_____invoke__h5c196d725885eb95(arg0, arg1, arg2, arg3) {
|
|
239
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h5c196d725885eb95(arg0, arg1, arg2, arg3);
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
|
|
@@ -1162,7 +1162,7 @@ function __wbg_get_imports() {
|
|
|
1162
1162
|
const a = state0.a;
|
|
1163
1163
|
state0.a = 0;
|
|
1164
1164
|
try {
|
|
1165
|
-
return
|
|
1165
|
+
return wasm_bindgen__convert__closures_____invoke__h5c196d725885eb95(a, state0.b, arg0, arg1);
|
|
1166
1166
|
} finally {
|
|
1167
1167
|
state0.a = a;
|
|
1168
1168
|
}
|
|
@@ -1332,21 +1332,11 @@ function __wbg_get_imports() {
|
|
|
1332
1332
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1333
1333
|
return ret;
|
|
1334
1334
|
};
|
|
1335
|
-
imports.wbg.__wbindgen_cast_3ef92b33ccb01780 = function(arg0, arg1) {
|
|
1336
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 323, function: Function { arguments: [Externref], shim_idx: 324, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1337
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h40a33609ceb56b6e, wasm_bindgen__convert__closures_____invoke__h7e10992c477d6050);
|
|
1338
|
-
return ret;
|
|
1339
|
-
};
|
|
1340
1335
|
imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
|
|
1341
1336
|
// Cast intrinsic for `U64 -> Externref`.
|
|
1342
1337
|
const ret = BigInt.asUintN(64, arg0);
|
|
1343
1338
|
return ret;
|
|
1344
1339
|
};
|
|
1345
|
-
imports.wbg.__wbindgen_cast_6b8383c0ec1ae211 = function(arg0, arg1) {
|
|
1346
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 289, function: Function { arguments: [], shim_idx: 290, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1347
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hde34fe38f5ae6975, wasm_bindgen__convert__closures_____invoke__hb49647253b2911c5);
|
|
1348
|
-
return ret;
|
|
1349
|
-
};
|
|
1350
1340
|
imports.wbg.__wbindgen_cast_77bc3e92745e9a35 = function(arg0, arg1) {
|
|
1351
1341
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
1352
1342
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
@@ -1354,11 +1344,21 @@ function __wbg_get_imports() {
|
|
|
1354
1344
|
const ret = v0;
|
|
1355
1345
|
return ret;
|
|
1356
1346
|
};
|
|
1347
|
+
imports.wbg.__wbindgen_cast_7e185cfd9605e345 = function(arg0, arg1) {
|
|
1348
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 291, function: Function { arguments: [], shim_idx: 292, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1349
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h5aef55c560d8dd01, wasm_bindgen__convert__closures_____invoke__h0e4d73a4ebd14ec2);
|
|
1350
|
+
return ret;
|
|
1351
|
+
};
|
|
1357
1352
|
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
1358
1353
|
// Cast intrinsic for `I64 -> Externref`.
|
|
1359
1354
|
const ret = arg0;
|
|
1360
1355
|
return ret;
|
|
1361
1356
|
};
|
|
1357
|
+
imports.wbg.__wbindgen_cast_a7835505d9d1f56d = function(arg0, arg1) {
|
|
1358
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 325, function: Function { arguments: [Externref], shim_idx: 326, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1359
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc038225cacff5dfa, wasm_bindgen__convert__closures_____invoke__h6cf52915c666c35d);
|
|
1360
|
+
return ret;
|
|
1361
|
+
};
|
|
1362
1362
|
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
1363
1363
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
1364
1364
|
const ret = getArrayU8FromWasm0(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.26",
|
|
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",
|