@xmtp/wasm-bindings 1.3.6 → 1.4.0-rc1
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 +234 -226
- package/dist/bindings_wasm.js +117 -83
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +225 -221
- package/dist/version.json +3 -3
- package/package.json +1 -1
package/dist/bindings_wasm.js
CHANGED
|
@@ -216,11 +216,34 @@ 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
|
+
}
|
|
224
247
|
/**
|
|
225
248
|
* @param {string} host
|
|
226
249
|
* @param {string} inbox_id
|
|
@@ -255,21 +278,32 @@ export function createClient(host, inbox_id, account_identifier, db_path, encryp
|
|
|
255
278
|
return ret;
|
|
256
279
|
}
|
|
257
280
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
281
|
+
/**
|
|
282
|
+
* @param {MultiRemoteAttachment} multiRemoteAttachment
|
|
283
|
+
* @returns {Uint8Array}
|
|
284
|
+
*/
|
|
285
|
+
export function encodeMultiRemoteAttachment(multiRemoteAttachment) {
|
|
286
|
+
_assertClass(multiRemoteAttachment, MultiRemoteAttachment);
|
|
287
|
+
var ptr0 = multiRemoteAttachment.__destroy_into_raw();
|
|
288
|
+
const ret = wasm.encodeMultiRemoteAttachment(ptr0);
|
|
289
|
+
if (ret[2]) {
|
|
290
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
263
291
|
}
|
|
264
|
-
|
|
265
|
-
return ptr;
|
|
292
|
+
return takeFromExternrefTable0(ret[0]);
|
|
266
293
|
}
|
|
267
294
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
295
|
+
/**
|
|
296
|
+
* @param {Uint8Array} bytes
|
|
297
|
+
* @returns {MultiRemoteAttachment}
|
|
298
|
+
*/
|
|
299
|
+
export function decodeMultiRemoteAttachment(bytes) {
|
|
300
|
+
const ret = wasm.decodeMultiRemoteAttachment(bytes);
|
|
301
|
+
if (ret[2]) {
|
|
302
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
303
|
+
}
|
|
304
|
+
return MultiRemoteAttachment.__wrap(ret[0]);
|
|
272
305
|
}
|
|
306
|
+
|
|
273
307
|
/**
|
|
274
308
|
* @param {Reaction} reaction
|
|
275
309
|
* @returns {Uint8Array}
|
|
@@ -296,12 +330,6 @@ export function decodeReaction(bytes) {
|
|
|
296
330
|
return Reaction.__wrap(ret[0]);
|
|
297
331
|
}
|
|
298
332
|
|
|
299
|
-
function passArray8ToWasm0(arg, malloc) {
|
|
300
|
-
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
301
|
-
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
302
|
-
WASM_VECTOR_LEN = arg.length;
|
|
303
|
-
return ptr;
|
|
304
|
-
}
|
|
305
333
|
/**
|
|
306
334
|
* @param {string} host
|
|
307
335
|
* @param {string[]} inbox_ids
|
|
@@ -361,32 +389,6 @@ export function applySignatureRequest(host, signature_request) {
|
|
|
361
389
|
return ret;
|
|
362
390
|
}
|
|
363
391
|
|
|
364
|
-
/**
|
|
365
|
-
* @param {MultiRemoteAttachment} multiRemoteAttachment
|
|
366
|
-
* @returns {Uint8Array}
|
|
367
|
-
*/
|
|
368
|
-
export function encodeMultiRemoteAttachment(multiRemoteAttachment) {
|
|
369
|
-
_assertClass(multiRemoteAttachment, MultiRemoteAttachment);
|
|
370
|
-
var ptr0 = multiRemoteAttachment.__destroy_into_raw();
|
|
371
|
-
const ret = wasm.encodeMultiRemoteAttachment(ptr0);
|
|
372
|
-
if (ret[2]) {
|
|
373
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
374
|
-
}
|
|
375
|
-
return takeFromExternrefTable0(ret[0]);
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* @param {Uint8Array} bytes
|
|
380
|
-
* @returns {MultiRemoteAttachment}
|
|
381
|
-
*/
|
|
382
|
-
export function decodeMultiRemoteAttachment(bytes) {
|
|
383
|
-
const ret = wasm.decodeMultiRemoteAttachment(bytes);
|
|
384
|
-
if (ret[2]) {
|
|
385
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
386
|
-
}
|
|
387
|
-
return MultiRemoteAttachment.__wrap(ret[0]);
|
|
388
|
-
}
|
|
389
|
-
|
|
390
392
|
/**
|
|
391
393
|
* @param {string} host
|
|
392
394
|
* @param {Identifier} accountIdentifier
|
|
@@ -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.closure5195_externref_shim(arg0, arg1, arg2);
|
|
446
448
|
}
|
|
447
449
|
|
|
448
|
-
function
|
|
449
|
-
wasm.
|
|
450
|
+
function __wbg_adapter_791(arg0, arg1, arg2, arg3) {
|
|
451
|
+
wasm.closure6122_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"];
|
|
@@ -1214,7 +1218,7 @@ export class ContentTypeId {
|
|
|
1214
1218
|
set authorityId(arg0) {
|
|
1215
1219
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1216
1220
|
const len0 = WASM_VECTOR_LEN;
|
|
1217
|
-
wasm.
|
|
1221
|
+
wasm.__wbg_set_contenttypeid_authorityId(this.__wbg_ptr, ptr0, len0);
|
|
1218
1222
|
}
|
|
1219
1223
|
/**
|
|
1220
1224
|
* @returns {string}
|
|
@@ -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
|
*/
|
|
@@ -1985,11 +2002,25 @@ export class ConversationListItem {
|
|
|
1985
2002
|
}
|
|
1986
2003
|
wasm.__wbg_set_conversationlistitem_lastMessage(this.__wbg_ptr, ptr0);
|
|
1987
2004
|
}
|
|
2005
|
+
/**
|
|
2006
|
+
* @returns {boolean | undefined}
|
|
2007
|
+
*/
|
|
2008
|
+
get isCommitLogForked() {
|
|
2009
|
+
const ret = wasm.__wbg_get_conversationlistitem_isCommitLogForked(this.__wbg_ptr);
|
|
2010
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
2011
|
+
}
|
|
2012
|
+
/**
|
|
2013
|
+
* @param {boolean | null} [arg0]
|
|
2014
|
+
*/
|
|
2015
|
+
set isCommitLogForked(arg0) {
|
|
2016
|
+
wasm.__wbg_set_conversationlistitem_isCommitLogForked(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
2017
|
+
}
|
|
1988
2018
|
/**
|
|
1989
2019
|
* @param {Conversation} conversation
|
|
1990
2020
|
* @param {Message | null} [last_message]
|
|
2021
|
+
* @param {boolean | null} [is_commit_log_forked]
|
|
1991
2022
|
*/
|
|
1992
|
-
constructor(conversation, last_message) {
|
|
2023
|
+
constructor(conversation, last_message, is_commit_log_forked) {
|
|
1993
2024
|
_assertClass(conversation, Conversation);
|
|
1994
2025
|
var ptr0 = conversation.__destroy_into_raw();
|
|
1995
2026
|
let ptr1 = 0;
|
|
@@ -1997,7 +2028,7 @@ export class ConversationListItem {
|
|
|
1997
2028
|
_assertClass(last_message, Message);
|
|
1998
2029
|
ptr1 = last_message.__destroy_into_raw();
|
|
1999
2030
|
}
|
|
2000
|
-
const ret = wasm.conversationlistitem_new(ptr0, ptr1);
|
|
2031
|
+
const ret = wasm.conversationlistitem_new(ptr0, ptr1, isLikeNone(is_commit_log_forked) ? 0xFFFFFF : is_commit_log_forked ? 1 : 0);
|
|
2001
2032
|
this.__wbg_ptr = ret >>> 0;
|
|
2002
2033
|
ConversationListItemFinalization.register(this, this.__wbg_ptr, this);
|
|
2003
2034
|
return this;
|
|
@@ -3116,7 +3147,7 @@ export class Installation {
|
|
|
3116
3147
|
set id(arg0) {
|
|
3117
3148
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3118
3149
|
const len0 = WASM_VECTOR_LEN;
|
|
3119
|
-
wasm.
|
|
3150
|
+
wasm.__wbg_set_installation_id(this.__wbg_ptr, ptr0, len0);
|
|
3120
3151
|
}
|
|
3121
3152
|
/**
|
|
3122
3153
|
* @returns {bigint | undefined}
|
|
@@ -3301,7 +3332,7 @@ export class KeyPackageStatus {
|
|
|
3301
3332
|
* @returns {Lifetime | undefined}
|
|
3302
3333
|
*/
|
|
3303
3334
|
get lifetime() {
|
|
3304
|
-
const ret = wasm.
|
|
3335
|
+
const ret = wasm.__wbg_get_keypackagestatus_lifetime(this.__wbg_ptr);
|
|
3305
3336
|
return ret === 0 ? undefined : Lifetime.__wrap(ret);
|
|
3306
3337
|
}
|
|
3307
3338
|
/**
|
|
@@ -3313,7 +3344,7 @@ export class KeyPackageStatus {
|
|
|
3313
3344
|
_assertClass(arg0, Lifetime);
|
|
3314
3345
|
ptr0 = arg0.__destroy_into_raw();
|
|
3315
3346
|
}
|
|
3316
|
-
wasm.
|
|
3347
|
+
wasm.__wbg_set_keypackagestatus_lifetime(this.__wbg_ptr, ptr0);
|
|
3317
3348
|
}
|
|
3318
3349
|
/**
|
|
3319
3350
|
* @returns {string | undefined}
|
|
@@ -3366,27 +3397,27 @@ export class Lifetime {
|
|
|
3366
3397
|
* @returns {bigint}
|
|
3367
3398
|
*/
|
|
3368
3399
|
get not_before() {
|
|
3369
|
-
const ret = wasm.
|
|
3400
|
+
const ret = wasm.__wbg_get_apistats_upload_key_package(this.__wbg_ptr);
|
|
3370
3401
|
return BigInt.asUintN(64, ret);
|
|
3371
3402
|
}
|
|
3372
3403
|
/**
|
|
3373
3404
|
* @param {bigint} arg0
|
|
3374
3405
|
*/
|
|
3375
3406
|
set not_before(arg0) {
|
|
3376
|
-
wasm.
|
|
3407
|
+
wasm.__wbg_set_apistats_upload_key_package(this.__wbg_ptr, arg0);
|
|
3377
3408
|
}
|
|
3378
3409
|
/**
|
|
3379
3410
|
* @returns {bigint}
|
|
3380
3411
|
*/
|
|
3381
3412
|
get not_after() {
|
|
3382
|
-
const ret = wasm.
|
|
3413
|
+
const ret = wasm.__wbg_get_apistats_fetch_key_package(this.__wbg_ptr);
|
|
3383
3414
|
return BigInt.asUintN(64, ret);
|
|
3384
3415
|
}
|
|
3385
3416
|
/**
|
|
3386
3417
|
* @param {bigint} arg0
|
|
3387
3418
|
*/
|
|
3388
3419
|
set not_after(arg0) {
|
|
3389
|
-
wasm.
|
|
3420
|
+
wasm.__wbg_set_apistats_fetch_key_package(this.__wbg_ptr, arg0);
|
|
3390
3421
|
}
|
|
3391
3422
|
}
|
|
3392
3423
|
|
|
@@ -3451,7 +3482,7 @@ export class ListConversationsOptions {
|
|
|
3451
3482
|
* @param {bigint | null} [arg0]
|
|
3452
3483
|
*/
|
|
3453
3484
|
set createdAfterNs(arg0) {
|
|
3454
|
-
wasm.
|
|
3485
|
+
wasm.__wbg_set_listconversationsoptions_createdAfterNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
3455
3486
|
}
|
|
3456
3487
|
/**
|
|
3457
3488
|
* @returns {bigint | undefined}
|
|
@@ -3558,7 +3589,7 @@ export class ListMessagesOptions {
|
|
|
3558
3589
|
* @param {bigint | null} [arg0]
|
|
3559
3590
|
*/
|
|
3560
3591
|
set sentBeforeNs(arg0) {
|
|
3561
|
-
wasm.
|
|
3592
|
+
wasm.__wbg_set_listconversationsoptions_createdAfterNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
3562
3593
|
}
|
|
3563
3594
|
/**
|
|
3564
3595
|
* @returns {bigint | undefined}
|
|
@@ -4455,7 +4486,7 @@ export class Reaction {
|
|
|
4455
4486
|
set referenceInboxId(arg0) {
|
|
4456
4487
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4457
4488
|
const len0 = WASM_VECTOR_LEN;
|
|
4458
|
-
wasm.
|
|
4489
|
+
wasm.__wbg_set_reaction_referenceInboxId(this.__wbg_ptr, ptr0, len0);
|
|
4459
4490
|
}
|
|
4460
4491
|
/**
|
|
4461
4492
|
* @returns {ReactionAction}
|
|
@@ -4950,11 +4981,11 @@ function __wbg_get_imports() {
|
|
|
4950
4981
|
const ret = clearInterval(arg0);
|
|
4951
4982
|
return ret;
|
|
4952
4983
|
};
|
|
4953
|
-
imports.wbg.
|
|
4984
|
+
imports.wbg.__wbg_clearTimeout_5a54f8841c30079a = function(arg0) {
|
|
4954
4985
|
const ret = clearTimeout(arg0);
|
|
4955
4986
|
return ret;
|
|
4956
4987
|
};
|
|
4957
|
-
imports.wbg.
|
|
4988
|
+
imports.wbg.__wbg_clearTimeout_6222fede17abcb1a = function(arg0) {
|
|
4958
4989
|
const ret = clearTimeout(arg0);
|
|
4959
4990
|
return ret;
|
|
4960
4991
|
};
|
|
@@ -5054,14 +5085,14 @@ function __wbg_get_imports() {
|
|
|
5054
5085
|
imports.wbg.__wbg_error_e98c298703cffa97 = function(arg0, arg1) {
|
|
5055
5086
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
5056
5087
|
};
|
|
5057
|
-
imports.wbg.__wbg_fetch_11bff8299d0ecd2b = function(arg0) {
|
|
5058
|
-
const ret = fetch(arg0);
|
|
5059
|
-
return ret;
|
|
5060
|
-
};
|
|
5061
5088
|
imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
|
|
5062
5089
|
const ret = arg0.fetch(arg1);
|
|
5063
5090
|
return ret;
|
|
5064
5091
|
};
|
|
5092
|
+
imports.wbg.__wbg_fetch_f156d10be9a5c88a = function(arg0) {
|
|
5093
|
+
const ret = fetch(arg0);
|
|
5094
|
+
return ret;
|
|
5095
|
+
};
|
|
5065
5096
|
imports.wbg.__wbg_fill_3311db9cdf18c6c4 = function(arg0, arg1, arg2, arg3) {
|
|
5066
5097
|
const ret = arg0.fill(arg1, arg2 >>> 0, arg3 >>> 0);
|
|
5067
5098
|
return ret;
|
|
@@ -5112,7 +5143,7 @@ function __wbg_get_imports() {
|
|
|
5112
5143
|
imports.wbg.__wbg_getRandomValues_3c9c0d586e575a16 = function() { return handleError(function (arg0, arg1) {
|
|
5113
5144
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
5114
5145
|
}, arguments) };
|
|
5115
|
-
imports.wbg.
|
|
5146
|
+
imports.wbg.__wbg_getRandomValues_8e6341dd77432a34 = function() { return handleError(function (arg0, arg1) {
|
|
5116
5147
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
5117
5148
|
}, arguments) };
|
|
5118
5149
|
imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
@@ -5349,7 +5380,7 @@ function __wbg_get_imports() {
|
|
|
5349
5380
|
const a = state0.a;
|
|
5350
5381
|
state0.a = 0;
|
|
5351
5382
|
try {
|
|
5352
|
-
return
|
|
5383
|
+
return __wbg_adapter_791(a, state0.b, arg0, arg1);
|
|
5353
5384
|
} finally {
|
|
5354
5385
|
state0.a = a;
|
|
5355
5386
|
}
|
|
@@ -5444,7 +5475,7 @@ function __wbg_get_imports() {
|
|
|
5444
5475
|
const ret = arg0.now();
|
|
5445
5476
|
return ret;
|
|
5446
5477
|
};
|
|
5447
|
-
imports.wbg.
|
|
5478
|
+
imports.wbg.__wbg_now_2f0bbf3fd348701f = function(arg0) {
|
|
5448
5479
|
const ret = globalThis.performance.now();
|
|
5449
5480
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
5450
5481
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
@@ -5457,22 +5488,22 @@ function __wbg_get_imports() {
|
|
|
5457
5488
|
const ret = arg0.now();
|
|
5458
5489
|
return ret;
|
|
5459
5490
|
};
|
|
5460
|
-
imports.wbg.
|
|
5491
|
+
imports.wbg.__wbg_onclose_a1a7c9cde956b168 = function(arg0) {
|
|
5461
5492
|
arg0.on_close();
|
|
5462
5493
|
};
|
|
5463
|
-
imports.wbg.
|
|
5494
|
+
imports.wbg.__wbg_onconsentupdate_5c31ef82fe9d794e = function(arg0, arg1) {
|
|
5464
5495
|
arg0.on_consent_update(arg1);
|
|
5465
5496
|
};
|
|
5466
|
-
imports.wbg.
|
|
5497
|
+
imports.wbg.__wbg_onconversation_0731767fef8651d2 = function(arg0, arg1) {
|
|
5467
5498
|
arg0.on_conversation(Conversation.__wrap(arg1));
|
|
5468
5499
|
};
|
|
5469
|
-
imports.wbg.
|
|
5500
|
+
imports.wbg.__wbg_onerror_a68b51619eca4dba = function(arg0, arg1) {
|
|
5470
5501
|
arg0.on_error(arg1);
|
|
5471
5502
|
};
|
|
5472
|
-
imports.wbg.
|
|
5503
|
+
imports.wbg.__wbg_onmessage_8992e47c340bee6e = function(arg0, arg1) {
|
|
5473
5504
|
arg0.on_message(Message.__wrap(arg1));
|
|
5474
5505
|
};
|
|
5475
|
-
imports.wbg.
|
|
5506
|
+
imports.wbg.__wbg_onuserpreferenceupdate_ba0ae98c1137d3ac = function(arg0, arg1, arg2) {
|
|
5476
5507
|
var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
|
|
5477
5508
|
wasm.__wbindgen_free(arg1, arg2 * 4, 4);
|
|
5478
5509
|
arg0.on_user_preference_update(v0);
|
|
@@ -5552,7 +5583,7 @@ function __wbg_get_imports() {
|
|
|
5552
5583
|
const ret = setInterval(arg0, arg1);
|
|
5553
5584
|
return ret;
|
|
5554
5585
|
}, arguments) };
|
|
5555
|
-
imports.wbg.
|
|
5586
|
+
imports.wbg.__wbg_setTimeout_2b339866a2aa3789 = function(arg0, arg1) {
|
|
5556
5587
|
const ret = setTimeout(arg0, arg1);
|
|
5557
5588
|
return ret;
|
|
5558
5589
|
};
|
|
@@ -5589,6 +5620,9 @@ function __wbg_get_imports() {
|
|
|
5589
5620
|
imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
|
|
5590
5621
|
arg0.body = arg1;
|
|
5591
5622
|
};
|
|
5623
|
+
imports.wbg.__wbg_setcache_12f17c3a980650e4 = function(arg0, arg1) {
|
|
5624
|
+
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
5625
|
+
};
|
|
5592
5626
|
imports.wbg.__wbg_setcreate_139bad94b2874fb5 = function(arg0, arg1) {
|
|
5593
5627
|
arg0.create = arg1 !== 0;
|
|
5594
5628
|
};
|
|
@@ -5758,16 +5792,16 @@ function __wbg_get_imports() {
|
|
|
5758
5792
|
const ret = false;
|
|
5759
5793
|
return ret;
|
|
5760
5794
|
};
|
|
5761
|
-
imports.wbg.
|
|
5762
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5795
|
+
imports.wbg.__wbindgen_closure_wrapper20250 = function(arg0, arg1, arg2) {
|
|
5796
|
+
const ret = makeMutClosure(arg0, arg1, 4898, __wbg_adapter_50);
|
|
5763
5797
|
return ret;
|
|
5764
5798
|
};
|
|
5765
|
-
imports.wbg.
|
|
5766
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5799
|
+
imports.wbg.__wbindgen_closure_wrapper22370 = function(arg0, arg1, arg2) {
|
|
5800
|
+
const ret = makeMutClosure(arg0, arg1, 5172, __wbg_adapter_53);
|
|
5767
5801
|
return ret;
|
|
5768
5802
|
};
|
|
5769
|
-
imports.wbg.
|
|
5770
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5803
|
+
imports.wbg.__wbindgen_closure_wrapper23025 = function(arg0, arg1, arg2) {
|
|
5804
|
+
const ret = makeMutClosure(arg0, arg1, 5196, __wbg_adapter_56);
|
|
5771
5805
|
return ret;
|
|
5772
5806
|
};
|
|
5773
5807
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|