@xmtp/wasm-bindings 1.6.0-dev.07065a7 → 1.6.0-dev.3656d63
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 +341 -404
- package/dist/bindings_wasm.js +493 -674
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +322 -327
- package/dist/version.json +3 -3
- package/package.json +1 -1
package/dist/bindings_wasm.js
CHANGED
|
@@ -11,16 +11,16 @@ function getUint8ArrayMemory0() {
|
|
|
11
11
|
return cachedUint8ArrayMemory0;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
14
|
+
let cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
|
|
15
15
|
|
|
16
|
-
cachedTextDecoder.decode();
|
|
16
|
+
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
|
|
17
17
|
|
|
18
18
|
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
19
19
|
let numBytesDecoded = 0;
|
|
20
20
|
function decodeText(ptr, len) {
|
|
21
21
|
numBytesDecoded += len;
|
|
22
22
|
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
23
|
-
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
23
|
+
cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
|
|
24
24
|
cachedTextDecoder.decode();
|
|
25
25
|
numBytesDecoded = len;
|
|
26
26
|
}
|
|
@@ -34,18 +34,20 @@ function getStringFromWasm0(ptr, len) {
|
|
|
34
34
|
|
|
35
35
|
let WASM_VECTOR_LEN = 0;
|
|
36
36
|
|
|
37
|
-
const cachedTextEncoder = new TextEncoder();
|
|
37
|
+
const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
view.set(buf);
|
|
43
|
-
return {
|
|
44
|
-
read: arg.length,
|
|
45
|
-
written: buf.length
|
|
46
|
-
};
|
|
47
|
-
}
|
|
39
|
+
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
40
|
+
? function (arg, view) {
|
|
41
|
+
return cachedTextEncoder.encodeInto(arg, view);
|
|
48
42
|
}
|
|
43
|
+
: function (arg, view) {
|
|
44
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
45
|
+
view.set(buf);
|
|
46
|
+
return {
|
|
47
|
+
read: arg.length,
|
|
48
|
+
written: buf.length
|
|
49
|
+
};
|
|
50
|
+
});
|
|
49
51
|
|
|
50
52
|
function passStringToWasm0(arg, malloc, realloc) {
|
|
51
53
|
|
|
@@ -76,7 +78,7 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
76
78
|
}
|
|
77
79
|
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
78
80
|
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
79
|
-
const ret =
|
|
81
|
+
const ret = encodeString(arg, view);
|
|
80
82
|
|
|
81
83
|
offset += ret.written;
|
|
82
84
|
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
@@ -130,6 +132,37 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
130
132
|
return result;
|
|
131
133
|
}
|
|
132
134
|
|
|
135
|
+
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
136
|
+
? { register: () => {}, unregister: () => {} }
|
|
137
|
+
: new FinalizationRegistry(state => {
|
|
138
|
+
wasm.__wbindgen_export_7.get(state.dtor)(state.a, state.b)
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
142
|
+
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
143
|
+
const real = (...args) => {
|
|
144
|
+
// First up with a closure we increment the internal reference
|
|
145
|
+
// count. This ensures that the Rust closure environment won't
|
|
146
|
+
// be deallocated while we're invoking it.
|
|
147
|
+
state.cnt++;
|
|
148
|
+
const a = state.a;
|
|
149
|
+
state.a = 0;
|
|
150
|
+
try {
|
|
151
|
+
return f(a, state.b, ...args);
|
|
152
|
+
} finally {
|
|
153
|
+
if (--state.cnt === 0) {
|
|
154
|
+
wasm.__wbindgen_export_7.get(state.dtor)(a, state.b);
|
|
155
|
+
CLOSURE_DTORS.unregister(state);
|
|
156
|
+
} else {
|
|
157
|
+
state.a = a;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
real.original = state;
|
|
162
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
163
|
+
return real;
|
|
164
|
+
}
|
|
165
|
+
|
|
133
166
|
function debugString(val) {
|
|
134
167
|
// primitive types
|
|
135
168
|
const type = typeof val;
|
|
@@ -195,40 +228,6 @@ function debugString(val) {
|
|
|
195
228
|
return className;
|
|
196
229
|
}
|
|
197
230
|
|
|
198
|
-
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
199
|
-
? { register: () => {}, unregister: () => {} }
|
|
200
|
-
: new FinalizationRegistry(
|
|
201
|
-
state => {
|
|
202
|
-
wasm.__wbindgen_export_7.get(state.dtor)(state.a, state.b);
|
|
203
|
-
}
|
|
204
|
-
);
|
|
205
|
-
|
|
206
|
-
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
207
|
-
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
208
|
-
const real = (...args) => {
|
|
209
|
-
|
|
210
|
-
// First up with a closure we increment the internal reference
|
|
211
|
-
// count. This ensures that the Rust closure environment won't
|
|
212
|
-
// be deallocated while we're invoking it.
|
|
213
|
-
state.cnt++;
|
|
214
|
-
const a = state.a;
|
|
215
|
-
state.a = 0;
|
|
216
|
-
try {
|
|
217
|
-
return f(a, state.b, ...args);
|
|
218
|
-
} finally {
|
|
219
|
-
if (--state.cnt === 0) {
|
|
220
|
-
wasm.__wbindgen_export_7.get(state.dtor)(a, state.b);
|
|
221
|
-
CLOSURE_DTORS.unregister(state);
|
|
222
|
-
} else {
|
|
223
|
-
state.a = a;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
};
|
|
227
|
-
real.original = state;
|
|
228
|
-
CLOSURE_DTORS.register(real, state, state);
|
|
229
|
-
return real;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
231
|
function takeFromExternrefTable0(idx) {
|
|
233
232
|
const value = wasm.__wbindgen_export_4.get(idx);
|
|
234
233
|
wasm.__externref_table_dealloc(idx);
|
|
@@ -240,23 +239,6 @@ function _assertClass(instance, klass) {
|
|
|
240
239
|
throw new Error(`expected instance of ${klass.name}`);
|
|
241
240
|
}
|
|
242
241
|
}
|
|
243
|
-
|
|
244
|
-
function passArray8ToWasm0(arg, malloc) {
|
|
245
|
-
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
246
|
-
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
247
|
-
WASM_VECTOR_LEN = arg.length;
|
|
248
|
-
return ptr;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
function passArrayJsValueToWasm0(array, malloc) {
|
|
252
|
-
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
253
|
-
for (let i = 0; i < array.length; i++) {
|
|
254
|
-
const add = addToExternrefTable0(array[i]);
|
|
255
|
-
getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
|
|
256
|
-
}
|
|
257
|
-
WASM_VECTOR_LEN = array.length;
|
|
258
|
-
return ptr;
|
|
259
|
-
}
|
|
260
242
|
/**
|
|
261
243
|
* @param {string} host
|
|
262
244
|
* @param {string} inbox_id
|
|
@@ -269,10 +251,9 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
269
251
|
* @param {boolean | null} [allow_offline]
|
|
270
252
|
* @param {boolean | null} [disable_events]
|
|
271
253
|
* @param {string | null} [app_version]
|
|
272
|
-
* @param {string | null} [gateway_host]
|
|
273
254
|
* @returns {Promise<Client>}
|
|
274
255
|
*/
|
|
275
|
-
export function createClient(host, inbox_id, account_identifier, db_path, encryption_key, device_sync_server_url, device_sync_worker_mode, log_options, allow_offline, disable_events, app_version
|
|
256
|
+
export function createClient(host, inbox_id, account_identifier, db_path, encryption_key, device_sync_server_url, device_sync_worker_mode, log_options, allow_offline, disable_events, app_version) {
|
|
276
257
|
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
277
258
|
const len0 = WASM_VECTOR_LEN;
|
|
278
259
|
const ptr1 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -288,12 +269,26 @@ export function createClient(host, inbox_id, account_identifier, db_path, encryp
|
|
|
288
269
|
}
|
|
289
270
|
var ptr5 = isLikeNone(app_version) ? 0 : passStringToWasm0(app_version, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
290
271
|
var len5 = WASM_VECTOR_LEN;
|
|
291
|
-
|
|
292
|
-
var len6 = WASM_VECTOR_LEN;
|
|
293
|
-
const ret = wasm.createClient(ptr0, len0, ptr1, len1, account_identifier, ptr2, len2, isLikeNone(encryption_key) ? 0 : addToExternrefTable0(encryption_key), ptr3, len3, isLikeNone(device_sync_worker_mode) ? 3 : ((__wbindgen_enum_DeviceSyncWorkerMode.indexOf(device_sync_worker_mode) + 1 || 3) - 1), ptr4, isLikeNone(allow_offline) ? 0xFFFFFF : allow_offline ? 1 : 0, isLikeNone(disable_events) ? 0xFFFFFF : disable_events ? 1 : 0, ptr5, len5, ptr6, len6);
|
|
272
|
+
const ret = wasm.createClient(ptr0, len0, ptr1, len1, account_identifier, ptr2, len2, isLikeNone(encryption_key) ? 0 : addToExternrefTable0(encryption_key), ptr3, len3, isLikeNone(device_sync_worker_mode) ? 3 : ((__wbindgen_enum_DeviceSyncWorkerMode.indexOf(device_sync_worker_mode) + 1 || 3) - 1), ptr4, isLikeNone(allow_offline) ? 0xFFFFFF : allow_offline ? 1 : 0, isLikeNone(disable_events) ? 0xFFFFFF : disable_events ? 1 : 0, ptr5, len5);
|
|
294
273
|
return ret;
|
|
295
274
|
}
|
|
296
275
|
|
|
276
|
+
function passArrayJsValueToWasm0(array, malloc) {
|
|
277
|
+
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
278
|
+
for (let i = 0; i < array.length; i++) {
|
|
279
|
+
const add = addToExternrefTable0(array[i]);
|
|
280
|
+
getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
|
|
281
|
+
}
|
|
282
|
+
WASM_VECTOR_LEN = array.length;
|
|
283
|
+
return ptr;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
287
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
288
|
+
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
289
|
+
WASM_VECTOR_LEN = arg.length;
|
|
290
|
+
return ptr;
|
|
291
|
+
}
|
|
297
292
|
/**
|
|
298
293
|
* @param {MultiRemoteAttachment} multiRemoteAttachment
|
|
299
294
|
* @returns {Uint8Array}
|
|
@@ -347,17 +342,62 @@ export function decodeReaction(bytes) {
|
|
|
347
342
|
}
|
|
348
343
|
|
|
349
344
|
/**
|
|
350
|
-
* @param {string}
|
|
351
|
-
* @param {
|
|
345
|
+
* @param {string} signature_text
|
|
346
|
+
* @param {Uint8Array} signature_bytes
|
|
347
|
+
* @param {Uint8Array} public_key
|
|
348
|
+
*/
|
|
349
|
+
export function verifySignedWithPublicKey(signature_text, signature_bytes, public_key) {
|
|
350
|
+
const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
351
|
+
const len0 = WASM_VECTOR_LEN;
|
|
352
|
+
const ret = wasm.verifySignedWithPublicKey(ptr0, len0, signature_bytes, public_key);
|
|
353
|
+
if (ret[1]) {
|
|
354
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* @param {string} host
|
|
360
|
+
* @param {Identifier} recovery_identifier
|
|
361
|
+
* @param {string} inbox_id
|
|
362
|
+
* @param {Uint8Array[]} installation_ids
|
|
363
|
+
* @returns {SignatureRequestHandle}
|
|
364
|
+
*/
|
|
365
|
+
export function revokeInstallationsSignatureRequest(host, recovery_identifier, inbox_id, installation_ids) {
|
|
366
|
+
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
367
|
+
const len0 = WASM_VECTOR_LEN;
|
|
368
|
+
const ptr1 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
369
|
+
const len1 = WASM_VECTOR_LEN;
|
|
370
|
+
const ptr2 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
|
|
371
|
+
const len2 = WASM_VECTOR_LEN;
|
|
372
|
+
const ret = wasm.revokeInstallationsSignatureRequest(ptr0, len0, recovery_identifier, ptr1, len1, ptr2, len2);
|
|
373
|
+
if (ret[2]) {
|
|
374
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
375
|
+
}
|
|
376
|
+
return SignatureRequestHandle.__wrap(ret[0]);
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* @param {string} host
|
|
381
|
+
* @param {SignatureRequestHandle} signature_request
|
|
382
|
+
* @returns {Promise<void>}
|
|
383
|
+
*/
|
|
384
|
+
export function applySignatureRequest(host, signature_request) {
|
|
385
|
+
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
386
|
+
const len0 = WASM_VECTOR_LEN;
|
|
387
|
+
_assertClass(signature_request, SignatureRequestHandle);
|
|
388
|
+
const ret = wasm.applySignatureRequest(ptr0, len0, signature_request.__wbg_ptr);
|
|
389
|
+
return ret;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* @param {string} host
|
|
352
394
|
* @param {Identifier} accountIdentifier
|
|
353
395
|
* @returns {Promise<string | undefined>}
|
|
354
396
|
*/
|
|
355
|
-
export function getInboxIdForIdentifier(
|
|
356
|
-
const ptr0 = passStringToWasm0(
|
|
397
|
+
export function getInboxIdForIdentifier(host, accountIdentifier) {
|
|
398
|
+
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
357
399
|
const len0 = WASM_VECTOR_LEN;
|
|
358
|
-
|
|
359
|
-
var len1 = WASM_VECTOR_LEN;
|
|
360
|
-
const ret = wasm.getInboxIdForIdentifier(ptr0, len0, ptr1, len1, accountIdentifier);
|
|
400
|
+
const ret = wasm.getInboxIdForIdentifier(ptr0, len0, accountIdentifier);
|
|
361
401
|
return ret;
|
|
362
402
|
}
|
|
363
403
|
|
|
@@ -385,73 +425,16 @@ export function generateInboxId(accountIdentifier) {
|
|
|
385
425
|
}
|
|
386
426
|
|
|
387
427
|
/**
|
|
388
|
-
* @param {string}
|
|
389
|
-
* @param {string | null | undefined} gateway_host
|
|
428
|
+
* @param {string} host
|
|
390
429
|
* @param {string[]} inbox_ids
|
|
391
430
|
* @returns {Promise<InboxState[]>}
|
|
392
431
|
*/
|
|
393
|
-
export function inboxStateFromInboxIds(
|
|
394
|
-
const ptr0 = passStringToWasm0(
|
|
395
|
-
const len0 = WASM_VECTOR_LEN;
|
|
396
|
-
var ptr1 = isLikeNone(gateway_host) ? 0 : passStringToWasm0(gateway_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
397
|
-
var len1 = WASM_VECTOR_LEN;
|
|
398
|
-
const ptr2 = passArrayJsValueToWasm0(inbox_ids, wasm.__wbindgen_malloc);
|
|
399
|
-
const len2 = WASM_VECTOR_LEN;
|
|
400
|
-
const ret = wasm.inboxStateFromInboxIds(ptr0, len0, ptr1, len1, ptr2, len2);
|
|
401
|
-
return ret;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* @param {string} signature_text
|
|
406
|
-
* @param {Uint8Array} signature_bytes
|
|
407
|
-
* @param {Uint8Array} public_key
|
|
408
|
-
*/
|
|
409
|
-
export function verifySignedWithPublicKey(signature_text, signature_bytes, public_key) {
|
|
410
|
-
const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
411
|
-
const len0 = WASM_VECTOR_LEN;
|
|
412
|
-
const ret = wasm.verifySignedWithPublicKey(ptr0, len0, signature_bytes, public_key);
|
|
413
|
-
if (ret[1]) {
|
|
414
|
-
throw takeFromExternrefTable0(ret[0]);
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
/**
|
|
419
|
-
* @param {string} v3_host
|
|
420
|
-
* @param {string | null | undefined} gateway_host
|
|
421
|
-
* @param {Identifier} recovery_identifier
|
|
422
|
-
* @param {string} inbox_id
|
|
423
|
-
* @param {Uint8Array[]} installation_ids
|
|
424
|
-
* @returns {SignatureRequestHandle}
|
|
425
|
-
*/
|
|
426
|
-
export function revokeInstallationsSignatureRequest(v3_host, gateway_host, recovery_identifier, inbox_id, installation_ids) {
|
|
427
|
-
const ptr0 = passStringToWasm0(v3_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
428
|
-
const len0 = WASM_VECTOR_LEN;
|
|
429
|
-
var ptr1 = isLikeNone(gateway_host) ? 0 : passStringToWasm0(gateway_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
430
|
-
var len1 = WASM_VECTOR_LEN;
|
|
431
|
-
const ptr2 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
432
|
-
const len2 = WASM_VECTOR_LEN;
|
|
433
|
-
const ptr3 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
|
|
434
|
-
const len3 = WASM_VECTOR_LEN;
|
|
435
|
-
const ret = wasm.revokeInstallationsSignatureRequest(ptr0, len0, ptr1, len1, recovery_identifier, ptr2, len2, ptr3, len3);
|
|
436
|
-
if (ret[2]) {
|
|
437
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
438
|
-
}
|
|
439
|
-
return SignatureRequestHandle.__wrap(ret[0]);
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
* @param {string} v3_host
|
|
444
|
-
* @param {string | null | undefined} gateway_host
|
|
445
|
-
* @param {SignatureRequestHandle} signature_request
|
|
446
|
-
* @returns {Promise<void>}
|
|
447
|
-
*/
|
|
448
|
-
export function applySignatureRequest(v3_host, gateway_host, signature_request) {
|
|
449
|
-
const ptr0 = passStringToWasm0(v3_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
432
|
+
export function inboxStateFromInboxIds(host, inbox_ids) {
|
|
433
|
+
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
450
434
|
const len0 = WASM_VECTOR_LEN;
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
const ret = wasm.applySignatureRequest(ptr0, len0, ptr1, len1, signature_request.__wbg_ptr);
|
|
435
|
+
const ptr1 = passArrayJsValueToWasm0(inbox_ids, wasm.__wbindgen_malloc);
|
|
436
|
+
const len1 = WASM_VECTOR_LEN;
|
|
437
|
+
const ret = wasm.inboxStateFromInboxIds(ptr0, len0, ptr1, len1);
|
|
455
438
|
return ret;
|
|
456
439
|
}
|
|
457
440
|
|
|
@@ -466,24 +449,24 @@ export function task_worker_entry_point(ptr) {
|
|
|
466
449
|
}
|
|
467
450
|
}
|
|
468
451
|
|
|
469
|
-
function
|
|
470
|
-
wasm.
|
|
452
|
+
function __wbg_adapter_48(arg0, arg1) {
|
|
453
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hf1da1e5ad7398b09(arg0, arg1);
|
|
471
454
|
}
|
|
472
455
|
|
|
473
|
-
function
|
|
474
|
-
wasm.
|
|
456
|
+
function __wbg_adapter_51(arg0, arg1) {
|
|
457
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h7637509b4f7e8710(arg0, arg1);
|
|
475
458
|
}
|
|
476
459
|
|
|
477
|
-
function
|
|
478
|
-
wasm.
|
|
460
|
+
function __wbg_adapter_54(arg0, arg1) {
|
|
461
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hfa5440517c90e88d(arg0, arg1);
|
|
479
462
|
}
|
|
480
463
|
|
|
481
|
-
function
|
|
482
|
-
wasm.
|
|
464
|
+
function __wbg_adapter_57(arg0, arg1, arg2) {
|
|
465
|
+
wasm.closure5613_externref_shim(arg0, arg1, arg2);
|
|
483
466
|
}
|
|
484
467
|
|
|
485
|
-
function
|
|
486
|
-
wasm.
|
|
468
|
+
function __wbg_adapter_942(arg0, arg1, arg2, arg3) {
|
|
469
|
+
wasm.closure6580_externref_shim(arg0, arg1, arg2, arg3);
|
|
487
470
|
}
|
|
488
471
|
|
|
489
472
|
/**
|
|
@@ -800,7 +783,6 @@ export class ApiStats {
|
|
|
800
783
|
wasm.__wbg_set_apistats_subscribe_welcomes(this.__wbg_ptr, arg0);
|
|
801
784
|
}
|
|
802
785
|
}
|
|
803
|
-
if (Symbol.dispose) ApiStats.prototype[Symbol.dispose] = ApiStats.prototype.free;
|
|
804
786
|
|
|
805
787
|
const AttachmentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
806
788
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -888,7 +870,6 @@ export class Attachment {
|
|
|
888
870
|
wasm.__wbg_set_attachment_content(this.__wbg_ptr, ptr0, len0);
|
|
889
871
|
}
|
|
890
872
|
}
|
|
891
|
-
if (Symbol.dispose) Attachment.prototype[Symbol.dispose] = Attachment.prototype.free;
|
|
892
873
|
|
|
893
874
|
const ClientFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
894
875
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1112,45 +1093,6 @@ export class Client {
|
|
|
1112
1093
|
const ret = wasm.client_messageV2(this.__wbg_ptr, ptr0, len0);
|
|
1113
1094
|
return ret;
|
|
1114
1095
|
}
|
|
1115
|
-
/**
|
|
1116
|
-
*
|
|
1117
|
-
* * Get the client's inbox state.
|
|
1118
|
-
* *
|
|
1119
|
-
* * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
|
|
1120
|
-
* * Otherwise, the state will be read from the local database.
|
|
1121
|
-
*
|
|
1122
|
-
* @param {boolean} refresh_from_network
|
|
1123
|
-
* @returns {Promise<InboxState>}
|
|
1124
|
-
*/
|
|
1125
|
-
inboxState(refresh_from_network) {
|
|
1126
|
-
const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
|
|
1127
|
-
return ret;
|
|
1128
|
-
}
|
|
1129
|
-
/**
|
|
1130
|
-
* @param {string} inbox_id
|
|
1131
|
-
* @returns {Promise<InboxState>}
|
|
1132
|
-
*/
|
|
1133
|
-
getLatestInboxState(inbox_id) {
|
|
1134
|
-
const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1135
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1136
|
-
const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
|
|
1137
|
-
return ret;
|
|
1138
|
-
}
|
|
1139
|
-
/**
|
|
1140
|
-
*
|
|
1141
|
-
* * Get key package statuses for a list of installation IDs.
|
|
1142
|
-
* *
|
|
1143
|
-
* * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
|
|
1144
|
-
*
|
|
1145
|
-
* @param {string[]} installation_ids
|
|
1146
|
-
* @returns {Promise<any>}
|
|
1147
|
-
*/
|
|
1148
|
-
getKeyPackageStatusesForInstallationIds(installation_ids) {
|
|
1149
|
-
const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
|
|
1150
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1151
|
-
const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
|
|
1152
|
-
return ret;
|
|
1153
|
-
}
|
|
1154
1096
|
/**
|
|
1155
1097
|
* @returns {SignatureRequestHandle | undefined}
|
|
1156
1098
|
*/
|
|
@@ -1267,8 +1209,46 @@ export class Client {
|
|
|
1267
1209
|
const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
|
|
1268
1210
|
return ret;
|
|
1269
1211
|
}
|
|
1212
|
+
/**
|
|
1213
|
+
*
|
|
1214
|
+
* * Get the client's inbox state.
|
|
1215
|
+
* *
|
|
1216
|
+
* * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
|
|
1217
|
+
* * Otherwise, the state will be read from the local database.
|
|
1218
|
+
*
|
|
1219
|
+
* @param {boolean} refresh_from_network
|
|
1220
|
+
* @returns {Promise<InboxState>}
|
|
1221
|
+
*/
|
|
1222
|
+
inboxState(refresh_from_network) {
|
|
1223
|
+
const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
|
|
1224
|
+
return ret;
|
|
1225
|
+
}
|
|
1226
|
+
/**
|
|
1227
|
+
* @param {string} inbox_id
|
|
1228
|
+
* @returns {Promise<InboxState>}
|
|
1229
|
+
*/
|
|
1230
|
+
getLatestInboxState(inbox_id) {
|
|
1231
|
+
const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1232
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1233
|
+
const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
|
|
1234
|
+
return ret;
|
|
1235
|
+
}
|
|
1236
|
+
/**
|
|
1237
|
+
*
|
|
1238
|
+
* * Get key package statuses for a list of installation IDs.
|
|
1239
|
+
* *
|
|
1240
|
+
* * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
|
|
1241
|
+
*
|
|
1242
|
+
* @param {string[]} installation_ids
|
|
1243
|
+
* @returns {Promise<any>}
|
|
1244
|
+
*/
|
|
1245
|
+
getKeyPackageStatusesForInstallationIds(installation_ids) {
|
|
1246
|
+
const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
|
|
1247
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1248
|
+
const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
|
|
1249
|
+
return ret;
|
|
1250
|
+
}
|
|
1270
1251
|
}
|
|
1271
|
-
if (Symbol.dispose) Client.prototype[Symbol.dispose] = Client.prototype.free;
|
|
1272
1252
|
|
|
1273
1253
|
const ConsentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1274
1254
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1341,7 +1321,7 @@ export class Consent {
|
|
|
1341
1321
|
set entity(arg0) {
|
|
1342
1322
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1343
1323
|
const len0 = WASM_VECTOR_LEN;
|
|
1344
|
-
wasm.
|
|
1324
|
+
wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
|
|
1345
1325
|
}
|
|
1346
1326
|
/**
|
|
1347
1327
|
* @param {ConsentEntityType} entity_type
|
|
@@ -1357,7 +1337,6 @@ export class Consent {
|
|
|
1357
1337
|
return this;
|
|
1358
1338
|
}
|
|
1359
1339
|
}
|
|
1360
|
-
if (Symbol.dispose) Consent.prototype[Symbol.dispose] = Consent.prototype.free;
|
|
1361
1340
|
|
|
1362
1341
|
const ContentTypeIdFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1363
1342
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1405,7 +1384,7 @@ export class ContentTypeId {
|
|
|
1405
1384
|
set authorityId(arg0) {
|
|
1406
1385
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1407
1386
|
const len0 = WASM_VECTOR_LEN;
|
|
1408
|
-
wasm.
|
|
1387
|
+
wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
|
|
1409
1388
|
}
|
|
1410
1389
|
/**
|
|
1411
1390
|
* @returns {string}
|
|
@@ -1428,7 +1407,7 @@ export class ContentTypeId {
|
|
|
1428
1407
|
set typeId(arg0) {
|
|
1429
1408
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1430
1409
|
const len0 = WASM_VECTOR_LEN;
|
|
1431
|
-
wasm.
|
|
1410
|
+
wasm.__wbg_set_attachment_content(this.__wbg_ptr, ptr0, len0);
|
|
1432
1411
|
}
|
|
1433
1412
|
/**
|
|
1434
1413
|
* @returns {number}
|
|
@@ -1473,7 +1452,6 @@ export class ContentTypeId {
|
|
|
1473
1452
|
return this;
|
|
1474
1453
|
}
|
|
1475
1454
|
}
|
|
1476
|
-
if (Symbol.dispose) ContentTypeId.prototype[Symbol.dispose] = ContentTypeId.prototype.free;
|
|
1477
1455
|
|
|
1478
1456
|
const ConversationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1479
1457
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2053,7 +2031,6 @@ export class Conversation {
|
|
|
2053
2031
|
return ret;
|
|
2054
2032
|
}
|
|
2055
2033
|
}
|
|
2056
|
-
if (Symbol.dispose) Conversation.prototype[Symbol.dispose] = Conversation.prototype.free;
|
|
2057
2034
|
|
|
2058
2035
|
const ConversationDebugInfoFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2059
2036
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2181,24 +2158,19 @@ export class ConversationDebugInfo {
|
|
|
2181
2158
|
wasm.__wbg_set_conversationdebuginfo_remoteCommitLog(this.__wbg_ptr, ptr0, len0);
|
|
2182
2159
|
}
|
|
2183
2160
|
/**
|
|
2184
|
-
* @returns {
|
|
2161
|
+
* @returns {bigint}
|
|
2185
2162
|
*/
|
|
2186
2163
|
get cursor() {
|
|
2187
2164
|
const ret = wasm.__wbg_get_conversationdebuginfo_cursor(this.__wbg_ptr);
|
|
2188
|
-
|
|
2189
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
2190
|
-
return v1;
|
|
2165
|
+
return ret;
|
|
2191
2166
|
}
|
|
2192
2167
|
/**
|
|
2193
|
-
* @param {
|
|
2168
|
+
* @param {bigint} arg0
|
|
2194
2169
|
*/
|
|
2195
2170
|
set cursor(arg0) {
|
|
2196
|
-
|
|
2197
|
-
const len0 = WASM_VECTOR_LEN;
|
|
2198
|
-
wasm.__wbg_set_conversationdebuginfo_cursor(this.__wbg_ptr, ptr0, len0);
|
|
2171
|
+
wasm.__wbg_set_conversationdebuginfo_cursor(this.__wbg_ptr, arg0);
|
|
2199
2172
|
}
|
|
2200
2173
|
}
|
|
2201
|
-
if (Symbol.dispose) ConversationDebugInfo.prototype[Symbol.dispose] = ConversationDebugInfo.prototype.free;
|
|
2202
2174
|
|
|
2203
2175
|
const ConversationListItemFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2204
2176
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2290,7 +2262,6 @@ export class ConversationListItem {
|
|
|
2290
2262
|
return this;
|
|
2291
2263
|
}
|
|
2292
2264
|
}
|
|
2293
|
-
if (Symbol.dispose) ConversationListItem.prototype[Symbol.dispose] = ConversationListItem.prototype.free;
|
|
2294
2265
|
|
|
2295
2266
|
const ConversationsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2296
2267
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2536,7 +2507,6 @@ export class Conversations {
|
|
|
2536
2507
|
return StreamCloser.__wrap(ret[0]);
|
|
2537
2508
|
}
|
|
2538
2509
|
}
|
|
2539
|
-
if (Symbol.dispose) Conversations.prototype[Symbol.dispose] = Conversations.prototype.free;
|
|
2540
2510
|
|
|
2541
2511
|
const CreateDMOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2542
2512
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2588,7 +2558,6 @@ export class CreateDMOptions {
|
|
|
2588
2558
|
return this;
|
|
2589
2559
|
}
|
|
2590
2560
|
}
|
|
2591
|
-
if (Symbol.dispose) CreateDMOptions.prototype[Symbol.dispose] = CreateDMOptions.prototype.free;
|
|
2592
2561
|
|
|
2593
2562
|
const CreateGroupOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2594
2563
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2747,7 +2716,6 @@ export class CreateGroupOptions {
|
|
|
2747
2716
|
return this;
|
|
2748
2717
|
}
|
|
2749
2718
|
}
|
|
2750
|
-
if (Symbol.dispose) CreateGroupOptions.prototype[Symbol.dispose] = CreateGroupOptions.prototype.free;
|
|
2751
2719
|
|
|
2752
2720
|
const DecodedMessageFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2753
2721
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2975,7 +2943,6 @@ export class DecodedMessage {
|
|
|
2975
2943
|
wasm.__wbg_set_decodedmessage_num_replies(this.__wbg_ptr, arg0);
|
|
2976
2944
|
}
|
|
2977
2945
|
}
|
|
2978
|
-
if (Symbol.dispose) DecodedMessage.prototype[Symbol.dispose] = DecodedMessage.prototype.free;
|
|
2979
2946
|
|
|
2980
2947
|
const DecodedMessageContentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2981
2948
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -3090,7 +3057,6 @@ export class DecodedMessageContent {
|
|
|
3090
3057
|
return ret === 0 ? undefined : EncodedContent.__wrap(ret);
|
|
3091
3058
|
}
|
|
3092
3059
|
}
|
|
3093
|
-
if (Symbol.dispose) DecodedMessageContent.prototype[Symbol.dispose] = DecodedMessageContent.prototype.free;
|
|
3094
3060
|
|
|
3095
3061
|
const EncodedContentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3096
3062
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -3215,7 +3181,6 @@ export class EncodedContent {
|
|
|
3215
3181
|
return this;
|
|
3216
3182
|
}
|
|
3217
3183
|
}
|
|
3218
|
-
if (Symbol.dispose) EncodedContent.prototype[Symbol.dispose] = EncodedContent.prototype.free;
|
|
3219
3184
|
|
|
3220
3185
|
const EnrichedReplyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3221
3186
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -3272,7 +3237,6 @@ export class EnrichedReply {
|
|
|
3272
3237
|
return ret === 0 ? undefined : DecodedMessage.__wrap(ret);
|
|
3273
3238
|
}
|
|
3274
3239
|
}
|
|
3275
|
-
if (Symbol.dispose) EnrichedReply.prototype[Symbol.dispose] = EnrichedReply.prototype.free;
|
|
3276
3240
|
|
|
3277
3241
|
const GroupMemberFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3278
3242
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -3312,7 +3276,7 @@ export class GroupMember {
|
|
|
3312
3276
|
set inboxId(arg0) {
|
|
3313
3277
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3314
3278
|
const len0 = WASM_VECTOR_LEN;
|
|
3315
|
-
wasm.
|
|
3279
|
+
wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
|
|
3316
3280
|
}
|
|
3317
3281
|
/**
|
|
3318
3282
|
* @returns {Identifier[]}
|
|
@@ -3394,7 +3358,6 @@ export class GroupMember {
|
|
|
3394
3358
|
return this;
|
|
3395
3359
|
}
|
|
3396
3360
|
}
|
|
3397
|
-
if (Symbol.dispose) GroupMember.prototype[Symbol.dispose] = GroupMember.prototype.free;
|
|
3398
3361
|
|
|
3399
3362
|
const GroupMetadataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3400
3363
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -3452,7 +3415,6 @@ export class GroupMetadata {
|
|
|
3452
3415
|
}
|
|
3453
3416
|
}
|
|
3454
3417
|
}
|
|
3455
|
-
if (Symbol.dispose) GroupMetadata.prototype[Symbol.dispose] = GroupMetadata.prototype.free;
|
|
3456
3418
|
|
|
3457
3419
|
const GroupPermissionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3458
3420
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -3500,7 +3462,6 @@ export class GroupPermissions {
|
|
|
3500
3462
|
return PermissionPolicySet.__wrap(ret[0]);
|
|
3501
3463
|
}
|
|
3502
3464
|
}
|
|
3503
|
-
if (Symbol.dispose) GroupPermissions.prototype[Symbol.dispose] = GroupPermissions.prototype.free;
|
|
3504
3465
|
|
|
3505
3466
|
const GroupUpdatedFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3506
3467
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -3548,7 +3509,7 @@ export class GroupUpdated {
|
|
|
3548
3509
|
set initiatedByInboxId(arg0) {
|
|
3549
3510
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3550
3511
|
const len0 = WASM_VECTOR_LEN;
|
|
3551
|
-
wasm.
|
|
3512
|
+
wasm.__wbg_set_groupupdated_initiatedByInboxId(this.__wbg_ptr, ptr0, len0);
|
|
3552
3513
|
}
|
|
3553
3514
|
/**
|
|
3554
3515
|
* @returns {Inbox[]}
|
|
@@ -3602,7 +3563,6 @@ export class GroupUpdated {
|
|
|
3602
3563
|
wasm.__wbg_set_groupupdated_metadataFieldChanges(this.__wbg_ptr, ptr0, len0);
|
|
3603
3564
|
}
|
|
3604
3565
|
}
|
|
3605
|
-
if (Symbol.dispose) GroupUpdated.prototype[Symbol.dispose] = GroupUpdated.prototype.free;
|
|
3606
3566
|
|
|
3607
3567
|
const HmacKeyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3608
3568
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -3636,7 +3596,7 @@ export class HmacKey {
|
|
|
3636
3596
|
set key(arg0) {
|
|
3637
3597
|
const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
3638
3598
|
const len0 = WASM_VECTOR_LEN;
|
|
3639
|
-
wasm.
|
|
3599
|
+
wasm.__wbg_set_hmackey_key(this.__wbg_ptr, ptr0, len0);
|
|
3640
3600
|
}
|
|
3641
3601
|
/**
|
|
3642
3602
|
* @returns {bigint}
|
|
@@ -3652,7 +3612,6 @@ export class HmacKey {
|
|
|
3652
3612
|
wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
|
|
3653
3613
|
}
|
|
3654
3614
|
}
|
|
3655
|
-
if (Symbol.dispose) HmacKey.prototype[Symbol.dispose] = HmacKey.prototype.free;
|
|
3656
3615
|
|
|
3657
3616
|
const IdentityStatsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3658
3617
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -3732,7 +3691,6 @@ export class IdentityStats {
|
|
|
3732
3691
|
wasm.__wbg_set_apistats_send_welcome_messages(this.__wbg_ptr, arg0);
|
|
3733
3692
|
}
|
|
3734
3693
|
}
|
|
3735
|
-
if (Symbol.dispose) IdentityStats.prototype[Symbol.dispose] = IdentityStats.prototype.free;
|
|
3736
3694
|
|
|
3737
3695
|
const InboxFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3738
3696
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -3787,10 +3745,9 @@ export class Inbox {
|
|
|
3787
3745
|
set inboxId(arg0) {
|
|
3788
3746
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3789
3747
|
const len0 = WASM_VECTOR_LEN;
|
|
3790
|
-
wasm.
|
|
3748
|
+
wasm.__wbg_set_groupupdated_initiatedByInboxId(this.__wbg_ptr, ptr0, len0);
|
|
3791
3749
|
}
|
|
3792
3750
|
}
|
|
3793
|
-
if (Symbol.dispose) Inbox.prototype[Symbol.dispose] = Inbox.prototype.free;
|
|
3794
3751
|
|
|
3795
3752
|
const InboxStateFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3796
3753
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -3838,7 +3795,7 @@ export class InboxState {
|
|
|
3838
3795
|
set inboxId(arg0) {
|
|
3839
3796
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3840
3797
|
const len0 = WASM_VECTOR_LEN;
|
|
3841
|
-
wasm.
|
|
3798
|
+
wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
|
|
3842
3799
|
}
|
|
3843
3800
|
/**
|
|
3844
3801
|
* @returns {Identifier}
|
|
@@ -3906,7 +3863,6 @@ export class InboxState {
|
|
|
3906
3863
|
return this;
|
|
3907
3864
|
}
|
|
3908
3865
|
}
|
|
3909
|
-
if (Symbol.dispose) InboxState.prototype[Symbol.dispose] = InboxState.prototype.free;
|
|
3910
3866
|
|
|
3911
3867
|
const InstallationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3912
3868
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -3974,7 +3930,7 @@ export class Installation {
|
|
|
3974
3930
|
set id(arg0) {
|
|
3975
3931
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3976
3932
|
const len0 = WASM_VECTOR_LEN;
|
|
3977
|
-
wasm.
|
|
3933
|
+
wasm.__wbg_set_conversationdebuginfo_forkDetails(this.__wbg_ptr, ptr0, len0);
|
|
3978
3934
|
}
|
|
3979
3935
|
/**
|
|
3980
3936
|
* @returns {bigint | undefined}
|
|
@@ -4003,7 +3959,6 @@ export class Installation {
|
|
|
4003
3959
|
return this;
|
|
4004
3960
|
}
|
|
4005
3961
|
}
|
|
4006
|
-
if (Symbol.dispose) Installation.prototype[Symbol.dispose] = Installation.prototype.free;
|
|
4007
3962
|
|
|
4008
3963
|
const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4009
3964
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -4055,7 +4010,6 @@ export class IntoUnderlyingByteSource {
|
|
|
4055
4010
|
wasm.intounderlyingbytesource_cancel(ptr);
|
|
4056
4011
|
}
|
|
4057
4012
|
}
|
|
4058
|
-
if (Symbol.dispose) IntoUnderlyingByteSource.prototype[Symbol.dispose] = IntoUnderlyingByteSource.prototype.free;
|
|
4059
4013
|
|
|
4060
4014
|
const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4061
4015
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -4100,7 +4054,6 @@ export class IntoUnderlyingSink {
|
|
|
4100
4054
|
return ret;
|
|
4101
4055
|
}
|
|
4102
4056
|
}
|
|
4103
|
-
if (Symbol.dispose) IntoUnderlyingSink.prototype[Symbol.dispose] = IntoUnderlyingSink.prototype.free;
|
|
4104
4057
|
|
|
4105
4058
|
const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4106
4059
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -4140,7 +4093,6 @@ export class IntoUnderlyingSource {
|
|
|
4140
4093
|
wasm.intounderlyingsource_cancel(ptr);
|
|
4141
4094
|
}
|
|
4142
4095
|
}
|
|
4143
|
-
if (Symbol.dispose) IntoUnderlyingSource.prototype[Symbol.dispose] = IntoUnderlyingSource.prototype.free;
|
|
4144
4096
|
|
|
4145
4097
|
const KeyPackageStatusFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4146
4098
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -4175,7 +4127,7 @@ export class KeyPackageStatus {
|
|
|
4175
4127
|
_assertClass(arg0, Lifetime);
|
|
4176
4128
|
ptr0 = arg0.__destroy_into_raw();
|
|
4177
4129
|
}
|
|
4178
|
-
wasm.
|
|
4130
|
+
wasm.__wbg_set_createdmoptions_messageDisappearingSettings(this.__wbg_ptr, ptr0);
|
|
4179
4131
|
}
|
|
4180
4132
|
/**
|
|
4181
4133
|
* @returns {string | undefined}
|
|
@@ -4198,7 +4150,6 @@ export class KeyPackageStatus {
|
|
|
4198
4150
|
wasm.__wbg_set_keypackagestatus_validationError(this.__wbg_ptr, ptr0, len0);
|
|
4199
4151
|
}
|
|
4200
4152
|
}
|
|
4201
|
-
if (Symbol.dispose) KeyPackageStatus.prototype[Symbol.dispose] = KeyPackageStatus.prototype.free;
|
|
4202
4153
|
|
|
4203
4154
|
const LifetimeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4204
4155
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -4229,30 +4180,29 @@ export class Lifetime {
|
|
|
4229
4180
|
* @returns {bigint}
|
|
4230
4181
|
*/
|
|
4231
4182
|
get not_before() {
|
|
4232
|
-
const ret = wasm.
|
|
4183
|
+
const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
|
|
4233
4184
|
return BigInt.asUintN(64, ret);
|
|
4234
4185
|
}
|
|
4235
4186
|
/**
|
|
4236
4187
|
* @param {bigint} arg0
|
|
4237
4188
|
*/
|
|
4238
4189
|
set not_before(arg0) {
|
|
4239
|
-
wasm.
|
|
4190
|
+
wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
|
|
4240
4191
|
}
|
|
4241
4192
|
/**
|
|
4242
4193
|
* @returns {bigint}
|
|
4243
4194
|
*/
|
|
4244
4195
|
get not_after() {
|
|
4245
|
-
const ret = wasm.
|
|
4196
|
+
const ret = wasm.__wbg_get_conversationdebuginfo_cursor(this.__wbg_ptr);
|
|
4246
4197
|
return BigInt.asUintN(64, ret);
|
|
4247
4198
|
}
|
|
4248
4199
|
/**
|
|
4249
4200
|
* @param {bigint} arg0
|
|
4250
4201
|
*/
|
|
4251
4202
|
set not_after(arg0) {
|
|
4252
|
-
wasm.
|
|
4203
|
+
wasm.__wbg_set_conversationdebuginfo_cursor(this.__wbg_ptr, arg0);
|
|
4253
4204
|
}
|
|
4254
4205
|
}
|
|
4255
|
-
if (Symbol.dispose) Lifetime.prototype[Symbol.dispose] = Lifetime.prototype.free;
|
|
4256
4206
|
|
|
4257
4207
|
const ListConversationsOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4258
4208
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -4315,7 +4265,7 @@ export class ListConversationsOptions {
|
|
|
4315
4265
|
* @param {bigint | null} [arg0]
|
|
4316
4266
|
*/
|
|
4317
4267
|
set createdAfterNs(arg0) {
|
|
4318
|
-
wasm.
|
|
4268
|
+
wasm.__wbg_set_installation_clientTimestampNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
4319
4269
|
}
|
|
4320
4270
|
/**
|
|
4321
4271
|
* @returns {bigint | undefined}
|
|
@@ -4373,7 +4323,6 @@ export class ListConversationsOptions {
|
|
|
4373
4323
|
return this;
|
|
4374
4324
|
}
|
|
4375
4325
|
}
|
|
4376
|
-
if (Symbol.dispose) ListConversationsOptions.prototype[Symbol.dispose] = ListConversationsOptions.prototype.free;
|
|
4377
4326
|
|
|
4378
4327
|
const ListMessagesOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4379
4328
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -4443,7 +4392,7 @@ export class ListMessagesOptions {
|
|
|
4443
4392
|
* @param {bigint | null} [arg0]
|
|
4444
4393
|
*/
|
|
4445
4394
|
set sentBeforeNs(arg0) {
|
|
4446
|
-
wasm.
|
|
4395
|
+
wasm.__wbg_set_installation_clientTimestampNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
4447
4396
|
}
|
|
4448
4397
|
/**
|
|
4449
4398
|
* @returns {bigint | undefined}
|
|
@@ -4554,7 +4503,6 @@ export class ListMessagesOptions {
|
|
|
4554
4503
|
return this;
|
|
4555
4504
|
}
|
|
4556
4505
|
}
|
|
4557
|
-
if (Symbol.dispose) ListMessagesOptions.prototype[Symbol.dispose] = ListMessagesOptions.prototype.free;
|
|
4558
4506
|
|
|
4559
4507
|
const LogOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4560
4508
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -4632,7 +4580,6 @@ export class LogOptions {
|
|
|
4632
4580
|
return this;
|
|
4633
4581
|
}
|
|
4634
4582
|
}
|
|
4635
|
-
if (Symbol.dispose) LogOptions.prototype[Symbol.dispose] = LogOptions.prototype.free;
|
|
4636
4583
|
|
|
4637
4584
|
const MessageFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4638
4585
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -4813,7 +4760,6 @@ export class Message {
|
|
|
4813
4760
|
return this;
|
|
4814
4761
|
}
|
|
4815
4762
|
}
|
|
4816
|
-
if (Symbol.dispose) Message.prototype[Symbol.dispose] = Message.prototype.free;
|
|
4817
4763
|
|
|
4818
4764
|
const MessageDisappearingSettingsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4819
4765
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -4857,14 +4803,14 @@ export class MessageDisappearingSettings {
|
|
|
4857
4803
|
* @returns {bigint}
|
|
4858
4804
|
*/
|
|
4859
4805
|
get inNs() {
|
|
4860
|
-
const ret = wasm.
|
|
4806
|
+
const ret = wasm.__wbg_get_conversationdebuginfo_cursor(this.__wbg_ptr);
|
|
4861
4807
|
return ret;
|
|
4862
4808
|
}
|
|
4863
4809
|
/**
|
|
4864
4810
|
* @param {bigint} arg0
|
|
4865
4811
|
*/
|
|
4866
4812
|
set inNs(arg0) {
|
|
4867
|
-
wasm.
|
|
4813
|
+
wasm.__wbg_set_conversationdebuginfo_cursor(this.__wbg_ptr, arg0);
|
|
4868
4814
|
}
|
|
4869
4815
|
/**
|
|
4870
4816
|
* @param {bigint} from_ns
|
|
@@ -4877,7 +4823,6 @@ export class MessageDisappearingSettings {
|
|
|
4877
4823
|
return this;
|
|
4878
4824
|
}
|
|
4879
4825
|
}
|
|
4880
|
-
if (Symbol.dispose) MessageDisappearingSettings.prototype[Symbol.dispose] = MessageDisappearingSettings.prototype.free;
|
|
4881
4826
|
|
|
4882
4827
|
const MessageWithReactionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4883
4828
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -4937,7 +4882,6 @@ export class MessageWithReactions {
|
|
|
4937
4882
|
wasm.__wbg_set_messagewithreactions_reactions(this.__wbg_ptr, ptr0, len0);
|
|
4938
4883
|
}
|
|
4939
4884
|
}
|
|
4940
|
-
if (Symbol.dispose) MessageWithReactions.prototype[Symbol.dispose] = MessageWithReactions.prototype.free;
|
|
4941
4885
|
|
|
4942
4886
|
const MetadataFieldChangeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4943
4887
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -4992,7 +4936,7 @@ export class MetadataFieldChange {
|
|
|
4992
4936
|
set fieldName(arg0) {
|
|
4993
4937
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4994
4938
|
const len0 = WASM_VECTOR_LEN;
|
|
4995
|
-
wasm.
|
|
4939
|
+
wasm.__wbg_set_groupupdated_initiatedByInboxId(this.__wbg_ptr, ptr0, len0);
|
|
4996
4940
|
}
|
|
4997
4941
|
/**
|
|
4998
4942
|
* @returns {string | undefined}
|
|
@@ -5035,7 +4979,6 @@ export class MetadataFieldChange {
|
|
|
5035
4979
|
wasm.__wbg_set_metadatafieldchange_newValue(this.__wbg_ptr, ptr0, len0);
|
|
5036
4980
|
}
|
|
5037
4981
|
}
|
|
5038
|
-
if (Symbol.dispose) MetadataFieldChange.prototype[Symbol.dispose] = MetadataFieldChange.prototype.free;
|
|
5039
4982
|
|
|
5040
4983
|
const MultiRemoteAttachmentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5041
4984
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -5091,7 +5034,6 @@ export class MultiRemoteAttachment {
|
|
|
5091
5034
|
return this;
|
|
5092
5035
|
}
|
|
5093
5036
|
}
|
|
5094
|
-
if (Symbol.dispose) MultiRemoteAttachment.prototype[Symbol.dispose] = MultiRemoteAttachment.prototype.free;
|
|
5095
5037
|
|
|
5096
5038
|
const OpfsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5097
5039
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -5234,7 +5176,6 @@ export class Opfs {
|
|
|
5234
5176
|
return ret;
|
|
5235
5177
|
}
|
|
5236
5178
|
}
|
|
5237
|
-
if (Symbol.dispose) Opfs.prototype[Symbol.dispose] = Opfs.prototype.free;
|
|
5238
5179
|
|
|
5239
5180
|
const PasskeySignatureFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5240
5181
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -5254,7 +5195,6 @@ export class PasskeySignature {
|
|
|
5254
5195
|
wasm.__wbg_passkeysignature_free(ptr, 0);
|
|
5255
5196
|
}
|
|
5256
5197
|
}
|
|
5257
|
-
if (Symbol.dispose) PasskeySignature.prototype[Symbol.dispose] = PasskeySignature.prototype.free;
|
|
5258
5198
|
|
|
5259
5199
|
const PermissionPolicySetFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5260
5200
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -5402,7 +5342,6 @@ export class PermissionPolicySet {
|
|
|
5402
5342
|
return this;
|
|
5403
5343
|
}
|
|
5404
5344
|
}
|
|
5405
|
-
if (Symbol.dispose) PermissionPolicySet.prototype[Symbol.dispose] = PermissionPolicySet.prototype.free;
|
|
5406
5345
|
|
|
5407
5346
|
const ReactionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5408
5347
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -5450,7 +5389,7 @@ export class Reaction {
|
|
|
5450
5389
|
set reference(arg0) {
|
|
5451
5390
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5452
5391
|
const len0 = WASM_VECTOR_LEN;
|
|
5453
|
-
wasm.
|
|
5392
|
+
wasm.__wbg_set_reaction_reference(this.__wbg_ptr, ptr0, len0);
|
|
5454
5393
|
}
|
|
5455
5394
|
/**
|
|
5456
5395
|
* @returns {string}
|
|
@@ -5544,7 +5483,6 @@ export class Reaction {
|
|
|
5544
5483
|
return this;
|
|
5545
5484
|
}
|
|
5546
5485
|
}
|
|
5547
|
-
if (Symbol.dispose) Reaction.prototype[Symbol.dispose] = Reaction.prototype.free;
|
|
5548
5486
|
|
|
5549
5487
|
const ReactionPayloadFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5550
5488
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -5592,7 +5530,7 @@ export class ReactionPayload {
|
|
|
5592
5530
|
set reference(arg0) {
|
|
5593
5531
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5594
5532
|
const len0 = WASM_VECTOR_LEN;
|
|
5595
|
-
wasm.
|
|
5533
|
+
wasm.__wbg_set_reaction_reference(this.__wbg_ptr, ptr0, len0);
|
|
5596
5534
|
}
|
|
5597
5535
|
/**
|
|
5598
5536
|
* @returns {string}
|
|
@@ -5667,7 +5605,6 @@ export class ReactionPayload {
|
|
|
5667
5605
|
wasm.__wbg_set_reaction_schema(this.__wbg_ptr, arg0);
|
|
5668
5606
|
}
|
|
5669
5607
|
}
|
|
5670
|
-
if (Symbol.dispose) ReactionPayload.prototype[Symbol.dispose] = ReactionPayload.prototype.free;
|
|
5671
5608
|
|
|
5672
5609
|
const ReadReceiptFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5673
5610
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -5695,7 +5632,6 @@ export class ReadReceipt {
|
|
|
5695
5632
|
wasm.__wbg_readreceipt_free(ptr, 0);
|
|
5696
5633
|
}
|
|
5697
5634
|
}
|
|
5698
|
-
if (Symbol.dispose) ReadReceipt.prototype[Symbol.dispose] = ReadReceipt.prototype.free;
|
|
5699
5635
|
|
|
5700
5636
|
const RemoteAttachmentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5701
5637
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -5743,7 +5679,7 @@ export class RemoteAttachment {
|
|
|
5743
5679
|
set url(arg0) {
|
|
5744
5680
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5745
5681
|
const len0 = WASM_VECTOR_LEN;
|
|
5746
|
-
wasm.
|
|
5682
|
+
wasm.__wbg_set_hmackey_key(this.__wbg_ptr, ptr0, len0);
|
|
5747
5683
|
}
|
|
5748
5684
|
/**
|
|
5749
5685
|
* @returns {string}
|
|
@@ -5766,7 +5702,7 @@ export class RemoteAttachment {
|
|
|
5766
5702
|
set contentDigest(arg0) {
|
|
5767
5703
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5768
5704
|
const len0 = WASM_VECTOR_LEN;
|
|
5769
|
-
wasm.
|
|
5705
|
+
wasm.__wbg_set_remoteattachment_contentDigest(this.__wbg_ptr, ptr0, len0);
|
|
5770
5706
|
}
|
|
5771
5707
|
/**
|
|
5772
5708
|
* @returns {Uint8Array}
|
|
@@ -5783,7 +5719,7 @@ export class RemoteAttachment {
|
|
|
5783
5719
|
set secret(arg0) {
|
|
5784
5720
|
const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
5785
5721
|
const len0 = WASM_VECTOR_LEN;
|
|
5786
|
-
wasm.
|
|
5722
|
+
wasm.__wbg_set_remoteattachment_secret(this.__wbg_ptr, ptr0, len0);
|
|
5787
5723
|
}
|
|
5788
5724
|
/**
|
|
5789
5725
|
* @returns {Uint8Array}
|
|
@@ -5876,7 +5812,6 @@ export class RemoteAttachment {
|
|
|
5876
5812
|
wasm.__wbg_set_remoteattachment_filename(this.__wbg_ptr, ptr0, len0);
|
|
5877
5813
|
}
|
|
5878
5814
|
}
|
|
5879
|
-
if (Symbol.dispose) RemoteAttachment.prototype[Symbol.dispose] = RemoteAttachment.prototype.free;
|
|
5880
5815
|
|
|
5881
5816
|
const RemoteAttachmentInfoFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5882
5817
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -6076,7 +6011,6 @@ export class RemoteAttachmentInfo {
|
|
|
6076
6011
|
return this;
|
|
6077
6012
|
}
|
|
6078
6013
|
}
|
|
6079
|
-
if (Symbol.dispose) RemoteAttachmentInfo.prototype[Symbol.dispose] = RemoteAttachmentInfo.prototype.free;
|
|
6080
6014
|
|
|
6081
6015
|
const SendMessageOptsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6082
6016
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -6109,7 +6043,6 @@ export class SendMessageOpts {
|
|
|
6109
6043
|
wasm.__wbg_set_sendmessageopts_shouldPush(this.__wbg_ptr, arg0);
|
|
6110
6044
|
}
|
|
6111
6045
|
}
|
|
6112
|
-
if (Symbol.dispose) SendMessageOpts.prototype[Symbol.dispose] = SendMessageOpts.prototype.free;
|
|
6113
6046
|
|
|
6114
6047
|
const SignatureRequestHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6115
6048
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -6173,7 +6106,6 @@ export class SignatureRequestHandle {
|
|
|
6173
6106
|
return ret;
|
|
6174
6107
|
}
|
|
6175
6108
|
}
|
|
6176
|
-
if (Symbol.dispose) SignatureRequestHandle.prototype[Symbol.dispose] = SignatureRequestHandle.prototype.free;
|
|
6177
6109
|
|
|
6178
6110
|
const StreamCloserFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6179
6111
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -6233,7 +6165,6 @@ export class StreamCloser {
|
|
|
6233
6165
|
return ret !== 0;
|
|
6234
6166
|
}
|
|
6235
6167
|
}
|
|
6236
|
-
if (Symbol.dispose) StreamCloser.prototype[Symbol.dispose] = StreamCloser.prototype.free;
|
|
6237
6168
|
|
|
6238
6169
|
const TextContentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6239
6170
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -6281,10 +6212,9 @@ export class TextContent {
|
|
|
6281
6212
|
set content(arg0) {
|
|
6282
6213
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
6283
6214
|
const len0 = WASM_VECTOR_LEN;
|
|
6284
|
-
wasm.
|
|
6215
|
+
wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
|
|
6285
6216
|
}
|
|
6286
6217
|
}
|
|
6287
|
-
if (Symbol.dispose) TextContent.prototype[Symbol.dispose] = TextContent.prototype.free;
|
|
6288
6218
|
|
|
6289
6219
|
const TransactionMetadataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6290
6220
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -6332,7 +6262,7 @@ export class TransactionMetadata {
|
|
|
6332
6262
|
set transactionType(arg0) {
|
|
6333
6263
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
6334
6264
|
const len0 = WASM_VECTOR_LEN;
|
|
6335
|
-
wasm.
|
|
6265
|
+
wasm.__wbg_set_hmackey_key(this.__wbg_ptr, ptr0, len0);
|
|
6336
6266
|
}
|
|
6337
6267
|
/**
|
|
6338
6268
|
* @returns {string}
|
|
@@ -6355,7 +6285,7 @@ export class TransactionMetadata {
|
|
|
6355
6285
|
set currency(arg0) {
|
|
6356
6286
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
6357
6287
|
const len0 = WASM_VECTOR_LEN;
|
|
6358
|
-
wasm.
|
|
6288
|
+
wasm.__wbg_set_remoteattachment_contentDigest(this.__wbg_ptr, ptr0, len0);
|
|
6359
6289
|
}
|
|
6360
6290
|
/**
|
|
6361
6291
|
* @returns {number}
|
|
@@ -6404,7 +6334,7 @@ export class TransactionMetadata {
|
|
|
6404
6334
|
set fromAddress(arg0) {
|
|
6405
6335
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
6406
6336
|
const len0 = WASM_VECTOR_LEN;
|
|
6407
|
-
wasm.
|
|
6337
|
+
wasm.__wbg_set_remoteattachment_secret(this.__wbg_ptr, ptr0, len0);
|
|
6408
6338
|
}
|
|
6409
6339
|
/**
|
|
6410
6340
|
* @returns {string}
|
|
@@ -6427,10 +6357,9 @@ export class TransactionMetadata {
|
|
|
6427
6357
|
set toAddress(arg0) {
|
|
6428
6358
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
6429
6359
|
const len0 = WASM_VECTOR_LEN;
|
|
6430
|
-
wasm.
|
|
6360
|
+
wasm.__wbg_set_remoteattachment_salt(this.__wbg_ptr, ptr0, len0);
|
|
6431
6361
|
}
|
|
6432
6362
|
}
|
|
6433
|
-
if (Symbol.dispose) TransactionMetadata.prototype[Symbol.dispose] = TransactionMetadata.prototype.free;
|
|
6434
6363
|
|
|
6435
6364
|
const TransactionReferenceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6436
6365
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -6542,68 +6471,6 @@ export class TransactionReference {
|
|
|
6542
6471
|
wasm.__wbg_set_transactionreference_metadata(this.__wbg_ptr, ptr0);
|
|
6543
6472
|
}
|
|
6544
6473
|
}
|
|
6545
|
-
if (Symbol.dispose) TransactionReference.prototype[Symbol.dispose] = TransactionReference.prototype.free;
|
|
6546
|
-
|
|
6547
|
-
const XmtpCursorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6548
|
-
? { register: () => {}, unregister: () => {} }
|
|
6549
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_xmtpcursor_free(ptr >>> 0, 1));
|
|
6550
|
-
|
|
6551
|
-
export class XmtpCursor {
|
|
6552
|
-
|
|
6553
|
-
static __wrap(ptr) {
|
|
6554
|
-
ptr = ptr >>> 0;
|
|
6555
|
-
const obj = Object.create(XmtpCursor.prototype);
|
|
6556
|
-
obj.__wbg_ptr = ptr;
|
|
6557
|
-
XmtpCursorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
6558
|
-
return obj;
|
|
6559
|
-
}
|
|
6560
|
-
|
|
6561
|
-
static __unwrap(jsValue) {
|
|
6562
|
-
if (!(jsValue instanceof XmtpCursor)) {
|
|
6563
|
-
return 0;
|
|
6564
|
-
}
|
|
6565
|
-
return jsValue.__destroy_into_raw();
|
|
6566
|
-
}
|
|
6567
|
-
|
|
6568
|
-
__destroy_into_raw() {
|
|
6569
|
-
const ptr = this.__wbg_ptr;
|
|
6570
|
-
this.__wbg_ptr = 0;
|
|
6571
|
-
XmtpCursorFinalization.unregister(this);
|
|
6572
|
-
return ptr;
|
|
6573
|
-
}
|
|
6574
|
-
|
|
6575
|
-
free() {
|
|
6576
|
-
const ptr = this.__destroy_into_raw();
|
|
6577
|
-
wasm.__wbg_xmtpcursor_free(ptr, 0);
|
|
6578
|
-
}
|
|
6579
|
-
/**
|
|
6580
|
-
* @returns {number}
|
|
6581
|
-
*/
|
|
6582
|
-
get originator_id() {
|
|
6583
|
-
const ret = wasm.__wbg_get_xmtpcursor_originator_id(this.__wbg_ptr);
|
|
6584
|
-
return ret >>> 0;
|
|
6585
|
-
}
|
|
6586
|
-
/**
|
|
6587
|
-
* @param {number} arg0
|
|
6588
|
-
*/
|
|
6589
|
-
set originator_id(arg0) {
|
|
6590
|
-
wasm.__wbg_set_xmtpcursor_originator_id(this.__wbg_ptr, arg0);
|
|
6591
|
-
}
|
|
6592
|
-
/**
|
|
6593
|
-
* @returns {bigint}
|
|
6594
|
-
*/
|
|
6595
|
-
get sequence_id() {
|
|
6596
|
-
const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
|
|
6597
|
-
return ret;
|
|
6598
|
-
}
|
|
6599
|
-
/**
|
|
6600
|
-
* @param {bigint} arg0
|
|
6601
|
-
*/
|
|
6602
|
-
set sequence_id(arg0) {
|
|
6603
|
-
wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
|
|
6604
|
-
}
|
|
6605
|
-
}
|
|
6606
|
-
if (Symbol.dispose) XmtpCursor.prototype[Symbol.dispose] = XmtpCursor.prototype.free;
|
|
6607
6474
|
|
|
6608
6475
|
const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
|
|
6609
6476
|
|
|
@@ -6643,7 +6510,7 @@ async function __wbg_load(module, imports) {
|
|
|
6643
6510
|
function __wbg_get_imports() {
|
|
6644
6511
|
const imports = {};
|
|
6645
6512
|
imports.wbg = {};
|
|
6646
|
-
imports.wbg.
|
|
6513
|
+
imports.wbg.__wbg_Error_0497d5bdba9362e5 = function(arg0, arg1) {
|
|
6647
6514
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
6648
6515
|
return ret;
|
|
6649
6516
|
};
|
|
@@ -6654,56 +6521,60 @@ function __wbg_get_imports() {
|
|
|
6654
6521
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6655
6522
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6656
6523
|
};
|
|
6657
|
-
imports.wbg.
|
|
6524
|
+
imports.wbg.__wbg_abort_18ba44d46e13d7fe = function(arg0) {
|
|
6658
6525
|
arg0.abort();
|
|
6659
6526
|
};
|
|
6660
|
-
imports.wbg.
|
|
6527
|
+
imports.wbg.__wbg_abort_4198a1129c47f21a = function(arg0, arg1) {
|
|
6661
6528
|
arg0.abort(arg1);
|
|
6662
6529
|
};
|
|
6663
|
-
imports.wbg.
|
|
6530
|
+
imports.wbg.__wbg_add_dd833f9f523abe36 = function(arg0, arg1) {
|
|
6664
6531
|
const ret = arg0.add(arg1);
|
|
6665
6532
|
return ret;
|
|
6666
6533
|
};
|
|
6667
|
-
imports.wbg.
|
|
6534
|
+
imports.wbg.__wbg_append_0342728346e47425 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
6668
6535
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
6669
6536
|
}, arguments) };
|
|
6670
|
-
imports.wbg.
|
|
6537
|
+
imports.wbg.__wbg_arrayBuffer_d58b858456021d7f = function() { return handleError(function (arg0) {
|
|
6671
6538
|
const ret = arg0.arrayBuffer();
|
|
6672
6539
|
return ret;
|
|
6673
6540
|
}, arguments) };
|
|
6674
|
-
imports.wbg.
|
|
6541
|
+
imports.wbg.__wbg_body_e1e045c770257634 = function(arg0) {
|
|
6675
6542
|
const ret = arg0.body;
|
|
6676
6543
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
6677
6544
|
};
|
|
6678
|
-
imports.wbg.
|
|
6545
|
+
imports.wbg.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
|
|
6546
|
+
const ret = arg0.buffer;
|
|
6547
|
+
return ret;
|
|
6548
|
+
};
|
|
6549
|
+
imports.wbg.__wbg_buffer_e495ba54cee589cc = function(arg0) {
|
|
6679
6550
|
const ret = arg0.buffer;
|
|
6680
6551
|
return ret;
|
|
6681
6552
|
};
|
|
6682
|
-
imports.wbg.
|
|
6553
|
+
imports.wbg.__wbg_byobRequest_56aa768ee4dfed17 = function(arg0) {
|
|
6683
6554
|
const ret = arg0.byobRequest;
|
|
6684
6555
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
6685
6556
|
};
|
|
6686
|
-
imports.wbg.
|
|
6557
|
+
imports.wbg.__wbg_byteLength_937f8a52f9697148 = function(arg0) {
|
|
6687
6558
|
const ret = arg0.byteLength;
|
|
6688
6559
|
return ret;
|
|
6689
6560
|
};
|
|
6690
|
-
imports.wbg.
|
|
6561
|
+
imports.wbg.__wbg_byteOffset_4d94b7170e641898 = function(arg0) {
|
|
6691
6562
|
const ret = arg0.byteOffset;
|
|
6692
6563
|
return ret;
|
|
6693
6564
|
};
|
|
6694
|
-
imports.wbg.
|
|
6695
|
-
const ret = arg0.call(arg1);
|
|
6565
|
+
imports.wbg.__wbg_call_f2db6205e5c51dc8 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
6566
|
+
const ret = arg0.call(arg1, arg2);
|
|
6696
6567
|
return ret;
|
|
6697
6568
|
}, arguments) };
|
|
6698
|
-
imports.wbg.
|
|
6699
|
-
const ret = arg0.call(arg1
|
|
6569
|
+
imports.wbg.__wbg_call_fbe8be8bf6436ce5 = function() { return handleError(function (arg0, arg1) {
|
|
6570
|
+
const ret = arg0.call(arg1);
|
|
6700
6571
|
return ret;
|
|
6701
6572
|
}, arguments) };
|
|
6702
|
-
imports.wbg.
|
|
6573
|
+
imports.wbg.__wbg_cancel_4d78160f447bbbeb = function(arg0) {
|
|
6703
6574
|
const ret = arg0.cancel();
|
|
6704
6575
|
return ret;
|
|
6705
6576
|
};
|
|
6706
|
-
imports.wbg.
|
|
6577
|
+
imports.wbg.__wbg_catch_b51fce253ee18ec3 = function(arg0, arg1) {
|
|
6707
6578
|
const ret = arg0.catch(arg1);
|
|
6708
6579
|
return ret;
|
|
6709
6580
|
};
|
|
@@ -6723,26 +6594,26 @@ function __wbg_get_imports() {
|
|
|
6723
6594
|
const ret = clearTimeout(arg0);
|
|
6724
6595
|
return ret;
|
|
6725
6596
|
};
|
|
6726
|
-
imports.wbg.
|
|
6597
|
+
imports.wbg.__wbg_clear_1657d083d00a480f = function(arg0) {
|
|
6727
6598
|
arg0.clear();
|
|
6728
6599
|
};
|
|
6729
|
-
imports.wbg.
|
|
6600
|
+
imports.wbg.__wbg_clear_1da67706bfcd76cf = function(arg0) {
|
|
6730
6601
|
arg0.clear();
|
|
6731
6602
|
};
|
|
6732
6603
|
imports.wbg.__wbg_client_new = function(arg0) {
|
|
6733
6604
|
const ret = Client.__wrap(arg0);
|
|
6734
6605
|
return ret;
|
|
6735
6606
|
};
|
|
6736
|
-
imports.wbg.
|
|
6737
|
-
arg0.close();
|
|
6738
|
-
};
|
|
6739
|
-
imports.wbg.__wbg_close_cccada6053ee3a65 = function() { return handleError(function (arg0) {
|
|
6607
|
+
imports.wbg.__wbg_close_290fb040af98d3ac = function() { return handleError(function (arg0) {
|
|
6740
6608
|
arg0.close();
|
|
6741
6609
|
}, arguments) };
|
|
6742
|
-
imports.wbg.
|
|
6610
|
+
imports.wbg.__wbg_close_8d9e72339b45f6f5 = function(arg0) {
|
|
6611
|
+
arg0.close();
|
|
6612
|
+
};
|
|
6613
|
+
imports.wbg.__wbg_close_b2641ef0870e518c = function() { return handleError(function (arg0) {
|
|
6743
6614
|
arg0.close();
|
|
6744
6615
|
}, arguments) };
|
|
6745
|
-
imports.wbg.
|
|
6616
|
+
imports.wbg.__wbg_code_5e459ca721f994f5 = function(arg0) {
|
|
6746
6617
|
const ret = arg0.code;
|
|
6747
6618
|
return ret;
|
|
6748
6619
|
};
|
|
@@ -6758,11 +6629,11 @@ function __wbg_get_imports() {
|
|
|
6758
6629
|
const ret = ConversationListItem.__wrap(arg0);
|
|
6759
6630
|
return ret;
|
|
6760
6631
|
};
|
|
6761
|
-
imports.wbg.
|
|
6632
|
+
imports.wbg.__wbg_createSyncAccessHandle_05df52d90910c9ce = function(arg0) {
|
|
6762
6633
|
const ret = arg0.createSyncAccessHandle();
|
|
6763
6634
|
return ret;
|
|
6764
6635
|
};
|
|
6765
|
-
imports.wbg.
|
|
6636
|
+
imports.wbg.__wbg_create_f3f7c1f0898ceb7c = function(arg0) {
|
|
6766
6637
|
const ret = Object.create(arg0);
|
|
6767
6638
|
return ret;
|
|
6768
6639
|
};
|
|
@@ -6770,10 +6641,10 @@ function __wbg_get_imports() {
|
|
|
6770
6641
|
const ret = arg0.crypto;
|
|
6771
6642
|
return ret;
|
|
6772
6643
|
};
|
|
6773
|
-
imports.wbg.
|
|
6644
|
+
imports.wbg.__wbg_debug_103948ed4c500577 = function(arg0, arg1, arg2, arg3) {
|
|
6774
6645
|
console.debug(arg0, arg1, arg2, arg3);
|
|
6775
6646
|
};
|
|
6776
|
-
imports.wbg.
|
|
6647
|
+
imports.wbg.__wbg_debug_58d16ea352cfbca1 = function(arg0) {
|
|
6777
6648
|
console.debug(arg0);
|
|
6778
6649
|
};
|
|
6779
6650
|
imports.wbg.__wbg_decodedmessage_new = function(arg0) {
|
|
@@ -6784,30 +6655,33 @@ function __wbg_get_imports() {
|
|
|
6784
6655
|
const ret = DecodedMessage.__unwrap(arg0);
|
|
6785
6656
|
return ret;
|
|
6786
6657
|
};
|
|
6787
|
-
imports.wbg.
|
|
6658
|
+
imports.wbg.__wbg_delete_8f0ad80b15b2a784 = function(arg0, arg1) {
|
|
6788
6659
|
const ret = arg0.delete(arg1);
|
|
6789
6660
|
return ret;
|
|
6790
6661
|
};
|
|
6791
|
-
imports.wbg.
|
|
6662
|
+
imports.wbg.__wbg_delete_aca203d8b0528d61 = function(arg0, arg1) {
|
|
6792
6663
|
const ret = arg0.delete(arg1);
|
|
6793
6664
|
return ret;
|
|
6794
6665
|
};
|
|
6795
|
-
imports.wbg.
|
|
6666
|
+
imports.wbg.__wbg_done_4d01f352bade43b7 = function(arg0) {
|
|
6796
6667
|
const ret = arg0.done;
|
|
6797
6668
|
return ret;
|
|
6798
6669
|
};
|
|
6799
|
-
imports.wbg.
|
|
6670
|
+
imports.wbg.__wbg_enqueue_a62faa171c4fd287 = function() { return handleError(function (arg0, arg1) {
|
|
6800
6671
|
arg0.enqueue(arg1);
|
|
6801
6672
|
}, arguments) };
|
|
6802
|
-
imports.wbg.
|
|
6673
|
+
imports.wbg.__wbg_entries_14bb5b0fa29e7393 = function(arg0) {
|
|
6803
6674
|
const ret = arg0.entries();
|
|
6804
6675
|
return ret;
|
|
6805
6676
|
};
|
|
6806
|
-
imports.wbg.
|
|
6677
|
+
imports.wbg.__wbg_entries_41651c850143b957 = function(arg0) {
|
|
6807
6678
|
const ret = Object.entries(arg0);
|
|
6808
6679
|
return ret;
|
|
6809
6680
|
};
|
|
6810
|
-
imports.wbg.
|
|
6681
|
+
imports.wbg.__wbg_error_51ecdd39ec054205 = function(arg0) {
|
|
6682
|
+
console.error(arg0);
|
|
6683
|
+
};
|
|
6684
|
+
imports.wbg.__wbg_error_624160881466fd69 = function(arg0, arg1, arg2, arg3) {
|
|
6811
6685
|
console.error(arg0, arg1, arg2, arg3);
|
|
6812
6686
|
};
|
|
6813
6687
|
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
@@ -6821,21 +6695,18 @@ function __wbg_get_imports() {
|
|
|
6821
6695
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
6822
6696
|
}
|
|
6823
6697
|
};
|
|
6824
|
-
imports.wbg.__wbg_error_99981e16d476aa5c = function(arg0) {
|
|
6825
|
-
console.error(arg0);
|
|
6826
|
-
};
|
|
6827
6698
|
imports.wbg.__wbg_error_e98c298703cffa97 = function(arg0, arg1) {
|
|
6828
6699
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
6829
6700
|
};
|
|
6830
|
-
imports.wbg.__wbg_fetch_36d024dbd9192353 = function(arg0, arg1, arg2) {
|
|
6831
|
-
const ret = arg0.fetch(arg1, arg2);
|
|
6832
|
-
return ret;
|
|
6833
|
-
};
|
|
6834
6701
|
imports.wbg.__wbg_fetch_53eef7df7b439a49 = function(arg0, arg1) {
|
|
6835
6702
|
const ret = fetch(arg0, arg1);
|
|
6836
6703
|
return ret;
|
|
6837
6704
|
};
|
|
6838
|
-
imports.wbg.
|
|
6705
|
+
imports.wbg.__wbg_fetch_571cdc97c8ee46fd = function(arg0, arg1, arg2) {
|
|
6706
|
+
const ret = arg0.fetch(arg1, arg2);
|
|
6707
|
+
return ret;
|
|
6708
|
+
};
|
|
6709
|
+
imports.wbg.__wbg_fetch_a8e43a4e138dfc93 = function(arg0, arg1) {
|
|
6839
6710
|
const ret = arg0.fetch(arg1);
|
|
6840
6711
|
return ret;
|
|
6841
6712
|
};
|
|
@@ -6843,50 +6714,50 @@ function __wbg_get_imports() {
|
|
|
6843
6714
|
const ret = fetch(arg0);
|
|
6844
6715
|
return ret;
|
|
6845
6716
|
};
|
|
6846
|
-
imports.wbg.
|
|
6717
|
+
imports.wbg.__wbg_fill_45ebe6f76c6747c9 = function(arg0, arg1, arg2, arg3) {
|
|
6847
6718
|
const ret = arg0.fill(arg1, arg2 >>> 0, arg3 >>> 0);
|
|
6848
6719
|
return ret;
|
|
6849
6720
|
};
|
|
6850
|
-
imports.wbg.
|
|
6721
|
+
imports.wbg.__wbg_flush_f0630e40db922730 = function() { return handleError(function (arg0) {
|
|
6851
6722
|
arg0.flush();
|
|
6852
6723
|
}, arguments) };
|
|
6853
|
-
imports.wbg.
|
|
6724
|
+
imports.wbg.__wbg_from_12ff8e47307bd4c7 = function(arg0) {
|
|
6854
6725
|
const ret = Array.from(arg0);
|
|
6855
6726
|
return ret;
|
|
6856
6727
|
};
|
|
6857
|
-
imports.wbg.
|
|
6728
|
+
imports.wbg.__wbg_getDate_18ccd9a4e925d3ec = function(arg0) {
|
|
6858
6729
|
const ret = arg0.getDate();
|
|
6859
6730
|
return ret;
|
|
6860
6731
|
};
|
|
6861
|
-
imports.wbg.
|
|
6732
|
+
imports.wbg.__wbg_getDay_17f53c92a7986053 = function(arg0) {
|
|
6862
6733
|
const ret = arg0.getDay();
|
|
6863
6734
|
return ret;
|
|
6864
6735
|
};
|
|
6865
|
-
imports.wbg.
|
|
6736
|
+
imports.wbg.__wbg_getDirectoryHandle_812e88ca933e7f14 = function(arg0, arg1, arg2, arg3) {
|
|
6866
6737
|
const ret = arg0.getDirectoryHandle(getStringFromWasm0(arg1, arg2), arg3);
|
|
6867
6738
|
return ret;
|
|
6868
6739
|
};
|
|
6869
|
-
imports.wbg.
|
|
6740
|
+
imports.wbg.__wbg_getDirectory_d1926c6af50076e5 = function(arg0) {
|
|
6870
6741
|
const ret = arg0.getDirectory();
|
|
6871
6742
|
return ret;
|
|
6872
6743
|
};
|
|
6873
|
-
imports.wbg.
|
|
6744
|
+
imports.wbg.__wbg_getFileHandle_1cc9e8420629773c = function(arg0, arg1, arg2, arg3) {
|
|
6874
6745
|
const ret = arg0.getFileHandle(getStringFromWasm0(arg1, arg2), arg3);
|
|
6875
6746
|
return ret;
|
|
6876
6747
|
};
|
|
6877
|
-
imports.wbg.
|
|
6748
|
+
imports.wbg.__wbg_getFullYear_1383a5751fab658e = function(arg0) {
|
|
6878
6749
|
const ret = arg0.getFullYear();
|
|
6879
6750
|
return ret;
|
|
6880
6751
|
};
|
|
6881
|
-
imports.wbg.
|
|
6752
|
+
imports.wbg.__wbg_getHours_94bc6bb5540c2b71 = function(arg0) {
|
|
6882
6753
|
const ret = arg0.getHours();
|
|
6883
6754
|
return ret;
|
|
6884
6755
|
};
|
|
6885
|
-
imports.wbg.
|
|
6756
|
+
imports.wbg.__wbg_getMinutes_92b2aadc8feb898e = function(arg0) {
|
|
6886
6757
|
const ret = arg0.getMinutes();
|
|
6887
6758
|
return ret;
|
|
6888
6759
|
};
|
|
6889
|
-
imports.wbg.
|
|
6760
|
+
imports.wbg.__wbg_getMonth_f83b359dffd5f2aa = function(arg0) {
|
|
6890
6761
|
const ret = arg0.getMonth();
|
|
6891
6762
|
return ret;
|
|
6892
6763
|
};
|
|
@@ -6903,47 +6774,47 @@ function __wbg_get_imports() {
|
|
|
6903
6774
|
const ret = arg0.getReader();
|
|
6904
6775
|
return ret;
|
|
6905
6776
|
}, arguments) };
|
|
6906
|
-
imports.wbg.
|
|
6777
|
+
imports.wbg.__wbg_getSeconds_5bedd376f55ef40c = function(arg0) {
|
|
6907
6778
|
const ret = arg0.getSeconds();
|
|
6908
6779
|
return ret;
|
|
6909
6780
|
};
|
|
6910
|
-
imports.wbg.
|
|
6781
|
+
imports.wbg.__wbg_getSize_a77eeeffdb4f3fc1 = function() { return handleError(function (arg0) {
|
|
6911
6782
|
const ret = arg0.getSize();
|
|
6912
6783
|
return ret;
|
|
6913
6784
|
}, arguments) };
|
|
6914
|
-
imports.wbg.
|
|
6785
|
+
imports.wbg.__wbg_getTime_2afe67905d873e92 = function(arg0) {
|
|
6915
6786
|
const ret = arg0.getTime();
|
|
6916
6787
|
return ret;
|
|
6917
6788
|
};
|
|
6918
|
-
imports.wbg.
|
|
6789
|
+
imports.wbg.__wbg_getTimezoneOffset_31f33c0868da345e = function(arg0) {
|
|
6919
6790
|
const ret = arg0.getTimezoneOffset();
|
|
6920
6791
|
return ret;
|
|
6921
6792
|
};
|
|
6922
|
-
imports.wbg.
|
|
6793
|
+
imports.wbg.__wbg_getUint32_b1236319485e7707 = function(arg0, arg1) {
|
|
6923
6794
|
const ret = arg0.getUint32(arg1 >>> 0);
|
|
6924
6795
|
return ret;
|
|
6925
6796
|
};
|
|
6926
|
-
imports.wbg.
|
|
6927
|
-
const ret = arg0
|
|
6797
|
+
imports.wbg.__wbg_get_6dd1850282dd8588 = function(arg0, arg1) {
|
|
6798
|
+
const ret = arg0.get(arg1);
|
|
6928
6799
|
return ret;
|
|
6929
6800
|
};
|
|
6930
|
-
imports.wbg.
|
|
6801
|
+
imports.wbg.__wbg_get_92470be87867c2e5 = function() { return handleError(function (arg0, arg1) {
|
|
6931
6802
|
const ret = Reflect.get(arg0, arg1);
|
|
6932
6803
|
return ret;
|
|
6933
6804
|
}, arguments) };
|
|
6934
|
-
imports.wbg.
|
|
6935
|
-
const ret = arg0
|
|
6805
|
+
imports.wbg.__wbg_get_a131a44bd1eb6979 = function(arg0, arg1) {
|
|
6806
|
+
const ret = arg0[arg1 >>> 0];
|
|
6936
6807
|
return ret;
|
|
6937
6808
|
};
|
|
6938
|
-
imports.wbg.
|
|
6809
|
+
imports.wbg.__wbg_getdone_8355ddb2bc75c731 = function(arg0) {
|
|
6939
6810
|
const ret = arg0.done;
|
|
6940
6811
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
6941
6812
|
};
|
|
6942
|
-
imports.wbg.
|
|
6813
|
+
imports.wbg.__wbg_getindex_ba5b3525ad80a881 = function(arg0, arg1) {
|
|
6943
6814
|
const ret = arg0[arg1 >>> 0];
|
|
6944
6815
|
return ret;
|
|
6945
6816
|
};
|
|
6946
|
-
imports.wbg.
|
|
6817
|
+
imports.wbg.__wbg_getvalue_c1890a401d13f00b = function(arg0) {
|
|
6947
6818
|
const ret = arg0.value;
|
|
6948
6819
|
return ret;
|
|
6949
6820
|
};
|
|
@@ -6955,15 +6826,15 @@ function __wbg_get_imports() {
|
|
|
6955
6826
|
const ret = GroupMetadata.__wrap(arg0);
|
|
6956
6827
|
return ret;
|
|
6957
6828
|
};
|
|
6958
|
-
imports.wbg.
|
|
6829
|
+
imports.wbg.__wbg_has_2dc42f1e8cb156db = function(arg0, arg1) {
|
|
6959
6830
|
const ret = arg0.has(arg1);
|
|
6960
6831
|
return ret;
|
|
6961
6832
|
};
|
|
6962
|
-
imports.wbg.
|
|
6833
|
+
imports.wbg.__wbg_has_809e438ee9d787a7 = function() { return handleError(function (arg0, arg1) {
|
|
6963
6834
|
const ret = Reflect.has(arg0, arg1);
|
|
6964
6835
|
return ret;
|
|
6965
6836
|
}, arguments) };
|
|
6966
|
-
imports.wbg.
|
|
6837
|
+
imports.wbg.__wbg_headers_0f0cbdc6290b6780 = function(arg0) {
|
|
6967
6838
|
const ret = arg0.headers;
|
|
6968
6839
|
return ret;
|
|
6969
6840
|
};
|
|
@@ -6979,10 +6850,10 @@ function __wbg_get_imports() {
|
|
|
6979
6850
|
const ret = InboxState.__wrap(arg0);
|
|
6980
6851
|
return ret;
|
|
6981
6852
|
};
|
|
6982
|
-
imports.wbg.
|
|
6853
|
+
imports.wbg.__wbg_info_a1cc312ecc877319 = function(arg0, arg1, arg2, arg3) {
|
|
6983
6854
|
console.info(arg0, arg1, arg2, arg3);
|
|
6984
6855
|
};
|
|
6985
|
-
imports.wbg.
|
|
6856
|
+
imports.wbg.__wbg_info_e56933705c348038 = function(arg0) {
|
|
6986
6857
|
console.info(arg0);
|
|
6987
6858
|
};
|
|
6988
6859
|
imports.wbg.__wbg_installation_new = function(arg0) {
|
|
@@ -6993,7 +6864,7 @@ function __wbg_get_imports() {
|
|
|
6993
6864
|
const ret = Installation.__unwrap(arg0);
|
|
6994
6865
|
return ret;
|
|
6995
6866
|
};
|
|
6996
|
-
imports.wbg.
|
|
6867
|
+
imports.wbg.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc = function(arg0) {
|
|
6997
6868
|
let result;
|
|
6998
6869
|
try {
|
|
6999
6870
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -7003,7 +6874,7 @@ function __wbg_get_imports() {
|
|
|
7003
6874
|
const ret = result;
|
|
7004
6875
|
return ret;
|
|
7005
6876
|
};
|
|
7006
|
-
imports.wbg.
|
|
6877
|
+
imports.wbg.__wbg_instanceof_DomException_77720ed8752d7409 = function(arg0) {
|
|
7007
6878
|
let result;
|
|
7008
6879
|
try {
|
|
7009
6880
|
result = arg0 instanceof DOMException;
|
|
@@ -7013,7 +6884,7 @@ function __wbg_get_imports() {
|
|
|
7013
6884
|
const ret = result;
|
|
7014
6885
|
return ret;
|
|
7015
6886
|
};
|
|
7016
|
-
imports.wbg.
|
|
6887
|
+
imports.wbg.__wbg_instanceof_Response_e80ce8b7a2b968d2 = function(arg0) {
|
|
7017
6888
|
let result;
|
|
7018
6889
|
try {
|
|
7019
6890
|
result = arg0 instanceof Response;
|
|
@@ -7023,7 +6894,7 @@ function __wbg_get_imports() {
|
|
|
7023
6894
|
const ret = result;
|
|
7024
6895
|
return ret;
|
|
7025
6896
|
};
|
|
7026
|
-
imports.wbg.
|
|
6897
|
+
imports.wbg.__wbg_instanceof_Uint8Array_ca460677bc155827 = function(arg0) {
|
|
7027
6898
|
let result;
|
|
7028
6899
|
try {
|
|
7029
6900
|
result = arg0 instanceof Uint8Array;
|
|
@@ -7033,7 +6904,7 @@ function __wbg_get_imports() {
|
|
|
7033
6904
|
const ret = result;
|
|
7034
6905
|
return ret;
|
|
7035
6906
|
};
|
|
7036
|
-
imports.wbg.
|
|
6907
|
+
imports.wbg.__wbg_instanceof_WorkerGlobalScope_11f8a14c11024785 = function(arg0) {
|
|
7037
6908
|
let result;
|
|
7038
6909
|
try {
|
|
7039
6910
|
result = arg0 instanceof WorkerGlobalScope;
|
|
@@ -7043,27 +6914,27 @@ function __wbg_get_imports() {
|
|
|
7043
6914
|
const ret = result;
|
|
7044
6915
|
return ret;
|
|
7045
6916
|
};
|
|
7046
|
-
imports.wbg.
|
|
6917
|
+
imports.wbg.__wbg_iterator_4068add5b2aef7a6 = function() {
|
|
7047
6918
|
const ret = Symbol.iterator;
|
|
7048
6919
|
return ret;
|
|
7049
6920
|
};
|
|
7050
|
-
imports.wbg.
|
|
6921
|
+
imports.wbg.__wbg_keys_1abdc63a39dab939 = function(arg0) {
|
|
7051
6922
|
const ret = arg0.keys();
|
|
7052
6923
|
return ret;
|
|
7053
6924
|
};
|
|
7054
|
-
imports.wbg.
|
|
6925
|
+
imports.wbg.__wbg_keys_a89709494b6fd863 = function(arg0) {
|
|
7055
6926
|
const ret = arg0.keys();
|
|
7056
6927
|
return ret;
|
|
7057
6928
|
};
|
|
7058
|
-
imports.wbg.
|
|
6929
|
+
imports.wbg.__wbg_length_0ca5b4c83d5d9721 = function(arg0) {
|
|
7059
6930
|
const ret = arg0.length;
|
|
7060
6931
|
return ret;
|
|
7061
6932
|
};
|
|
7062
|
-
imports.wbg.
|
|
6933
|
+
imports.wbg.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
|
|
7063
6934
|
const ret = arg0.length;
|
|
7064
6935
|
return ret;
|
|
7065
6936
|
};
|
|
7066
|
-
imports.wbg.
|
|
6937
|
+
imports.wbg.__wbg_length_f00ec12454a5d9fd = function(arg0) {
|
|
7067
6938
|
const ret = arg0.length;
|
|
7068
6939
|
return ret;
|
|
7069
6940
|
};
|
|
@@ -7079,7 +6950,7 @@ function __wbg_get_imports() {
|
|
|
7079
6950
|
imports.wbg.__wbg_measure_7728846525e2cced = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
7080
6951
|
arg0.measure(getStringFromWasm0(arg1, arg2), arg3);
|
|
7081
6952
|
}, arguments) };
|
|
7082
|
-
imports.wbg.
|
|
6953
|
+
imports.wbg.__wbg_message_2d95ea5aff0d63b9 = function(arg0, arg1) {
|
|
7083
6954
|
const ret = arg1.message;
|
|
7084
6955
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
7085
6956
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -7110,41 +6981,69 @@ function __wbg_get_imports() {
|
|
|
7110
6981
|
const ret = arg0.msCrypto;
|
|
7111
6982
|
return ret;
|
|
7112
6983
|
};
|
|
7113
|
-
imports.wbg.
|
|
6984
|
+
imports.wbg.__wbg_name_2acff1e83d9735f9 = function(arg0, arg1) {
|
|
7114
6985
|
const ret = arg1.name;
|
|
7115
6986
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
7116
6987
|
const len1 = WASM_VECTOR_LEN;
|
|
7117
6988
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7118
6989
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7119
6990
|
};
|
|
7120
|
-
imports.wbg.
|
|
6991
|
+
imports.wbg.__wbg_navigator_6db993f5ffeb46be = function(arg0) {
|
|
7121
6992
|
const ret = arg0.navigator;
|
|
7122
6993
|
return ret;
|
|
7123
6994
|
};
|
|
7124
|
-
imports.wbg.
|
|
6995
|
+
imports.wbg.__wbg_new0_97314565408dea38 = function() {
|
|
7125
6996
|
const ret = new Date();
|
|
7126
6997
|
return ret;
|
|
7127
6998
|
};
|
|
7128
|
-
imports.wbg.
|
|
7129
|
-
const ret = new
|
|
6999
|
+
imports.wbg.__wbg_new_07b483f72211fd66 = function() {
|
|
7000
|
+
const ret = new Object();
|
|
7130
7001
|
return ret;
|
|
7131
7002
|
};
|
|
7132
|
-
imports.wbg.
|
|
7133
|
-
const ret = new
|
|
7003
|
+
imports.wbg.__wbg_new_186abcfdff244e42 = function() { return handleError(function () {
|
|
7004
|
+
const ret = new AbortController();
|
|
7005
|
+
return ret;
|
|
7006
|
+
}, arguments) };
|
|
7007
|
+
imports.wbg.__wbg_new_476169e6d59f23ae = function(arg0, arg1) {
|
|
7008
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
7009
|
+
return ret;
|
|
7010
|
+
};
|
|
7011
|
+
imports.wbg.__wbg_new_4796e1cd2eb9ea6d = function() { return handleError(function () {
|
|
7012
|
+
const ret = new Headers();
|
|
7013
|
+
return ret;
|
|
7014
|
+
}, arguments) };
|
|
7015
|
+
imports.wbg.__wbg_new_5069c49f18141a33 = function(arg0, arg1, arg2) {
|
|
7016
|
+
const ret = new DataView(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
7134
7017
|
return ret;
|
|
7135
7018
|
};
|
|
7136
|
-
imports.wbg.
|
|
7019
|
+
imports.wbg.__wbg_new_58353953ad2097cc = function() {
|
|
7137
7020
|
const ret = new Array();
|
|
7138
7021
|
return ret;
|
|
7139
7022
|
};
|
|
7140
|
-
imports.wbg.
|
|
7023
|
+
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
7024
|
+
const ret = new Error();
|
|
7025
|
+
return ret;
|
|
7026
|
+
};
|
|
7027
|
+
imports.wbg.__wbg_new_a2957aa5684de228 = function(arg0) {
|
|
7028
|
+
const ret = new Date(arg0);
|
|
7029
|
+
return ret;
|
|
7030
|
+
};
|
|
7031
|
+
imports.wbg.__wbg_new_a979b4b45bd55c7f = function() {
|
|
7032
|
+
const ret = new Map();
|
|
7033
|
+
return ret;
|
|
7034
|
+
};
|
|
7035
|
+
imports.wbg.__wbg_new_db7d9b0ee94df522 = function(arg0) {
|
|
7036
|
+
const ret = new Set(arg0);
|
|
7037
|
+
return ret;
|
|
7038
|
+
};
|
|
7039
|
+
imports.wbg.__wbg_new_e30c39c06edaabf2 = function(arg0, arg1) {
|
|
7141
7040
|
try {
|
|
7142
7041
|
var state0 = {a: arg0, b: arg1};
|
|
7143
7042
|
var cb0 = (arg0, arg1) => {
|
|
7144
7043
|
const a = state0.a;
|
|
7145
7044
|
state0.a = 0;
|
|
7146
7045
|
try {
|
|
7147
|
-
return
|
|
7046
|
+
return __wbg_adapter_942(a, state0.b, arg0, arg1);
|
|
7148
7047
|
} finally {
|
|
7149
7048
|
state0.a = a;
|
|
7150
7049
|
}
|
|
@@ -7155,47 +7054,19 @@ function __wbg_get_imports() {
|
|
|
7155
7054
|
state0.a = state0.b = 0;
|
|
7156
7055
|
}
|
|
7157
7056
|
};
|
|
7158
|
-
imports.wbg.
|
|
7159
|
-
const ret = new Map();
|
|
7160
|
-
return ret;
|
|
7161
|
-
};
|
|
7162
|
-
imports.wbg.__wbg_new_5a2ae4557f92b50e = function(arg0) {
|
|
7163
|
-
const ret = new Date(arg0);
|
|
7164
|
-
return ret;
|
|
7165
|
-
};
|
|
7166
|
-
imports.wbg.__wbg_new_638ebfaedbf32a5e = function(arg0) {
|
|
7057
|
+
imports.wbg.__wbg_new_e52b3efaaa774f96 = function(arg0) {
|
|
7167
7058
|
const ret = new Uint8Array(arg0);
|
|
7168
7059
|
return ret;
|
|
7169
7060
|
};
|
|
7170
|
-
imports.wbg.
|
|
7171
|
-
const ret = new AbortController();
|
|
7172
|
-
return ret;
|
|
7173
|
-
}, arguments) };
|
|
7174
|
-
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
7175
|
-
const ret = new Error();
|
|
7176
|
-
return ret;
|
|
7177
|
-
};
|
|
7178
|
-
imports.wbg.__wbg_new_da9dc54c5db29dfa = function(arg0, arg1) {
|
|
7179
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
7180
|
-
return ret;
|
|
7181
|
-
};
|
|
7182
|
-
imports.wbg.__wbg_new_f60d6f09990bdb99 = function(arg0, arg1, arg2) {
|
|
7183
|
-
const ret = new DataView(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
7184
|
-
return ret;
|
|
7185
|
-
};
|
|
7186
|
-
imports.wbg.__wbg_new_f6e53210afea8e45 = function() { return handleError(function () {
|
|
7187
|
-
const ret = new Headers();
|
|
7188
|
-
return ret;
|
|
7189
|
-
}, arguments) };
|
|
7190
|
-
imports.wbg.__wbg_newfromslice_074c56947bd43469 = function(arg0, arg1) {
|
|
7061
|
+
imports.wbg.__wbg_newfromslice_7c05ab1297cb2d88 = function(arg0, arg1) {
|
|
7191
7062
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
7192
7063
|
return ret;
|
|
7193
7064
|
};
|
|
7194
|
-
imports.wbg.
|
|
7065
|
+
imports.wbg.__wbg_newnoargs_ff528e72d35de39a = function(arg0, arg1) {
|
|
7195
7066
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
7196
7067
|
return ret;
|
|
7197
7068
|
};
|
|
7198
|
-
imports.wbg.
|
|
7069
|
+
imports.wbg.__wbg_newwithbyteoffsetandlength_3b01ecda099177e8 = function(arg0, arg1, arg2) {
|
|
7199
7070
|
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
7200
7071
|
return ret;
|
|
7201
7072
|
};
|
|
@@ -7203,27 +7074,27 @@ function __wbg_get_imports() {
|
|
|
7203
7074
|
const ret = new ReadableStream(IntoUnderlyingSource.__wrap(arg0), arg1);
|
|
7204
7075
|
return ret;
|
|
7205
7076
|
};
|
|
7206
|
-
imports.wbg.
|
|
7077
|
+
imports.wbg.__wbg_newwithlength_08f872dc1e3ada2e = function(arg0) {
|
|
7207
7078
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
7208
7079
|
return ret;
|
|
7209
7080
|
};
|
|
7210
|
-
imports.wbg.
|
|
7081
|
+
imports.wbg.__wbg_newwithstrandinit_f8a9dbe009d6be37 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
7211
7082
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
7212
7083
|
return ret;
|
|
7213
7084
|
}, arguments) };
|
|
7214
|
-
imports.wbg.
|
|
7085
|
+
imports.wbg.__wbg_newwithyearmonthday_eb1c560e7c1fb22a = function(arg0, arg1, arg2) {
|
|
7215
7086
|
const ret = new Date(arg0 >>> 0, arg1, arg2);
|
|
7216
7087
|
return ret;
|
|
7217
7088
|
};
|
|
7218
|
-
imports.wbg.
|
|
7219
|
-
const ret = arg0.next();
|
|
7220
|
-
return ret;
|
|
7221
|
-
}, arguments) };
|
|
7222
|
-
imports.wbg.__wbg_next_5b3530e612fde77d = function(arg0) {
|
|
7089
|
+
imports.wbg.__wbg_next_8bb824d217961b5d = function(arg0) {
|
|
7223
7090
|
const ret = arg0.next;
|
|
7224
7091
|
return ret;
|
|
7225
7092
|
};
|
|
7226
|
-
imports.wbg.
|
|
7093
|
+
imports.wbg.__wbg_next_9eb6fe77da3db3a2 = function() { return handleError(function (arg0) {
|
|
7094
|
+
const ret = arg0.next();
|
|
7095
|
+
return ret;
|
|
7096
|
+
}, arguments) };
|
|
7097
|
+
imports.wbg.__wbg_next_e2da48d8fff7439a = function() { return handleError(function (arg0) {
|
|
7227
7098
|
const ret = arg0.next();
|
|
7228
7099
|
return ret;
|
|
7229
7100
|
}, arguments) };
|
|
@@ -7231,10 +7102,6 @@ function __wbg_get_imports() {
|
|
|
7231
7102
|
const ret = arg0.node;
|
|
7232
7103
|
return ret;
|
|
7233
7104
|
};
|
|
7234
|
-
imports.wbg.__wbg_now_1e80617bcee43265 = function() {
|
|
7235
|
-
const ret = Date.now();
|
|
7236
|
-
return ret;
|
|
7237
|
-
};
|
|
7238
7105
|
imports.wbg.__wbg_now_2c95c9de01293173 = function(arg0) {
|
|
7239
7106
|
const ret = arg0.now();
|
|
7240
7107
|
return ret;
|
|
@@ -7244,6 +7111,10 @@ function __wbg_get_imports() {
|
|
|
7244
7111
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
7245
7112
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
7246
7113
|
};
|
|
7114
|
+
imports.wbg.__wbg_now_eb0821f3bd9f6529 = function() {
|
|
7115
|
+
const ret = Date.now();
|
|
7116
|
+
return ret;
|
|
7117
|
+
};
|
|
7247
7118
|
imports.wbg.__wbg_onclose_7422fac0d15ba816 = function(arg0) {
|
|
7248
7119
|
arg0.on_close();
|
|
7249
7120
|
};
|
|
@@ -7272,47 +7143,44 @@ function __wbg_get_imports() {
|
|
|
7272
7143
|
const ret = arg0.performance;
|
|
7273
7144
|
return ret;
|
|
7274
7145
|
};
|
|
7275
|
-
imports.wbg.
|
|
7146
|
+
imports.wbg.__wbg_postMessage_54ce7f4b41ac732e = function() { return handleError(function (arg0, arg1) {
|
|
7276
7147
|
arg0.postMessage(arg1);
|
|
7277
7148
|
}, arguments) };
|
|
7278
7149
|
imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
|
|
7279
7150
|
const ret = arg0.process;
|
|
7280
7151
|
return ret;
|
|
7281
7152
|
};
|
|
7282
|
-
imports.wbg.
|
|
7283
|
-
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
7284
|
-
};
|
|
7285
|
-
imports.wbg.__wbg_push_330b2eb93e4e1212 = function(arg0, arg1) {
|
|
7153
|
+
imports.wbg.__wbg_push_73fd7b5550ebf707 = function(arg0, arg1) {
|
|
7286
7154
|
const ret = arg0.push(arg1);
|
|
7287
7155
|
return ret;
|
|
7288
7156
|
};
|
|
7289
|
-
imports.wbg.
|
|
7157
|
+
imports.wbg.__wbg_queueMicrotask_46c1df247678729f = function(arg0) {
|
|
7290
7158
|
queueMicrotask(arg0);
|
|
7291
7159
|
};
|
|
7292
|
-
imports.wbg.
|
|
7160
|
+
imports.wbg.__wbg_queueMicrotask_8acf3ccb75ed8d11 = function(arg0) {
|
|
7293
7161
|
const ret = arg0.queueMicrotask;
|
|
7294
7162
|
return ret;
|
|
7295
7163
|
};
|
|
7296
7164
|
imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
|
|
7297
7165
|
arg0.randomFillSync(arg1);
|
|
7298
7166
|
}, arguments) };
|
|
7299
|
-
imports.wbg.
|
|
7167
|
+
imports.wbg.__wbg_random_210bb7fbfa33591d = function() {
|
|
7300
7168
|
const ret = Math.random();
|
|
7301
7169
|
return ret;
|
|
7302
7170
|
};
|
|
7303
|
-
imports.wbg.
|
|
7171
|
+
imports.wbg.__wbg_read_4dbc5a78288c4eed = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
7304
7172
|
const ret = arg0.read(getArrayU8FromWasm0(arg1, arg2), arg3);
|
|
7305
7173
|
return ret;
|
|
7306
7174
|
}, arguments) };
|
|
7307
|
-
imports.wbg.
|
|
7308
|
-
const ret = arg0.read();
|
|
7309
|
-
return ret;
|
|
7310
|
-
};
|
|
7311
|
-
imports.wbg.__wbg_read_e271e94623077591 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
7175
|
+
imports.wbg.__wbg_read_8eb30fc4016403e0 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
7312
7176
|
const ret = arg0.read(arg1, arg2);
|
|
7313
7177
|
return ret;
|
|
7314
7178
|
}, arguments) };
|
|
7315
|
-
imports.wbg.
|
|
7179
|
+
imports.wbg.__wbg_read_f4b89f69cc51efc7 = function(arg0) {
|
|
7180
|
+
const ret = arg0.read();
|
|
7181
|
+
return ret;
|
|
7182
|
+
};
|
|
7183
|
+
imports.wbg.__wbg_releaseLock_c589dd51c0812aca = function(arg0) {
|
|
7316
7184
|
arg0.releaseLock();
|
|
7317
7185
|
};
|
|
7318
7186
|
imports.wbg.__wbg_remoteattachmentinfo_new = function(arg0) {
|
|
@@ -7323,7 +7191,7 @@ function __wbg_get_imports() {
|
|
|
7323
7191
|
const ret = RemoteAttachmentInfo.__unwrap(arg0);
|
|
7324
7192
|
return ret;
|
|
7325
7193
|
};
|
|
7326
|
-
imports.wbg.
|
|
7194
|
+
imports.wbg.__wbg_removeEntry_ddd726e5b0218482 = function(arg0, arg1, arg2) {
|
|
7327
7195
|
const ret = arg0.removeEntry(getStringFromWasm0(arg1, arg2));
|
|
7328
7196
|
return ret;
|
|
7329
7197
|
};
|
|
@@ -7331,11 +7199,11 @@ function __wbg_get_imports() {
|
|
|
7331
7199
|
const ret = module.require;
|
|
7332
7200
|
return ret;
|
|
7333
7201
|
}, arguments) };
|
|
7334
|
-
imports.wbg.
|
|
7202
|
+
imports.wbg.__wbg_resolve_0dac8c580ffd4678 = function(arg0) {
|
|
7335
7203
|
const ret = Promise.resolve(arg0);
|
|
7336
7204
|
return ret;
|
|
7337
7205
|
};
|
|
7338
|
-
imports.wbg.
|
|
7206
|
+
imports.wbg.__wbg_respond_b227f1c3be2bb879 = function() { return handleError(function (arg0, arg1) {
|
|
7339
7207
|
arg0.respond(arg1 >>> 0);
|
|
7340
7208
|
}, arguments) };
|
|
7341
7209
|
imports.wbg.__wbg_setInterval_ed3b5e3c3ebb8a6d = function() { return handleError(function (arg0, arg1) {
|
|
@@ -7357,75 +7225,75 @@ function __wbg_get_imports() {
|
|
|
7357
7225
|
const ret = setTimeout(arg0, arg1);
|
|
7358
7226
|
return ret;
|
|
7359
7227
|
}, arguments) };
|
|
7360
|
-
imports.wbg.
|
|
7228
|
+
imports.wbg.__wbg_setUint32_909f117d6d6c4344 = function(arg0, arg1, arg2) {
|
|
7361
7229
|
arg0.setUint32(arg1 >>> 0, arg2 >>> 0);
|
|
7362
7230
|
};
|
|
7363
|
-
imports.wbg.__wbg_set_1353b2a5e96bc48c = function(arg0, arg1, arg2) {
|
|
7364
|
-
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
7365
|
-
};
|
|
7366
|
-
imports.wbg.__wbg_set_1c17f9738fac2718 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
7367
|
-
arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
7368
|
-
}, arguments) };
|
|
7369
7231
|
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
7370
7232
|
arg0[arg1] = arg2;
|
|
7371
7233
|
};
|
|
7372
|
-
imports.wbg.
|
|
7234
|
+
imports.wbg.__wbg_set_7422acbe992d64ab = function(arg0, arg1, arg2) {
|
|
7235
|
+
arg0[arg1 >>> 0] = arg2;
|
|
7236
|
+
};
|
|
7237
|
+
imports.wbg.__wbg_set_b042eef31c50834d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
7238
|
+
arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
7239
|
+
}, arguments) };
|
|
7240
|
+
imports.wbg.__wbg_set_c43293f93a35998a = function() { return handleError(function (arg0, arg1, arg2) {
|
|
7373
7241
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
7374
7242
|
return ret;
|
|
7375
7243
|
}, arguments) };
|
|
7376
|
-
imports.wbg.
|
|
7377
|
-
arg0[arg1 >>> 0] = arg2;
|
|
7378
|
-
};
|
|
7379
|
-
imports.wbg.__wbg_set_b7f1cf4fae26fe2a = function(arg0, arg1, arg2) {
|
|
7244
|
+
imports.wbg.__wbg_set_d6bdfd275fb8a4ce = function(arg0, arg1, arg2) {
|
|
7380
7245
|
const ret = arg0.set(arg1, arg2);
|
|
7381
7246
|
return ret;
|
|
7382
7247
|
};
|
|
7383
|
-
imports.wbg.
|
|
7248
|
+
imports.wbg.__wbg_set_fe4e79d1ed3b0e9b = function(arg0, arg1, arg2) {
|
|
7249
|
+
arg0.set(arg1, arg2 >>> 0);
|
|
7250
|
+
};
|
|
7251
|
+
imports.wbg.__wbg_setat_2d0d9be3db4207a9 = function(arg0, arg1) {
|
|
7384
7252
|
arg0.at = arg1;
|
|
7385
7253
|
};
|
|
7386
|
-
imports.wbg.
|
|
7254
|
+
imports.wbg.__wbg_setbody_971ec015fc13d6b4 = function(arg0, arg1) {
|
|
7387
7255
|
arg0.body = arg1;
|
|
7388
7256
|
};
|
|
7389
|
-
imports.wbg.
|
|
7257
|
+
imports.wbg.__wbg_setcache_a94cd14dc0cc72a2 = function(arg0, arg1) {
|
|
7390
7258
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
7391
7259
|
};
|
|
7392
|
-
imports.wbg.
|
|
7260
|
+
imports.wbg.__wbg_setcreate_62b7d997a9936969 = function(arg0, arg1) {
|
|
7393
7261
|
arg0.create = arg1 !== 0;
|
|
7394
7262
|
};
|
|
7395
|
-
imports.wbg.
|
|
7263
|
+
imports.wbg.__wbg_setcreate_dcf97058ed33f8f0 = function(arg0, arg1) {
|
|
7396
7264
|
arg0.create = arg1 !== 0;
|
|
7397
7265
|
};
|
|
7398
|
-
imports.wbg.
|
|
7266
|
+
imports.wbg.__wbg_setcredentials_920d91fb5984c94a = function(arg0, arg1) {
|
|
7399
7267
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
7400
7268
|
};
|
|
7401
|
-
imports.wbg.
|
|
7269
|
+
imports.wbg.__wbg_setheaders_65a4eb4c0443ae61 = function(arg0, arg1) {
|
|
7402
7270
|
arg0.headers = arg1;
|
|
7403
7271
|
};
|
|
7404
|
-
imports.wbg.
|
|
7272
|
+
imports.wbg.__wbg_sethighwatermark_3017ad772d071dcb = function(arg0, arg1) {
|
|
7405
7273
|
arg0.highWaterMark = arg1;
|
|
7406
7274
|
};
|
|
7407
|
-
imports.wbg.
|
|
7275
|
+
imports.wbg.__wbg_setintegrity_837435fe924a8c3a = function(arg0, arg1, arg2) {
|
|
7408
7276
|
arg0.integrity = getStringFromWasm0(arg1, arg2);
|
|
7409
7277
|
};
|
|
7410
|
-
imports.wbg.
|
|
7278
|
+
imports.wbg.__wbg_setmethod_8ce1be0b4d701b7c = function(arg0, arg1, arg2) {
|
|
7411
7279
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
7412
7280
|
};
|
|
7413
|
-
imports.wbg.
|
|
7281
|
+
imports.wbg.__wbg_setmode_bd35f026f55b6247 = function(arg0, arg1) {
|
|
7414
7282
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
7415
7283
|
};
|
|
7416
|
-
imports.wbg.
|
|
7284
|
+
imports.wbg.__wbg_setredirect_562df6aa76f9dd5a = function(arg0, arg1) {
|
|
7417
7285
|
arg0.redirect = __wbindgen_enum_RequestRedirect[arg1];
|
|
7418
7286
|
};
|
|
7419
|
-
imports.wbg.
|
|
7287
|
+
imports.wbg.__wbg_setreferrer_fa327f33294d371a = function(arg0, arg1, arg2) {
|
|
7420
7288
|
arg0.referrer = getStringFromWasm0(arg1, arg2);
|
|
7421
7289
|
};
|
|
7422
|
-
imports.wbg.
|
|
7290
|
+
imports.wbg.__wbg_setreferrerpolicy_537ff1407c81391d = function(arg0, arg1) {
|
|
7423
7291
|
arg0.referrerPolicy = __wbindgen_enum_ReferrerPolicy[arg1];
|
|
7424
7292
|
};
|
|
7425
|
-
imports.wbg.
|
|
7293
|
+
imports.wbg.__wbg_setsignal_8e72abfe7ee03c97 = function(arg0, arg1) {
|
|
7426
7294
|
arg0.signal = arg1;
|
|
7427
7295
|
};
|
|
7428
|
-
imports.wbg.
|
|
7296
|
+
imports.wbg.__wbg_signal_b96223519a041faa = function(arg0) {
|
|
7429
7297
|
const ret = arg0.signal;
|
|
7430
7298
|
return ret;
|
|
7431
7299
|
};
|
|
@@ -7433,11 +7301,11 @@ function __wbg_get_imports() {
|
|
|
7433
7301
|
const ret = SignatureRequestHandle.__wrap(arg0);
|
|
7434
7302
|
return ret;
|
|
7435
7303
|
};
|
|
7436
|
-
imports.wbg.
|
|
7304
|
+
imports.wbg.__wbg_size_e6e036b6b1285ed9 = function(arg0) {
|
|
7437
7305
|
const ret = arg0.size;
|
|
7438
7306
|
return ret;
|
|
7439
7307
|
};
|
|
7440
|
-
imports.wbg.
|
|
7308
|
+
imports.wbg.__wbg_slice_3b17e1df768365f2 = function(arg0, arg1, arg2) {
|
|
7441
7309
|
const ret = arg0.slice(arg1 >>> 0, arg2 >>> 0);
|
|
7442
7310
|
return ret;
|
|
7443
7311
|
};
|
|
@@ -7448,78 +7316,78 @@ function __wbg_get_imports() {
|
|
|
7448
7316
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7449
7317
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7450
7318
|
};
|
|
7451
|
-
imports.wbg.
|
|
7319
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_487c52c58d65314d = function() {
|
|
7452
7320
|
const ret = typeof global === 'undefined' ? null : global;
|
|
7453
7321
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
7454
7322
|
};
|
|
7455
|
-
imports.wbg.
|
|
7323
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291 = function() {
|
|
7456
7324
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
7457
7325
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
7458
7326
|
};
|
|
7459
|
-
imports.wbg.
|
|
7327
|
+
imports.wbg.__wbg_static_accessor_SELF_78c9e3071b912620 = function() {
|
|
7460
7328
|
const ret = typeof self === 'undefined' ? null : self;
|
|
7461
7329
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
7462
7330
|
};
|
|
7463
|
-
imports.wbg.
|
|
7331
|
+
imports.wbg.__wbg_static_accessor_WINDOW_a093d21393777366 = function() {
|
|
7464
7332
|
const ret = typeof window === 'undefined' ? null : window;
|
|
7465
7333
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
7466
7334
|
};
|
|
7467
|
-
imports.wbg.
|
|
7335
|
+
imports.wbg.__wbg_status_a54682bbe52f9058 = function(arg0) {
|
|
7468
7336
|
const ret = arg0.status;
|
|
7469
7337
|
return ret;
|
|
7470
7338
|
};
|
|
7471
|
-
imports.wbg.
|
|
7339
|
+
imports.wbg.__wbg_storage_52b923037fa3d04c = function(arg0) {
|
|
7472
7340
|
const ret = arg0.storage;
|
|
7473
7341
|
return ret;
|
|
7474
7342
|
};
|
|
7475
|
-
imports.wbg.
|
|
7343
|
+
imports.wbg.__wbg_stringify_c242842b97f054cc = function() { return handleError(function (arg0) {
|
|
7476
7344
|
const ret = JSON.stringify(arg0);
|
|
7477
7345
|
return ret;
|
|
7478
7346
|
}, arguments) };
|
|
7479
|
-
imports.wbg.
|
|
7347
|
+
imports.wbg.__wbg_subarray_dd4ade7d53bd8e26 = function(arg0, arg1, arg2) {
|
|
7480
7348
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
7481
7349
|
return ret;
|
|
7482
7350
|
};
|
|
7483
|
-
imports.wbg.
|
|
7351
|
+
imports.wbg.__wbg_text_ec0e22f60e30dd2f = function() { return handleError(function (arg0) {
|
|
7484
7352
|
const ret = arg0.text();
|
|
7485
7353
|
return ret;
|
|
7486
7354
|
}, arguments) };
|
|
7487
|
-
imports.wbg.
|
|
7355
|
+
imports.wbg.__wbg_then_82ab9fb4080f1707 = function(arg0, arg1, arg2) {
|
|
7488
7356
|
const ret = arg0.then(arg1, arg2);
|
|
7489
7357
|
return ret;
|
|
7490
7358
|
};
|
|
7491
|
-
imports.wbg.
|
|
7359
|
+
imports.wbg.__wbg_then_db882932c0c714c6 = function(arg0, arg1) {
|
|
7492
7360
|
const ret = arg0.then(arg1);
|
|
7493
7361
|
return ret;
|
|
7494
7362
|
};
|
|
7495
|
-
imports.wbg.
|
|
7496
|
-
const ret = arg0.toString(arg1);
|
|
7497
|
-
return ret;
|
|
7498
|
-
}, arguments) };
|
|
7499
|
-
imports.wbg.__wbg_toString_78df35411a4fd40c = function(arg0) {
|
|
7363
|
+
imports.wbg.__wbg_toString_bc7a05a172b5cf14 = function(arg0) {
|
|
7500
7364
|
const ret = arg0.toString();
|
|
7501
7365
|
return ret;
|
|
7502
7366
|
};
|
|
7367
|
+
imports.wbg.__wbg_toString_e2fd3ab0d7a3919b = function() { return handleError(function (arg0, arg1) {
|
|
7368
|
+
const ret = arg0.toString(arg1);
|
|
7369
|
+
return ret;
|
|
7370
|
+
}, arguments) };
|
|
7503
7371
|
imports.wbg.__wbg_toU8Array_7fa7fb3ae8554ad0 = function(arg0, arg1, arg2, arg3) {
|
|
7504
7372
|
JSArrayBufferCopy.toU8Array(arg0, arg1 >>> 0, arg2 >>> 0, arg3);
|
|
7505
7373
|
};
|
|
7506
7374
|
imports.wbg.__wbg_toU8Slice_11519abfa5176ae4 = function(arg0, arg1, arg2, arg3) {
|
|
7507
7375
|
JSArrayBufferCopy.toU8Slice(arg0, arg1, arg2 >>> 0, arg3 >>> 0);
|
|
7508
7376
|
};
|
|
7509
|
-
imports.wbg.
|
|
7510
|
-
arg0.truncate(arg1 >>> 0);
|
|
7511
|
-
}, arguments) };
|
|
7512
|
-
imports.wbg.__wbg_truncate_7cddd971e3cf0a8c = function() { return handleError(function (arg0, arg1) {
|
|
7377
|
+
imports.wbg.__wbg_truncate_015f5d17c33dc013 = function() { return handleError(function (arg0, arg1) {
|
|
7513
7378
|
arg0.truncate(arg1);
|
|
7514
7379
|
}, arguments) };
|
|
7515
|
-
imports.wbg.
|
|
7380
|
+
imports.wbg.__wbg_truncate_1b4fd52305f619d7 = function() { return handleError(function (arg0, arg1) {
|
|
7381
|
+
arg0.truncate(arg1 >>> 0);
|
|
7382
|
+
}, arguments) };
|
|
7383
|
+
imports.wbg.__wbg_url_e6ed869ea05b7a71 = function(arg0, arg1) {
|
|
7516
7384
|
const ret = arg1.url;
|
|
7517
7385
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
7518
7386
|
const len1 = WASM_VECTOR_LEN;
|
|
7519
7387
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7520
7388
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7521
7389
|
};
|
|
7522
|
-
imports.wbg.
|
|
7390
|
+
imports.wbg.__wbg_value_17b896954e14f896 = function(arg0) {
|
|
7523
7391
|
const ret = arg0.value;
|
|
7524
7392
|
return ret;
|
|
7525
7393
|
};
|
|
@@ -7527,22 +7395,45 @@ function __wbg_get_imports() {
|
|
|
7527
7395
|
const ret = arg0.versions;
|
|
7528
7396
|
return ret;
|
|
7529
7397
|
};
|
|
7530
|
-
imports.wbg.
|
|
7398
|
+
imports.wbg.__wbg_view_a9ad80dcbad7cf1c = function(arg0) {
|
|
7531
7399
|
const ret = arg0.view;
|
|
7532
7400
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
7533
7401
|
};
|
|
7534
|
-
imports.wbg.
|
|
7402
|
+
imports.wbg.__wbg_warn_90607373221a6b1c = function(arg0, arg1, arg2, arg3) {
|
|
7535
7403
|
console.warn(arg0, arg1, arg2, arg3);
|
|
7536
7404
|
};
|
|
7537
|
-
imports.wbg.
|
|
7405
|
+
imports.wbg.__wbg_warn_d89f6637da554c8d = function(arg0) {
|
|
7538
7406
|
console.warn(arg0);
|
|
7539
7407
|
};
|
|
7540
|
-
imports.wbg.
|
|
7408
|
+
imports.wbg.__wbg_write_0afe3c9463f48fc5 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
7409
|
+
const ret = arg0.write(arg1, arg2);
|
|
7410
|
+
return ret;
|
|
7411
|
+
}, arguments) };
|
|
7412
|
+
imports.wbg.__wbg_write_20973b686f7a7721 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
7413
|
+
const ret = arg0.write(getArrayU8FromWasm0(arg1, arg2), arg3);
|
|
7414
|
+
return ret;
|
|
7415
|
+
}, arguments) };
|
|
7416
|
+
imports.wbg.__wbindgen_array_new = function() {
|
|
7417
|
+
const ret = [];
|
|
7418
|
+
return ret;
|
|
7419
|
+
};
|
|
7420
|
+
imports.wbg.__wbindgen_array_push = function(arg0, arg1) {
|
|
7421
|
+
arg0.push(arg1);
|
|
7422
|
+
};
|
|
7423
|
+
imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
7424
|
+
const ret = arg0;
|
|
7425
|
+
return ret;
|
|
7426
|
+
};
|
|
7427
|
+
imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
7428
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
7429
|
+
return ret;
|
|
7430
|
+
};
|
|
7431
|
+
imports.wbg.__wbindgen_boolean_get = function(arg0) {
|
|
7541
7432
|
const v = arg0;
|
|
7542
|
-
const ret = typeof(v) === 'boolean' ? v :
|
|
7543
|
-
return
|
|
7433
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
7434
|
+
return ret;
|
|
7544
7435
|
};
|
|
7545
|
-
imports.wbg.
|
|
7436
|
+
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
7546
7437
|
const obj = arg0.original;
|
|
7547
7438
|
if (obj.cnt-- == 1) {
|
|
7548
7439
|
obj.a = 0;
|
|
@@ -7551,49 +7442,79 @@ function __wbg_get_imports() {
|
|
|
7551
7442
|
const ret = false;
|
|
7552
7443
|
return ret;
|
|
7553
7444
|
};
|
|
7554
|
-
imports.wbg.
|
|
7445
|
+
imports.wbg.__wbindgen_closure_wrapper20636 = function(arg0, arg1, arg2) {
|
|
7446
|
+
const ret = makeMutClosure(arg0, arg1, 5034, __wbg_adapter_48);
|
|
7447
|
+
return ret;
|
|
7448
|
+
};
|
|
7449
|
+
imports.wbg.__wbindgen_closure_wrapper22341 = function(arg0, arg1, arg2) {
|
|
7450
|
+
const ret = makeMutClosure(arg0, arg1, 5360, __wbg_adapter_51);
|
|
7451
|
+
return ret;
|
|
7452
|
+
};
|
|
7453
|
+
imports.wbg.__wbindgen_closure_wrapper24471 = function(arg0, arg1, arg2) {
|
|
7454
|
+
const ret = makeMutClosure(arg0, arg1, 5599, __wbg_adapter_54);
|
|
7455
|
+
return ret;
|
|
7456
|
+
};
|
|
7457
|
+
imports.wbg.__wbindgen_closure_wrapper25117 = function(arg0, arg1, arg2) {
|
|
7458
|
+
const ret = makeMutClosure(arg0, arg1, 5612, __wbg_adapter_57);
|
|
7459
|
+
return ret;
|
|
7460
|
+
};
|
|
7461
|
+
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
7555
7462
|
const ret = debugString(arg1);
|
|
7556
7463
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
7557
7464
|
const len1 = WASM_VECTOR_LEN;
|
|
7558
7465
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7559
7466
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7560
7467
|
};
|
|
7561
|
-
imports.wbg.
|
|
7468
|
+
imports.wbg.__wbindgen_in = function(arg0, arg1) {
|
|
7562
7469
|
const ret = arg0 in arg1;
|
|
7563
7470
|
return ret;
|
|
7564
7471
|
};
|
|
7565
|
-
imports.wbg.
|
|
7472
|
+
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
7473
|
+
const table = wasm.__wbindgen_export_4;
|
|
7474
|
+
const offset = table.grow(4);
|
|
7475
|
+
table.set(0, undefined);
|
|
7476
|
+
table.set(offset + 0, undefined);
|
|
7477
|
+
table.set(offset + 1, null);
|
|
7478
|
+
table.set(offset + 2, true);
|
|
7479
|
+
table.set(offset + 3, false);
|
|
7480
|
+
;
|
|
7481
|
+
};
|
|
7482
|
+
imports.wbg.__wbindgen_is_function = function(arg0) {
|
|
7566
7483
|
const ret = typeof(arg0) === 'function';
|
|
7567
7484
|
return ret;
|
|
7568
7485
|
};
|
|
7569
|
-
imports.wbg.
|
|
7486
|
+
imports.wbg.__wbindgen_is_object = function(arg0) {
|
|
7570
7487
|
const val = arg0;
|
|
7571
7488
|
const ret = typeof(val) === 'object' && val !== null;
|
|
7572
7489
|
return ret;
|
|
7573
7490
|
};
|
|
7574
|
-
imports.wbg.
|
|
7491
|
+
imports.wbg.__wbindgen_is_string = function(arg0) {
|
|
7575
7492
|
const ret = typeof(arg0) === 'string';
|
|
7576
7493
|
return ret;
|
|
7577
7494
|
};
|
|
7578
|
-
imports.wbg.
|
|
7495
|
+
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
7579
7496
|
const ret = arg0 === undefined;
|
|
7580
7497
|
return ret;
|
|
7581
7498
|
};
|
|
7582
|
-
imports.wbg.
|
|
7499
|
+
imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
7583
7500
|
const ret = arg0 == arg1;
|
|
7584
7501
|
return ret;
|
|
7585
7502
|
};
|
|
7586
|
-
imports.wbg.
|
|
7503
|
+
imports.wbg.__wbindgen_memory = function() {
|
|
7587
7504
|
const ret = wasm.memory;
|
|
7588
7505
|
return ret;
|
|
7589
7506
|
};
|
|
7590
|
-
imports.wbg.
|
|
7507
|
+
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
|
|
7591
7508
|
const obj = arg1;
|
|
7592
7509
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
7593
7510
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
7594
7511
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
7595
7512
|
};
|
|
7596
|
-
imports.wbg.
|
|
7513
|
+
imports.wbg.__wbindgen_number_new = function(arg0) {
|
|
7514
|
+
const ret = arg0;
|
|
7515
|
+
return ret;
|
|
7516
|
+
};
|
|
7517
|
+
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
7597
7518
|
const obj = arg1;
|
|
7598
7519
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
7599
7520
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -7601,121 +7522,19 @@ function __wbg_get_imports() {
|
|
|
7601
7522
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7602
7523
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7603
7524
|
};
|
|
7604
|
-
imports.wbg.
|
|
7525
|
+
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
7526
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
7527
|
+
return ret;
|
|
7528
|
+
};
|
|
7529
|
+
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
|
|
7605
7530
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
7606
7531
|
};
|
|
7607
|
-
imports.wbg.
|
|
7532
|
+
imports.wbg.__wbindgen_try_into_number = function(arg0) {
|
|
7608
7533
|
let result;
|
|
7609
7534
|
try { result = +arg0 } catch (e) { result = e }
|
|
7610
7535
|
const ret = result;
|
|
7611
7536
|
return ret;
|
|
7612
7537
|
};
|
|
7613
|
-
imports.wbg.__wbg_write_9ac6a5f58a8c835c = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
7614
|
-
const ret = arg0.write(getArrayU8FromWasm0(arg1, arg2), arg3);
|
|
7615
|
-
return ret;
|
|
7616
|
-
}, arguments) };
|
|
7617
|
-
imports.wbg.__wbg_write_c0e234eeb0039d0d = function() { return handleError(function (arg0, arg1, arg2) {
|
|
7618
|
-
const ret = arg0.write(arg1, arg2);
|
|
7619
|
-
return ret;
|
|
7620
|
-
}, arguments) };
|
|
7621
|
-
imports.wbg.__wbg_xmtpcursor_new = function(arg0) {
|
|
7622
|
-
const ret = XmtpCursor.__wrap(arg0);
|
|
7623
|
-
return ret;
|
|
7624
|
-
};
|
|
7625
|
-
imports.wbg.__wbg_xmtpcursor_unwrap = function(arg0) {
|
|
7626
|
-
const ret = XmtpCursor.__unwrap(arg0);
|
|
7627
|
-
return ret;
|
|
7628
|
-
};
|
|
7629
|
-
imports.wbg.__wbindgen_cast_12c75ee0c4bbbe04 = function(arg0, arg1) {
|
|
7630
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 6876, function: Function { arguments: [Externref], shim_idx: 6887, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
7631
|
-
const ret = makeMutClosure(arg0, arg1, 6876, __wbg_adapter_30);
|
|
7632
|
-
return ret;
|
|
7633
|
-
};
|
|
7634
|
-
imports.wbg.__wbindgen_cast_1b7f7f568e748ae7 = function(arg0, arg1) {
|
|
7635
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 6863, function: Function { arguments: [], shim_idx: 6864, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
7636
|
-
const ret = makeMutClosure(arg0, arg1, 6863, __wbg_adapter_19);
|
|
7637
|
-
return ret;
|
|
7638
|
-
};
|
|
7639
|
-
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
7640
|
-
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
7641
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
7642
|
-
return ret;
|
|
7643
|
-
};
|
|
7644
|
-
imports.wbg.__wbindgen_cast_3bc3aaada66c6346 = function(arg0, arg1) {
|
|
7645
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 6474, function: Function { arguments: [], shim_idx: 6475, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
7646
|
-
const ret = makeMutClosure(arg0, arg1, 6474, __wbg_adapter_8);
|
|
7647
|
-
return ret;
|
|
7648
|
-
};
|
|
7649
|
-
imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
|
|
7650
|
-
// Cast intrinsic for `U64 -> Externref`.
|
|
7651
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
7652
|
-
return ret;
|
|
7653
|
-
};
|
|
7654
|
-
imports.wbg.__wbindgen_cast_4a7a1cd401354e65 = function(arg0, arg1) {
|
|
7655
|
-
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
7656
|
-
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
7657
|
-
// Cast intrinsic for `Vector(NamedExternref("InboxState")) -> Externref`.
|
|
7658
|
-
const ret = v0;
|
|
7659
|
-
return ret;
|
|
7660
|
-
};
|
|
7661
|
-
imports.wbg.__wbindgen_cast_8e37b4ad2f2ba653 = function(arg0, arg1) {
|
|
7662
|
-
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
7663
|
-
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
7664
|
-
// Cast intrinsic for `Vector(NamedExternref("Conversation")) -> Externref`.
|
|
7665
|
-
const ret = v0;
|
|
7666
|
-
return ret;
|
|
7667
|
-
};
|
|
7668
|
-
imports.wbg.__wbindgen_cast_998222446b91a002 = function(arg0, arg1) {
|
|
7669
|
-
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
7670
|
-
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
7671
|
-
// Cast intrinsic for `Vector(NamedExternref("MessageWithReactions")) -> Externref`.
|
|
7672
|
-
const ret = v0;
|
|
7673
|
-
return ret;
|
|
7674
|
-
};
|
|
7675
|
-
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
7676
|
-
// Cast intrinsic for `I64 -> Externref`.
|
|
7677
|
-
const ret = arg0;
|
|
7678
|
-
return ret;
|
|
7679
|
-
};
|
|
7680
|
-
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
7681
|
-
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
7682
|
-
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
7683
|
-
return ret;
|
|
7684
|
-
};
|
|
7685
|
-
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
7686
|
-
// Cast intrinsic for `F64 -> Externref`.
|
|
7687
|
-
const ret = arg0;
|
|
7688
|
-
return ret;
|
|
7689
|
-
};
|
|
7690
|
-
imports.wbg.__wbindgen_cast_e081be35fe620ec4 = function(arg0, arg1) {
|
|
7691
|
-
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
7692
|
-
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
7693
|
-
// Cast intrinsic for `Vector(NamedExternref("Message")) -> Externref`.
|
|
7694
|
-
const ret = v0;
|
|
7695
|
-
return ret;
|
|
7696
|
-
};
|
|
7697
|
-
imports.wbg.__wbindgen_cast_f20a506f31063fd0 = function(arg0, arg1) {
|
|
7698
|
-
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
7699
|
-
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
7700
|
-
// Cast intrinsic for `Vector(NamedExternref("DecodedMessage")) -> Externref`.
|
|
7701
|
-
const ret = v0;
|
|
7702
|
-
return ret;
|
|
7703
|
-
};
|
|
7704
|
-
imports.wbg.__wbindgen_cast_fd5a474be345527f = function(arg0, arg1) {
|
|
7705
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 4644, function: Function { arguments: [], shim_idx: 4645, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
7706
|
-
const ret = makeMutClosure(arg0, arg1, 4644, __wbg_adapter_35);
|
|
7707
|
-
return ret;
|
|
7708
|
-
};
|
|
7709
|
-
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
7710
|
-
const table = wasm.__wbindgen_export_4;
|
|
7711
|
-
const offset = table.grow(4);
|
|
7712
|
-
table.set(0, undefined);
|
|
7713
|
-
table.set(offset + 0, undefined);
|
|
7714
|
-
table.set(offset + 1, null);
|
|
7715
|
-
table.set(offset + 2, true);
|
|
7716
|
-
table.set(offset + 3, false);
|
|
7717
|
-
;
|
|
7718
|
-
};
|
|
7719
7538
|
|
|
7720
7539
|
return imports;
|
|
7721
7540
|
}
|