@functionland/fula-client 0.2.17 → 0.2.19
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 +33 -31
- package/fula_js.js +233 -274
- package/fula_js_bg.wasm +0 -0
- package/package.json +1 -1
package/fula_js.d.ts
CHANGED
|
@@ -186,39 +186,41 @@ export interface InitOutput {
|
|
|
186
186
|
readonly memory: WebAssembly.Memory;
|
|
187
187
|
readonly __wbg_acceptedshare_free: (a: number, b: number) => void;
|
|
188
188
|
readonly __wbg_encryptedclient_free: (a: number, b: number) => void;
|
|
189
|
-
readonly acceptShare: (a: number, b: number, c: number) =>
|
|
190
|
-
readonly createBucket: (a: number, b: number, c: number) =>
|
|
191
|
-
readonly createEncryptedClient: (a:
|
|
192
|
-
readonly deleteBucket: (a: number, b: number, c: number) =>
|
|
193
|
-
readonly deleteEncrypted: (a: number, b: number, c: number, d: number, e: number) =>
|
|
194
|
-
readonly deriveKey: (a: number, b: number, c: number, d: number
|
|
195
|
-
readonly derivePublicKeyFromSecret: (a: number, b: number,
|
|
196
|
-
readonly exportSecretKey: (a: number) =>
|
|
197
|
-
readonly getDecrypted: (a: number, b: number, c: number, d: number, e: number) =>
|
|
198
|
-
readonly getDecryptedByStorageKey: (a: number, b: number, c: number, d: number, e: number) =>
|
|
199
|
-
readonly getPublicKey: (a: number) =>
|
|
200
|
-
readonly getSharePermissions: (a: number
|
|
201
|
-
readonly getVersion: (
|
|
202
|
-
readonly getWithShare: (a: number, b: number, c: number, d: number, e: number, f: number) =>
|
|
203
|
-
readonly getWithToken: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) =>
|
|
204
|
-
readonly isFlatNamespace: (a: number) =>
|
|
189
|
+
readonly acceptShare: (a: number, b: number, c: number) => any;
|
|
190
|
+
readonly createBucket: (a: number, b: number, c: number) => any;
|
|
191
|
+
readonly createEncryptedClient: (a: any, b: any) => any;
|
|
192
|
+
readonly deleteBucket: (a: number, b: number, c: number) => any;
|
|
193
|
+
readonly deleteEncrypted: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
194
|
+
readonly deriveKey: (a: number, b: number, c: number, d: number) => [number, number];
|
|
195
|
+
readonly derivePublicKeyFromSecret: (a: number, b: number) => [number, number, number, number];
|
|
196
|
+
readonly exportSecretKey: (a: number) => any;
|
|
197
|
+
readonly getDecrypted: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
198
|
+
readonly getDecryptedByStorageKey: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
199
|
+
readonly getPublicKey: (a: number) => any;
|
|
200
|
+
readonly getSharePermissions: (a: number) => [number, number, number];
|
|
201
|
+
readonly getVersion: () => [number, number];
|
|
202
|
+
readonly getWithShare: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
203
|
+
readonly getWithToken: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
|
|
204
|
+
readonly isFlatNamespace: (a: number) => any;
|
|
205
205
|
readonly isShareValid: (a: number) => number;
|
|
206
|
-
readonly listBuckets: (a: number) =>
|
|
207
|
-
readonly listDecrypted: (a: number, b: number, c: number, d:
|
|
208
|
-
readonly listDirectory: (a: number, b: number, c: number, d: number, e: number) =>
|
|
209
|
-
readonly putEncrypted: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) =>
|
|
210
|
-
readonly putEncryptedWithType: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) =>
|
|
206
|
+
readonly listBuckets: (a: number) => any;
|
|
207
|
+
readonly listDecrypted: (a: number, b: number, c: number, d: any) => any;
|
|
208
|
+
readonly listDirectory: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
209
|
+
readonly putEncrypted: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
|
|
210
|
+
readonly putEncryptedWithType: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => any;
|
|
211
211
|
readonly init: () => void;
|
|
212
|
-
readonly
|
|
213
|
-
readonly
|
|
214
|
-
readonly
|
|
215
|
-
readonly
|
|
216
|
-
readonly
|
|
217
|
-
readonly
|
|
218
|
-
readonly
|
|
219
|
-
readonly
|
|
220
|
-
readonly
|
|
221
|
-
readonly
|
|
212
|
+
readonly wasm_bindgen__convert__closures_____invoke__h073fd7071c70ba87: (a: number, b: number) => void;
|
|
213
|
+
readonly wasm_bindgen__closure__destroy__h155ea7410ed4239b: (a: number, b: number) => void;
|
|
214
|
+
readonly wasm_bindgen__convert__closures_____invoke__h1e53166f14b33962: (a: number, b: number, c: any) => void;
|
|
215
|
+
readonly wasm_bindgen__closure__destroy__h5a68580f889c4ddd: (a: number, b: number) => void;
|
|
216
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6b3fde49b76750c8: (a: number, b: number, c: any, d: any) => void;
|
|
217
|
+
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
218
|
+
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
219
|
+
readonly __wbindgen_exn_store: (a: number) => void;
|
|
220
|
+
readonly __externref_table_alloc: () => number;
|
|
221
|
+
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
222
|
+
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
223
|
+
readonly __externref_table_dealloc: (a: number) => void;
|
|
222
224
|
readonly __wbindgen_start: () => void;
|
|
223
225
|
}
|
|
224
226
|
|
package/fula_js.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
let wasm;
|
|
2
2
|
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
heap_next = heap[idx];
|
|
7
|
-
|
|
8
|
-
heap[idx] = obj;
|
|
3
|
+
function addToExternrefTable0(obj) {
|
|
4
|
+
const idx = wasm.__externref_table_alloc();
|
|
5
|
+
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
9
6
|
return idx;
|
|
10
7
|
}
|
|
11
8
|
|
|
@@ -84,12 +81,6 @@ function debugString(val) {
|
|
|
84
81
|
return className;
|
|
85
82
|
}
|
|
86
83
|
|
|
87
|
-
function dropObject(idx) {
|
|
88
|
-
if (idx < 132) return;
|
|
89
|
-
heap[idx] = heap_next;
|
|
90
|
-
heap_next = idx;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
84
|
function getArrayU8FromWasm0(ptr, len) {
|
|
94
85
|
ptr = ptr >>> 0;
|
|
95
86
|
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
@@ -116,21 +107,15 @@ function getUint8ArrayMemory0() {
|
|
|
116
107
|
return cachedUint8ArrayMemory0;
|
|
117
108
|
}
|
|
118
109
|
|
|
119
|
-
function getObject(idx) { return heap[idx]; }
|
|
120
|
-
|
|
121
110
|
function handleError(f, args) {
|
|
122
111
|
try {
|
|
123
112
|
return f.apply(this, args);
|
|
124
113
|
} catch (e) {
|
|
125
|
-
|
|
114
|
+
const idx = addToExternrefTable0(e);
|
|
115
|
+
wasm.__wbindgen_exn_store(idx);
|
|
126
116
|
}
|
|
127
117
|
}
|
|
128
118
|
|
|
129
|
-
let heap = new Array(128).fill(undefined);
|
|
130
|
-
heap.push(undefined, null, true, false);
|
|
131
|
-
|
|
132
|
-
let heap_next = heap.length;
|
|
133
|
-
|
|
134
119
|
function isLikeNone(x) {
|
|
135
120
|
return x === undefined || x === null;
|
|
136
121
|
}
|
|
@@ -207,10 +192,10 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
207
192
|
return ptr;
|
|
208
193
|
}
|
|
209
194
|
|
|
210
|
-
function
|
|
211
|
-
const
|
|
212
|
-
|
|
213
|
-
return
|
|
195
|
+
function takeFromExternrefTable0(idx) {
|
|
196
|
+
const value = wasm.__wbindgen_externrefs.get(idx);
|
|
197
|
+
wasm.__externref_table_dealloc(idx);
|
|
198
|
+
return value;
|
|
214
199
|
}
|
|
215
200
|
|
|
216
201
|
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
@@ -242,16 +227,16 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
242
227
|
|
|
243
228
|
let WASM_VECTOR_LEN = 0;
|
|
244
229
|
|
|
245
|
-
function
|
|
246
|
-
wasm.
|
|
230
|
+
function wasm_bindgen__convert__closures_____invoke__h073fd7071c70ba87(arg0, arg1) {
|
|
231
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h073fd7071c70ba87(arg0, arg1);
|
|
247
232
|
}
|
|
248
233
|
|
|
249
|
-
function
|
|
250
|
-
wasm.
|
|
234
|
+
function wasm_bindgen__convert__closures_____invoke__h1e53166f14b33962(arg0, arg1, arg2) {
|
|
235
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1e53166f14b33962(arg0, arg1, arg2);
|
|
251
236
|
}
|
|
252
237
|
|
|
253
|
-
function
|
|
254
|
-
wasm.
|
|
238
|
+
function wasm_bindgen__convert__closures_____invoke__h6b3fde49b76750c8(arg0, arg1, arg2, arg3) {
|
|
239
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h6b3fde49b76750c8(arg0, arg1, arg2, arg3);
|
|
255
240
|
}
|
|
256
241
|
|
|
257
242
|
const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
|
|
@@ -328,10 +313,10 @@ if (Symbol.dispose) EncryptedClient.prototype[Symbol.dispose] = EncryptedClient.
|
|
|
328
313
|
*/
|
|
329
314
|
export function acceptShare(client, token_json) {
|
|
330
315
|
_assertClass(client, EncryptedClient);
|
|
331
|
-
const ptr0 = passStringToWasm0(token_json, wasm.
|
|
316
|
+
const ptr0 = passStringToWasm0(token_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
332
317
|
const len0 = WASM_VECTOR_LEN;
|
|
333
318
|
const ret = wasm.acceptShare(client.__wbg_ptr, ptr0, len0);
|
|
334
|
-
return
|
|
319
|
+
return ret;
|
|
335
320
|
}
|
|
336
321
|
|
|
337
322
|
/**
|
|
@@ -342,10 +327,10 @@ export function acceptShare(client, token_json) {
|
|
|
342
327
|
*/
|
|
343
328
|
export function createBucket(client, name) {
|
|
344
329
|
_assertClass(client, EncryptedClient);
|
|
345
|
-
const ptr0 = passStringToWasm0(name, wasm.
|
|
330
|
+
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
346
331
|
const len0 = WASM_VECTOR_LEN;
|
|
347
332
|
const ret = wasm.createBucket(client.__wbg_ptr, ptr0, len0);
|
|
348
|
-
return
|
|
333
|
+
return ret;
|
|
349
334
|
}
|
|
350
335
|
|
|
351
336
|
/**
|
|
@@ -359,8 +344,8 @@ export function createBucket(client, name) {
|
|
|
359
344
|
* @returns {Promise<EncryptedClient>}
|
|
360
345
|
*/
|
|
361
346
|
export function createEncryptedClient(config, encryption) {
|
|
362
|
-
const ret = wasm.createEncryptedClient(
|
|
363
|
-
return
|
|
347
|
+
const ret = wasm.createEncryptedClient(config, encryption);
|
|
348
|
+
return ret;
|
|
364
349
|
}
|
|
365
350
|
|
|
366
351
|
/**
|
|
@@ -371,10 +356,10 @@ export function createEncryptedClient(config, encryption) {
|
|
|
371
356
|
*/
|
|
372
357
|
export function deleteBucket(client, name) {
|
|
373
358
|
_assertClass(client, EncryptedClient);
|
|
374
|
-
const ptr0 = passStringToWasm0(name, wasm.
|
|
359
|
+
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
375
360
|
const len0 = WASM_VECTOR_LEN;
|
|
376
361
|
const ret = wasm.deleteBucket(client.__wbg_ptr, ptr0, len0);
|
|
377
|
-
return
|
|
362
|
+
return ret;
|
|
378
363
|
}
|
|
379
364
|
|
|
380
365
|
/**
|
|
@@ -386,12 +371,12 @@ export function deleteBucket(client, name) {
|
|
|
386
371
|
*/
|
|
387
372
|
export function deleteEncrypted(client, bucket, key) {
|
|
388
373
|
_assertClass(client, EncryptedClient);
|
|
389
|
-
const ptr0 = passStringToWasm0(bucket, wasm.
|
|
374
|
+
const ptr0 = passStringToWasm0(bucket, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
390
375
|
const len0 = WASM_VECTOR_LEN;
|
|
391
|
-
const ptr1 = passStringToWasm0(key, wasm.
|
|
376
|
+
const ptr1 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
392
377
|
const len1 = WASM_VECTOR_LEN;
|
|
393
378
|
const ret = wasm.deleteEncrypted(client.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
394
|
-
return
|
|
379
|
+
return ret;
|
|
395
380
|
}
|
|
396
381
|
|
|
397
382
|
/**
|
|
@@ -406,21 +391,14 @@ export function deleteEncrypted(client, bucket, key) {
|
|
|
406
391
|
* @returns {Uint8Array}
|
|
407
392
|
*/
|
|
408
393
|
export function deriveKey(context, input) {
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
418
|
-
var v3 = getArrayU8FromWasm0(r0, r1).slice();
|
|
419
|
-
wasm.__wbindgen_export4(r0, r1 * 1, 1);
|
|
420
|
-
return v3;
|
|
421
|
-
} finally {
|
|
422
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
423
|
-
}
|
|
394
|
+
const ptr0 = passStringToWasm0(context, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
395
|
+
const len0 = WASM_VECTOR_LEN;
|
|
396
|
+
const ptr1 = passArray8ToWasm0(input, wasm.__wbindgen_malloc);
|
|
397
|
+
const len1 = WASM_VECTOR_LEN;
|
|
398
|
+
const ret = wasm.deriveKey(ptr0, len0, ptr1, len1);
|
|
399
|
+
var v3 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
400
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
401
|
+
return v3;
|
|
424
402
|
}
|
|
425
403
|
|
|
426
404
|
/**
|
|
@@ -438,24 +416,15 @@ export function deriveKey(context, input) {
|
|
|
438
416
|
* @returns {Uint8Array}
|
|
439
417
|
*/
|
|
440
418
|
export function derivePublicKeyFromSecret(secret_key_bytes) {
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
447
|
-
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
448
|
-
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
449
|
-
var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
|
|
450
|
-
if (r3) {
|
|
451
|
-
throw takeObject(r2);
|
|
452
|
-
}
|
|
453
|
-
var v2 = getArrayU8FromWasm0(r0, r1).slice();
|
|
454
|
-
wasm.__wbindgen_export4(r0, r1 * 1, 1);
|
|
455
|
-
return v2;
|
|
456
|
-
} finally {
|
|
457
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
419
|
+
const ptr0 = passArray8ToWasm0(secret_key_bytes, wasm.__wbindgen_malloc);
|
|
420
|
+
const len0 = WASM_VECTOR_LEN;
|
|
421
|
+
const ret = wasm.derivePublicKeyFromSecret(ptr0, len0);
|
|
422
|
+
if (ret[3]) {
|
|
423
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
458
424
|
}
|
|
425
|
+
var v2 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
426
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
427
|
+
return v2;
|
|
459
428
|
}
|
|
460
429
|
|
|
461
430
|
/**
|
|
@@ -468,7 +437,7 @@ export function derivePublicKeyFromSecret(secret_key_bytes) {
|
|
|
468
437
|
export function exportSecretKey(client) {
|
|
469
438
|
_assertClass(client, EncryptedClient);
|
|
470
439
|
const ret = wasm.exportSecretKey(client.__wbg_ptr);
|
|
471
|
-
return
|
|
440
|
+
return ret;
|
|
472
441
|
}
|
|
473
442
|
|
|
474
443
|
/**
|
|
@@ -485,12 +454,12 @@ export function exportSecretKey(client) {
|
|
|
485
454
|
*/
|
|
486
455
|
export function getDecrypted(client, bucket, key) {
|
|
487
456
|
_assertClass(client, EncryptedClient);
|
|
488
|
-
const ptr0 = passStringToWasm0(bucket, wasm.
|
|
457
|
+
const ptr0 = passStringToWasm0(bucket, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
489
458
|
const len0 = WASM_VECTOR_LEN;
|
|
490
|
-
const ptr1 = passStringToWasm0(key, wasm.
|
|
459
|
+
const ptr1 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
491
460
|
const len1 = WASM_VECTOR_LEN;
|
|
492
461
|
const ret = wasm.getDecrypted(client.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
493
|
-
return
|
|
462
|
+
return ret;
|
|
494
463
|
}
|
|
495
464
|
|
|
496
465
|
/**
|
|
@@ -502,12 +471,12 @@ export function getDecrypted(client, bucket, key) {
|
|
|
502
471
|
*/
|
|
503
472
|
export function getDecryptedByStorageKey(client, bucket, storage_key) {
|
|
504
473
|
_assertClass(client, EncryptedClient);
|
|
505
|
-
const ptr0 = passStringToWasm0(bucket, wasm.
|
|
474
|
+
const ptr0 = passStringToWasm0(bucket, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
506
475
|
const len0 = WASM_VECTOR_LEN;
|
|
507
|
-
const ptr1 = passStringToWasm0(storage_key, wasm.
|
|
476
|
+
const ptr1 = passStringToWasm0(storage_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
508
477
|
const len1 = WASM_VECTOR_LEN;
|
|
509
478
|
const ret = wasm.getDecryptedByStorageKey(client.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
510
|
-
return
|
|
479
|
+
return ret;
|
|
511
480
|
}
|
|
512
481
|
|
|
513
482
|
/**
|
|
@@ -518,7 +487,7 @@ export function getDecryptedByStorageKey(client, bucket, storage_key) {
|
|
|
518
487
|
export function getPublicKey(client) {
|
|
519
488
|
_assertClass(client, EncryptedClient);
|
|
520
489
|
const ret = wasm.getPublicKey(client.__wbg_ptr);
|
|
521
|
-
return
|
|
490
|
+
return ret;
|
|
522
491
|
}
|
|
523
492
|
|
|
524
493
|
/**
|
|
@@ -527,20 +496,12 @@ export function getPublicKey(client) {
|
|
|
527
496
|
* @returns {any}
|
|
528
497
|
*/
|
|
529
498
|
export function getSharePermissions(share) {
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
535
|
-
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
536
|
-
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
537
|
-
if (r2) {
|
|
538
|
-
throw takeObject(r1);
|
|
539
|
-
}
|
|
540
|
-
return takeObject(r0);
|
|
541
|
-
} finally {
|
|
542
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
499
|
+
_assertClass(share, AcceptedShare);
|
|
500
|
+
const ret = wasm.getSharePermissions(share.__wbg_ptr);
|
|
501
|
+
if (ret[2]) {
|
|
502
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
543
503
|
}
|
|
504
|
+
return takeFromExternrefTable0(ret[0]);
|
|
544
505
|
}
|
|
545
506
|
|
|
546
507
|
/**
|
|
@@ -551,16 +512,12 @@ export function getVersion() {
|
|
|
551
512
|
let deferred1_0;
|
|
552
513
|
let deferred1_1;
|
|
553
514
|
try {
|
|
554
|
-
const
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
deferred1_0 = r0;
|
|
559
|
-
deferred1_1 = r1;
|
|
560
|
-
return getStringFromWasm0(r0, r1);
|
|
515
|
+
const ret = wasm.getVersion();
|
|
516
|
+
deferred1_0 = ret[0];
|
|
517
|
+
deferred1_1 = ret[1];
|
|
518
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
561
519
|
} finally {
|
|
562
|
-
wasm.
|
|
563
|
-
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
520
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
564
521
|
}
|
|
565
522
|
}
|
|
566
523
|
|
|
@@ -580,13 +537,13 @@ export function getVersion() {
|
|
|
580
537
|
*/
|
|
581
538
|
export function getWithShare(client, bucket, storage_key, share) {
|
|
582
539
|
_assertClass(client, EncryptedClient);
|
|
583
|
-
const ptr0 = passStringToWasm0(bucket, wasm.
|
|
540
|
+
const ptr0 = passStringToWasm0(bucket, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
584
541
|
const len0 = WASM_VECTOR_LEN;
|
|
585
|
-
const ptr1 = passStringToWasm0(storage_key, wasm.
|
|
542
|
+
const ptr1 = passStringToWasm0(storage_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
586
543
|
const len1 = WASM_VECTOR_LEN;
|
|
587
544
|
_assertClass(share, AcceptedShare);
|
|
588
545
|
const ret = wasm.getWithShare(client.__wbg_ptr, ptr0, len0, ptr1, len1, share.__wbg_ptr);
|
|
589
|
-
return
|
|
546
|
+
return ret;
|
|
590
547
|
}
|
|
591
548
|
|
|
592
549
|
/**
|
|
@@ -605,14 +562,14 @@ export function getWithShare(client, bucket, storage_key, share) {
|
|
|
605
562
|
*/
|
|
606
563
|
export function getWithToken(client, bucket, storage_key, token_json) {
|
|
607
564
|
_assertClass(client, EncryptedClient);
|
|
608
|
-
const ptr0 = passStringToWasm0(bucket, wasm.
|
|
565
|
+
const ptr0 = passStringToWasm0(bucket, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
609
566
|
const len0 = WASM_VECTOR_LEN;
|
|
610
|
-
const ptr1 = passStringToWasm0(storage_key, wasm.
|
|
567
|
+
const ptr1 = passStringToWasm0(storage_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
611
568
|
const len1 = WASM_VECTOR_LEN;
|
|
612
|
-
const ptr2 = passStringToWasm0(token_json, wasm.
|
|
569
|
+
const ptr2 = passStringToWasm0(token_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
613
570
|
const len2 = WASM_VECTOR_LEN;
|
|
614
571
|
const ret = wasm.getWithToken(client.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
615
|
-
return
|
|
572
|
+
return ret;
|
|
616
573
|
}
|
|
617
574
|
|
|
618
575
|
/**
|
|
@@ -630,7 +587,7 @@ export function init() {
|
|
|
630
587
|
export function isFlatNamespace(client) {
|
|
631
588
|
_assertClass(client, EncryptedClient);
|
|
632
589
|
const ret = wasm.isFlatNamespace(client.__wbg_ptr);
|
|
633
|
-
return
|
|
590
|
+
return ret;
|
|
634
591
|
}
|
|
635
592
|
|
|
636
593
|
/**
|
|
@@ -652,7 +609,7 @@ export function isShareValid(share) {
|
|
|
652
609
|
export function listBuckets(client) {
|
|
653
610
|
_assertClass(client, EncryptedClient);
|
|
654
611
|
const ret = wasm.listBuckets(client.__wbg_ptr);
|
|
655
|
-
return
|
|
612
|
+
return ret;
|
|
656
613
|
}
|
|
657
614
|
|
|
658
615
|
/**
|
|
@@ -669,10 +626,10 @@ export function listBuckets(client) {
|
|
|
669
626
|
*/
|
|
670
627
|
export function listDecrypted(client, bucket, options) {
|
|
671
628
|
_assertClass(client, EncryptedClient);
|
|
672
|
-
const ptr0 = passStringToWasm0(bucket, wasm.
|
|
629
|
+
const ptr0 = passStringToWasm0(bucket, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
673
630
|
const len0 = WASM_VECTOR_LEN;
|
|
674
|
-
const ret = wasm.listDecrypted(client.__wbg_ptr, ptr0, len0,
|
|
675
|
-
return
|
|
631
|
+
const ret = wasm.listDecrypted(client.__wbg_ptr, ptr0, len0, options);
|
|
632
|
+
return ret;
|
|
676
633
|
}
|
|
677
634
|
|
|
678
635
|
/**
|
|
@@ -684,12 +641,12 @@ export function listDecrypted(client, bucket, options) {
|
|
|
684
641
|
*/
|
|
685
642
|
export function listDirectory(client, bucket, prefix) {
|
|
686
643
|
_assertClass(client, EncryptedClient);
|
|
687
|
-
const ptr0 = passStringToWasm0(bucket, wasm.
|
|
644
|
+
const ptr0 = passStringToWasm0(bucket, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
688
645
|
const len0 = WASM_VECTOR_LEN;
|
|
689
|
-
var ptr1 = isLikeNone(prefix) ? 0 : passStringToWasm0(prefix, wasm.
|
|
646
|
+
var ptr1 = isLikeNone(prefix) ? 0 : passStringToWasm0(prefix, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
690
647
|
var len1 = WASM_VECTOR_LEN;
|
|
691
648
|
const ret = wasm.listDirectory(client.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
692
|
-
return
|
|
649
|
+
return ret;
|
|
693
650
|
}
|
|
694
651
|
|
|
695
652
|
/**
|
|
@@ -708,14 +665,14 @@ export function listDirectory(client, bucket, prefix) {
|
|
|
708
665
|
*/
|
|
709
666
|
export function putEncrypted(client, bucket, key, data) {
|
|
710
667
|
_assertClass(client, EncryptedClient);
|
|
711
|
-
const ptr0 = passStringToWasm0(bucket, wasm.
|
|
668
|
+
const ptr0 = passStringToWasm0(bucket, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
712
669
|
const len0 = WASM_VECTOR_LEN;
|
|
713
|
-
const ptr1 = passStringToWasm0(key, wasm.
|
|
670
|
+
const ptr1 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
714
671
|
const len1 = WASM_VECTOR_LEN;
|
|
715
|
-
const ptr2 = passArray8ToWasm0(data, wasm.
|
|
672
|
+
const ptr2 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
|
|
716
673
|
const len2 = WASM_VECTOR_LEN;
|
|
717
674
|
const ret = wasm.putEncrypted(client.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
718
|
-
return
|
|
675
|
+
return ret;
|
|
719
676
|
}
|
|
720
677
|
|
|
721
678
|
/**
|
|
@@ -729,16 +686,16 @@ export function putEncrypted(client, bucket, key, data) {
|
|
|
729
686
|
*/
|
|
730
687
|
export function putEncryptedWithType(client, bucket, key, data, content_type) {
|
|
731
688
|
_assertClass(client, EncryptedClient);
|
|
732
|
-
const ptr0 = passStringToWasm0(bucket, wasm.
|
|
689
|
+
const ptr0 = passStringToWasm0(bucket, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
733
690
|
const len0 = WASM_VECTOR_LEN;
|
|
734
|
-
const ptr1 = passStringToWasm0(key, wasm.
|
|
691
|
+
const ptr1 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
735
692
|
const len1 = WASM_VECTOR_LEN;
|
|
736
|
-
const ptr2 = passArray8ToWasm0(data, wasm.
|
|
693
|
+
const ptr2 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
|
|
737
694
|
const len2 = WASM_VECTOR_LEN;
|
|
738
|
-
const ptr3 = passStringToWasm0(content_type, wasm.
|
|
695
|
+
const ptr3 = passStringToWasm0(content_type, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
739
696
|
const len3 = WASM_VECTOR_LEN;
|
|
740
697
|
const ret = wasm.putEncryptedWithType(client.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
741
|
-
return
|
|
698
|
+
return ret;
|
|
742
699
|
}
|
|
743
700
|
|
|
744
701
|
const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
|
|
@@ -778,84 +735,84 @@ function __wbg_get_imports() {
|
|
|
778
735
|
imports.wbg = {};
|
|
779
736
|
imports.wbg.__wbg_Error_52673b7de5a0ca89 = function(arg0, arg1) {
|
|
780
737
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
781
|
-
return
|
|
738
|
+
return ret;
|
|
782
739
|
};
|
|
783
740
|
imports.wbg.__wbg_Number_2d1dcfcf4ec51736 = function(arg0) {
|
|
784
|
-
const ret = Number(
|
|
741
|
+
const ret = Number(arg0);
|
|
785
742
|
return ret;
|
|
786
743
|
};
|
|
787
744
|
imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
788
|
-
const ret = String(
|
|
789
|
-
const ptr1 = passStringToWasm0(ret, wasm.
|
|
745
|
+
const ret = String(arg1);
|
|
746
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
790
747
|
const len1 = WASM_VECTOR_LEN;
|
|
791
748
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
792
749
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
793
750
|
};
|
|
794
751
|
imports.wbg.__wbg___wbindgen_bigint_get_as_i64_6e32f5e6aff02e1d = function(arg0, arg1) {
|
|
795
|
-
const v =
|
|
752
|
+
const v = arg1;
|
|
796
753
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
797
754
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
798
755
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
799
756
|
};
|
|
800
757
|
imports.wbg.__wbg___wbindgen_boolean_get_dea25b33882b895b = function(arg0) {
|
|
801
|
-
const v =
|
|
758
|
+
const v = arg0;
|
|
802
759
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
803
760
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
804
761
|
};
|
|
805
762
|
imports.wbg.__wbg___wbindgen_debug_string_adfb662ae34724b6 = function(arg0, arg1) {
|
|
806
|
-
const ret = debugString(
|
|
807
|
-
const ptr1 = passStringToWasm0(ret, wasm.
|
|
763
|
+
const ret = debugString(arg1);
|
|
764
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
808
765
|
const len1 = WASM_VECTOR_LEN;
|
|
809
766
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
810
767
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
811
768
|
};
|
|
812
769
|
imports.wbg.__wbg___wbindgen_in_0d3e1e8f0c669317 = function(arg0, arg1) {
|
|
813
|
-
const ret =
|
|
770
|
+
const ret = arg0 in arg1;
|
|
814
771
|
return ret;
|
|
815
772
|
};
|
|
816
773
|
imports.wbg.__wbg___wbindgen_is_bigint_0e1a2e3f55cfae27 = function(arg0) {
|
|
817
|
-
const ret = typeof(
|
|
774
|
+
const ret = typeof(arg0) === 'bigint';
|
|
818
775
|
return ret;
|
|
819
776
|
};
|
|
820
777
|
imports.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd = function(arg0) {
|
|
821
|
-
const ret = typeof(
|
|
778
|
+
const ret = typeof(arg0) === 'function';
|
|
822
779
|
return ret;
|
|
823
780
|
};
|
|
824
781
|
imports.wbg.__wbg___wbindgen_is_null_dfda7d66506c95b5 = function(arg0) {
|
|
825
|
-
const ret =
|
|
782
|
+
const ret = arg0 === null;
|
|
826
783
|
return ret;
|
|
827
784
|
};
|
|
828
785
|
imports.wbg.__wbg___wbindgen_is_object_ce774f3490692386 = function(arg0) {
|
|
829
|
-
const val =
|
|
786
|
+
const val = arg0;
|
|
830
787
|
const ret = typeof(val) === 'object' && val !== null;
|
|
831
788
|
return ret;
|
|
832
789
|
};
|
|
833
790
|
imports.wbg.__wbg___wbindgen_is_string_704ef9c8fc131030 = function(arg0) {
|
|
834
|
-
const ret = typeof(
|
|
791
|
+
const ret = typeof(arg0) === 'string';
|
|
835
792
|
return ret;
|
|
836
793
|
};
|
|
837
794
|
imports.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269 = function(arg0) {
|
|
838
|
-
const ret =
|
|
795
|
+
const ret = arg0 === undefined;
|
|
839
796
|
return ret;
|
|
840
797
|
};
|
|
841
798
|
imports.wbg.__wbg___wbindgen_jsval_eq_b6101cc9cef1fe36 = function(arg0, arg1) {
|
|
842
|
-
const ret =
|
|
799
|
+
const ret = arg0 === arg1;
|
|
843
800
|
return ret;
|
|
844
801
|
};
|
|
845
802
|
imports.wbg.__wbg___wbindgen_jsval_loose_eq_766057600fdd1b0d = function(arg0, arg1) {
|
|
846
|
-
const ret =
|
|
803
|
+
const ret = arg0 == arg1;
|
|
847
804
|
return ret;
|
|
848
805
|
};
|
|
849
806
|
imports.wbg.__wbg___wbindgen_number_get_9619185a74197f95 = function(arg0, arg1) {
|
|
850
|
-
const obj =
|
|
807
|
+
const obj = arg1;
|
|
851
808
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
852
809
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
853
810
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
854
811
|
};
|
|
855
812
|
imports.wbg.__wbg___wbindgen_string_get_a2a31e16edf96e42 = function(arg0, arg1) {
|
|
856
|
-
const obj =
|
|
813
|
+
const obj = arg1;
|
|
857
814
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
858
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.
|
|
815
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
859
816
|
var len1 = WASM_VECTOR_LEN;
|
|
860
817
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
861
818
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
@@ -864,48 +821,48 @@ function __wbg_get_imports() {
|
|
|
864
821
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
865
822
|
};
|
|
866
823
|
imports.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7 = function(arg0) {
|
|
867
|
-
|
|
824
|
+
arg0._wbg_cb_unref();
|
|
868
825
|
};
|
|
869
826
|
imports.wbg.__wbg_abort_07646c894ebbf2bd = function(arg0) {
|
|
870
|
-
|
|
827
|
+
arg0.abort();
|
|
871
828
|
};
|
|
872
829
|
imports.wbg.__wbg_abort_399ecbcfd6ef3c8e = function(arg0, arg1) {
|
|
873
|
-
|
|
830
|
+
arg0.abort(arg1);
|
|
874
831
|
};
|
|
875
832
|
imports.wbg.__wbg_acceptedshare_new = function(arg0) {
|
|
876
833
|
const ret = AcceptedShare.__wrap(arg0);
|
|
877
|
-
return
|
|
834
|
+
return ret;
|
|
878
835
|
};
|
|
879
836
|
imports.wbg.__wbg_append_c5cbdf46455cc776 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
880
|
-
|
|
837
|
+
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
881
838
|
}, arguments) };
|
|
882
839
|
imports.wbg.__wbg_arrayBuffer_c04af4fce566092d = function() { return handleError(function (arg0) {
|
|
883
|
-
const ret =
|
|
884
|
-
return
|
|
840
|
+
const ret = arg0.arrayBuffer();
|
|
841
|
+
return ret;
|
|
885
842
|
}, arguments) };
|
|
886
843
|
imports.wbg.__wbg_call_3020136f7a2d6e44 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
887
|
-
const ret =
|
|
888
|
-
return
|
|
844
|
+
const ret = arg0.call(arg1, arg2);
|
|
845
|
+
return ret;
|
|
889
846
|
}, arguments) };
|
|
890
847
|
imports.wbg.__wbg_call_abb4ff46ce38be40 = function() { return handleError(function (arg0, arg1) {
|
|
891
|
-
const ret =
|
|
892
|
-
return
|
|
848
|
+
const ret = arg0.call(arg1);
|
|
849
|
+
return ret;
|
|
893
850
|
}, arguments) };
|
|
894
851
|
imports.wbg.__wbg_clearTimeout_7a42b49784aea641 = function(arg0) {
|
|
895
|
-
const ret = clearTimeout(
|
|
896
|
-
return
|
|
852
|
+
const ret = clearTimeout(arg0);
|
|
853
|
+
return ret;
|
|
897
854
|
};
|
|
898
855
|
imports.wbg.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
|
|
899
|
-
const ret =
|
|
900
|
-
return
|
|
856
|
+
const ret = arg0.crypto;
|
|
857
|
+
return ret;
|
|
901
858
|
};
|
|
902
859
|
imports.wbg.__wbg_done_62ea16af4ce34b24 = function(arg0) {
|
|
903
|
-
const ret =
|
|
860
|
+
const ret = arg0.done;
|
|
904
861
|
return ret;
|
|
905
862
|
};
|
|
906
863
|
imports.wbg.__wbg_encryptedclient_new = function(arg0) {
|
|
907
864
|
const ret = EncryptedClient.__wrap(arg0);
|
|
908
|
-
return
|
|
865
|
+
return ret;
|
|
909
866
|
};
|
|
910
867
|
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
911
868
|
let deferred0_0;
|
|
@@ -915,48 +872,48 @@ function __wbg_get_imports() {
|
|
|
915
872
|
deferred0_1 = arg1;
|
|
916
873
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
917
874
|
} finally {
|
|
918
|
-
wasm.
|
|
875
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
919
876
|
}
|
|
920
877
|
};
|
|
921
878
|
imports.wbg.__wbg_fetch_74a3e84ebd2c9a0e = function(arg0) {
|
|
922
|
-
const ret = fetch(
|
|
923
|
-
return
|
|
879
|
+
const ret = fetch(arg0);
|
|
880
|
+
return ret;
|
|
924
881
|
};
|
|
925
882
|
imports.wbg.__wbg_fetch_90447c28cc0b095e = function(arg0, arg1) {
|
|
926
|
-
const ret =
|
|
927
|
-
return
|
|
883
|
+
const ret = arg0.fetch(arg1);
|
|
884
|
+
return ret;
|
|
928
885
|
};
|
|
929
886
|
imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
930
|
-
|
|
887
|
+
arg0.getRandomValues(arg1);
|
|
931
888
|
}, arguments) };
|
|
932
889
|
imports.wbg.__wbg_getTime_ad1e9878a735af08 = function(arg0) {
|
|
933
|
-
const ret =
|
|
890
|
+
const ret = arg0.getTime();
|
|
934
891
|
return ret;
|
|
935
892
|
};
|
|
936
893
|
imports.wbg.__wbg_get_6b7bd52aca3f9671 = function(arg0, arg1) {
|
|
937
|
-
const ret =
|
|
938
|
-
return
|
|
894
|
+
const ret = arg0[arg1 >>> 0];
|
|
895
|
+
return ret;
|
|
939
896
|
};
|
|
940
897
|
imports.wbg.__wbg_get_af9dab7e9603ea93 = function() { return handleError(function (arg0, arg1) {
|
|
941
|
-
const ret = Reflect.get(
|
|
942
|
-
return
|
|
898
|
+
const ret = Reflect.get(arg0, arg1);
|
|
899
|
+
return ret;
|
|
943
900
|
}, arguments) };
|
|
944
901
|
imports.wbg.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) {
|
|
945
|
-
const ret =
|
|
946
|
-
return
|
|
902
|
+
const ret = arg0[arg1];
|
|
903
|
+
return ret;
|
|
947
904
|
};
|
|
948
905
|
imports.wbg.__wbg_has_0e670569d65d3a45 = function() { return handleError(function (arg0, arg1) {
|
|
949
|
-
const ret = Reflect.has(
|
|
906
|
+
const ret = Reflect.has(arg0, arg1);
|
|
950
907
|
return ret;
|
|
951
908
|
}, arguments) };
|
|
952
909
|
imports.wbg.__wbg_headers_654c30e1bcccc552 = function(arg0) {
|
|
953
|
-
const ret =
|
|
954
|
-
return
|
|
910
|
+
const ret = arg0.headers;
|
|
911
|
+
return ret;
|
|
955
912
|
};
|
|
956
913
|
imports.wbg.__wbg_instanceof_ArrayBuffer_f3320d2419cd0355 = function(arg0) {
|
|
957
914
|
let result;
|
|
958
915
|
try {
|
|
959
|
-
result =
|
|
916
|
+
result = arg0 instanceof ArrayBuffer;
|
|
960
917
|
} catch (_) {
|
|
961
918
|
result = false;
|
|
962
919
|
}
|
|
@@ -966,7 +923,7 @@ function __wbg_get_imports() {
|
|
|
966
923
|
imports.wbg.__wbg_instanceof_Response_cd74d1c2ac92cb0b = function(arg0) {
|
|
967
924
|
let result;
|
|
968
925
|
try {
|
|
969
|
-
result =
|
|
926
|
+
result = arg0 instanceof Response;
|
|
970
927
|
} catch (_) {
|
|
971
928
|
result = false;
|
|
972
929
|
}
|
|
@@ -976,7 +933,7 @@ function __wbg_get_imports() {
|
|
|
976
933
|
imports.wbg.__wbg_instanceof_Uint8Array_da54ccc9d3e09434 = function(arg0) {
|
|
977
934
|
let result;
|
|
978
935
|
try {
|
|
979
|
-
result =
|
|
936
|
+
result = arg0 instanceof Uint8Array;
|
|
980
937
|
} catch (_) {
|
|
981
938
|
result = false;
|
|
982
939
|
}
|
|
@@ -984,56 +941,56 @@ function __wbg_get_imports() {
|
|
|
984
941
|
return ret;
|
|
985
942
|
};
|
|
986
943
|
imports.wbg.__wbg_isArray_51fd9e6422c0a395 = function(arg0) {
|
|
987
|
-
const ret = Array.isArray(
|
|
944
|
+
const ret = Array.isArray(arg0);
|
|
988
945
|
return ret;
|
|
989
946
|
};
|
|
990
947
|
imports.wbg.__wbg_isSafeInteger_ae7d3f054d55fa16 = function(arg0) {
|
|
991
|
-
const ret = Number.isSafeInteger(
|
|
948
|
+
const ret = Number.isSafeInteger(arg0);
|
|
992
949
|
return ret;
|
|
993
950
|
};
|
|
994
951
|
imports.wbg.__wbg_iterator_27b7c8b35ab3e86b = function() {
|
|
995
952
|
const ret = Symbol.iterator;
|
|
996
|
-
return
|
|
953
|
+
return ret;
|
|
997
954
|
};
|
|
998
955
|
imports.wbg.__wbg_length_22ac23eaec9d8053 = function(arg0) {
|
|
999
|
-
const ret =
|
|
956
|
+
const ret = arg0.length;
|
|
1000
957
|
return ret;
|
|
1001
958
|
};
|
|
1002
959
|
imports.wbg.__wbg_length_d45040a40c570362 = function(arg0) {
|
|
1003
|
-
const ret =
|
|
960
|
+
const ret = arg0.length;
|
|
1004
961
|
return ret;
|
|
1005
962
|
};
|
|
1006
963
|
imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
|
|
1007
|
-
const ret =
|
|
1008
|
-
return
|
|
964
|
+
const ret = arg0.msCrypto;
|
|
965
|
+
return ret;
|
|
1009
966
|
};
|
|
1010
967
|
imports.wbg.__wbg_new_0_23cedd11d9b40c9d = function() {
|
|
1011
968
|
const ret = new Date();
|
|
1012
|
-
return
|
|
969
|
+
return ret;
|
|
1013
970
|
};
|
|
1014
971
|
imports.wbg.__wbg_new_1ba21ce319a06297 = function() {
|
|
1015
972
|
const ret = new Object();
|
|
1016
|
-
return
|
|
973
|
+
return ret;
|
|
1017
974
|
};
|
|
1018
975
|
imports.wbg.__wbg_new_25f239778d6112b9 = function() {
|
|
1019
976
|
const ret = new Array();
|
|
1020
|
-
return
|
|
977
|
+
return ret;
|
|
1021
978
|
};
|
|
1022
979
|
imports.wbg.__wbg_new_3c79b3bb1b32b7d3 = function() { return handleError(function () {
|
|
1023
980
|
const ret = new Headers();
|
|
1024
|
-
return
|
|
981
|
+
return ret;
|
|
1025
982
|
}, arguments) };
|
|
1026
983
|
imports.wbg.__wbg_new_6421f6084cc5bc5a = function(arg0) {
|
|
1027
|
-
const ret = new Uint8Array(
|
|
1028
|
-
return
|
|
984
|
+
const ret = new Uint8Array(arg0);
|
|
985
|
+
return ret;
|
|
1029
986
|
};
|
|
1030
987
|
imports.wbg.__wbg_new_881a222c65f168fc = function() { return handleError(function () {
|
|
1031
988
|
const ret = new AbortController();
|
|
1032
|
-
return
|
|
989
|
+
return ret;
|
|
1033
990
|
}, arguments) };
|
|
1034
991
|
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
1035
992
|
const ret = new Error();
|
|
1036
|
-
return
|
|
993
|
+
return ret;
|
|
1037
994
|
};
|
|
1038
995
|
imports.wbg.__wbg_new_ff12d2b041fb48f1 = function(arg0, arg1) {
|
|
1039
996
|
try {
|
|
@@ -1042,219 +999,221 @@ function __wbg_get_imports() {
|
|
|
1042
999
|
const a = state0.a;
|
|
1043
1000
|
state0.a = 0;
|
|
1044
1001
|
try {
|
|
1045
|
-
return
|
|
1002
|
+
return wasm_bindgen__convert__closures_____invoke__h6b3fde49b76750c8(a, state0.b, arg0, arg1);
|
|
1046
1003
|
} finally {
|
|
1047
1004
|
state0.a = a;
|
|
1048
1005
|
}
|
|
1049
1006
|
};
|
|
1050
1007
|
const ret = new Promise(cb0);
|
|
1051
|
-
return
|
|
1008
|
+
return ret;
|
|
1052
1009
|
} finally {
|
|
1053
1010
|
state0.a = state0.b = 0;
|
|
1054
1011
|
}
|
|
1055
1012
|
};
|
|
1056
1013
|
imports.wbg.__wbg_new_from_slice_f9c22b9153b26992 = function(arg0, arg1) {
|
|
1057
1014
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1058
|
-
return
|
|
1015
|
+
return ret;
|
|
1059
1016
|
};
|
|
1060
1017
|
imports.wbg.__wbg_new_no_args_cb138f77cf6151ee = function(arg0, arg1) {
|
|
1061
1018
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1062
|
-
return
|
|
1019
|
+
return ret;
|
|
1063
1020
|
};
|
|
1064
1021
|
imports.wbg.__wbg_new_with_length_aa5eaf41d35235e5 = function(arg0) {
|
|
1065
1022
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1066
|
-
return
|
|
1023
|
+
return ret;
|
|
1067
1024
|
};
|
|
1068
1025
|
imports.wbg.__wbg_new_with_str_and_init_c5748f76f5108934 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1069
|
-
const ret = new Request(getStringFromWasm0(arg0, arg1),
|
|
1070
|
-
return
|
|
1026
|
+
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1027
|
+
return ret;
|
|
1071
1028
|
}, arguments) };
|
|
1072
1029
|
imports.wbg.__wbg_next_138a17bbf04e926c = function(arg0) {
|
|
1073
|
-
const ret =
|
|
1074
|
-
return
|
|
1030
|
+
const ret = arg0.next;
|
|
1031
|
+
return ret;
|
|
1075
1032
|
};
|
|
1076
1033
|
imports.wbg.__wbg_next_3cfe5c0fe2a4cc53 = function() { return handleError(function (arg0) {
|
|
1077
|
-
const ret =
|
|
1078
|
-
return
|
|
1034
|
+
const ret = arg0.next();
|
|
1035
|
+
return ret;
|
|
1079
1036
|
}, arguments) };
|
|
1080
1037
|
imports.wbg.__wbg_node_905d3e251edff8a2 = function(arg0) {
|
|
1081
|
-
const ret =
|
|
1082
|
-
return
|
|
1038
|
+
const ret = arg0.node;
|
|
1039
|
+
return ret;
|
|
1083
1040
|
};
|
|
1084
1041
|
imports.wbg.__wbg_now_69d776cd24f5215b = function() {
|
|
1085
1042
|
const ret = Date.now();
|
|
1086
1043
|
return ret;
|
|
1087
1044
|
};
|
|
1088
1045
|
imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
|
|
1089
|
-
const ret =
|
|
1090
|
-
return
|
|
1046
|
+
const ret = arg0.process;
|
|
1047
|
+
return ret;
|
|
1091
1048
|
};
|
|
1092
1049
|
imports.wbg.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) {
|
|
1093
|
-
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1),
|
|
1050
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1094
1051
|
};
|
|
1095
1052
|
imports.wbg.__wbg_queueMicrotask_9b549dfce8865860 = function(arg0) {
|
|
1096
|
-
const ret =
|
|
1097
|
-
return
|
|
1053
|
+
const ret = arg0.queueMicrotask;
|
|
1054
|
+
return ret;
|
|
1098
1055
|
};
|
|
1099
1056
|
imports.wbg.__wbg_queueMicrotask_fca69f5bfad613a5 = function(arg0) {
|
|
1100
|
-
queueMicrotask(
|
|
1057
|
+
queueMicrotask(arg0);
|
|
1101
1058
|
};
|
|
1102
1059
|
imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
|
|
1103
|
-
|
|
1060
|
+
arg0.randomFillSync(arg1);
|
|
1104
1061
|
}, arguments) };
|
|
1105
1062
|
imports.wbg.__wbg_require_60cc747a6bc5215a = function() { return handleError(function () {
|
|
1106
1063
|
const ret = module.require;
|
|
1107
|
-
return
|
|
1064
|
+
return ret;
|
|
1108
1065
|
}, arguments) };
|
|
1109
1066
|
imports.wbg.__wbg_resolve_fd5bfbaa4ce36e1e = function(arg0) {
|
|
1110
|
-
const ret = Promise.resolve(
|
|
1111
|
-
return
|
|
1067
|
+
const ret = Promise.resolve(arg0);
|
|
1068
|
+
return ret;
|
|
1112
1069
|
};
|
|
1113
1070
|
imports.wbg.__wbg_setTimeout_7bb3429662ab1e70 = function(arg0, arg1) {
|
|
1114
|
-
const ret = setTimeout(
|
|
1115
|
-
return
|
|
1071
|
+
const ret = setTimeout(arg0, arg1);
|
|
1072
|
+
return ret;
|
|
1116
1073
|
};
|
|
1117
1074
|
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
1118
|
-
|
|
1075
|
+
arg0[arg1] = arg2;
|
|
1119
1076
|
};
|
|
1120
1077
|
imports.wbg.__wbg_set_7df433eea03a5c14 = function(arg0, arg1, arg2) {
|
|
1121
|
-
|
|
1078
|
+
arg0[arg1 >>> 0] = arg2;
|
|
1122
1079
|
};
|
|
1123
1080
|
imports.wbg.__wbg_set_body_8e743242d6076a4f = function(arg0, arg1) {
|
|
1124
|
-
|
|
1081
|
+
arg0.body = arg1;
|
|
1125
1082
|
};
|
|
1126
1083
|
imports.wbg.__wbg_set_cache_0e437c7c8e838b9b = function(arg0, arg1) {
|
|
1127
|
-
|
|
1084
|
+
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1128
1085
|
};
|
|
1129
1086
|
imports.wbg.__wbg_set_credentials_55ae7c3c106fd5be = function(arg0, arg1) {
|
|
1130
|
-
|
|
1087
|
+
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1131
1088
|
};
|
|
1132
1089
|
imports.wbg.__wbg_set_headers_5671cf088e114d2b = function(arg0, arg1) {
|
|
1133
|
-
|
|
1090
|
+
arg0.headers = arg1;
|
|
1134
1091
|
};
|
|
1135
1092
|
imports.wbg.__wbg_set_method_76c69e41b3570627 = function(arg0, arg1, arg2) {
|
|
1136
|
-
|
|
1093
|
+
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1137
1094
|
};
|
|
1138
1095
|
imports.wbg.__wbg_set_mode_611016a6818fc690 = function(arg0, arg1) {
|
|
1139
|
-
|
|
1096
|
+
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1140
1097
|
};
|
|
1141
1098
|
imports.wbg.__wbg_set_signal_e89be862d0091009 = function(arg0, arg1) {
|
|
1142
|
-
|
|
1099
|
+
arg0.signal = arg1;
|
|
1143
1100
|
};
|
|
1144
1101
|
imports.wbg.__wbg_signal_3c14fbdc89694b39 = function(arg0) {
|
|
1145
|
-
const ret =
|
|
1146
|
-
return
|
|
1102
|
+
const ret = arg0.signal;
|
|
1103
|
+
return ret;
|
|
1147
1104
|
};
|
|
1148
1105
|
imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
1149
|
-
const ret =
|
|
1150
|
-
const ptr1 = passStringToWasm0(ret, wasm.
|
|
1106
|
+
const ret = arg1.stack;
|
|
1107
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1151
1108
|
const len1 = WASM_VECTOR_LEN;
|
|
1152
1109
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1153
1110
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1154
1111
|
};
|
|
1155
1112
|
imports.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335 = function() {
|
|
1156
1113
|
const ret = typeof global === 'undefined' ? null : global;
|
|
1157
|
-
return isLikeNone(ret) ? 0 :
|
|
1114
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1158
1115
|
};
|
|
1159
1116
|
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1 = function() {
|
|
1160
1117
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1161
|
-
return isLikeNone(ret) ? 0 :
|
|
1118
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1162
1119
|
};
|
|
1163
1120
|
imports.wbg.__wbg_static_accessor_SELF_08f5a74c69739274 = function() {
|
|
1164
1121
|
const ret = typeof self === 'undefined' ? null : self;
|
|
1165
|
-
return isLikeNone(ret) ? 0 :
|
|
1122
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1166
1123
|
};
|
|
1167
1124
|
imports.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024 = function() {
|
|
1168
1125
|
const ret = typeof window === 'undefined' ? null : window;
|
|
1169
|
-
return isLikeNone(ret) ? 0 :
|
|
1126
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1170
1127
|
};
|
|
1171
1128
|
imports.wbg.__wbg_status_9bfc680efca4bdfd = function(arg0) {
|
|
1172
|
-
const ret =
|
|
1129
|
+
const ret = arg0.status;
|
|
1173
1130
|
return ret;
|
|
1174
1131
|
};
|
|
1175
1132
|
imports.wbg.__wbg_stringify_655a6390e1f5eb6b = function() { return handleError(function (arg0) {
|
|
1176
|
-
const ret = JSON.stringify(
|
|
1177
|
-
return
|
|
1133
|
+
const ret = JSON.stringify(arg0);
|
|
1134
|
+
return ret;
|
|
1178
1135
|
}, arguments) };
|
|
1179
1136
|
imports.wbg.__wbg_subarray_845f2f5bce7d061a = function(arg0, arg1, arg2) {
|
|
1180
|
-
const ret =
|
|
1181
|
-
return
|
|
1137
|
+
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1138
|
+
return ret;
|
|
1182
1139
|
};
|
|
1183
1140
|
imports.wbg.__wbg_text_51046bb33d257f63 = function() { return handleError(function (arg0) {
|
|
1184
|
-
const ret =
|
|
1185
|
-
return
|
|
1141
|
+
const ret = arg0.text();
|
|
1142
|
+
return ret;
|
|
1186
1143
|
}, arguments) };
|
|
1187
1144
|
imports.wbg.__wbg_then_429f7caf1026411d = function(arg0, arg1, arg2) {
|
|
1188
|
-
const ret =
|
|
1189
|
-
return
|
|
1145
|
+
const ret = arg0.then(arg1, arg2);
|
|
1146
|
+
return ret;
|
|
1190
1147
|
};
|
|
1191
1148
|
imports.wbg.__wbg_then_4f95312d68691235 = function(arg0, arg1) {
|
|
1192
|
-
const ret =
|
|
1193
|
-
return
|
|
1149
|
+
const ret = arg0.then(arg1);
|
|
1150
|
+
return ret;
|
|
1194
1151
|
};
|
|
1195
1152
|
imports.wbg.__wbg_url_b6d11838a4f95198 = function(arg0, arg1) {
|
|
1196
|
-
const ret =
|
|
1197
|
-
const ptr1 = passStringToWasm0(ret, wasm.
|
|
1153
|
+
const ret = arg1.url;
|
|
1154
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1198
1155
|
const len1 = WASM_VECTOR_LEN;
|
|
1199
1156
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1200
1157
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1201
1158
|
};
|
|
1202
1159
|
imports.wbg.__wbg_value_57b7b035e117f7ee = function(arg0) {
|
|
1203
|
-
const ret =
|
|
1204
|
-
return
|
|
1160
|
+
const ret = arg0.value;
|
|
1161
|
+
return ret;
|
|
1205
1162
|
};
|
|
1206
1163
|
imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
|
|
1207
|
-
const ret =
|
|
1208
|
-
return
|
|
1164
|
+
const ret = arg0.versions;
|
|
1165
|
+
return ret;
|
|
1209
1166
|
};
|
|
1210
1167
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
1211
1168
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1212
1169
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1213
|
-
return
|
|
1170
|
+
return ret;
|
|
1214
1171
|
};
|
|
1215
1172
|
imports.wbg.__wbindgen_cast_293162629359ccc7 = function(arg0, arg1) {
|
|
1216
1173
|
// 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.
|
|
1218
|
-
return
|
|
1174
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h155ea7410ed4239b, wasm_bindgen__convert__closures_____invoke__h073fd7071c70ba87);
|
|
1175
|
+
return ret;
|
|
1219
1176
|
};
|
|
1220
1177
|
imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
|
|
1221
1178
|
// Cast intrinsic for `U64 -> Externref`.
|
|
1222
1179
|
const ret = BigInt.asUintN(64, arg0);
|
|
1223
|
-
return
|
|
1180
|
+
return ret;
|
|
1224
1181
|
};
|
|
1225
1182
|
imports.wbg.__wbindgen_cast_7418e77c9d43951b = function(arg0, arg1) {
|
|
1226
1183
|
// 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.
|
|
1228
|
-
return
|
|
1184
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h5a68580f889c4ddd, wasm_bindgen__convert__closures_____invoke__h1e53166f14b33962);
|
|
1185
|
+
return ret;
|
|
1229
1186
|
};
|
|
1230
1187
|
imports.wbg.__wbindgen_cast_77bc3e92745e9a35 = function(arg0, arg1) {
|
|
1231
1188
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
1232
|
-
wasm.
|
|
1189
|
+
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
1233
1190
|
// Cast intrinsic for `Vector(U8) -> Externref`.
|
|
1234
1191
|
const ret = v0;
|
|
1235
|
-
return
|
|
1192
|
+
return ret;
|
|
1236
1193
|
};
|
|
1237
1194
|
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
1238
1195
|
// Cast intrinsic for `I64 -> Externref`.
|
|
1239
1196
|
const ret = arg0;
|
|
1240
|
-
return
|
|
1197
|
+
return ret;
|
|
1241
1198
|
};
|
|
1242
1199
|
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
1243
1200
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
1244
1201
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
1245
|
-
return
|
|
1202
|
+
return ret;
|
|
1246
1203
|
};
|
|
1247
1204
|
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
1248
1205
|
// Cast intrinsic for `F64 -> Externref`.
|
|
1249
1206
|
const ret = arg0;
|
|
1250
|
-
return
|
|
1251
|
-
};
|
|
1252
|
-
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
|
|
1253
|
-
const ret = getObject(arg0);
|
|
1254
|
-
return addHeapObject(ret);
|
|
1207
|
+
return ret;
|
|
1255
1208
|
};
|
|
1256
|
-
imports.wbg.
|
|
1257
|
-
|
|
1209
|
+
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
1210
|
+
const table = wasm.__wbindgen_externrefs;
|
|
1211
|
+
const offset = table.grow(4);
|
|
1212
|
+
table.set(0, undefined);
|
|
1213
|
+
table.set(offset + 0, undefined);
|
|
1214
|
+
table.set(offset + 1, null);
|
|
1215
|
+
table.set(offset + 2, true);
|
|
1216
|
+
table.set(offset + 3, false);
|
|
1258
1217
|
};
|
|
1259
1218
|
|
|
1260
1219
|
return imports;
|
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.19",
|
|
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",
|