@wireapp/core-crypto 9.0.0 → 9.0.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
CHANGED
Binary file
|
@@ -244,12 +244,12 @@ export const __wbg_get_decryptedmessage_senderClientId: (a: number) => number;
|
|
244
244
|
export const __wbg_get_decryptedmessage_identity: (a: number) => number;
|
245
245
|
export const __wbg_get_decryptedmessage_commitDelay: (a: number) => [number, bigint];
|
246
246
|
export const __wbg_get_decryptedmessage_message: (a: number) => [number, number];
|
247
|
-
export const
|
248
|
-
export const externalsenderkey_new: (a: number, b: number) => number;
|
249
|
-
export const conversationid_new: (a: number, b: number) => number;
|
247
|
+
export const keypackage_new: (a: number, b: number) => number;
|
250
248
|
export const groupinfo_new: (a: number, b: number) => number;
|
249
|
+
export const conversationid_new: (a: number, b: number) => number;
|
250
|
+
export const welcome_new: (a: number, b: number) => number;
|
251
251
|
export const secretkey_new: (a: number, b: number) => number;
|
252
|
-
export const
|
252
|
+
export const externalsenderkey_new: (a: number, b: number) => number;
|
253
253
|
export const __wbg_proteusautoprekeybundle_free: (a: number, b: number) => void;
|
254
254
|
export const __wbg_welcome_free: (a: number, b: number) => void;
|
255
255
|
export const __wbg_mlstransportdata_free: (a: number, b: number) => void;
|
@@ -265,11 +265,11 @@ export const __wbindgen_exn_store: (a: number) => void;
|
|
265
265
|
export const __externref_table_alloc: () => number;
|
266
266
|
export const __wbindgen_export_4: WebAssembly.Table;
|
267
267
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
268
|
-
export const __wbindgen_export_6: WebAssembly.Table;
|
269
268
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
269
|
+
export const __wbindgen_export_7: WebAssembly.Table;
|
270
270
|
export const __externref_table_dealloc: (a: number) => void;
|
271
|
-
export const
|
272
|
-
export const
|
273
|
-
export const
|
274
|
-
export const
|
271
|
+
export const closure2896_externref_shim: (a: number, b: number, c: any) => void;
|
272
|
+
export const closure2586_externref_shim: (a: number, b: number, c: any) => void;
|
273
|
+
export const closure1019_externref_shim: (a: number, b: number, c: any) => void;
|
274
|
+
export const closure2998_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
275
275
|
export const __wbindgen_start: () => void;
|
package/src/corecrypto.d.ts
CHANGED
@@ -14,7 +14,7 @@ export function ciphersuiteDefault(): Ciphersuite;
|
|
14
14
|
* Updates the key of the CoreCrypto database.
|
15
15
|
* To be used only once, when moving from CoreCrypto <= 5.x to CoreCrypto 6.x.
|
16
16
|
*/
|
17
|
-
export function migrateDatabaseKeyTypeToBytes(
|
17
|
+
export function migrateDatabaseKeyTypeToBytes(path: string, old_key: string, new_key: DatabaseKey): Promise<void>;
|
18
18
|
/**
|
19
19
|
* Updates the key of the CoreCrypto database.
|
20
20
|
*/
|
package/src/corecrypto.js
CHANGED
@@ -179,30 +179,6 @@ function getArrayU8FromWasm0(ptr, len) {
|
|
179
179
|
ptr = ptr >>> 0;
|
180
180
|
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
181
181
|
}
|
182
|
-
var CLOSURE_DTORS = typeof FinalizationRegistry === "undefined" ? { register: () => {}, unregister: () => {} } : new FinalizationRegistry((state) => {
|
183
|
-
wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b);
|
184
|
-
});
|
185
|
-
function makeMutClosure(arg0, arg1, dtor, f) {
|
186
|
-
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
187
|
-
const real = (...args) => {
|
188
|
-
state.cnt++;
|
189
|
-
const a = state.a;
|
190
|
-
state.a = 0;
|
191
|
-
try {
|
192
|
-
return f(a, state.b, ...args);
|
193
|
-
} finally {
|
194
|
-
if (--state.cnt === 0) {
|
195
|
-
wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
|
196
|
-
CLOSURE_DTORS.unregister(state);
|
197
|
-
} else {
|
198
|
-
state.a = a;
|
199
|
-
}
|
200
|
-
}
|
201
|
-
};
|
202
|
-
real.original = state;
|
203
|
-
CLOSURE_DTORS.register(real, state, state);
|
204
|
-
return real;
|
205
|
-
}
|
206
182
|
function debugString(val) {
|
207
183
|
const type = typeof val;
|
208
184
|
if (type == "number" || type == "boolean" || val == null) {
|
@@ -259,6 +235,40 @@ ${val.stack}`;
|
|
259
235
|
}
|
260
236
|
return className;
|
261
237
|
}
|
238
|
+
function getArrayJsValueFromWasm0(ptr, len) {
|
239
|
+
ptr = ptr >>> 0;
|
240
|
+
const mem = getDataViewMemory0();
|
241
|
+
const result = [];
|
242
|
+
for (let i = ptr;i < ptr + 4 * len; i += 4) {
|
243
|
+
result.push(wasm.__wbindgen_export_4.get(mem.getUint32(i, true)));
|
244
|
+
}
|
245
|
+
wasm.__externref_drop_slice(ptr, len);
|
246
|
+
return result;
|
247
|
+
}
|
248
|
+
var CLOSURE_DTORS = typeof FinalizationRegistry === "undefined" ? { register: () => {}, unregister: () => {} } : new FinalizationRegistry((state) => {
|
249
|
+
wasm.__wbindgen_export_7.get(state.dtor)(state.a, state.b);
|
250
|
+
});
|
251
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
252
|
+
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
253
|
+
const real = (...args) => {
|
254
|
+
state.cnt++;
|
255
|
+
const a = state.a;
|
256
|
+
state.a = 0;
|
257
|
+
try {
|
258
|
+
return f(a, state.b, ...args);
|
259
|
+
} finally {
|
260
|
+
if (--state.cnt === 0) {
|
261
|
+
wasm.__wbindgen_export_7.get(state.dtor)(a, state.b);
|
262
|
+
CLOSURE_DTORS.unregister(state);
|
263
|
+
} else {
|
264
|
+
state.a = a;
|
265
|
+
}
|
266
|
+
}
|
267
|
+
};
|
268
|
+
real.original = state;
|
269
|
+
CLOSURE_DTORS.register(real, state, state);
|
270
|
+
return real;
|
271
|
+
}
|
262
272
|
function _assertClass(instance, klass) {
|
263
273
|
if (!(instance instanceof klass)) {
|
264
274
|
throw new Error(`expected instance of ${klass.name}`);
|
@@ -270,16 +280,6 @@ function passArray8ToWasm0(arg, malloc) {
|
|
270
280
|
WASM_VECTOR_LEN = arg.length;
|
271
281
|
return ptr;
|
272
282
|
}
|
273
|
-
function getArrayJsValueFromWasm0(ptr, len) {
|
274
|
-
ptr = ptr >>> 0;
|
275
|
-
const mem = getDataViewMemory0();
|
276
|
-
const result = [];
|
277
|
-
for (let i = ptr;i < ptr + 4 * len; i += 4) {
|
278
|
-
result.push(wasm.__wbindgen_export_4.get(mem.getUint32(i, true)));
|
279
|
-
}
|
280
|
-
wasm.__externref_drop_slice(ptr, len);
|
281
|
-
return result;
|
282
|
-
}
|
283
283
|
function takeFromExternrefTable0(idx) {
|
284
284
|
const value = wasm.__wbindgen_export_4.get(idx);
|
285
285
|
wasm.__externref_table_dealloc(idx);
|
@@ -305,8 +305,8 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
305
305
|
WASM_VECTOR_LEN = array.length;
|
306
306
|
return ptr;
|
307
307
|
}
|
308
|
-
function migrateDatabaseKeyTypeToBytes(
|
309
|
-
const ptr0 = passStringToWasm0(
|
308
|
+
function migrateDatabaseKeyTypeToBytes(path, old_key, new_key) {
|
309
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
310
310
|
const len0 = WASM_VECTOR_LEN;
|
311
311
|
const ptr1 = passStringToWasm0(old_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
312
312
|
const len1 = WASM_VECTOR_LEN;
|
@@ -338,17 +338,17 @@ function build_metadata() {
|
|
338
338
|
const ret = wasm.build_metadata();
|
339
339
|
return BuildMetadata.__wrap(ret);
|
340
340
|
}
|
341
|
-
function
|
342
|
-
wasm.
|
341
|
+
function __wbg_adapter_16(arg0, arg1, arg2) {
|
342
|
+
wasm.closure2896_externref_shim(arg0, arg1, arg2);
|
343
343
|
}
|
344
|
-
function
|
345
|
-
wasm.
|
344
|
+
function __wbg_adapter_23(arg0, arg1, arg2) {
|
345
|
+
wasm.closure2586_externref_shim(arg0, arg1, arg2);
|
346
346
|
}
|
347
|
-
function
|
348
|
-
wasm.
|
347
|
+
function __wbg_adapter_30(arg0, arg1, arg2) {
|
348
|
+
wasm.closure1019_externref_shim(arg0, arg1, arg2);
|
349
349
|
}
|
350
|
-
function
|
351
|
-
wasm.
|
350
|
+
function __wbg_adapter_503(arg0, arg1, arg2, arg3) {
|
351
|
+
wasm.closure2998_externref_shim(arg0, arg1, arg2, arg3);
|
352
352
|
}
|
353
353
|
var Ciphersuite = Object.freeze({
|
354
354
|
MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519: 1,
|
@@ -2558,10 +2558,14 @@ async function __wbg_load(module, imports) {
|
|
2558
2558
|
function __wbg_get_imports() {
|
2559
2559
|
const imports = {};
|
2560
2560
|
imports.wbg = {};
|
2561
|
-
imports.wbg.
|
2561
|
+
imports.wbg.__wbg_Error_1f3748b298f99708 = function(arg0, arg1) {
|
2562
2562
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
2563
2563
|
return ret;
|
2564
2564
|
};
|
2565
|
+
imports.wbg.__wbg_Number_577a493fc95ea223 = function(arg0) {
|
2566
|
+
const ret = Number(arg0);
|
2567
|
+
return ret;
|
2568
|
+
};
|
2565
2569
|
imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
2566
2570
|
const ret = String(arg1);
|
2567
2571
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
@@ -2573,35 +2577,31 @@ function __wbg_get_imports() {
|
|
2573
2577
|
const ret = AcmeDirectory.__wrap(arg0);
|
2574
2578
|
return ret;
|
2575
2579
|
};
|
2576
|
-
imports.wbg.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
|
2577
|
-
const ret = arg0.buffer;
|
2578
|
-
return ret;
|
2579
|
-
};
|
2580
2580
|
imports.wbg.__wbg_buffereddecryptedmessage_new = function(arg0) {
|
2581
2581
|
const ret = BufferedDecryptedMessage.__wrap(arg0);
|
2582
2582
|
return ret;
|
2583
2583
|
};
|
2584
|
-
imports.wbg.
|
2585
|
-
return handleError(function(arg0, arg1, arg2, arg3) {
|
2586
|
-
const ret = arg0.call(arg1, arg2, arg3);
|
2584
|
+
imports.wbg.__wbg_call_103c29efd2d6641f = function() {
|
2585
|
+
return handleError(function(arg0, arg1, arg2, arg3, arg4) {
|
2586
|
+
const ret = arg0.call(arg1, arg2, arg3, arg4);
|
2587
2587
|
return ret;
|
2588
2588
|
}, arguments);
|
2589
2589
|
};
|
2590
|
-
imports.wbg.
|
2591
|
-
return handleError(function(arg0, arg1
|
2592
|
-
const ret = arg0.call(arg1
|
2590
|
+
imports.wbg.__wbg_call_2f8d426a20a307fe = function() {
|
2591
|
+
return handleError(function(arg0, arg1) {
|
2592
|
+
const ret = arg0.call(arg1);
|
2593
2593
|
return ret;
|
2594
2594
|
}, arguments);
|
2595
2595
|
};
|
2596
|
-
imports.wbg.
|
2597
|
-
return handleError(function(arg0, arg1, arg2) {
|
2598
|
-
const ret = arg0.call(arg1, arg2);
|
2596
|
+
imports.wbg.__wbg_call_d7c6e5dcdab87b72 = function() {
|
2597
|
+
return handleError(function(arg0, arg1, arg2, arg3) {
|
2598
|
+
const ret = arg0.call(arg1, arg2, arg3);
|
2599
2599
|
return ret;
|
2600
2600
|
}, arguments);
|
2601
2601
|
};
|
2602
|
-
imports.wbg.
|
2603
|
-
return handleError(function(arg0, arg1) {
|
2604
|
-
const ret = arg0.call(arg1);
|
2602
|
+
imports.wbg.__wbg_call_f53f0647ceb9c567 = function() {
|
2603
|
+
return handleError(function(arg0, arg1, arg2) {
|
2604
|
+
const ret = arg0.call(arg1, arg2);
|
2605
2605
|
return ret;
|
2606
2606
|
}, arguments);
|
2607
2607
|
};
|
@@ -2613,7 +2613,7 @@ function __wbg_get_imports() {
|
|
2613
2613
|
const ret = ClientId.__unwrap(arg0);
|
2614
2614
|
return ret;
|
2615
2615
|
};
|
2616
|
-
imports.wbg.
|
2616
|
+
imports.wbg.__wbg_close_5c0c68ce107ac21e = function(arg0) {
|
2617
2617
|
arg0.close();
|
2618
2618
|
};
|
2619
2619
|
imports.wbg.__wbg_commitbundle_new = function(arg0) {
|
@@ -2628,31 +2628,31 @@ function __wbg_get_imports() {
|
|
2628
2628
|
const ret = CoreCrypto.__wrap(arg0);
|
2629
2629
|
return ret;
|
2630
2630
|
};
|
2631
|
-
imports.wbg.
|
2632
|
-
return handleError(function(arg0, arg1) {
|
2633
|
-
const ret = arg0.count(arg1);
|
2634
|
-
return ret;
|
2635
|
-
}, arguments);
|
2636
|
-
};
|
2637
|
-
imports.wbg.__wbg_count_2941fdbb8154c02d = function() {
|
2631
|
+
imports.wbg.__wbg_count_9a21aa97cae2b4d6 = function() {
|
2638
2632
|
return handleError(function(arg0) {
|
2639
2633
|
const ret = arg0.count();
|
2640
2634
|
return ret;
|
2641
2635
|
}, arguments);
|
2642
2636
|
};
|
2643
|
-
imports.wbg.
|
2644
|
-
return handleError(function(arg0, arg1
|
2645
|
-
const ret = arg0.
|
2637
|
+
imports.wbg.__wbg_count_9d30285250b9065f = function() {
|
2638
|
+
return handleError(function(arg0, arg1) {
|
2639
|
+
const ret = arg0.count(arg1);
|
2646
2640
|
return ret;
|
2647
2641
|
}, arguments);
|
2648
2642
|
};
|
2649
|
-
imports.wbg.
|
2643
|
+
imports.wbg.__wbg_createIndex_35a1f70c8314a7de = function() {
|
2650
2644
|
return handleError(function(arg0, arg1, arg2, arg3, arg4) {
|
2651
2645
|
const ret = arg0.createIndex(getStringFromWasm0(arg1, arg2), arg3, arg4);
|
2652
2646
|
return ret;
|
2653
2647
|
}, arguments);
|
2654
2648
|
};
|
2655
|
-
imports.wbg.
|
2649
|
+
imports.wbg.__wbg_createIndex_6ef667be4f40898c = function() {
|
2650
|
+
return handleError(function(arg0, arg1, arg2, arg3) {
|
2651
|
+
const ret = arg0.createIndex(getStringFromWasm0(arg1, arg2), arg3);
|
2652
|
+
return ret;
|
2653
|
+
}, arguments);
|
2654
|
+
};
|
2655
|
+
imports.wbg.__wbg_createObjectStore_7e79e7f6de6b5f4a = function() {
|
2656
2656
|
return handleError(function(arg0, arg1, arg2, arg3) {
|
2657
2657
|
const ret = arg0.createObjectStore(getStringFromWasm0(arg1, arg2), arg3);
|
2658
2658
|
return ret;
|
@@ -2670,39 +2670,32 @@ function __wbg_get_imports() {
|
|
2670
2670
|
const ret = DecryptedMessage.__wrap(arg0);
|
2671
2671
|
return ret;
|
2672
2672
|
};
|
2673
|
-
imports.wbg.
|
2673
|
+
imports.wbg.__wbg_deleteIndex_315fda5b473605cf = function() {
|
2674
2674
|
return handleError(function(arg0, arg1, arg2) {
|
2675
2675
|
arg0.deleteIndex(getStringFromWasm0(arg1, arg2));
|
2676
2676
|
}, arguments);
|
2677
2677
|
};
|
2678
|
-
imports.wbg.
|
2678
|
+
imports.wbg.__wbg_deleteObjectStore_8a252d9a253df02b = function() {
|
2679
2679
|
return handleError(function(arg0, arg1, arg2) {
|
2680
2680
|
arg0.deleteObjectStore(getStringFromWasm0(arg1, arg2));
|
2681
2681
|
}, arguments);
|
2682
2682
|
};
|
2683
|
-
imports.wbg.
|
2683
|
+
imports.wbg.__wbg_delete_570e5d01c731e067 = function() {
|
2684
2684
|
return handleError(function(arg0, arg1) {
|
2685
2685
|
const ret = arg0.delete(arg1);
|
2686
2686
|
return ret;
|
2687
2687
|
}, arguments);
|
2688
2688
|
};
|
2689
|
-
imports.wbg.
|
2689
|
+
imports.wbg.__wbg_done_4a7743b6f942c9f3 = function(arg0) {
|
2690
2690
|
const ret = arg0.done;
|
2691
2691
|
return ret;
|
2692
2692
|
};
|
2693
|
-
imports.wbg.
|
2694
|
-
console.error(arg0, arg1);
|
2695
|
-
};
|
2696
|
-
imports.wbg.__wbg_error_4e978abc9692c0c5 = function() {
|
2693
|
+
imports.wbg.__wbg_error_443a583c581ba303 = function() {
|
2697
2694
|
return handleError(function(arg0) {
|
2698
2695
|
const ret = arg0.error;
|
2699
2696
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
2700
2697
|
}, arguments);
|
2701
2698
|
};
|
2702
|
-
imports.wbg.__wbg_error_56807b09713a4eb3 = function(arg0) {
|
2703
|
-
const ret = arg0.error;
|
2704
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
2705
|
-
};
|
2706
2699
|
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
2707
2700
|
let deferred0_0;
|
2708
2701
|
let deferred0_1;
|
@@ -2714,7 +2707,14 @@ function __wbg_get_imports() {
|
|
2714
2707
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
2715
2708
|
}
|
2716
2709
|
};
|
2717
|
-
imports.wbg.
|
2710
|
+
imports.wbg.__wbg_error_93e9c80f4a42a374 = function(arg0, arg1) {
|
2711
|
+
console.error(arg0, arg1);
|
2712
|
+
};
|
2713
|
+
imports.wbg.__wbg_error_cbb036e477c7f898 = function(arg0) {
|
2714
|
+
const ret = arg0.error;
|
2715
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
2716
|
+
};
|
2717
|
+
imports.wbg.__wbg_execute_35701d215506c919 = function() {
|
2718
2718
|
return handleError(function(arg0, arg1) {
|
2719
2719
|
const ret = arg0.execute(CoreCryptoContext.__wrap(arg1));
|
2720
2720
|
return ret;
|
@@ -2732,24 +2732,24 @@ function __wbg_get_imports() {
|
|
2732
2732
|
const ret = FfiWireE2EIdentity.__wrap(arg0);
|
2733
2733
|
return ret;
|
2734
2734
|
};
|
2735
|
-
imports.wbg.
|
2735
|
+
imports.wbg.__wbg_getAll_2a18c462536d7d5b = function() {
|
2736
|
+
return handleError(function(arg0) {
|
2737
|
+
const ret = arg0.getAll();
|
2738
|
+
return ret;
|
2739
|
+
}, arguments);
|
2740
|
+
};
|
2741
|
+
imports.wbg.__wbg_getAll_2e19a7bbbe1ec181 = function() {
|
2736
2742
|
return handleError(function(arg0, arg1, arg2) {
|
2737
2743
|
const ret = arg0.getAll(arg1, arg2 >>> 0);
|
2738
2744
|
return ret;
|
2739
2745
|
}, arguments);
|
2740
2746
|
};
|
2741
|
-
imports.wbg.
|
2747
|
+
imports.wbg.__wbg_getAll_7a5b8dd1d868e440 = function() {
|
2742
2748
|
return handleError(function(arg0, arg1) {
|
2743
2749
|
const ret = arg0.getAll(arg1);
|
2744
2750
|
return ret;
|
2745
2751
|
}, arguments);
|
2746
2752
|
};
|
2747
|
-
imports.wbg.__wbg_getAll_f7942d960ff9f7b5 = function() {
|
2748
|
-
return handleError(function(arg0) {
|
2749
|
-
const ret = arg0.getAll();
|
2750
|
-
return ret;
|
2751
|
-
}, arguments);
|
2752
|
-
};
|
2753
2753
|
imports.wbg.__wbg_getRandomValues_38a1ff1ea09f6cc7 = function() {
|
2754
2754
|
return handleError(function(arg0, arg1) {
|
2755
2755
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
@@ -2760,33 +2760,33 @@ function __wbg_get_imports() {
|
|
2760
2760
|
arg0.getRandomValues(arg1);
|
2761
2761
|
}, arguments);
|
2762
2762
|
};
|
2763
|
-
imports.wbg.
|
2763
|
+
imports.wbg.__wbg_getTime_5b1dd03bb6d4b784 = function(arg0) {
|
2764
2764
|
const ret = arg0.getTime();
|
2765
2765
|
return ret;
|
2766
2766
|
};
|
2767
|
-
imports.wbg.
|
2767
|
+
imports.wbg.__wbg_get_27b4bcbec57323ca = function() {
|
2768
2768
|
return handleError(function(arg0, arg1) {
|
2769
2769
|
const ret = Reflect.get(arg0, arg1);
|
2770
2770
|
return ret;
|
2771
2771
|
}, arguments);
|
2772
2772
|
};
|
2773
|
-
imports.wbg.
|
2773
|
+
imports.wbg.__wbg_get_59c6316d15f9f1d0 = function(arg0, arg1) {
|
2774
2774
|
const ret = arg0[arg1 >>> 0];
|
2775
2775
|
return ret;
|
2776
2776
|
};
|
2777
|
-
imports.wbg.
|
2777
|
+
imports.wbg.__wbg_get_5cb5417d5a49cef1 = function() {
|
2778
2778
|
return handleError(function(arg0, arg1) {
|
2779
2779
|
const ret = arg0.get(arg1);
|
2780
2780
|
return ret;
|
2781
2781
|
}, arguments);
|
2782
2782
|
};
|
2783
|
-
imports.wbg.
|
2783
|
+
imports.wbg.__wbg_get_a0f588b1e212306e = function() {
|
2784
2784
|
return handleError(function(arg0, arg1) {
|
2785
2785
|
const ret = arg0.get(arg1);
|
2786
2786
|
return ret;
|
2787
2787
|
}, arguments);
|
2788
2788
|
};
|
2789
|
-
imports.wbg.
|
2789
|
+
imports.wbg.__wbg_get_ff3a515076fdddd7 = function(arg0, arg1, arg2) {
|
2790
2790
|
const ret = arg1[arg2 >>> 0];
|
2791
2791
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
2792
2792
|
var len1 = WASM_VECTOR_LEN;
|
@@ -2801,17 +2801,17 @@ function __wbg_get_imports() {
|
|
2801
2801
|
const ret = HistorySecret.__wrap(arg0);
|
2802
2802
|
return ret;
|
2803
2803
|
};
|
2804
|
-
imports.wbg.
|
2804
|
+
imports.wbg.__wbg_indexNames_b7e419e1b5950062 = function(arg0) {
|
2805
2805
|
const ret = arg0.indexNames;
|
2806
2806
|
return ret;
|
2807
2807
|
};
|
2808
|
-
imports.wbg.
|
2808
|
+
imports.wbg.__wbg_index_7f799b7efa7c11c6 = function() {
|
2809
2809
|
return handleError(function(arg0, arg1, arg2) {
|
2810
2810
|
const ret = arg0.index(getStringFromWasm0(arg1, arg2));
|
2811
2811
|
return ret;
|
2812
2812
|
}, arguments);
|
2813
2813
|
};
|
2814
|
-
imports.wbg.
|
2814
|
+
imports.wbg.__wbg_instanceof_ArrayBuffer_59339a3a6f0c10ea = function(arg0) {
|
2815
2815
|
let result;
|
2816
2816
|
try {
|
2817
2817
|
result = arg0 instanceof ArrayBuffer;
|
@@ -2821,7 +2821,7 @@ function __wbg_get_imports() {
|
|
2821
2821
|
const ret = result;
|
2822
2822
|
return ret;
|
2823
2823
|
};
|
2824
|
-
imports.wbg.
|
2824
|
+
imports.wbg.__wbg_instanceof_IdbDatabase_48c551909b7652c5 = function(arg0) {
|
2825
2825
|
let result;
|
2826
2826
|
try {
|
2827
2827
|
result = arg0 instanceof IDBDatabase;
|
@@ -2831,7 +2831,7 @@ function __wbg_get_imports() {
|
|
2831
2831
|
const ret = result;
|
2832
2832
|
return ret;
|
2833
2833
|
};
|
2834
|
-
imports.wbg.
|
2834
|
+
imports.wbg.__wbg_instanceof_IdbFactory_e429f3e72d6a6d94 = function(arg0) {
|
2835
2835
|
let result;
|
2836
2836
|
try {
|
2837
2837
|
result = arg0 instanceof IDBFactory;
|
@@ -2841,7 +2841,7 @@ function __wbg_get_imports() {
|
|
2841
2841
|
const ret = result;
|
2842
2842
|
return ret;
|
2843
2843
|
};
|
2844
|
-
imports.wbg.
|
2844
|
+
imports.wbg.__wbg_instanceof_IdbOpenDbRequest_822b13f85bf6d91f = function(arg0) {
|
2845
2845
|
let result;
|
2846
2846
|
try {
|
2847
2847
|
result = arg0 instanceof IDBOpenDBRequest;
|
@@ -2851,7 +2851,7 @@ function __wbg_get_imports() {
|
|
2851
2851
|
const ret = result;
|
2852
2852
|
return ret;
|
2853
2853
|
};
|
2854
|
-
imports.wbg.
|
2854
|
+
imports.wbg.__wbg_instanceof_IdbRequest_591f189bf6c335cc = function(arg0) {
|
2855
2855
|
let result;
|
2856
2856
|
try {
|
2857
2857
|
result = arg0 instanceof IDBRequest;
|
@@ -2861,7 +2861,7 @@ function __wbg_get_imports() {
|
|
2861
2861
|
const ret = result;
|
2862
2862
|
return ret;
|
2863
2863
|
};
|
2864
|
-
imports.wbg.
|
2864
|
+
imports.wbg.__wbg_instanceof_IdbTransaction_7a1d07a52299c4f9 = function(arg0) {
|
2865
2865
|
let result;
|
2866
2866
|
try {
|
2867
2867
|
result = arg0 instanceof IDBTransaction;
|
@@ -2871,7 +2871,7 @@ function __wbg_get_imports() {
|
|
2871
2871
|
const ret = result;
|
2872
2872
|
return ret;
|
2873
2873
|
};
|
2874
|
-
imports.wbg.
|
2874
|
+
imports.wbg.__wbg_instanceof_Promise_1147df2e75727145 = function(arg0) {
|
2875
2875
|
let result;
|
2876
2876
|
try {
|
2877
2877
|
result = arg0 instanceof Promise;
|
@@ -2881,7 +2881,7 @@ function __wbg_get_imports() {
|
|
2881
2881
|
const ret = result;
|
2882
2882
|
return ret;
|
2883
2883
|
};
|
2884
|
-
imports.wbg.
|
2884
|
+
imports.wbg.__wbg_instanceof_Uint8Array_91f3c5adee7e6672 = function(arg0) {
|
2885
2885
|
let result;
|
2886
2886
|
try {
|
2887
2887
|
result = arg0 instanceof Uint8Array;
|
@@ -2891,19 +2891,19 @@ function __wbg_get_imports() {
|
|
2891
2891
|
const ret = result;
|
2892
2892
|
return ret;
|
2893
2893
|
};
|
2894
|
-
imports.wbg.
|
2894
|
+
imports.wbg.__wbg_isArray_bc2498eba6fcb71f = function(arg0) {
|
2895
2895
|
const ret = Array.isArray(arg0);
|
2896
2896
|
return ret;
|
2897
2897
|
};
|
2898
|
-
imports.wbg.
|
2898
|
+
imports.wbg.__wbg_isSafeInteger_6091d6e3ee1b65fd = function(arg0) {
|
2899
2899
|
const ret = Number.isSafeInteger(arg0);
|
2900
2900
|
return ret;
|
2901
2901
|
};
|
2902
|
-
imports.wbg.
|
2902
|
+
imports.wbg.__wbg_iterator_96378c3c9a17347c = function() {
|
2903
2903
|
const ret = Symbol.iterator;
|
2904
2904
|
return ret;
|
2905
2905
|
};
|
2906
|
-
imports.wbg.
|
2906
|
+
imports.wbg.__wbg_keyPath_2635ad1da5c21128 = function() {
|
2907
2907
|
return handleError(function(arg0) {
|
2908
2908
|
const ret = arg0.keyPath;
|
2909
2909
|
return ret;
|
@@ -2917,19 +2917,19 @@ function __wbg_get_imports() {
|
|
2917
2917
|
const ret = KeyPackage.__unwrap(arg0);
|
2918
2918
|
return ret;
|
2919
2919
|
};
|
2920
|
-
imports.wbg.
|
2920
|
+
imports.wbg.__wbg_length_1161036d400ff5c6 = function(arg0) {
|
2921
2921
|
const ret = arg0.length;
|
2922
2922
|
return ret;
|
2923
2923
|
};
|
2924
|
-
imports.wbg.
|
2924
|
+
imports.wbg.__wbg_length_246fa1f85a0dea5b = function(arg0) {
|
2925
2925
|
const ret = arg0.length;
|
2926
2926
|
return ret;
|
2927
2927
|
};
|
2928
|
-
imports.wbg.
|
2928
|
+
imports.wbg.__wbg_length_509e85b65e81fb66 = function(arg0) {
|
2929
2929
|
const ret = arg0.length;
|
2930
2930
|
return ret;
|
2931
2931
|
};
|
2932
|
-
imports.wbg.
|
2932
|
+
imports.wbg.__wbg_length_904c0910ed998bf3 = function(arg0) {
|
2933
2933
|
const ret = arg0.length;
|
2934
2934
|
return ret;
|
2935
2935
|
};
|
@@ -2937,49 +2937,49 @@ function __wbg_get_imports() {
|
|
2937
2937
|
const ret = arg0.msCrypto;
|
2938
2938
|
return ret;
|
2939
2939
|
};
|
2940
|
-
imports.wbg.
|
2940
|
+
imports.wbg.__wbg_multiEntry_a88b8b7336fb09ab = function(arg0) {
|
2941
2941
|
const ret = arg0.multiEntry;
|
2942
2942
|
return ret;
|
2943
2943
|
};
|
2944
|
-
imports.wbg.
|
2944
|
+
imports.wbg.__wbg_name_7ae31e7083231d42 = function(arg0, arg1) {
|
2945
2945
|
const ret = arg1.name;
|
2946
2946
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
2947
2947
|
const len1 = WASM_VECTOR_LEN;
|
2948
2948
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
2949
2949
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
2950
2950
|
};
|
2951
|
-
imports.wbg.
|
2951
|
+
imports.wbg.__wbg_new0_85cc856927102294 = function() {
|
2952
2952
|
const ret = new Date;
|
2953
2953
|
return ret;
|
2954
2954
|
};
|
2955
|
-
imports.wbg.
|
2955
|
+
imports.wbg.__wbg_new_1930cbb8d9ffc31b = function() {
|
2956
2956
|
const ret = new Object;
|
2957
2957
|
return ret;
|
2958
2958
|
};
|
2959
|
-
imports.wbg.
|
2960
|
-
const ret = new
|
2961
|
-
return ret;
|
2962
|
-
};
|
2963
|
-
imports.wbg.__wbg_new_58353953ad2097cc = function() {
|
2964
|
-
const ret = new Array;
|
2959
|
+
imports.wbg.__wbg_new_56407f99198feff7 = function() {
|
2960
|
+
const ret = new Map;
|
2965
2961
|
return ret;
|
2966
2962
|
};
|
2967
2963
|
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
2968
2964
|
const ret = new Error;
|
2969
2965
|
return ret;
|
2970
2966
|
};
|
2971
|
-
imports.wbg.
|
2972
|
-
const ret = new
|
2967
|
+
imports.wbg.__wbg_new_9190433fb67ed635 = function(arg0) {
|
2968
|
+
const ret = new Uint8Array(arg0);
|
2973
2969
|
return ret;
|
2974
2970
|
};
|
2975
|
-
imports.wbg.
|
2971
|
+
imports.wbg.__wbg_new_97ddeb994a38bb69 = function(arg0, arg1) {
|
2972
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
2973
|
+
return ret;
|
2974
|
+
};
|
2975
|
+
imports.wbg.__wbg_new_d5e3800b120e37e1 = function(arg0, arg1) {
|
2976
2976
|
try {
|
2977
2977
|
var state0 = { a: arg0, b: arg1 };
|
2978
2978
|
var cb0 = (arg02, arg12) => {
|
2979
2979
|
const a = state0.a;
|
2980
2980
|
state0.a = 0;
|
2981
2981
|
try {
|
2982
|
-
return
|
2982
|
+
return __wbg_adapter_503(a, state0.b, arg02, arg12);
|
2983
2983
|
} finally {
|
2984
2984
|
state0.a = a;
|
2985
2985
|
}
|
@@ -2990,8 +2990,8 @@ function __wbg_get_imports() {
|
|
2990
2990
|
state0.a = state0.b = 0;
|
2991
2991
|
}
|
2992
2992
|
};
|
2993
|
-
imports.wbg.
|
2994
|
-
const ret = new
|
2993
|
+
imports.wbg.__wbg_new_e969dc3f68d25093 = function() {
|
2994
|
+
const ret = new Array;
|
2995
2995
|
return ret;
|
2996
2996
|
};
|
2997
2997
|
imports.wbg.__wbg_newacmeauthz_new = function(arg0) {
|
@@ -3002,32 +3002,28 @@ function __wbg_get_imports() {
|
|
3002
3002
|
const ret = NewAcmeOrder.__wrap(arg0);
|
3003
3003
|
return ret;
|
3004
3004
|
};
|
3005
|
-
imports.wbg.
|
3005
|
+
imports.wbg.__wbg_newfromslice_d0d56929c6d9c842 = function(arg0, arg1) {
|
3006
3006
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
3007
3007
|
return ret;
|
3008
3008
|
};
|
3009
|
-
imports.wbg.
|
3009
|
+
imports.wbg.__wbg_newnoargs_a81330f6e05d8aca = function(arg0, arg1) {
|
3010
3010
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
3011
3011
|
return ret;
|
3012
3012
|
};
|
3013
|
-
imports.wbg.
|
3014
|
-
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
3015
|
-
return ret;
|
3016
|
-
};
|
3017
|
-
imports.wbg.__wbg_newwithlength_08f872dc1e3ada2e = function(arg0) {
|
3013
|
+
imports.wbg.__wbg_newwithlength_ed0ee6c1edca86fc = function(arg0) {
|
3018
3014
|
const ret = new Uint8Array(arg0 >>> 0);
|
3019
3015
|
return ret;
|
3020
3016
|
};
|
3021
|
-
imports.wbg.
|
3022
|
-
const ret = arg0.next;
|
3023
|
-
return ret;
|
3024
|
-
};
|
3025
|
-
imports.wbg.__wbg_next_e2da48d8fff7439a = function() {
|
3017
|
+
imports.wbg.__wbg_next_2e6b37020ac5fe58 = function() {
|
3026
3018
|
return handleError(function(arg0) {
|
3027
3019
|
const ret = arg0.next();
|
3028
3020
|
return ret;
|
3029
3021
|
}, arguments);
|
3030
3022
|
};
|
3023
|
+
imports.wbg.__wbg_next_3de8f2669431a3ff = function(arg0) {
|
3024
|
+
const ret = arg0.next;
|
3025
|
+
return ret;
|
3026
|
+
};
|
3031
3027
|
imports.wbg.__wbg_node_02999533c4ea02e3 = function(arg0) {
|
3032
3028
|
const ret = arg0.node;
|
3033
3029
|
return ret;
|
@@ -3036,29 +3032,29 @@ function __wbg_get_imports() {
|
|
3036
3032
|
const ret = Date.now();
|
3037
3033
|
return ret;
|
3038
3034
|
};
|
3039
|
-
imports.wbg.
|
3035
|
+
imports.wbg.__wbg_now_e3057dd824ca0191 = function() {
|
3040
3036
|
const ret = Date.now();
|
3041
3037
|
return ret;
|
3042
3038
|
};
|
3043
|
-
imports.wbg.
|
3039
|
+
imports.wbg.__wbg_objectStoreNames_9f871922c78ae388 = function(arg0) {
|
3044
3040
|
const ret = arg0.objectStoreNames;
|
3045
3041
|
return ret;
|
3046
3042
|
};
|
3047
|
-
imports.wbg.
|
3043
|
+
imports.wbg.__wbg_objectStore_4f9dafdbff77fd83 = function() {
|
3048
3044
|
return handleError(function(arg0, arg1, arg2) {
|
3049
3045
|
const ret = arg0.objectStore(getStringFromWasm0(arg1, arg2));
|
3050
3046
|
return ret;
|
3051
3047
|
}, arguments);
|
3052
3048
|
};
|
3053
|
-
imports.wbg.
|
3054
|
-
return handleError(function(arg0, arg1, arg2
|
3055
|
-
const ret = arg0.open(getStringFromWasm0(arg1, arg2)
|
3049
|
+
imports.wbg.__wbg_open_4ccfb9986e8733c9 = function() {
|
3050
|
+
return handleError(function(arg0, arg1, arg2) {
|
3051
|
+
const ret = arg0.open(getStringFromWasm0(arg1, arg2));
|
3056
3052
|
return ret;
|
3057
3053
|
}, arguments);
|
3058
3054
|
};
|
3059
|
-
imports.wbg.
|
3060
|
-
return handleError(function(arg0, arg1, arg2) {
|
3061
|
-
const ret = arg0.open(getStringFromWasm0(arg1, arg2));
|
3055
|
+
imports.wbg.__wbg_open_bf329a7c677f6eb3 = function() {
|
3056
|
+
return handleError(function(arg0, arg1, arg2, arg3) {
|
3057
|
+
const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
|
3062
3058
|
return ret;
|
3063
3059
|
}, arguments);
|
3064
3060
|
};
|
@@ -3070,29 +3066,32 @@ function __wbg_get_imports() {
|
|
3070
3066
|
const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
|
3071
3067
|
return ret;
|
3072
3068
|
};
|
3073
|
-
imports.wbg.
|
3069
|
+
imports.wbg.__wbg_prototypesetcall_c5f74efd31aea86b = function(arg0, arg1, arg2) {
|
3070
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
3071
|
+
};
|
3072
|
+
imports.wbg.__wbg_push_cd3ac7d5b094565d = function(arg0, arg1) {
|
3074
3073
|
const ret = arg0.push(arg1);
|
3075
3074
|
return ret;
|
3076
3075
|
};
|
3077
|
-
imports.wbg.
|
3078
|
-
return handleError(function(arg0, arg1) {
|
3079
|
-
const ret = arg0.put(arg1);
|
3080
|
-
return ret;
|
3081
|
-
}, arguments);
|
3082
|
-
};
|
3083
|
-
imports.wbg.__wbg_put_7f0b4dcc666f09e3 = function() {
|
3076
|
+
imports.wbg.__wbg_put_26029bce45af287b = function() {
|
3084
3077
|
return handleError(function(arg0, arg1, arg2) {
|
3085
3078
|
const ret = arg0.put(arg1, arg2);
|
3086
3079
|
return ret;
|
3087
3080
|
}, arguments);
|
3088
3081
|
};
|
3089
|
-
imports.wbg.
|
3090
|
-
|
3082
|
+
imports.wbg.__wbg_put_adbbd8f247db7544 = function() {
|
3083
|
+
return handleError(function(arg0, arg1) {
|
3084
|
+
const ret = arg0.put(arg1);
|
3085
|
+
return ret;
|
3086
|
+
}, arguments);
|
3091
3087
|
};
|
3092
|
-
imports.wbg.
|
3088
|
+
imports.wbg.__wbg_queueMicrotask_bcc6e26d899696db = function(arg0) {
|
3093
3089
|
const ret = arg0.queueMicrotask;
|
3094
3090
|
return ret;
|
3095
3091
|
};
|
3092
|
+
imports.wbg.__wbg_queueMicrotask_f24a794d09c42640 = function(arg0) {
|
3093
|
+
queueMicrotask(arg0);
|
3094
|
+
};
|
3096
3095
|
imports.wbg.__wbg_randomFillSync_ab2cfe79ebbf2740 = function() {
|
3097
3096
|
return handleError(function(arg0, arg1) {
|
3098
3097
|
arg0.randomFillSync(arg1);
|
@@ -3104,11 +3103,11 @@ function __wbg_get_imports() {
|
|
3104
3103
|
return ret;
|
3105
3104
|
}, arguments);
|
3106
3105
|
};
|
3107
|
-
imports.wbg.
|
3106
|
+
imports.wbg.__wbg_resolve_5775c0ef9222f556 = function(arg0) {
|
3108
3107
|
const ret = Promise.resolve(arg0);
|
3109
3108
|
return ret;
|
3110
3109
|
};
|
3111
|
-
imports.wbg.
|
3110
|
+
imports.wbg.__wbg_result_b30a0a7bc6b6345f = function() {
|
3112
3111
|
return handleError(function(arg0) {
|
3113
3112
|
const ret = arg0.result;
|
3114
3113
|
return ret;
|
@@ -3118,56 +3117,53 @@ function __wbg_get_imports() {
|
|
3118
3117
|
const ret = SecretKey.__wrap(arg0);
|
3119
3118
|
return ret;
|
3120
3119
|
};
|
3120
|
+
imports.wbg.__wbg_set_31197016f65a6a19 = function(arg0, arg1, arg2) {
|
3121
|
+
const ret = arg0.set(arg1, arg2);
|
3122
|
+
return ret;
|
3123
|
+
};
|
3121
3124
|
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
3122
3125
|
arg0[arg1] = arg2;
|
3123
3126
|
};
|
3124
|
-
imports.wbg.
|
3127
|
+
imports.wbg.__wbg_set_d636a0463acf1dbc = function(arg0, arg1, arg2) {
|
3125
3128
|
arg0[arg1 >>> 0] = arg2;
|
3126
3129
|
};
|
3127
|
-
imports.wbg.
|
3128
|
-
const ret = arg0.set(arg1, arg2);
|
3129
|
-
return ret;
|
3130
|
-
};
|
3131
|
-
imports.wbg.__wbg_set_fe4e79d1ed3b0e9b = function(arg0, arg1, arg2) {
|
3132
|
-
arg0.set(arg1, arg2 >>> 0);
|
3133
|
-
};
|
3134
|
-
imports.wbg.__wbg_setautoincrement_6589237510ecaf4f = function(arg0, arg1) {
|
3130
|
+
imports.wbg.__wbg_setautoincrement_5ae17c87fe2d4f9b = function(arg0, arg1) {
|
3135
3131
|
arg0.autoIncrement = arg1 !== 0;
|
3136
3132
|
};
|
3137
|
-
imports.wbg.
|
3133
|
+
imports.wbg.__wbg_setcause_b0108db2f5bad08c = function(arg0, arg1) {
|
3138
3134
|
arg0.cause = arg1;
|
3139
3135
|
};
|
3140
|
-
imports.wbg.
|
3136
|
+
imports.wbg.__wbg_setkeypath_8d8c800a95646c4d = function(arg0, arg1) {
|
3141
3137
|
arg0.keyPath = arg1;
|
3142
3138
|
};
|
3143
|
-
imports.wbg.
|
3139
|
+
imports.wbg.__wbg_setmultientry_2d965bfbe831d349 = function(arg0, arg1) {
|
3144
3140
|
arg0.multiEntry = arg1 !== 0;
|
3145
3141
|
};
|
3146
|
-
imports.wbg.
|
3142
|
+
imports.wbg.__wbg_setname_b226a825d1533eb4 = function(arg0, arg1, arg2) {
|
3147
3143
|
arg0.name = getStringFromWasm0(arg1, arg2);
|
3148
3144
|
};
|
3149
|
-
imports.wbg.
|
3145
|
+
imports.wbg.__wbg_setonabort_2b64fe553e1f30a5 = function(arg0, arg1) {
|
3150
3146
|
arg0.onabort = arg1;
|
3151
3147
|
};
|
3152
|
-
imports.wbg.
|
3148
|
+
imports.wbg.__wbg_setoncomplete_2dee9e6e91eb390c = function(arg0, arg1) {
|
3153
3149
|
arg0.oncomplete = arg1;
|
3154
3150
|
};
|
3155
|
-
imports.wbg.
|
3151
|
+
imports.wbg.__wbg_setonerror_1c09126416a8732a = function(arg0, arg1) {
|
3156
3152
|
arg0.onerror = arg1;
|
3157
3153
|
};
|
3158
|
-
imports.wbg.
|
3154
|
+
imports.wbg.__wbg_setonerror_d12d470adff34fe2 = function(arg0, arg1) {
|
3159
3155
|
arg0.onerror = arg1;
|
3160
3156
|
};
|
3161
|
-
imports.wbg.
|
3157
|
+
imports.wbg.__wbg_setonsuccess_81a109828a9b7d7c = function(arg0, arg1) {
|
3162
3158
|
arg0.onsuccess = arg1;
|
3163
3159
|
};
|
3164
|
-
imports.wbg.
|
3160
|
+
imports.wbg.__wbg_setonupgradeneeded_41c59fde839b5142 = function(arg0, arg1) {
|
3165
3161
|
arg0.onupgradeneeded = arg1;
|
3166
3162
|
};
|
3167
|
-
imports.wbg.
|
3163
|
+
imports.wbg.__wbg_setonversionchange_6d4cf4b5eafafccc = function(arg0, arg1) {
|
3168
3164
|
arg0.onversionchange = arg1;
|
3169
3165
|
};
|
3170
|
-
imports.wbg.
|
3166
|
+
imports.wbg.__wbg_setunique_bccba0d1ccd21f16 = function(arg0, arg1) {
|
3171
3167
|
arg0.unique = arg1 !== 0;
|
3172
3168
|
};
|
3173
3169
|
imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
@@ -3177,61 +3173,61 @@ function __wbg_get_imports() {
|
|
3177
3173
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
3178
3174
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
3179
3175
|
};
|
3180
|
-
imports.wbg.
|
3176
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_1f13249cc3acc96d = function() {
|
3181
3177
|
const ret = typeof global === "undefined" ? null : global;
|
3182
3178
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
3183
3179
|
};
|
3184
|
-
imports.wbg.
|
3180
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_df7ae94b1e0ed6a3 = function() {
|
3185
3181
|
const ret = typeof globalThis === "undefined" ? null : globalThis;
|
3186
3182
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
3187
3183
|
};
|
3188
|
-
imports.wbg.
|
3184
|
+
imports.wbg.__wbg_static_accessor_SELF_6265471db3b3c228 = function() {
|
3189
3185
|
const ret = typeof self === "undefined" ? null : self;
|
3190
3186
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
3191
3187
|
};
|
3192
|
-
imports.wbg.
|
3188
|
+
imports.wbg.__wbg_static_accessor_WINDOW_16fb482f8ec52863 = function() {
|
3193
3189
|
const ret = typeof window === "undefined" ? null : window;
|
3194
3190
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
3195
3191
|
};
|
3196
|
-
imports.wbg.
|
3192
|
+
imports.wbg.__wbg_subarray_a219824899e59712 = function(arg0, arg1, arg2) {
|
3197
3193
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
3198
3194
|
return ret;
|
3199
3195
|
};
|
3200
|
-
imports.wbg.
|
3196
|
+
imports.wbg.__wbg_target_bfb4281bfa013115 = function(arg0) {
|
3201
3197
|
const ret = arg0.target;
|
3202
3198
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
3203
3199
|
};
|
3204
|
-
imports.wbg.
|
3200
|
+
imports.wbg.__wbg_then_8d2fcccde5380a03 = function(arg0, arg1, arg2) {
|
3205
3201
|
const ret = arg0.then(arg1, arg2);
|
3206
3202
|
return ret;
|
3207
3203
|
};
|
3208
|
-
imports.wbg.
|
3204
|
+
imports.wbg.__wbg_then_9cc266be2bf537b6 = function(arg0, arg1) {
|
3209
3205
|
const ret = arg0.then(arg1);
|
3210
3206
|
return ret;
|
3211
3207
|
};
|
3212
|
-
imports.wbg.
|
3208
|
+
imports.wbg.__wbg_toString_1144ec2f872e8cf3 = function(arg0) {
|
3213
3209
|
const ret = arg0.toString();
|
3214
3210
|
return ret;
|
3215
3211
|
};
|
3216
|
-
imports.wbg.
|
3212
|
+
imports.wbg.__wbg_transaction_8267254fd462a1bb = function(arg0) {
|
3217
3213
|
const ret = arg0.transaction;
|
3218
3214
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
3219
3215
|
};
|
3220
|
-
imports.wbg.
|
3216
|
+
imports.wbg.__wbg_transaction_fca796495943f7a5 = function() {
|
3221
3217
|
return handleError(function(arg0, arg1, arg2) {
|
3222
3218
|
const ret = arg0.transaction(arg1, __wbindgen_enum_IdbTransactionMode[arg2]);
|
3223
3219
|
return ret;
|
3224
3220
|
}, arguments);
|
3225
3221
|
};
|
3226
|
-
imports.wbg.
|
3222
|
+
imports.wbg.__wbg_unique_2ffe24c606d8bfd2 = function(arg0) {
|
3227
3223
|
const ret = arg0.unique;
|
3228
3224
|
return ret;
|
3229
3225
|
};
|
3230
|
-
imports.wbg.
|
3226
|
+
imports.wbg.__wbg_value_09d0b4eaab48b91d = function(arg0) {
|
3231
3227
|
const ret = arg0.value;
|
3232
3228
|
return ret;
|
3233
3229
|
};
|
3234
|
-
imports.wbg.
|
3230
|
+
imports.wbg.__wbg_version_f122dce1918b76ee = function(arg0) {
|
3235
3231
|
const ret = arg0.version;
|
3236
3232
|
return ret;
|
3237
3233
|
};
|
@@ -3239,41 +3235,18 @@ function __wbg_get_imports() {
|
|
3239
3235
|
const ret = arg0.versions;
|
3240
3236
|
return ret;
|
3241
3237
|
};
|
3242
|
-
imports.wbg.
|
3243
|
-
const ret = WelcomeBundle.__wrap(arg0);
|
3244
|
-
return ret;
|
3245
|
-
};
|
3246
|
-
imports.wbg.__wbg_wireidentity_new = function(arg0) {
|
3247
|
-
const ret = WireIdentity.__wrap(arg0);
|
3248
|
-
return ret;
|
3249
|
-
};
|
3250
|
-
imports.wbg.__wbindgen_array_new = function() {
|
3251
|
-
const ret = [];
|
3252
|
-
return ret;
|
3253
|
-
};
|
3254
|
-
imports.wbg.__wbindgen_array_push = function(arg0, arg1) {
|
3255
|
-
arg0.push(arg1);
|
3256
|
-
};
|
3257
|
-
imports.wbg.__wbindgen_as_number = function(arg0) {
|
3258
|
-
const ret = +arg0;
|
3259
|
-
return ret;
|
3260
|
-
};
|
3261
|
-
imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
|
3262
|
-
const ret = BigInt.asUintN(64, arg0);
|
3263
|
-
return ret;
|
3264
|
-
};
|
3265
|
-
imports.wbg.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
3238
|
+
imports.wbg.__wbg_wbindgenbigintgetasi64_7637cb1a7fb9a81e = function(arg0, arg1) {
|
3266
3239
|
const v = arg1;
|
3267
3240
|
const ret = typeof v === "bigint" ? v : undefined;
|
3268
3241
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
3269
3242
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
3270
3243
|
};
|
3271
|
-
imports.wbg.
|
3244
|
+
imports.wbg.__wbg_wbindgenbooleanget_59f830b1a70d2530 = function(arg0) {
|
3272
3245
|
const v = arg0;
|
3273
|
-
const ret = typeof v === "boolean" ? v
|
3274
|
-
return ret;
|
3246
|
+
const ret = typeof v === "boolean" ? v : undefined;
|
3247
|
+
return isLikeNone(ret) ? 16777215 : ret ? 1 : 0;
|
3275
3248
|
};
|
3276
|
-
imports.wbg.
|
3249
|
+
imports.wbg.__wbg_wbindgencbdrop_a85ed476c6a370b9 = function(arg0) {
|
3277
3250
|
const obj = arg0.original;
|
3278
3251
|
if (obj.cnt-- == 1) {
|
3279
3252
|
obj.a = 0;
|
@@ -3282,86 +3255,57 @@ function __wbg_get_imports() {
|
|
3282
3255
|
const ret = false;
|
3283
3256
|
return ret;
|
3284
3257
|
};
|
3285
|
-
imports.wbg.
|
3286
|
-
const ret = makeMutClosure(arg0, arg1, 2576, __wbg_adapter_61);
|
3287
|
-
return ret;
|
3288
|
-
};
|
3289
|
-
imports.wbg.__wbindgen_closure_wrapper15295 = function(arg0, arg1, arg2) {
|
3290
|
-
const ret = makeMutClosure(arg0, arg1, 2882, __wbg_adapter_64);
|
3291
|
-
return ret;
|
3292
|
-
};
|
3293
|
-
imports.wbg.__wbindgen_closure_wrapper4420 = function(arg0, arg1, arg2) {
|
3294
|
-
const ret = makeMutClosure(arg0, arg1, 1015, __wbg_adapter_58);
|
3295
|
-
return ret;
|
3296
|
-
};
|
3297
|
-
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
3258
|
+
imports.wbg.__wbg_wbindgendebugstring_bb652b1bc2061b6d = function(arg0, arg1) {
|
3298
3259
|
const ret = debugString(arg1);
|
3299
3260
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
3300
3261
|
const len1 = WASM_VECTOR_LEN;
|
3301
3262
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
3302
3263
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
3303
3264
|
};
|
3304
|
-
imports.wbg.
|
3265
|
+
imports.wbg.__wbg_wbindgenin_192b210aa1c401e9 = function(arg0, arg1) {
|
3305
3266
|
const ret = arg0 in arg1;
|
3306
3267
|
return ret;
|
3307
3268
|
};
|
3308
|
-
imports.wbg.
|
3309
|
-
const table = wasm.__wbindgen_export_4;
|
3310
|
-
const offset = table.grow(4);
|
3311
|
-
table.set(0, undefined);
|
3312
|
-
table.set(offset + 0, undefined);
|
3313
|
-
table.set(offset + 1, null);
|
3314
|
-
table.set(offset + 2, true);
|
3315
|
-
table.set(offset + 3, false);
|
3316
|
-
};
|
3317
|
-
imports.wbg.__wbindgen_is_bigint = function(arg0) {
|
3269
|
+
imports.wbg.__wbg_wbindgenisbigint_7d76a1ca6454e439 = function(arg0) {
|
3318
3270
|
const ret = typeof arg0 === "bigint";
|
3319
3271
|
return ret;
|
3320
3272
|
};
|
3321
|
-
imports.wbg.
|
3273
|
+
imports.wbg.__wbg_wbindgenisfunction_ea72b9d66a0e1705 = function(arg0) {
|
3322
3274
|
const ret = typeof arg0 === "function";
|
3323
3275
|
return ret;
|
3324
3276
|
};
|
3325
|
-
imports.wbg.
|
3277
|
+
imports.wbg.__wbg_wbindgenisnull_e1388bbe88158c3f = function(arg0) {
|
3326
3278
|
const ret = arg0 === null;
|
3327
3279
|
return ret;
|
3328
3280
|
};
|
3329
|
-
imports.wbg.
|
3281
|
+
imports.wbg.__wbg_wbindgenisobject_dfe064a121d87553 = function(arg0) {
|
3330
3282
|
const val = arg0;
|
3331
3283
|
const ret = typeof val === "object" && val !== null;
|
3332
3284
|
return ret;
|
3333
3285
|
};
|
3334
|
-
imports.wbg.
|
3286
|
+
imports.wbg.__wbg_wbindgenisstring_4b74e4111ba029e6 = function(arg0) {
|
3335
3287
|
const ret = typeof arg0 === "string";
|
3336
3288
|
return ret;
|
3337
3289
|
};
|
3338
|
-
imports.wbg.
|
3290
|
+
imports.wbg.__wbg_wbindgenisundefined_71f08a6ade4354e7 = function(arg0) {
|
3339
3291
|
const ret = arg0 === undefined;
|
3340
3292
|
return ret;
|
3341
3293
|
};
|
3342
|
-
imports.wbg.
|
3294
|
+
imports.wbg.__wbg_wbindgenjsvaleq_f27272c0a890df7f = function(arg0, arg1) {
|
3343
3295
|
const ret = arg0 === arg1;
|
3344
3296
|
return ret;
|
3345
3297
|
};
|
3346
|
-
imports.wbg.
|
3298
|
+
imports.wbg.__wbg_wbindgenjsvallooseeq_9dd7bb4b95ac195c = function(arg0, arg1) {
|
3347
3299
|
const ret = arg0 == arg1;
|
3348
3300
|
return ret;
|
3349
3301
|
};
|
3350
|
-
imports.wbg.
|
3351
|
-
const ret = wasm.memory;
|
3352
|
-
return ret;
|
3353
|
-
};
|
3354
|
-
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
|
3302
|
+
imports.wbg.__wbg_wbindgennumberget_d855f947247a3fbc = function(arg0, arg1) {
|
3355
3303
|
const obj = arg1;
|
3356
3304
|
const ret = typeof obj === "number" ? obj : undefined;
|
3357
3305
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
3358
3306
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
3359
3307
|
};
|
3360
|
-
imports.wbg.
|
3361
|
-
const ret = arg0;
|
3362
|
-
return ret;
|
3363
|
-
};
|
3364
|
-
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
3308
|
+
imports.wbg.__wbg_wbindgenstringget_43fe05afe34b0cb1 = function(arg0, arg1) {
|
3365
3309
|
const obj = arg1;
|
3366
3310
|
const ret = typeof obj === "string" ? obj : undefined;
|
3367
3311
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
@@ -3369,14 +3313,10 @@ function __wbg_get_imports() {
|
|
3369
3313
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
3370
3314
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
3371
3315
|
};
|
3372
|
-
imports.wbg.
|
3373
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
3374
|
-
return ret;
|
3375
|
-
};
|
3376
|
-
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
|
3316
|
+
imports.wbg.__wbg_wbindgenthrow_4c11a24fca429ccf = function(arg0, arg1) {
|
3377
3317
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
3378
3318
|
};
|
3379
|
-
imports.wbg.
|
3319
|
+
imports.wbg.__wbg_wbindgentryintonumber_c9e75d941453b6d7 = function(arg0) {
|
3380
3320
|
let result;
|
3381
3321
|
try {
|
3382
3322
|
result = +arg0;
|
@@ -3386,12 +3326,81 @@ function __wbg_get_imports() {
|
|
3386
3326
|
const ret = result;
|
3387
3327
|
return ret;
|
3388
3328
|
};
|
3389
|
-
imports.wbg.
|
3329
|
+
imports.wbg.__wbg_welcomebundle_new = function(arg0) {
|
3330
|
+
const ret = WelcomeBundle.__wrap(arg0);
|
3331
|
+
return ret;
|
3332
|
+
};
|
3333
|
+
imports.wbg.__wbg_wireidentity_new = function(arg0) {
|
3334
|
+
const ret = WireIdentity.__wrap(arg0);
|
3335
|
+
return ret;
|
3336
|
+
};
|
3337
|
+
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
3338
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
3339
|
+
return ret;
|
3340
|
+
};
|
3341
|
+
imports.wbg.__wbindgen_cast_25a0a844437d0e92 = function(arg0, arg1) {
|
3342
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
3343
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
3344
|
+
const ret = v0;
|
3345
|
+
return ret;
|
3346
|
+
};
|
3347
|
+
imports.wbg.__wbindgen_cast_2e1c22bbccdbf7b5 = function(arg0, arg1) {
|
3348
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
3349
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
3350
|
+
const ret = v0;
|
3351
|
+
return ret;
|
3352
|
+
};
|
3353
|
+
imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
|
3354
|
+
const ret = BigInt.asUintN(64, arg0);
|
3355
|
+
return ret;
|
3356
|
+
};
|
3357
|
+
imports.wbg.__wbindgen_cast_48a7b66c2e868dde = function(arg0, arg1) {
|
3358
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
3359
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
3360
|
+
const ret = v0;
|
3361
|
+
return ret;
|
3362
|
+
};
|
3363
|
+
imports.wbg.__wbindgen_cast_48fe37b70e8c9887 = function(arg0, arg1) {
|
3364
|
+
const ret = makeMutClosure(arg0, arg1, 2895, __wbg_adapter_16);
|
3365
|
+
return ret;
|
3366
|
+
};
|
3367
|
+
imports.wbg.__wbindgen_cast_77bc3e92745e9a35 = function(arg0, arg1) {
|
3390
3368
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
3391
3369
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
3392
3370
|
const ret = v0;
|
3393
3371
|
return ret;
|
3394
3372
|
};
|
3373
|
+
imports.wbg.__wbindgen_cast_94027e6796063b55 = function(arg0, arg1) {
|
3374
|
+
const ret = makeMutClosure(arg0, arg1, 2585, __wbg_adapter_23);
|
3375
|
+
return ret;
|
3376
|
+
};
|
3377
|
+
imports.wbg.__wbindgen_cast_9fc7a20c1c18f267 = function(arg0, arg1) {
|
3378
|
+
const ret = makeMutClosure(arg0, arg1, 1018, __wbg_adapter_30);
|
3379
|
+
return ret;
|
3380
|
+
};
|
3381
|
+
imports.wbg.__wbindgen_cast_b77aa29fa8fe8560 = function(arg0, arg1) {
|
3382
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
3383
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
3384
|
+
const ret = v0;
|
3385
|
+
return ret;
|
3386
|
+
};
|
3387
|
+
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
3388
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
3389
|
+
return ret;
|
3390
|
+
};
|
3391
|
+
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
3392
|
+
const ret = arg0;
|
3393
|
+
return ret;
|
3394
|
+
};
|
3395
|
+
imports.wbg.__wbindgen_init_externref_table = function() {
|
3396
|
+
const table = wasm.__wbindgen_export_4;
|
3397
|
+
const offset = table.grow(4);
|
3398
|
+
table.set(0, undefined);
|
3399
|
+
table.set(offset + 0, undefined);
|
3400
|
+
table.set(offset + 1, null);
|
3401
|
+
table.set(offset + 2, true);
|
3402
|
+
table.set(offset + 3, false);
|
3403
|
+
};
|
3395
3404
|
return imports;
|
3396
3405
|
}
|
3397
3406
|
function __wbg_init_memory(imports, memory) {}
|