@xmtp/wasm-bindings 1.2.0 → 1.2.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/dist/bindings_wasm.d.ts +162 -157
- package/dist/bindings_wasm.js +124 -101
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +154 -153
- package/dist/snippets/wasm-array-cp-201e2a98f0e691f7/copy.min.js +1 -0
- package/dist/version.json +2 -2
- package/package.json +6 -2
- package/dist/snippets/sqlite-wasm-rs-7363ec544fce135b/src/vfs/utils.js +0 -11
package/dist/bindings_wasm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSArrayBufferCopy } from './snippets/wasm-array-cp-201e2a98f0e691f7/copy.min.js';
|
|
2
2
|
|
|
3
3
|
let wasm;
|
|
4
4
|
|
|
@@ -226,23 +226,16 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
226
226
|
return ptr;
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
function takeFromExternrefTable0(idx) {
|
|
230
|
-
const value = wasm.__wbindgen_export_4.get(idx);
|
|
231
|
-
wasm.__externref_table_dealloc(idx);
|
|
232
|
-
return value;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
229
|
function _assertClass(instance, klass) {
|
|
236
230
|
if (!(instance instanceof klass)) {
|
|
237
231
|
throw new Error(`expected instance of ${klass.name}`);
|
|
238
232
|
}
|
|
239
233
|
}
|
|
240
234
|
|
|
241
|
-
function
|
|
242
|
-
const
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
return ptr;
|
|
235
|
+
function takeFromExternrefTable0(idx) {
|
|
236
|
+
const value = wasm.__wbindgen_export_4.get(idx);
|
|
237
|
+
wasm.__externref_table_dealloc(idx);
|
|
238
|
+
return value;
|
|
246
239
|
}
|
|
247
240
|
/**
|
|
248
241
|
* @param {MultiRemoteAttachment} multiRemoteAttachment
|
|
@@ -296,6 +289,12 @@ export function decodeReaction(bytes) {
|
|
|
296
289
|
return Reaction.__wrap(ret[0]);
|
|
297
290
|
}
|
|
298
291
|
|
|
292
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
293
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
294
|
+
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
295
|
+
WASM_VECTOR_LEN = arg.length;
|
|
296
|
+
return ptr;
|
|
297
|
+
}
|
|
299
298
|
/**
|
|
300
299
|
* @param {string} signature_text
|
|
301
300
|
* @param {Uint8Array} signature_bytes
|
|
@@ -375,23 +374,23 @@ export function generateInboxId(accountIdentifier) {
|
|
|
375
374
|
}
|
|
376
375
|
|
|
377
376
|
function __wbg_adapter_50(arg0, arg1) {
|
|
378
|
-
wasm.
|
|
377
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc094ec3bdf8c16b7(arg0, arg1);
|
|
379
378
|
}
|
|
380
379
|
|
|
381
380
|
function __wbg_adapter_53(arg0, arg1) {
|
|
382
|
-
wasm.
|
|
381
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0eb99f8c2f057fcc(arg0, arg1);
|
|
383
382
|
}
|
|
384
383
|
|
|
385
384
|
function __wbg_adapter_56(arg0, arg1, arg2) {
|
|
386
|
-
wasm.
|
|
385
|
+
wasm.closure4487_externref_shim(arg0, arg1, arg2);
|
|
387
386
|
}
|
|
388
387
|
|
|
389
388
|
function __wbg_adapter_59(arg0, arg1) {
|
|
390
|
-
wasm.
|
|
389
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h232599d7dcf89d52(arg0, arg1);
|
|
391
390
|
}
|
|
392
391
|
|
|
393
|
-
function
|
|
394
|
-
wasm.
|
|
392
|
+
function __wbg_adapter_774(arg0, arg1, arg2, arg3) {
|
|
393
|
+
wasm.closure5463_externref_shim(arg0, arg1, arg2, arg3);
|
|
395
394
|
}
|
|
396
395
|
|
|
397
396
|
/**
|
|
@@ -704,27 +703,6 @@ export class Client {
|
|
|
704
703
|
const ptr = this.__destroy_into_raw();
|
|
705
704
|
wasm.__wbg_client_free(ptr, 0);
|
|
706
705
|
}
|
|
707
|
-
/**
|
|
708
|
-
* @param {Consent[]} records
|
|
709
|
-
* @returns {Promise<void>}
|
|
710
|
-
*/
|
|
711
|
-
setConsentStates(records) {
|
|
712
|
-
const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
|
|
713
|
-
const len0 = WASM_VECTOR_LEN;
|
|
714
|
-
const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
|
|
715
|
-
return ret;
|
|
716
|
-
}
|
|
717
|
-
/**
|
|
718
|
-
* @param {ConsentEntityType} entity_type
|
|
719
|
-
* @param {string} entity
|
|
720
|
-
* @returns {Promise<ConsentState>}
|
|
721
|
-
*/
|
|
722
|
-
getConsentState(entity_type, entity) {
|
|
723
|
-
const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
724
|
-
const len0 = WASM_VECTOR_LEN;
|
|
725
|
-
const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
|
|
726
|
-
return ret;
|
|
727
|
-
}
|
|
728
706
|
/**
|
|
729
707
|
* @returns {string | undefined}
|
|
730
708
|
*/
|
|
@@ -1031,6 +1009,27 @@ export class Client {
|
|
|
1031
1009
|
const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
|
|
1032
1010
|
return ret;
|
|
1033
1011
|
}
|
|
1012
|
+
/**
|
|
1013
|
+
* @param {Consent[]} records
|
|
1014
|
+
* @returns {Promise<void>}
|
|
1015
|
+
*/
|
|
1016
|
+
setConsentStates(records) {
|
|
1017
|
+
const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
|
|
1018
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1019
|
+
const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
|
|
1020
|
+
return ret;
|
|
1021
|
+
}
|
|
1022
|
+
/**
|
|
1023
|
+
* @param {ConsentEntityType} entity_type
|
|
1024
|
+
* @param {string} entity
|
|
1025
|
+
* @returns {Promise<ConsentState>}
|
|
1026
|
+
*/
|
|
1027
|
+
getConsentState(entity_type, entity) {
|
|
1028
|
+
const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1029
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1030
|
+
const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
|
|
1031
|
+
return ret;
|
|
1032
|
+
}
|
|
1034
1033
|
}
|
|
1035
1034
|
|
|
1036
1035
|
const ConsentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -1167,7 +1166,7 @@ export class ContentTypeId {
|
|
|
1167
1166
|
set authorityId(arg0) {
|
|
1168
1167
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1169
1168
|
const len0 = WASM_VECTOR_LEN;
|
|
1170
|
-
wasm.
|
|
1169
|
+
wasm.__wbg_set_contenttypeid_authorityId(this.__wbg_ptr, ptr0, len0);
|
|
1171
1170
|
}
|
|
1172
1171
|
/**
|
|
1173
1172
|
* @returns {string}
|
|
@@ -1261,25 +1260,6 @@ export class Conversation {
|
|
|
1261
1260
|
const ptr = this.__destroy_into_raw();
|
|
1262
1261
|
wasm.__wbg_conversation_free(ptr, 0);
|
|
1263
1262
|
}
|
|
1264
|
-
/**
|
|
1265
|
-
* @returns {ConsentState}
|
|
1266
|
-
*/
|
|
1267
|
-
consentState() {
|
|
1268
|
-
const ret = wasm.conversation_consentState(this.__wbg_ptr);
|
|
1269
|
-
if (ret[2]) {
|
|
1270
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
1271
|
-
}
|
|
1272
|
-
return ret[0];
|
|
1273
|
-
}
|
|
1274
|
-
/**
|
|
1275
|
-
* @param {ConsentState} state
|
|
1276
|
-
*/
|
|
1277
|
-
updateConsentState(state) {
|
|
1278
|
-
const ret = wasm.conversation_updateConsentState(this.__wbg_ptr, state);
|
|
1279
|
-
if (ret[1]) {
|
|
1280
|
-
throw takeFromExternrefTable0(ret[0]);
|
|
1281
|
-
}
|
|
1282
|
-
}
|
|
1283
1263
|
/**
|
|
1284
1264
|
* @returns {string}
|
|
1285
1265
|
*/
|
|
@@ -1774,6 +1754,25 @@ export class Conversation {
|
|
|
1774
1754
|
const ret = wasm.conversation_findDuplicateDms(this.__wbg_ptr);
|
|
1775
1755
|
return ret;
|
|
1776
1756
|
}
|
|
1757
|
+
/**
|
|
1758
|
+
* @returns {ConsentState}
|
|
1759
|
+
*/
|
|
1760
|
+
consentState() {
|
|
1761
|
+
const ret = wasm.conversation_consentState(this.__wbg_ptr);
|
|
1762
|
+
if (ret[2]) {
|
|
1763
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
1764
|
+
}
|
|
1765
|
+
return ret[0];
|
|
1766
|
+
}
|
|
1767
|
+
/**
|
|
1768
|
+
* @param {ConsentState} state
|
|
1769
|
+
*/
|
|
1770
|
+
updateConsentState(state) {
|
|
1771
|
+
const ret = wasm.conversation_updateConsentState(this.__wbg_ptr, state);
|
|
1772
|
+
if (ret[1]) {
|
|
1773
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
1774
|
+
}
|
|
1775
|
+
}
|
|
1777
1776
|
}
|
|
1778
1777
|
|
|
1779
1778
|
const ConversationDebugInfoFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -2106,6 +2105,15 @@ export class Conversations {
|
|
|
2106
2105
|
}
|
|
2107
2106
|
return takeFromExternrefTable0(ret[0]);
|
|
2108
2107
|
}
|
|
2108
|
+
/**
|
|
2109
|
+
* Returns a 'ReadableStream' of Conversations
|
|
2110
|
+
* @param {ConversationType | null} [conversation_type]
|
|
2111
|
+
* @returns {Promise<ReadableStream>}
|
|
2112
|
+
*/
|
|
2113
|
+
streamLocal(conversation_type) {
|
|
2114
|
+
const ret = wasm.conversations_streamLocal(this.__wbg_ptr, isLikeNone(conversation_type) ? 3 : conversation_type);
|
|
2115
|
+
return ret;
|
|
2116
|
+
}
|
|
2109
2117
|
/**
|
|
2110
2118
|
* @param {any} callback
|
|
2111
2119
|
* @param {ConversationType | null} [conversation_type]
|
|
@@ -2889,7 +2897,7 @@ export class InboxState {
|
|
|
2889
2897
|
set inboxId(arg0) {
|
|
2890
2898
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2891
2899
|
const len0 = WASM_VECTOR_LEN;
|
|
2892
|
-
wasm.
|
|
2900
|
+
wasm.__wbg_set_groupmember_inboxId(this.__wbg_ptr, ptr0, len0);
|
|
2893
2901
|
}
|
|
2894
2902
|
/**
|
|
2895
2903
|
* @returns {Identifier}
|
|
@@ -3155,6 +3163,14 @@ const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undef
|
|
|
3155
3163
|
|
|
3156
3164
|
export class IntoUnderlyingSource {
|
|
3157
3165
|
|
|
3166
|
+
static __wrap(ptr) {
|
|
3167
|
+
ptr = ptr >>> 0;
|
|
3168
|
+
const obj = Object.create(IntoUnderlyingSource.prototype);
|
|
3169
|
+
obj.__wbg_ptr = ptr;
|
|
3170
|
+
IntoUnderlyingSourceFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
3171
|
+
return obj;
|
|
3172
|
+
}
|
|
3173
|
+
|
|
3158
3174
|
__destroy_into_raw() {
|
|
3159
3175
|
const ptr = this.__wbg_ptr;
|
|
3160
3176
|
this.__wbg_ptr = 0;
|
|
@@ -3266,27 +3282,27 @@ export class Lifetime {
|
|
|
3266
3282
|
* @returns {bigint}
|
|
3267
3283
|
*/
|
|
3268
3284
|
get not_before() {
|
|
3269
|
-
const ret = wasm.
|
|
3285
|
+
const ret = wasm.__wbg_get_apistats_upload_key_package(this.__wbg_ptr);
|
|
3270
3286
|
return BigInt.asUintN(64, ret);
|
|
3271
3287
|
}
|
|
3272
3288
|
/**
|
|
3273
3289
|
* @param {bigint} arg0
|
|
3274
3290
|
*/
|
|
3275
3291
|
set not_before(arg0) {
|
|
3276
|
-
wasm.
|
|
3292
|
+
wasm.__wbg_set_apistats_upload_key_package(this.__wbg_ptr, arg0);
|
|
3277
3293
|
}
|
|
3278
3294
|
/**
|
|
3279
3295
|
* @returns {bigint}
|
|
3280
3296
|
*/
|
|
3281
3297
|
get not_after() {
|
|
3282
|
-
const ret = wasm.
|
|
3298
|
+
const ret = wasm.__wbg_get_apistats_fetch_key_package(this.__wbg_ptr);
|
|
3283
3299
|
return BigInt.asUintN(64, ret);
|
|
3284
3300
|
}
|
|
3285
3301
|
/**
|
|
3286
3302
|
* @param {bigint} arg0
|
|
3287
3303
|
*/
|
|
3288
3304
|
set not_after(arg0) {
|
|
3289
|
-
wasm.
|
|
3305
|
+
wasm.__wbg_set_apistats_fetch_key_package(this.__wbg_ptr, arg0);
|
|
3290
3306
|
}
|
|
3291
3307
|
}
|
|
3292
3308
|
|
|
@@ -4332,7 +4348,7 @@ export class Reaction {
|
|
|
4332
4348
|
set reference(arg0) {
|
|
4333
4349
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4334
4350
|
const len0 = WASM_VECTOR_LEN;
|
|
4335
|
-
wasm.
|
|
4351
|
+
wasm.__wbg_set_contenttypeid_authorityId(this.__wbg_ptr, ptr0, len0);
|
|
4336
4352
|
}
|
|
4337
4353
|
/**
|
|
4338
4354
|
* @returns {string}
|
|
@@ -4355,7 +4371,7 @@ export class Reaction {
|
|
|
4355
4371
|
set referenceInboxId(arg0) {
|
|
4356
4372
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4357
4373
|
const len0 = WASM_VECTOR_LEN;
|
|
4358
|
-
wasm.
|
|
4374
|
+
wasm.__wbg_set_contenttypeid_typeId(this.__wbg_ptr, ptr0, len0);
|
|
4359
4375
|
}
|
|
4360
4376
|
/**
|
|
4361
4377
|
* @returns {ReactionAction}
|
|
@@ -4787,11 +4803,11 @@ function __wbg_get_imports() {
|
|
|
4787
4803
|
const ret = clearInterval(arg0);
|
|
4788
4804
|
return ret;
|
|
4789
4805
|
};
|
|
4790
|
-
imports.wbg.
|
|
4806
|
+
imports.wbg.__wbg_clearTimeout_121ece162c044c80 = function(arg0) {
|
|
4791
4807
|
const ret = clearTimeout(arg0);
|
|
4792
4808
|
return ret;
|
|
4793
4809
|
};
|
|
4794
|
-
imports.wbg.
|
|
4810
|
+
imports.wbg.__wbg_clearTimeout_5a54f8841c30079a = function(arg0) {
|
|
4795
4811
|
const ret = clearTimeout(arg0);
|
|
4796
4812
|
return ret;
|
|
4797
4813
|
};
|
|
@@ -4892,12 +4908,12 @@ function __wbg_get_imports() {
|
|
|
4892
4908
|
imports.wbg.__wbg_error_80de38b3f7cc3c3c = function(arg0, arg1, arg2, arg3) {
|
|
4893
4909
|
console.error(arg0, arg1, arg2, arg3);
|
|
4894
4910
|
};
|
|
4895
|
-
imports.wbg.
|
|
4896
|
-
const ret =
|
|
4911
|
+
imports.wbg.__wbg_fetch_43e69ddf509149f8 = function(arg0) {
|
|
4912
|
+
const ret = fetch(arg0);
|
|
4897
4913
|
return ret;
|
|
4898
4914
|
};
|
|
4899
|
-
imports.wbg.
|
|
4900
|
-
const ret = fetch(
|
|
4915
|
+
imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
|
|
4916
|
+
const ret = arg0.fetch(arg1);
|
|
4901
4917
|
return ret;
|
|
4902
4918
|
};
|
|
4903
4919
|
imports.wbg.__wbg_fill_3311db9cdf18c6c4 = function(arg0, arg1, arg2, arg3) {
|
|
@@ -4950,7 +4966,7 @@ function __wbg_get_imports() {
|
|
|
4950
4966
|
imports.wbg.__wbg_getRandomValues_3c9c0d586e575a16 = function() { return handleError(function (arg0, arg1) {
|
|
4951
4967
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
4952
4968
|
}, arguments) };
|
|
4953
|
-
imports.wbg.
|
|
4969
|
+
imports.wbg.__wbg_getRandomValues_4222c05e65c4cb4d = function() { return handleError(function (arg0, arg1) {
|
|
4954
4970
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
4955
4971
|
}, arguments) };
|
|
4956
4972
|
imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
@@ -5187,7 +5203,7 @@ function __wbg_get_imports() {
|
|
|
5187
5203
|
const a = state0.a;
|
|
5188
5204
|
state0.a = 0;
|
|
5189
5205
|
try {
|
|
5190
|
-
return
|
|
5206
|
+
return __wbg_adapter_774(a, state0.b, arg0, arg1);
|
|
5191
5207
|
} finally {
|
|
5192
5208
|
state0.a = a;
|
|
5193
5209
|
}
|
|
@@ -5250,6 +5266,10 @@ function __wbg_get_imports() {
|
|
|
5250
5266
|
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
5251
5267
|
return ret;
|
|
5252
5268
|
};
|
|
5269
|
+
imports.wbg.__wbg_newwithintounderlyingsource_b47f6a6a596a7f24 = function(arg0, arg1) {
|
|
5270
|
+
const ret = new ReadableStream(IntoUnderlyingSource.__wrap(arg0), arg1);
|
|
5271
|
+
return ret;
|
|
5272
|
+
};
|
|
5253
5273
|
imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
|
|
5254
5274
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
5255
5275
|
return ret;
|
|
@@ -5282,6 +5302,11 @@ function __wbg_get_imports() {
|
|
|
5282
5302
|
const ret = arg0.now();
|
|
5283
5303
|
return ret;
|
|
5284
5304
|
};
|
|
5305
|
+
imports.wbg.__wbg_now_7b5abb0a69e028e7 = function(arg0) {
|
|
5306
|
+
const ret = globalThis.performance.now();
|
|
5307
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
5308
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
5309
|
+
};
|
|
5285
5310
|
imports.wbg.__wbg_now_807e54c39636c349 = function() {
|
|
5286
5311
|
const ret = Date.now();
|
|
5287
5312
|
return ret;
|
|
@@ -5290,24 +5315,19 @@ function __wbg_get_imports() {
|
|
|
5290
5315
|
const ret = arg0.now();
|
|
5291
5316
|
return ret;
|
|
5292
5317
|
};
|
|
5293
|
-
imports.wbg.
|
|
5294
|
-
const ret = globalThis.performance.now();
|
|
5295
|
-
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
5296
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
5297
|
-
};
|
|
5298
|
-
imports.wbg.__wbg_onconsentupdate_4ebce420dd750015 = function(arg0, arg1) {
|
|
5318
|
+
imports.wbg.__wbg_onconsentupdate_f1fb42cc2ff15d86 = function(arg0, arg1) {
|
|
5299
5319
|
arg0.on_consent_update(arg1);
|
|
5300
5320
|
};
|
|
5301
|
-
imports.wbg.
|
|
5321
|
+
imports.wbg.__wbg_onconversation_1360ce64782d004d = function(arg0, arg1) {
|
|
5302
5322
|
arg0.on_conversation(Conversation.__wrap(arg1));
|
|
5303
5323
|
};
|
|
5304
|
-
imports.wbg.
|
|
5324
|
+
imports.wbg.__wbg_onerror_3460845a0ed0d5bb = function(arg0, arg1) {
|
|
5305
5325
|
arg0.on_error(arg1);
|
|
5306
5326
|
};
|
|
5307
|
-
imports.wbg.
|
|
5327
|
+
imports.wbg.__wbg_onmessage_41cbe56dc22058f1 = function(arg0, arg1) {
|
|
5308
5328
|
arg0.on_message(Message.__wrap(arg1));
|
|
5309
5329
|
};
|
|
5310
|
-
imports.wbg.
|
|
5330
|
+
imports.wbg.__wbg_onuserpreferenceupdate_ebf9a59554754d98 = function(arg0, arg1, arg2) {
|
|
5311
5331
|
var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
|
|
5312
5332
|
wasm.__wbindgen_free(arg1, arg2 * 4, 4);
|
|
5313
5333
|
arg0.on_user_preference_update(v0);
|
|
@@ -5391,14 +5411,14 @@ function __wbg_get_imports() {
|
|
|
5391
5411
|
const ret = setInterval(arg0, arg1);
|
|
5392
5412
|
return ret;
|
|
5393
5413
|
}, arguments) };
|
|
5394
|
-
imports.wbg.__wbg_setTimeout_2e707715f8cc9497 = function(arg0, arg1) {
|
|
5395
|
-
const ret = setTimeout(arg0, arg1);
|
|
5396
|
-
return ret;
|
|
5397
|
-
};
|
|
5398
5414
|
imports.wbg.__wbg_setTimeout_db2dbaeefb6f39c7 = function() { return handleError(function (arg0, arg1) {
|
|
5399
5415
|
const ret = setTimeout(arg0, arg1);
|
|
5400
5416
|
return ret;
|
|
5401
5417
|
}, arguments) };
|
|
5418
|
+
imports.wbg.__wbg_setTimeout_e64b2910d9d7169a = function(arg0, arg1) {
|
|
5419
|
+
const ret = setTimeout(arg0, arg1);
|
|
5420
|
+
return ret;
|
|
5421
|
+
};
|
|
5402
5422
|
imports.wbg.__wbg_setTimeout_eefe7f4c234b0c6b = function() { return handleError(function (arg0, arg1) {
|
|
5403
5423
|
const ret = setTimeout(arg0, arg1);
|
|
5404
5424
|
return ret;
|
|
@@ -5441,6 +5461,9 @@ function __wbg_get_imports() {
|
|
|
5441
5461
|
imports.wbg.__wbg_setheaders_834c0bdb6a8949ad = function(arg0, arg1) {
|
|
5442
5462
|
arg0.headers = arg1;
|
|
5443
5463
|
};
|
|
5464
|
+
imports.wbg.__wbg_sethighwatermark_793c99c89830c8e9 = function(arg0, arg1) {
|
|
5465
|
+
arg0.highWaterMark = arg1;
|
|
5466
|
+
};
|
|
5444
5467
|
imports.wbg.__wbg_setmethod_3c5280fe5d890842 = function(arg0, arg1, arg2) {
|
|
5445
5468
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
5446
5469
|
};
|
|
@@ -5513,15 +5536,15 @@ function __wbg_get_imports() {
|
|
|
5513
5536
|
const ret = arg0.then(arg1, arg2);
|
|
5514
5537
|
return ret;
|
|
5515
5538
|
};
|
|
5516
|
-
imports.wbg.__wbg_toSlice_543b72cb118ed345 = function(arg0, arg1, arg2, arg3) {
|
|
5517
|
-
JSUtils.toSlice(arg0, arg1, arg2 >>> 0, arg3 >>> 0);
|
|
5518
|
-
};
|
|
5519
5539
|
imports.wbg.__wbg_toString_ba82658ec370add0 = function() { return handleError(function (arg0, arg1) {
|
|
5520
5540
|
const ret = arg0.toString(arg1);
|
|
5521
5541
|
return ret;
|
|
5522
5542
|
}, arguments) };
|
|
5523
|
-
imports.wbg.
|
|
5524
|
-
|
|
5543
|
+
imports.wbg.__wbg_toU8Array_7fa7fb3ae8554ad0 = function(arg0, arg1, arg2, arg3) {
|
|
5544
|
+
JSArrayBufferCopy.toU8Array(arg0, arg1 >>> 0, arg2 >>> 0, arg3);
|
|
5545
|
+
};
|
|
5546
|
+
imports.wbg.__wbg_toU8Slice_11519abfa5176ae4 = function(arg0, arg1, arg2, arg3) {
|
|
5547
|
+
JSArrayBufferCopy.toU8Slice(arg0, arg1, arg2 >>> 0, arg3 >>> 0);
|
|
5525
5548
|
};
|
|
5526
5549
|
imports.wbg.__wbg_truncate_29261a6365c72b01 = function() { return handleError(function (arg0, arg1) {
|
|
5527
5550
|
arg0.truncate(arg1 >>> 0);
|
|
@@ -5591,20 +5614,20 @@ function __wbg_get_imports() {
|
|
|
5591
5614
|
const ret = false;
|
|
5592
5615
|
return ret;
|
|
5593
5616
|
};
|
|
5594
|
-
imports.wbg.
|
|
5595
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5617
|
+
imports.wbg.__wbindgen_closure_wrapper17370 = function(arg0, arg1, arg2) {
|
|
5618
|
+
const ret = makeMutClosure(arg0, arg1, 4124, __wbg_adapter_50);
|
|
5596
5619
|
return ret;
|
|
5597
5620
|
};
|
|
5598
|
-
imports.wbg.
|
|
5599
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5621
|
+
imports.wbg.__wbindgen_closure_wrapper17530 = function(arg0, arg1, arg2) {
|
|
5622
|
+
const ret = makeMutClosure(arg0, arg1, 4182, __wbg_adapter_53);
|
|
5600
5623
|
return ret;
|
|
5601
5624
|
};
|
|
5602
|
-
imports.wbg.
|
|
5603
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5625
|
+
imports.wbg.__wbindgen_closure_wrapper20634 = function(arg0, arg1, arg2) {
|
|
5626
|
+
const ret = makeMutClosure(arg0, arg1, 4488, __wbg_adapter_56);
|
|
5604
5627
|
return ret;
|
|
5605
5628
|
};
|
|
5606
|
-
imports.wbg.
|
|
5607
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5629
|
+
imports.wbg.__wbindgen_closure_wrapper20744 = function(arg0, arg1, arg2) {
|
|
5630
|
+
const ret = makeMutClosure(arg0, arg1, 4499, __wbg_adapter_59);
|
|
5608
5631
|
return ret;
|
|
5609
5632
|
};
|
|
5610
5633
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|