@cartridge/controller-wasm 0.9.6 → 0.10.1
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/package.json +1 -1
- package/pkg-controller/account_wasm.js +1 -1
- package/pkg-controller/account_wasm_bg.js +173 -183
- package/pkg-controller/account_wasm_bg.wasm +0 -0
- package/pkg-session/session_wasm.js +1 -1
- package/pkg-session/session_wasm_bg.js +121 -131
- package/pkg-session/session_wasm_bg.wasm +0 -0
|
Binary file
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Mutex } from './snippets/account-wasm-35da9c7350cbc3ae/src/wasm-mutex.js';
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
export class CartridgeSessionAccount {
|
|
4
5
|
static __wrap(ptr) {
|
|
5
6
|
ptr = ptr >>> 0;
|
|
@@ -186,13 +187,6 @@ export const ErrorCode = Object.freeze({
|
|
|
186
187
|
});
|
|
187
188
|
|
|
188
189
|
export class JsControllerError {
|
|
189
|
-
static __wrap(ptr) {
|
|
190
|
-
ptr = ptr >>> 0;
|
|
191
|
-
const obj = Object.create(JsControllerError.prototype);
|
|
192
|
-
obj.__wbg_ptr = ptr;
|
|
193
|
-
JsControllerErrorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
194
|
-
return obj;
|
|
195
|
-
}
|
|
196
190
|
__destroy_into_raw() {
|
|
197
191
|
const ptr = this.__wbg_ptr;
|
|
198
192
|
this.__wbg_ptr = 0;
|
|
@@ -307,7 +301,7 @@ export function subscribeCreateSession(session_key_guid, cartridge_api_url) {
|
|
|
307
301
|
const ret = wasm.subscribeCreateSession(addHeapObject(session_key_guid), ptr0, len0);
|
|
308
302
|
return takeObject(ret);
|
|
309
303
|
}
|
|
310
|
-
export function
|
|
304
|
+
export function __wbg_Error_960c155d3d49e4c2(arg0, arg1) {
|
|
311
305
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
312
306
|
return addHeapObject(ret);
|
|
313
307
|
}
|
|
@@ -318,50 +312,50 @@ export function __wbg_String_8564e559799eccda(arg0, arg1) {
|
|
|
318
312
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
319
313
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
320
314
|
}
|
|
321
|
-
export function
|
|
315
|
+
export function __wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff(arg0) {
|
|
322
316
|
const v = getObject(arg0);
|
|
323
317
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
324
318
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
325
319
|
}
|
|
326
|
-
export function
|
|
320
|
+
export function __wbg___wbindgen_debug_string_ab4b34d23d6778bd(arg0, arg1) {
|
|
327
321
|
const ret = debugString(getObject(arg1));
|
|
328
322
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
329
323
|
const len1 = WASM_VECTOR_LEN;
|
|
330
324
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
331
325
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
332
326
|
}
|
|
333
|
-
export function
|
|
327
|
+
export function __wbg___wbindgen_in_a5d8b22e52b24dd1(arg0, arg1) {
|
|
334
328
|
const ret = getObject(arg0) in getObject(arg1);
|
|
335
329
|
return ret;
|
|
336
330
|
}
|
|
337
|
-
export function
|
|
331
|
+
export function __wbg___wbindgen_is_function_3baa9db1a987f47d(arg0) {
|
|
338
332
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
339
333
|
return ret;
|
|
340
334
|
}
|
|
341
|
-
export function
|
|
335
|
+
export function __wbg___wbindgen_is_object_63322ec0cd6ea4ef(arg0) {
|
|
342
336
|
const val = getObject(arg0);
|
|
343
337
|
const ret = typeof(val) === 'object' && val !== null;
|
|
344
338
|
return ret;
|
|
345
339
|
}
|
|
346
|
-
export function
|
|
340
|
+
export function __wbg___wbindgen_is_string_6df3bf7ef1164ed3(arg0) {
|
|
347
341
|
const ret = typeof(getObject(arg0)) === 'string';
|
|
348
342
|
return ret;
|
|
349
343
|
}
|
|
350
|
-
export function
|
|
344
|
+
export function __wbg___wbindgen_is_undefined_29a43b4d42920abd(arg0) {
|
|
351
345
|
const ret = getObject(arg0) === undefined;
|
|
352
346
|
return ret;
|
|
353
347
|
}
|
|
354
|
-
export function
|
|
348
|
+
export function __wbg___wbindgen_jsval_loose_eq_cac3565e89b4134c(arg0, arg1) {
|
|
355
349
|
const ret = getObject(arg0) == getObject(arg1);
|
|
356
350
|
return ret;
|
|
357
351
|
}
|
|
358
|
-
export function
|
|
352
|
+
export function __wbg___wbindgen_number_get_c7f42aed0525c451(arg0, arg1) {
|
|
359
353
|
const obj = getObject(arg1);
|
|
360
354
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
361
355
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
362
356
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
363
357
|
}
|
|
364
|
-
export function
|
|
358
|
+
export function __wbg___wbindgen_string_get_7ed5322991caaec5(arg0, arg1) {
|
|
365
359
|
const obj = getObject(arg1);
|
|
366
360
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
367
361
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -369,38 +363,38 @@ export function __wbg___wbindgen_string_get_395e606bd0ee4427(arg0, arg1) {
|
|
|
369
363
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
370
364
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
371
365
|
}
|
|
372
|
-
export function
|
|
366
|
+
export function __wbg___wbindgen_throw_6b64449b9b9ed33c(arg0, arg1) {
|
|
373
367
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
374
368
|
}
|
|
375
|
-
export function
|
|
369
|
+
export function __wbg__wbg_cb_unref_b46c9b5a9f08ec37(arg0) {
|
|
376
370
|
getObject(arg0)._wbg_cb_unref();
|
|
377
371
|
}
|
|
378
|
-
export function
|
|
372
|
+
export function __wbg_abort_4ce5b484434ef6fd(arg0) {
|
|
379
373
|
getObject(arg0).abort();
|
|
380
374
|
}
|
|
381
|
-
export function
|
|
375
|
+
export function __wbg_abort_d53712380a54cc81(arg0, arg1) {
|
|
382
376
|
getObject(arg0).abort(getObject(arg1));
|
|
383
377
|
}
|
|
384
|
-
export function
|
|
378
|
+
export function __wbg_append_e8fc56ce7c00e874() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
385
379
|
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
386
380
|
}, arguments); }
|
|
387
|
-
export function
|
|
381
|
+
export function __wbg_arrayBuffer_848c392b70c67d3d() { return handleError(function (arg0) {
|
|
388
382
|
const ret = getObject(arg0).arrayBuffer();
|
|
389
383
|
return addHeapObject(ret);
|
|
390
384
|
}, arguments); }
|
|
391
|
-
export function
|
|
392
|
-
const ret = getObject(arg0).call(getObject(arg1)
|
|
385
|
+
export function __wbg_call_14b169f759b26747() { return handleError(function (arg0, arg1) {
|
|
386
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
393
387
|
return addHeapObject(ret);
|
|
394
388
|
}, arguments); }
|
|
395
|
-
export function
|
|
396
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
389
|
+
export function __wbg_call_a24592a6f349a97e() { return handleError(function (arg0, arg1, arg2) {
|
|
390
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
397
391
|
return addHeapObject(ret);
|
|
398
392
|
}, arguments); }
|
|
399
393
|
export function __wbg_clearTimeout_6b8d9a38b9263d65(arg0) {
|
|
400
394
|
const ret = clearTimeout(takeObject(arg0));
|
|
401
395
|
return addHeapObject(ret);
|
|
402
396
|
}
|
|
403
|
-
export function
|
|
397
|
+
export function __wbg_credentials_93aa093b507f1fa0(arg0) {
|
|
404
398
|
const ret = getObject(arg0).credentials;
|
|
405
399
|
return addHeapObject(ret);
|
|
406
400
|
}
|
|
@@ -408,11 +402,11 @@ export function __wbg_crypto_38df2bab126b63dc(arg0) {
|
|
|
408
402
|
const ret = getObject(arg0).crypto;
|
|
409
403
|
return addHeapObject(ret);
|
|
410
404
|
}
|
|
411
|
-
export function
|
|
405
|
+
export function __wbg_done_9158f7cc8751ba32(arg0) {
|
|
412
406
|
const ret = getObject(arg0).done;
|
|
413
407
|
return ret;
|
|
414
408
|
}
|
|
415
|
-
export function
|
|
409
|
+
export function __wbg_fetch_0d322c0aed196b8b(arg0, arg1) {
|
|
416
410
|
const ret = getObject(arg0).fetch(getObject(arg1));
|
|
417
411
|
return addHeapObject(ret);
|
|
418
412
|
}
|
|
@@ -424,26 +418,26 @@ export function __wbg_fetch_fda7bc27c982b1f3(arg0) {
|
|
|
424
418
|
const ret = fetch(getObject(arg0));
|
|
425
419
|
return addHeapObject(ret);
|
|
426
420
|
}
|
|
427
|
-
export function
|
|
421
|
+
export function __wbg_getClientExtensionResults_475703637eac9055(arg0) {
|
|
428
422
|
const ret = getObject(arg0).getClientExtensionResults();
|
|
429
423
|
return addHeapObject(ret);
|
|
430
424
|
}
|
|
431
425
|
export function __wbg_getRandomValues_c44a50d8cfdaebeb() { return handleError(function (arg0, arg1) {
|
|
432
426
|
getObject(arg0).getRandomValues(getObject(arg1));
|
|
433
427
|
}, arguments); }
|
|
434
|
-
export function
|
|
428
|
+
export function __wbg_getTime_da7c55f52b71e8c6(arg0) {
|
|
435
429
|
const ret = getObject(arg0).getTime();
|
|
436
430
|
return ret;
|
|
437
431
|
}
|
|
438
|
-
export function
|
|
432
|
+
export function __wbg_get_02de74621e37122a() { return handleError(function (arg0, arg1) {
|
|
439
433
|
const ret = getObject(arg0).get(getObject(arg1));
|
|
440
434
|
return addHeapObject(ret);
|
|
441
435
|
}, arguments); }
|
|
442
|
-
export function
|
|
436
|
+
export function __wbg_get_1affdbdd5573b16a() { return handleError(function (arg0, arg1) {
|
|
443
437
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
444
438
|
return addHeapObject(ret);
|
|
445
439
|
}, arguments); }
|
|
446
|
-
export function
|
|
440
|
+
export function __wbg_get_6011fa3a58f61074() { return handleError(function (arg0, arg1) {
|
|
447
441
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
448
442
|
return addHeapObject(ret);
|
|
449
443
|
}, arguments); }
|
|
@@ -451,15 +445,15 @@ export function __wbg_get_with_ref_key_6412cf3094599694(arg0, arg1) {
|
|
|
451
445
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
452
446
|
return addHeapObject(ret);
|
|
453
447
|
}
|
|
454
|
-
export function
|
|
448
|
+
export function __wbg_has_880f1d472f7cecba() { return handleError(function (arg0, arg1) {
|
|
455
449
|
const ret = Reflect.has(getObject(arg0), getObject(arg1));
|
|
456
450
|
return ret;
|
|
457
451
|
}, arguments); }
|
|
458
|
-
export function
|
|
452
|
+
export function __wbg_headers_6022deb4e576fb8e(arg0) {
|
|
459
453
|
const ret = getObject(arg0).headers;
|
|
460
454
|
return addHeapObject(ret);
|
|
461
455
|
}
|
|
462
|
-
export function
|
|
456
|
+
export function __wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3(arg0) {
|
|
463
457
|
let result;
|
|
464
458
|
try {
|
|
465
459
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -469,7 +463,7 @@ export function __wbg_instanceof_ArrayBuffer_101e2bf31071a9f6(arg0) {
|
|
|
469
463
|
const ret = result;
|
|
470
464
|
return ret;
|
|
471
465
|
}
|
|
472
|
-
export function
|
|
466
|
+
export function __wbg_instanceof_Object_7c99480a1cdfb911(arg0) {
|
|
473
467
|
let result;
|
|
474
468
|
try {
|
|
475
469
|
result = getObject(arg0) instanceof Object;
|
|
@@ -479,7 +473,7 @@ export function __wbg_instanceof_Object_be1962063fcc0c9f(arg0) {
|
|
|
479
473
|
const ret = result;
|
|
480
474
|
return ret;
|
|
481
475
|
}
|
|
482
|
-
export function
|
|
476
|
+
export function __wbg_instanceof_Response_9b2d111407865ff2(arg0) {
|
|
483
477
|
let result;
|
|
484
478
|
try {
|
|
485
479
|
result = getObject(arg0) instanceof Response;
|
|
@@ -489,7 +483,7 @@ export function __wbg_instanceof_Response_9b4d9fd451e051b1(arg0) {
|
|
|
489
483
|
const ret = result;
|
|
490
484
|
return ret;
|
|
491
485
|
}
|
|
492
|
-
export function
|
|
486
|
+
export function __wbg_instanceof_Uint8Array_152ba1f289edcf3f(arg0) {
|
|
493
487
|
let result;
|
|
494
488
|
try {
|
|
495
489
|
result = getObject(arg0) instanceof Uint8Array;
|
|
@@ -499,7 +493,7 @@ export function __wbg_instanceof_Uint8Array_740438561a5b956d(arg0) {
|
|
|
499
493
|
const ret = result;
|
|
500
494
|
return ret;
|
|
501
495
|
}
|
|
502
|
-
export function
|
|
496
|
+
export function __wbg_instanceof_Window_cc64c86c8ef9e02b(arg0) {
|
|
503
497
|
let result;
|
|
504
498
|
try {
|
|
505
499
|
result = getObject(arg0) instanceof Window;
|
|
@@ -509,73 +503,73 @@ export function __wbg_instanceof_Window_23e677d2c6843922(arg0) {
|
|
|
509
503
|
const ret = result;
|
|
510
504
|
return ret;
|
|
511
505
|
}
|
|
512
|
-
export function
|
|
506
|
+
export function __wbg_iterator_013bc09ec998c2a7() {
|
|
513
507
|
const ret = Symbol.iterator;
|
|
514
508
|
return addHeapObject(ret);
|
|
515
509
|
}
|
|
516
|
-
export function
|
|
517
|
-
const ret = JsControllerError.__wrap(arg0);
|
|
518
|
-
return addHeapObject(ret);
|
|
519
|
-
}
|
|
520
|
-
export function __wbg_length_ea16607d7b61445b(arg0) {
|
|
510
|
+
export function __wbg_length_9f1775224cf1d815(arg0) {
|
|
521
511
|
const ret = getObject(arg0).length;
|
|
522
512
|
return ret;
|
|
523
513
|
}
|
|
524
|
-
export function
|
|
514
|
+
export function __wbg_location_73c89ca5bb53ddf3(arg0) {
|
|
525
515
|
const ret = getObject(arg0).location;
|
|
526
516
|
return addHeapObject(ret);
|
|
527
517
|
}
|
|
528
|
-
export function
|
|
518
|
+
export function __wbg_log_7e1aa9064a1dbdbd(arg0) {
|
|
529
519
|
console.log(getObject(arg0));
|
|
530
520
|
}
|
|
531
521
|
export function __wbg_msCrypto_bd5a034af96bcba6(arg0) {
|
|
532
522
|
const ret = getObject(arg0).msCrypto;
|
|
533
523
|
return addHeapObject(ret);
|
|
534
524
|
}
|
|
535
|
-
export function
|
|
525
|
+
export function __wbg_navigator_bc077756492232c5(arg0) {
|
|
536
526
|
const ret = getObject(arg0).navigator;
|
|
537
527
|
return addHeapObject(ret);
|
|
538
528
|
}
|
|
539
|
-
export function
|
|
540
|
-
const ret = new Headers();
|
|
541
|
-
return addHeapObject(ret);
|
|
542
|
-
}, arguments); }
|
|
543
|
-
export function __wbg_new_0_1dcafdf5e786e876() {
|
|
529
|
+
export function __wbg_new_0_4d657201ced14de3() {
|
|
544
530
|
const ret = new Date();
|
|
545
531
|
return addHeapObject(ret);
|
|
546
532
|
}
|
|
547
|
-
export function
|
|
533
|
+
export function __wbg_new_0c7403db6e782f19(arg0) {
|
|
548
534
|
const ret = new Uint8Array(getObject(arg0));
|
|
549
535
|
return addHeapObject(ret);
|
|
550
536
|
}
|
|
551
|
-
export function
|
|
552
|
-
const ret = new
|
|
537
|
+
export function __wbg_new_15a4889b4b90734d() { return handleError(function () {
|
|
538
|
+
const ret = new Headers();
|
|
539
|
+
return addHeapObject(ret);
|
|
540
|
+
}, arguments); }
|
|
541
|
+
export function __wbg_new_5e360d2ff7b9e1c3(arg0, arg1) {
|
|
542
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
553
543
|
return addHeapObject(ret);
|
|
554
544
|
}
|
|
555
|
-
export function
|
|
545
|
+
export function __wbg_new_682678e2f47e32bc() {
|
|
556
546
|
const ret = new Array();
|
|
557
547
|
return addHeapObject(ret);
|
|
558
548
|
}
|
|
559
|
-
export function
|
|
560
|
-
const ret = new
|
|
549
|
+
export function __wbg_new_8f7f8d552bd2ab6d() {
|
|
550
|
+
const ret = new Mutex();
|
|
561
551
|
return addHeapObject(ret);
|
|
562
552
|
}
|
|
563
|
-
export function
|
|
553
|
+
export function __wbg_new_98c22165a42231aa() { return handleError(function () {
|
|
564
554
|
const ret = new AbortController();
|
|
565
555
|
return addHeapObject(ret);
|
|
566
556
|
}, arguments); }
|
|
567
|
-
export function
|
|
557
|
+
export function __wbg_new_aa8d0fa9762c29bd() {
|
|
558
|
+
const ret = new Object();
|
|
559
|
+
return addHeapObject(ret);
|
|
560
|
+
}
|
|
561
|
+
export function __wbg_new_from_slice_b5ea43e23f6008c0(arg0, arg1) {
|
|
568
562
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
569
563
|
return addHeapObject(ret);
|
|
570
564
|
}
|
|
571
|
-
export function
|
|
565
|
+
export function __wbg_new_typed_323f37fd55ab048d(arg0, arg1) {
|
|
572
566
|
try {
|
|
573
567
|
var state0 = {a: arg0, b: arg1};
|
|
574
568
|
var cb0 = (arg0, arg1) => {
|
|
575
569
|
const a = state0.a;
|
|
576
570
|
state0.a = 0;
|
|
577
571
|
try {
|
|
578
|
-
return
|
|
572
|
+
return __wasm_bindgen_func_elem_5883(a, state0.b, arg0, arg1);
|
|
579
573
|
} finally {
|
|
580
574
|
state0.a = a;
|
|
581
575
|
}
|
|
@@ -583,26 +577,22 @@ export function __wbg_new_typed_aaaeaf29cf802876(arg0, arg1) {
|
|
|
583
577
|
const ret = new Promise(cb0);
|
|
584
578
|
return addHeapObject(ret);
|
|
585
579
|
} finally {
|
|
586
|
-
state0.a =
|
|
580
|
+
state0.a = 0;
|
|
587
581
|
}
|
|
588
582
|
}
|
|
589
|
-
export function
|
|
590
|
-
const ret = new Array();
|
|
591
|
-
return addHeapObject(ret);
|
|
592
|
-
}
|
|
593
|
-
export function __wbg_new_with_length_825018a1616e9e55(arg0) {
|
|
583
|
+
export function __wbg_new_with_length_8c854e41ea4dae9b(arg0) {
|
|
594
584
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
595
585
|
return addHeapObject(ret);
|
|
596
586
|
}
|
|
597
|
-
export function
|
|
587
|
+
export function __wbg_new_with_str_and_init_897be1708e42f39d() { return handleError(function (arg0, arg1, arg2) {
|
|
598
588
|
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
599
589
|
return addHeapObject(ret);
|
|
600
590
|
}, arguments); }
|
|
601
|
-
export function
|
|
591
|
+
export function __wbg_next_0340c4ae324393c3() { return handleError(function (arg0) {
|
|
602
592
|
const ret = getObject(arg0).next();
|
|
603
593
|
return addHeapObject(ret);
|
|
604
594
|
}, arguments); }
|
|
605
|
-
export function
|
|
595
|
+
export function __wbg_next_7646edaa39458ef7(arg0) {
|
|
606
596
|
const ret = getObject(arg0).next;
|
|
607
597
|
return addHeapObject(ret);
|
|
608
598
|
}
|
|
@@ -614,14 +604,14 @@ export function __wbg_obtain_513d6156ff4b4fb7(arg0) {
|
|
|
614
604
|
const ret = getObject(arg0).obtain();
|
|
615
605
|
return addHeapObject(ret);
|
|
616
606
|
}
|
|
617
|
-
export function
|
|
607
|
+
export function __wbg_origin_1f038926109a2a37() { return handleError(function (arg0, arg1) {
|
|
618
608
|
const ret = getObject(arg1).origin;
|
|
619
609
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
620
610
|
const len1 = WASM_VECTOR_LEN;
|
|
621
611
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
622
612
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
623
613
|
}, arguments); }
|
|
624
|
-
export function
|
|
614
|
+
export function __wbg_parse_29ba05b712596e33(arg0, arg1) {
|
|
625
615
|
let deferred0_0;
|
|
626
616
|
let deferred0_1;
|
|
627
617
|
try {
|
|
@@ -637,20 +627,20 @@ export function __wbg_process_44c7a14e11e9f69e(arg0) {
|
|
|
637
627
|
const ret = getObject(arg0).process;
|
|
638
628
|
return addHeapObject(ret);
|
|
639
629
|
}
|
|
640
|
-
export function
|
|
630
|
+
export function __wbg_prototypesetcall_a6b02eb00b0f4ce2(arg0, arg1, arg2) {
|
|
641
631
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
642
632
|
}
|
|
643
|
-
export function
|
|
633
|
+
export function __wbg_push_471a5b068a5295f6(arg0, arg1) {
|
|
644
634
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
645
635
|
return ret;
|
|
646
636
|
}
|
|
647
|
-
export function
|
|
637
|
+
export function __wbg_queueMicrotask_5d15a957e6aa920e(arg0) {
|
|
638
|
+
queueMicrotask(getObject(arg0));
|
|
639
|
+
}
|
|
640
|
+
export function __wbg_queueMicrotask_f8819e5ffc402f36(arg0) {
|
|
648
641
|
const ret = getObject(arg0).queueMicrotask;
|
|
649
642
|
return addHeapObject(ret);
|
|
650
643
|
}
|
|
651
|
-
export function __wbg_queueMicrotask_a082d78ce798393e(arg0) {
|
|
652
|
-
queueMicrotask(getObject(arg0));
|
|
653
|
-
}
|
|
654
644
|
export function __wbg_randomFillSync_6c25eac9869eb53c() { return handleError(function (arg0, arg1) {
|
|
655
645
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
656
646
|
}, arguments); }
|
|
@@ -658,7 +648,7 @@ export function __wbg_require_b4edbdcf3e2a1ef0() { return handleError(function (
|
|
|
658
648
|
const ret = module.require;
|
|
659
649
|
return addHeapObject(ret);
|
|
660
650
|
}, arguments); }
|
|
661
|
-
export function
|
|
651
|
+
export function __wbg_resolve_e6c466bc1052f16c(arg0) {
|
|
662
652
|
const ret = Promise.resolve(getObject(arg0));
|
|
663
653
|
return addHeapObject(ret);
|
|
664
654
|
}
|
|
@@ -666,38 +656,38 @@ export function __wbg_setTimeout_f757f00851f76c42(arg0, arg1) {
|
|
|
666
656
|
const ret = setTimeout(getObject(arg0), arg1);
|
|
667
657
|
return addHeapObject(ret);
|
|
668
658
|
}
|
|
669
|
-
export function
|
|
659
|
+
export function __wbg_set_022bee52d0b05b19() { return handleError(function (arg0, arg1, arg2) {
|
|
660
|
+
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
661
|
+
return ret;
|
|
662
|
+
}, arguments); }
|
|
663
|
+
export function __wbg_set_3bf1de9fab0cd644(arg0, arg1, arg2) {
|
|
670
664
|
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
671
665
|
}
|
|
672
666
|
export function __wbg_set_6be42768c690e380(arg0, arg1, arg2) {
|
|
673
667
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
674
668
|
}
|
|
675
|
-
export function
|
|
676
|
-
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
677
|
-
return ret;
|
|
678
|
-
}, arguments); }
|
|
679
|
-
export function __wbg_set_body_a3d856b097dfda04(arg0, arg1) {
|
|
669
|
+
export function __wbg_set_body_be11680f34217f75(arg0, arg1) {
|
|
680
670
|
getObject(arg0).body = getObject(arg1);
|
|
681
671
|
}
|
|
682
|
-
export function
|
|
672
|
+
export function __wbg_set_cache_968edea422613d1b(arg0, arg1) {
|
|
683
673
|
getObject(arg0).cache = __wbindgen_enum_RequestCache[arg1];
|
|
684
674
|
}
|
|
685
|
-
export function
|
|
675
|
+
export function __wbg_set_credentials_6577be90e0e85eb6(arg0, arg1) {
|
|
686
676
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
687
677
|
}
|
|
688
678
|
export function __wbg_set_d1cb61e9f39c870f(arg0, arg1, arg2) {
|
|
689
679
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
690
680
|
}
|
|
691
|
-
export function
|
|
681
|
+
export function __wbg_set_headers_50fc01786240a440(arg0, arg1) {
|
|
692
682
|
getObject(arg0).headers = getObject(arg1);
|
|
693
683
|
}
|
|
694
|
-
export function
|
|
684
|
+
export function __wbg_set_method_c9f1f985f6b6c427(arg0, arg1, arg2) {
|
|
695
685
|
getObject(arg0).method = getStringFromWasm0(arg1, arg2);
|
|
696
686
|
}
|
|
697
|
-
export function
|
|
687
|
+
export function __wbg_set_mode_5e08d503428c06b9(arg0, arg1) {
|
|
698
688
|
getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
|
|
699
689
|
}
|
|
700
|
-
export function
|
|
690
|
+
export function __wbg_set_signal_1d4e73c2305a0e7c(arg0, arg1) {
|
|
701
691
|
getObject(arg0).signal = getObject(arg1);
|
|
702
692
|
}
|
|
703
693
|
export function __wbg_signMessage_a4d5bd6a6a624a40() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
@@ -717,65 +707,65 @@ export function __wbg_signMessage_a4d5bd6a6a624a40() { return handleError(functi
|
|
|
717
707
|
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
718
708
|
}
|
|
719
709
|
}, arguments); }
|
|
720
|
-
export function
|
|
710
|
+
export function __wbg_signal_fdc54643b47bf85b(arg0) {
|
|
721
711
|
const ret = getObject(arg0).signal;
|
|
722
712
|
return addHeapObject(ret);
|
|
723
713
|
}
|
|
724
|
-
export function
|
|
714
|
+
export function __wbg_static_accessor_GLOBAL_8cfadc87a297ca02() {
|
|
725
715
|
const ret = typeof global === 'undefined' ? null : global;
|
|
726
716
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
727
717
|
}
|
|
728
|
-
export function
|
|
718
|
+
export function __wbg_static_accessor_GLOBAL_THIS_602256ae5c8f42cf() {
|
|
729
719
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
730
720
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
731
721
|
}
|
|
732
|
-
export function
|
|
722
|
+
export function __wbg_static_accessor_SELF_e445c1c7484aecc3() {
|
|
733
723
|
const ret = typeof self === 'undefined' ? null : self;
|
|
734
724
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
735
725
|
}
|
|
736
|
-
export function
|
|
726
|
+
export function __wbg_static_accessor_WINDOW_f20e8576ef1e0f17() {
|
|
737
727
|
const ret = typeof window === 'undefined' ? null : window;
|
|
738
728
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
739
729
|
}
|
|
740
|
-
export function
|
|
730
|
+
export function __wbg_status_43e0d2f15b22d69f(arg0) {
|
|
741
731
|
const ret = getObject(arg0).status;
|
|
742
732
|
return ret;
|
|
743
733
|
}
|
|
744
|
-
export function
|
|
734
|
+
export function __wbg_stringify_057c4027271f8007(arg0, arg1) {
|
|
745
735
|
const ret = JSON.stringify(getObject(arg1));
|
|
746
736
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
747
737
|
var len1 = WASM_VECTOR_LEN;
|
|
748
738
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
749
739
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
750
740
|
}
|
|
751
|
-
export function
|
|
741
|
+
export function __wbg_stringify_91082ed7a5a5769e() { return handleError(function (arg0) {
|
|
752
742
|
const ret = JSON.stringify(getObject(arg0));
|
|
753
743
|
return addHeapObject(ret);
|
|
754
744
|
}, arguments); }
|
|
755
|
-
export function
|
|
745
|
+
export function __wbg_subarray_f8ca46a25b1f5e0d(arg0, arg1, arg2) {
|
|
756
746
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
757
747
|
return addHeapObject(ret);
|
|
758
748
|
}
|
|
759
|
-
export function
|
|
749
|
+
export function __wbg_text_595ef75535aa25c1() { return handleError(function (arg0) {
|
|
760
750
|
const ret = getObject(arg0).text();
|
|
761
751
|
return addHeapObject(ret);
|
|
762
752
|
}, arguments); }
|
|
763
|
-
export function
|
|
764
|
-
const ret = getObject(arg0).then(getObject(arg1));
|
|
753
|
+
export function __wbg_then_792e0c862b060889(arg0, arg1, arg2) {
|
|
754
|
+
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
765
755
|
return addHeapObject(ret);
|
|
766
756
|
}
|
|
767
|
-
export function
|
|
768
|
-
const ret = getObject(arg0).then(getObject(arg1)
|
|
757
|
+
export function __wbg_then_8e16ee11f05e4827(arg0, arg1) {
|
|
758
|
+
const ret = getObject(arg0).then(getObject(arg1));
|
|
769
759
|
return addHeapObject(ret);
|
|
770
760
|
}
|
|
771
|
-
export function
|
|
761
|
+
export function __wbg_url_2bf741820e6563a0(arg0, arg1) {
|
|
772
762
|
const ret = getObject(arg1).url;
|
|
773
763
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
774
764
|
const len1 = WASM_VECTOR_LEN;
|
|
775
765
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
776
766
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
777
767
|
}
|
|
778
|
-
export function
|
|
768
|
+
export function __wbg_value_ee3a06f4579184fa(arg0) {
|
|
779
769
|
const ret = getObject(arg0).value;
|
|
780
770
|
return addHeapObject(ret);
|
|
781
771
|
}
|
|
@@ -784,18 +774,18 @@ export function __wbg_versions_276b2795b1c6a219(arg0) {
|
|
|
784
774
|
return addHeapObject(ret);
|
|
785
775
|
}
|
|
786
776
|
export function __wbindgen_cast_0000000000000001(arg0, arg1) {
|
|
787
|
-
// Cast intrinsic for `Closure(Closure {
|
|
788
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
777
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 625, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
778
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_5873);
|
|
789
779
|
return addHeapObject(ret);
|
|
790
780
|
}
|
|
791
781
|
export function __wbindgen_cast_0000000000000002(arg0, arg1) {
|
|
792
|
-
// Cast intrinsic for `Closure(Closure {
|
|
793
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
782
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Function")], shim_idx: 4, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
783
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1104);
|
|
794
784
|
return addHeapObject(ret);
|
|
795
785
|
}
|
|
796
786
|
export function __wbindgen_cast_0000000000000003(arg0, arg1) {
|
|
797
|
-
// Cast intrinsic for `Closure(Closure {
|
|
798
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
787
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 483, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
788
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3972);
|
|
799
789
|
return addHeapObject(ret);
|
|
800
790
|
}
|
|
801
791
|
export function __wbindgen_cast_0000000000000004(arg0) {
|
|
@@ -820,14 +810,14 @@ export function __wbindgen_object_clone_ref(arg0) {
|
|
|
820
810
|
export function __wbindgen_object_drop_ref(arg0) {
|
|
821
811
|
takeObject(arg0);
|
|
822
812
|
}
|
|
823
|
-
function
|
|
824
|
-
wasm.
|
|
813
|
+
function __wasm_bindgen_func_elem_3972(arg0, arg1) {
|
|
814
|
+
wasm.__wasm_bindgen_func_elem_3972(arg0, arg1);
|
|
825
815
|
}
|
|
826
816
|
|
|
827
|
-
function
|
|
817
|
+
function __wasm_bindgen_func_elem_5873(arg0, arg1, arg2) {
|
|
828
818
|
try {
|
|
829
819
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
830
|
-
wasm.
|
|
820
|
+
wasm.__wasm_bindgen_func_elem_5873(retptr, arg0, arg1, addHeapObject(arg2));
|
|
831
821
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
832
822
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
833
823
|
if (r1) {
|
|
@@ -838,10 +828,10 @@ function __wasm_bindgen_func_elem_1104(arg0, arg1, arg2) {
|
|
|
838
828
|
}
|
|
839
829
|
}
|
|
840
830
|
|
|
841
|
-
function
|
|
831
|
+
function __wasm_bindgen_func_elem_1104(arg0, arg1, arg2) {
|
|
842
832
|
try {
|
|
843
833
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
844
|
-
wasm.
|
|
834
|
+
wasm.__wasm_bindgen_func_elem_1104(retptr, arg0, arg1, addHeapObject(arg2));
|
|
845
835
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
846
836
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
847
837
|
if (r1) {
|
|
@@ -852,8 +842,8 @@ function __wasm_bindgen_func_elem_5901(arg0, arg1, arg2) {
|
|
|
852
842
|
}
|
|
853
843
|
}
|
|
854
844
|
|
|
855
|
-
function
|
|
856
|
-
wasm.
|
|
845
|
+
function __wasm_bindgen_func_elem_5883(arg0, arg1, arg2, arg3) {
|
|
846
|
+
wasm.__wasm_bindgen_func_elem_5883(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
857
847
|
}
|
|
858
848
|
|
|
859
849
|
|
|
@@ -882,7 +872,7 @@ function addHeapObject(obj) {
|
|
|
882
872
|
|
|
883
873
|
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
884
874
|
? { register: () => {}, unregister: () => {} }
|
|
885
|
-
: new FinalizationRegistry(state =>
|
|
875
|
+
: new FinalizationRegistry(state => wasm.__wbindgen_export5(state.a, state.b));
|
|
886
876
|
|
|
887
877
|
function debugString(val) {
|
|
888
878
|
// primitive types
|
|
@@ -1000,8 +990,8 @@ function isLikeNone(x) {
|
|
|
1000
990
|
return x === undefined || x === null;
|
|
1001
991
|
}
|
|
1002
992
|
|
|
1003
|
-
function makeMutClosure(arg0, arg1,
|
|
1004
|
-
const state = { a: arg0, b: arg1, cnt: 1
|
|
993
|
+
function makeMutClosure(arg0, arg1, f) {
|
|
994
|
+
const state = { a: arg0, b: arg1, cnt: 1 };
|
|
1005
995
|
const real = (...args) => {
|
|
1006
996
|
|
|
1007
997
|
// First up with a closure we increment the internal reference
|
|
@@ -1019,7 +1009,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
1019
1009
|
};
|
|
1020
1010
|
real._wbg_cb_unref = () => {
|
|
1021
1011
|
if (--state.cnt === 0) {
|
|
1022
|
-
|
|
1012
|
+
wasm.__wbindgen_export5(state.a, state.b);
|
|
1023
1013
|
state.a = 0;
|
|
1024
1014
|
CLOSURE_DTORS.unregister(state);
|
|
1025
1015
|
}
|
|
Binary file
|