@xmtp/wasm-bindings 1.4.0-dev.7f5d8e0 → 1.4.0-dev.8148c3f
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/dist/bindings_wasm.d.ts +197 -186
- package/dist/bindings_wasm.js +146 -89
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +187 -181
- package/dist/version.json +3 -3
- package/package.json +1 -1
package/dist/bindings_wasm.js
CHANGED
|
@@ -216,11 +216,69 @@ function debugString(val) {
|
|
|
216
216
|
return className;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
+
function passArrayJsValueToWasm0(array, malloc) {
|
|
220
|
+
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
221
|
+
for (let i = 0; i < array.length; i++) {
|
|
222
|
+
const add = addToExternrefTable0(array[i]);
|
|
223
|
+
getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
|
|
224
|
+
}
|
|
225
|
+
WASM_VECTOR_LEN = array.length;
|
|
226
|
+
return ptr;
|
|
227
|
+
}
|
|
228
|
+
|
|
219
229
|
function _assertClass(instance, klass) {
|
|
220
230
|
if (!(instance instanceof klass)) {
|
|
221
231
|
throw new Error(`expected instance of ${klass.name}`);
|
|
222
232
|
}
|
|
223
233
|
}
|
|
234
|
+
|
|
235
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
236
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
237
|
+
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
238
|
+
WASM_VECTOR_LEN = arg.length;
|
|
239
|
+
return ptr;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
function takeFromExternrefTable0(idx) {
|
|
243
|
+
const value = wasm.__wbindgen_export_4.get(idx);
|
|
244
|
+
wasm.__externref_table_dealloc(idx);
|
|
245
|
+
return value;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* @param {string} host
|
|
249
|
+
* @param {Identifier} accountIdentifier
|
|
250
|
+
* @returns {Promise<string | undefined>}
|
|
251
|
+
*/
|
|
252
|
+
export function getInboxIdForIdentifier(host, accountIdentifier) {
|
|
253
|
+
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
254
|
+
const len0 = WASM_VECTOR_LEN;
|
|
255
|
+
const ret = wasm.getInboxIdForIdentifier(ptr0, len0, accountIdentifier);
|
|
256
|
+
return ret;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* @param {Identifier} accountIdentifier
|
|
261
|
+
* @returns {string}
|
|
262
|
+
*/
|
|
263
|
+
export function generateInboxId(accountIdentifier) {
|
|
264
|
+
let deferred2_0;
|
|
265
|
+
let deferred2_1;
|
|
266
|
+
try {
|
|
267
|
+
const ret = wasm.generateInboxId(accountIdentifier);
|
|
268
|
+
var ptr1 = ret[0];
|
|
269
|
+
var len1 = ret[1];
|
|
270
|
+
if (ret[3]) {
|
|
271
|
+
ptr1 = 0; len1 = 0;
|
|
272
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
273
|
+
}
|
|
274
|
+
deferred2_0 = ptr1;
|
|
275
|
+
deferred2_1 = len1;
|
|
276
|
+
return getStringFromWasm0(ptr1, len1);
|
|
277
|
+
} finally {
|
|
278
|
+
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
224
282
|
/**
|
|
225
283
|
* @param {string} host
|
|
226
284
|
* @param {string} inbox_id
|
|
@@ -255,21 +313,6 @@ export function createClient(host, inbox_id, account_identifier, db_path, encryp
|
|
|
255
313
|
return ret;
|
|
256
314
|
}
|
|
257
315
|
|
|
258
|
-
function passArrayJsValueToWasm0(array, malloc) {
|
|
259
|
-
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
260
|
-
for (let i = 0; i < array.length; i++) {
|
|
261
|
-
const add = addToExternrefTable0(array[i]);
|
|
262
|
-
getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
|
|
263
|
-
}
|
|
264
|
-
WASM_VECTOR_LEN = array.length;
|
|
265
|
-
return ptr;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
function takeFromExternrefTable0(idx) {
|
|
269
|
-
const value = wasm.__wbindgen_export_4.get(idx);
|
|
270
|
-
wasm.__externref_table_dealloc(idx);
|
|
271
|
-
return value;
|
|
272
|
-
}
|
|
273
316
|
/**
|
|
274
317
|
* @param {MultiRemoteAttachment} multiRemoteAttachment
|
|
275
318
|
* @returns {Uint8Array}
|
|
@@ -322,12 +365,6 @@ export function decodeReaction(bytes) {
|
|
|
322
365
|
return Reaction.__wrap(ret[0]);
|
|
323
366
|
}
|
|
324
367
|
|
|
325
|
-
function passArray8ToWasm0(arg, malloc) {
|
|
326
|
-
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
327
|
-
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
328
|
-
WASM_VECTOR_LEN = arg.length;
|
|
329
|
-
return ptr;
|
|
330
|
-
}
|
|
331
368
|
/**
|
|
332
369
|
* @param {string} host
|
|
333
370
|
* @param {string[]} inbox_ids
|
|
@@ -387,41 +424,6 @@ export function applySignatureRequest(host, signature_request) {
|
|
|
387
424
|
return ret;
|
|
388
425
|
}
|
|
389
426
|
|
|
390
|
-
/**
|
|
391
|
-
* @param {string} host
|
|
392
|
-
* @param {Identifier} accountIdentifier
|
|
393
|
-
* @returns {Promise<string | undefined>}
|
|
394
|
-
*/
|
|
395
|
-
export function getInboxIdForIdentifier(host, accountIdentifier) {
|
|
396
|
-
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
397
|
-
const len0 = WASM_VECTOR_LEN;
|
|
398
|
-
const ret = wasm.getInboxIdForIdentifier(ptr0, len0, accountIdentifier);
|
|
399
|
-
return ret;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
/**
|
|
403
|
-
* @param {Identifier} accountIdentifier
|
|
404
|
-
* @returns {string}
|
|
405
|
-
*/
|
|
406
|
-
export function generateInboxId(accountIdentifier) {
|
|
407
|
-
let deferred2_0;
|
|
408
|
-
let deferred2_1;
|
|
409
|
-
try {
|
|
410
|
-
const ret = wasm.generateInboxId(accountIdentifier);
|
|
411
|
-
var ptr1 = ret[0];
|
|
412
|
-
var len1 = ret[1];
|
|
413
|
-
if (ret[3]) {
|
|
414
|
-
ptr1 = 0; len1 = 0;
|
|
415
|
-
throw takeFromExternrefTable0(ret[2]);
|
|
416
|
-
}
|
|
417
|
-
deferred2_0 = ptr1;
|
|
418
|
-
deferred2_1 = len1;
|
|
419
|
-
return getStringFromWasm0(ptr1, len1);
|
|
420
|
-
} finally {
|
|
421
|
-
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
|
|
425
427
|
/**
|
|
426
428
|
* Entry point invoked by JavaScript in a worker.
|
|
427
429
|
* @param {number} ptr
|
|
@@ -434,19 +436,19 @@ export function task_worker_entry_point(ptr) {
|
|
|
434
436
|
}
|
|
435
437
|
|
|
436
438
|
function __wbg_adapter_50(arg0, arg1) {
|
|
437
|
-
wasm.
|
|
439
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6b9ddcbfcc08eea(arg0, arg1);
|
|
438
440
|
}
|
|
439
441
|
|
|
440
442
|
function __wbg_adapter_53(arg0, arg1) {
|
|
441
|
-
wasm.
|
|
443
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd0e40dce3ea5bca1(arg0, arg1);
|
|
442
444
|
}
|
|
443
445
|
|
|
444
446
|
function __wbg_adapter_56(arg0, arg1, arg2) {
|
|
445
|
-
wasm.
|
|
447
|
+
wasm.closure5210_externref_shim(arg0, arg1, arg2);
|
|
446
448
|
}
|
|
447
449
|
|
|
448
|
-
function
|
|
449
|
-
wasm.
|
|
450
|
+
function __wbg_adapter_793(arg0, arg1, arg2, arg3) {
|
|
451
|
+
wasm.closure6137_externref_shim(arg0, arg1, arg2, arg3);
|
|
450
452
|
}
|
|
451
453
|
|
|
452
454
|
/**
|
|
@@ -589,6 +591,8 @@ const __wbindgen_enum_LogLevel = ["off", "error", "warn", "info", "debug", "trac
|
|
|
589
591
|
|
|
590
592
|
const __wbindgen_enum_ReadableStreamType = ["bytes"];
|
|
591
593
|
|
|
594
|
+
const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
|
|
595
|
+
|
|
592
596
|
const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
|
|
593
597
|
|
|
594
598
|
const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
|
|
@@ -1889,6 +1893,19 @@ export class ConversationDebugInfo {
|
|
|
1889
1893
|
const len0 = WASM_VECTOR_LEN;
|
|
1890
1894
|
wasm.__wbg_set_conversationdebuginfo_forkDetails(this.__wbg_ptr, ptr0, len0);
|
|
1891
1895
|
}
|
|
1896
|
+
/**
|
|
1897
|
+
* @returns {boolean | undefined}
|
|
1898
|
+
*/
|
|
1899
|
+
get isCommitLogForked() {
|
|
1900
|
+
const ret = wasm.__wbg_get_conversationdebuginfo_isCommitLogForked(this.__wbg_ptr);
|
|
1901
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
1902
|
+
}
|
|
1903
|
+
/**
|
|
1904
|
+
* @param {boolean | null} [arg0]
|
|
1905
|
+
*/
|
|
1906
|
+
set isCommitLogForked(arg0) {
|
|
1907
|
+
wasm.__wbg_set_conversationdebuginfo_isCommitLogForked(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
1908
|
+
}
|
|
1892
1909
|
/**
|
|
1893
1910
|
* @returns {string}
|
|
1894
1911
|
*/
|
|
@@ -1912,6 +1929,29 @@ export class ConversationDebugInfo {
|
|
|
1912
1929
|
const len0 = WASM_VECTOR_LEN;
|
|
1913
1930
|
wasm.__wbg_set_conversationdebuginfo_localCommitLog(this.__wbg_ptr, ptr0, len0);
|
|
1914
1931
|
}
|
|
1932
|
+
/**
|
|
1933
|
+
* @returns {string}
|
|
1934
|
+
*/
|
|
1935
|
+
get remoteCommitLog() {
|
|
1936
|
+
let deferred1_0;
|
|
1937
|
+
let deferred1_1;
|
|
1938
|
+
try {
|
|
1939
|
+
const ret = wasm.__wbg_get_conversationdebuginfo_remoteCommitLog(this.__wbg_ptr);
|
|
1940
|
+
deferred1_0 = ret[0];
|
|
1941
|
+
deferred1_1 = ret[1];
|
|
1942
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
1943
|
+
} finally {
|
|
1944
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
1945
|
+
}
|
|
1946
|
+
}
|
|
1947
|
+
/**
|
|
1948
|
+
* @param {string} arg0
|
|
1949
|
+
*/
|
|
1950
|
+
set remoteCommitLog(arg0) {
|
|
1951
|
+
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1952
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1953
|
+
wasm.__wbg_set_conversationdebuginfo_remoteCommitLog(this.__wbg_ptr, ptr0, len0);
|
|
1954
|
+
}
|
|
1915
1955
|
/**
|
|
1916
1956
|
* @returns {bigint}
|
|
1917
1957
|
*/
|
|
@@ -1985,11 +2025,25 @@ export class ConversationListItem {
|
|
|
1985
2025
|
}
|
|
1986
2026
|
wasm.__wbg_set_conversationlistitem_lastMessage(this.__wbg_ptr, ptr0);
|
|
1987
2027
|
}
|
|
2028
|
+
/**
|
|
2029
|
+
* @returns {boolean | undefined}
|
|
2030
|
+
*/
|
|
2031
|
+
get isCommitLogForked() {
|
|
2032
|
+
const ret = wasm.__wbg_get_conversationlistitem_isCommitLogForked(this.__wbg_ptr);
|
|
2033
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
2034
|
+
}
|
|
2035
|
+
/**
|
|
2036
|
+
* @param {boolean | null} [arg0]
|
|
2037
|
+
*/
|
|
2038
|
+
set isCommitLogForked(arg0) {
|
|
2039
|
+
wasm.__wbg_set_conversationlistitem_isCommitLogForked(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
2040
|
+
}
|
|
1988
2041
|
/**
|
|
1989
2042
|
* @param {Conversation} conversation
|
|
1990
2043
|
* @param {Message | null} [last_message]
|
|
2044
|
+
* @param {boolean | null} [is_commit_log_forked]
|
|
1991
2045
|
*/
|
|
1992
|
-
constructor(conversation, last_message) {
|
|
2046
|
+
constructor(conversation, last_message, is_commit_log_forked) {
|
|
1993
2047
|
_assertClass(conversation, Conversation);
|
|
1994
2048
|
var ptr0 = conversation.__destroy_into_raw();
|
|
1995
2049
|
let ptr1 = 0;
|
|
@@ -1997,7 +2051,7 @@ export class ConversationListItem {
|
|
|
1997
2051
|
_assertClass(last_message, Message);
|
|
1998
2052
|
ptr1 = last_message.__destroy_into_raw();
|
|
1999
2053
|
}
|
|
2000
|
-
const ret = wasm.conversationlistitem_new(ptr0, ptr1);
|
|
2054
|
+
const ret = wasm.conversationlistitem_new(ptr0, ptr1, isLikeNone(is_commit_log_forked) ? 0xFFFFFF : is_commit_log_forked ? 1 : 0);
|
|
2001
2055
|
this.__wbg_ptr = ret >>> 0;
|
|
2002
2056
|
ConversationListItemFinalization.register(this, this.__wbg_ptr, this);
|
|
2003
2057
|
return this;
|
|
@@ -3116,7 +3170,7 @@ export class Installation {
|
|
|
3116
3170
|
set id(arg0) {
|
|
3117
3171
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3118
3172
|
const len0 = WASM_VECTOR_LEN;
|
|
3119
|
-
wasm.
|
|
3173
|
+
wasm.__wbg_set_installation_id(this.__wbg_ptr, ptr0, len0);
|
|
3120
3174
|
}
|
|
3121
3175
|
/**
|
|
3122
3176
|
* @returns {bigint | undefined}
|
|
@@ -3301,7 +3355,7 @@ export class KeyPackageStatus {
|
|
|
3301
3355
|
* @returns {Lifetime | undefined}
|
|
3302
3356
|
*/
|
|
3303
3357
|
get lifetime() {
|
|
3304
|
-
const ret = wasm.
|
|
3358
|
+
const ret = wasm.__wbg_get_keypackagestatus_lifetime(this.__wbg_ptr);
|
|
3305
3359
|
return ret === 0 ? undefined : Lifetime.__wrap(ret);
|
|
3306
3360
|
}
|
|
3307
3361
|
/**
|
|
@@ -3313,7 +3367,7 @@ export class KeyPackageStatus {
|
|
|
3313
3367
|
_assertClass(arg0, Lifetime);
|
|
3314
3368
|
ptr0 = arg0.__destroy_into_raw();
|
|
3315
3369
|
}
|
|
3316
|
-
wasm.
|
|
3370
|
+
wasm.__wbg_set_keypackagestatus_lifetime(this.__wbg_ptr, ptr0);
|
|
3317
3371
|
}
|
|
3318
3372
|
/**
|
|
3319
3373
|
* @returns {string | undefined}
|
|
@@ -3366,27 +3420,27 @@ export class Lifetime {
|
|
|
3366
3420
|
* @returns {bigint}
|
|
3367
3421
|
*/
|
|
3368
3422
|
get not_before() {
|
|
3369
|
-
const ret = wasm.
|
|
3423
|
+
const ret = wasm.__wbg_get_lifetime_not_before(this.__wbg_ptr);
|
|
3370
3424
|
return BigInt.asUintN(64, ret);
|
|
3371
3425
|
}
|
|
3372
3426
|
/**
|
|
3373
3427
|
* @param {bigint} arg0
|
|
3374
3428
|
*/
|
|
3375
3429
|
set not_before(arg0) {
|
|
3376
|
-
wasm.
|
|
3430
|
+
wasm.__wbg_set_lifetime_not_before(this.__wbg_ptr, arg0);
|
|
3377
3431
|
}
|
|
3378
3432
|
/**
|
|
3379
3433
|
* @returns {bigint}
|
|
3380
3434
|
*/
|
|
3381
3435
|
get not_after() {
|
|
3382
|
-
const ret = wasm.
|
|
3436
|
+
const ret = wasm.__wbg_get_lifetime_not_after(this.__wbg_ptr);
|
|
3383
3437
|
return BigInt.asUintN(64, ret);
|
|
3384
3438
|
}
|
|
3385
3439
|
/**
|
|
3386
3440
|
* @param {bigint} arg0
|
|
3387
3441
|
*/
|
|
3388
3442
|
set not_after(arg0) {
|
|
3389
|
-
wasm.
|
|
3443
|
+
wasm.__wbg_set_lifetime_not_after(this.__wbg_ptr, arg0);
|
|
3390
3444
|
}
|
|
3391
3445
|
}
|
|
3392
3446
|
|
|
@@ -3451,7 +3505,7 @@ export class ListConversationsOptions {
|
|
|
3451
3505
|
* @param {bigint | null} [arg0]
|
|
3452
3506
|
*/
|
|
3453
3507
|
set createdAfterNs(arg0) {
|
|
3454
|
-
wasm.
|
|
3508
|
+
wasm.__wbg_set_listconversationsoptions_createdAfterNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
3455
3509
|
}
|
|
3456
3510
|
/**
|
|
3457
3511
|
* @returns {bigint | undefined}
|
|
@@ -3558,7 +3612,7 @@ export class ListMessagesOptions {
|
|
|
3558
3612
|
* @param {bigint | null} [arg0]
|
|
3559
3613
|
*/
|
|
3560
3614
|
set sentBeforeNs(arg0) {
|
|
3561
|
-
wasm.
|
|
3615
|
+
wasm.__wbg_set_listconversationsoptions_createdAfterNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
3562
3616
|
}
|
|
3563
3617
|
/**
|
|
3564
3618
|
* @returns {bigint | undefined}
|
|
@@ -4652,7 +4706,7 @@ export class RemoteAttachmentInfo {
|
|
|
4652
4706
|
set url(arg0) {
|
|
4653
4707
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4654
4708
|
const len0 = WASM_VECTOR_LEN;
|
|
4655
|
-
wasm.
|
|
4709
|
+
wasm.__wbg_set_remoteattachmentinfo_url(this.__wbg_ptr, ptr0, len0);
|
|
4656
4710
|
}
|
|
4657
4711
|
/**
|
|
4658
4712
|
* @returns {Uint8Array}
|
|
@@ -4950,11 +5004,11 @@ function __wbg_get_imports() {
|
|
|
4950
5004
|
const ret = clearInterval(arg0);
|
|
4951
5005
|
return ret;
|
|
4952
5006
|
};
|
|
4953
|
-
imports.wbg.
|
|
5007
|
+
imports.wbg.__wbg_clearTimeout_5a54f8841c30079a = function(arg0) {
|
|
4954
5008
|
const ret = clearTimeout(arg0);
|
|
4955
5009
|
return ret;
|
|
4956
5010
|
};
|
|
4957
|
-
imports.wbg.
|
|
5011
|
+
imports.wbg.__wbg_clearTimeout_6222fede17abcb1a = function(arg0) {
|
|
4958
5012
|
const ret = clearTimeout(arg0);
|
|
4959
5013
|
return ret;
|
|
4960
5014
|
};
|
|
@@ -5054,14 +5108,14 @@ function __wbg_get_imports() {
|
|
|
5054
5108
|
imports.wbg.__wbg_error_e98c298703cffa97 = function(arg0, arg1) {
|
|
5055
5109
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
5056
5110
|
};
|
|
5057
|
-
imports.wbg.__wbg_fetch_11bff8299d0ecd2b = function(arg0) {
|
|
5058
|
-
const ret = fetch(arg0);
|
|
5059
|
-
return ret;
|
|
5060
|
-
};
|
|
5061
5111
|
imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
|
|
5062
5112
|
const ret = arg0.fetch(arg1);
|
|
5063
5113
|
return ret;
|
|
5064
5114
|
};
|
|
5115
|
+
imports.wbg.__wbg_fetch_f156d10be9a5c88a = function(arg0) {
|
|
5116
|
+
const ret = fetch(arg0);
|
|
5117
|
+
return ret;
|
|
5118
|
+
};
|
|
5065
5119
|
imports.wbg.__wbg_fill_3311db9cdf18c6c4 = function(arg0, arg1, arg2, arg3) {
|
|
5066
5120
|
const ret = arg0.fill(arg1, arg2 >>> 0, arg3 >>> 0);
|
|
5067
5121
|
return ret;
|
|
@@ -5112,7 +5166,7 @@ function __wbg_get_imports() {
|
|
|
5112
5166
|
imports.wbg.__wbg_getRandomValues_3c9c0d586e575a16 = function() { return handleError(function (arg0, arg1) {
|
|
5113
5167
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
5114
5168
|
}, arguments) };
|
|
5115
|
-
imports.wbg.
|
|
5169
|
+
imports.wbg.__wbg_getRandomValues_8e6341dd77432a34 = function() { return handleError(function (arg0, arg1) {
|
|
5116
5170
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
5117
5171
|
}, arguments) };
|
|
5118
5172
|
imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
@@ -5349,7 +5403,7 @@ function __wbg_get_imports() {
|
|
|
5349
5403
|
const a = state0.a;
|
|
5350
5404
|
state0.a = 0;
|
|
5351
5405
|
try {
|
|
5352
|
-
return
|
|
5406
|
+
return __wbg_adapter_793(a, state0.b, arg0, arg1);
|
|
5353
5407
|
} finally {
|
|
5354
5408
|
state0.a = a;
|
|
5355
5409
|
}
|
|
@@ -5444,7 +5498,7 @@ function __wbg_get_imports() {
|
|
|
5444
5498
|
const ret = arg0.now();
|
|
5445
5499
|
return ret;
|
|
5446
5500
|
};
|
|
5447
|
-
imports.wbg.
|
|
5501
|
+
imports.wbg.__wbg_now_2f0bbf3fd348701f = function(arg0) {
|
|
5448
5502
|
const ret = globalThis.performance.now();
|
|
5449
5503
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
5450
5504
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
@@ -5552,7 +5606,7 @@ function __wbg_get_imports() {
|
|
|
5552
5606
|
const ret = setInterval(arg0, arg1);
|
|
5553
5607
|
return ret;
|
|
5554
5608
|
}, arguments) };
|
|
5555
|
-
imports.wbg.
|
|
5609
|
+
imports.wbg.__wbg_setTimeout_2b339866a2aa3789 = function(arg0, arg1) {
|
|
5556
5610
|
const ret = setTimeout(arg0, arg1);
|
|
5557
5611
|
return ret;
|
|
5558
5612
|
};
|
|
@@ -5589,6 +5643,9 @@ function __wbg_get_imports() {
|
|
|
5589
5643
|
imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
|
|
5590
5644
|
arg0.body = arg1;
|
|
5591
5645
|
};
|
|
5646
|
+
imports.wbg.__wbg_setcache_12f17c3a980650e4 = function(arg0, arg1) {
|
|
5647
|
+
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
5648
|
+
};
|
|
5592
5649
|
imports.wbg.__wbg_setcreate_139bad94b2874fb5 = function(arg0, arg1) {
|
|
5593
5650
|
arg0.create = arg1 !== 0;
|
|
5594
5651
|
};
|
|
@@ -5758,16 +5815,16 @@ function __wbg_get_imports() {
|
|
|
5758
5815
|
const ret = false;
|
|
5759
5816
|
return ret;
|
|
5760
5817
|
};
|
|
5761
|
-
imports.wbg.
|
|
5762
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5818
|
+
imports.wbg.__wbindgen_closure_wrapper20284 = function(arg0, arg1, arg2) {
|
|
5819
|
+
const ret = makeMutClosure(arg0, arg1, 4913, __wbg_adapter_50);
|
|
5763
5820
|
return ret;
|
|
5764
5821
|
};
|
|
5765
|
-
imports.wbg.
|
|
5766
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5822
|
+
imports.wbg.__wbindgen_closure_wrapper22404 = function(arg0, arg1, arg2) {
|
|
5823
|
+
const ret = makeMutClosure(arg0, arg1, 5187, __wbg_adapter_53);
|
|
5767
5824
|
return ret;
|
|
5768
5825
|
};
|
|
5769
|
-
imports.wbg.
|
|
5770
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5826
|
+
imports.wbg.__wbindgen_closure_wrapper23059 = function(arg0, arg1, arg2) {
|
|
5827
|
+
const ret = makeMutClosure(arg0, arg1, 5211, __wbg_adapter_56);
|
|
5771
5828
|
return ret;
|
|
5772
5829
|
};
|
|
5773
5830
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|