@xmtp/wasm-bindings 0.0.3 → 0.0.4
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 +131 -84
- package/dist/bindings_wasm.js +275 -182
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +82 -72
- package/dist/snippets/diesel-wasm-sqlite-36e85657e47f3be3/src/js/sqlite3-diesel.js +1 -0
- package/dist/snippets/diesel-wasm-sqlite-36e85657e47f3be3/src/js/sqlite3-opfs-async-proxy.js +1 -692
- package/dist/snippets/diesel-wasm-sqlite-36e85657e47f3be3/src/js/sqlite3.wasm +0 -0
- package/package.json +5 -2
- package/dist/snippets/diesel-wasm-sqlite-36e85657e47f3be3/src/js/wa-sqlite-diesel-bundle.js +0 -14738
package/dist/bindings_wasm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SQLite } from './snippets/diesel-wasm-sqlite-36e85657e47f3be3/src/js/
|
|
1
|
+
import { SQLite } from './snippets/diesel-wasm-sqlite-36e85657e47f3be3/src/js/sqlite3-diesel.js';
|
|
2
2
|
|
|
3
3
|
let wasm;
|
|
4
4
|
|
|
@@ -189,7 +189,7 @@ function __wbg_adapter_46(arg0, arg1) {
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
function __wbg_adapter_49(arg0, arg1, arg2) {
|
|
192
|
-
wasm.
|
|
192
|
+
wasm.closure2416_externref_shim(arg0, arg1, arg2);
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
function addToExternrefTable0(obj) {
|
|
@@ -197,6 +197,13 @@ function addToExternrefTable0(obj) {
|
|
|
197
197
|
wasm.__wbindgen_export_2.set(idx, obj);
|
|
198
198
|
return idx;
|
|
199
199
|
}
|
|
200
|
+
|
|
201
|
+
function _assertClass(instance, klass) {
|
|
202
|
+
if (!(instance instanceof klass)) {
|
|
203
|
+
throw new Error(`expected instance of ${klass.name}`);
|
|
204
|
+
}
|
|
205
|
+
return instance.ptr;
|
|
206
|
+
}
|
|
200
207
|
/**
|
|
201
208
|
* @param {string} host
|
|
202
209
|
* @param {string} inbox_id
|
|
@@ -204,9 +211,10 @@ function addToExternrefTable0(obj) {
|
|
|
204
211
|
* @param {string} db_path
|
|
205
212
|
* @param {Uint8Array | undefined} [encryption_key]
|
|
206
213
|
* @param {string | undefined} [history_sync_url]
|
|
214
|
+
* @param {LogOptions | undefined} [log_options]
|
|
207
215
|
* @returns {Promise<Client>}
|
|
208
216
|
*/
|
|
209
|
-
export function createClient(host, inbox_id, account_address, db_path, encryption_key, history_sync_url) {
|
|
217
|
+
export function createClient(host, inbox_id, account_address, db_path, encryption_key, history_sync_url, log_options) {
|
|
210
218
|
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
211
219
|
const len0 = WASM_VECTOR_LEN;
|
|
212
220
|
const ptr1 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -217,7 +225,12 @@ export function createClient(host, inbox_id, account_address, db_path, encryptio
|
|
|
217
225
|
const len3 = WASM_VECTOR_LEN;
|
|
218
226
|
var ptr4 = isLikeNone(history_sync_url) ? 0 : passStringToWasm0(history_sync_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
219
227
|
var len4 = WASM_VECTOR_LEN;
|
|
220
|
-
|
|
228
|
+
let ptr5 = 0;
|
|
229
|
+
if (!isLikeNone(log_options)) {
|
|
230
|
+
_assertClass(log_options, LogOptions);
|
|
231
|
+
ptr5 = log_options.__destroy_into_raw();
|
|
232
|
+
}
|
|
233
|
+
const ret = wasm.createClient(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, isLikeNone(encryption_key) ? 0 : addToExternrefTable0(encryption_key), ptr4, len4, ptr5);
|
|
221
234
|
return ret;
|
|
222
235
|
}
|
|
223
236
|
|
|
@@ -231,6 +244,12 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
231
244
|
return ptr;
|
|
232
245
|
}
|
|
233
246
|
|
|
247
|
+
function takeFromExternrefTable0(idx) {
|
|
248
|
+
const value = wasm.__wbindgen_export_2.get(idx);
|
|
249
|
+
wasm.__externref_table_dealloc(idx);
|
|
250
|
+
return value;
|
|
251
|
+
}
|
|
252
|
+
|
|
234
253
|
function getArrayJsValueFromWasm0(ptr, len) {
|
|
235
254
|
ptr = ptr >>> 0;
|
|
236
255
|
const mem = getDataViewMemory0();
|
|
@@ -241,19 +260,6 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
241
260
|
wasm.__externref_drop_slice(ptr, len);
|
|
242
261
|
return result;
|
|
243
262
|
}
|
|
244
|
-
|
|
245
|
-
function _assertClass(instance, klass) {
|
|
246
|
-
if (!(instance instanceof klass)) {
|
|
247
|
-
throw new Error(`expected instance of ${klass.name}`);
|
|
248
|
-
}
|
|
249
|
-
return instance.ptr;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
function takeFromExternrefTable0(idx) {
|
|
253
|
-
const value = wasm.__wbindgen_export_2.get(idx);
|
|
254
|
-
wasm.__externref_table_dealloc(idx);
|
|
255
|
-
return value;
|
|
256
|
-
}
|
|
257
263
|
/**
|
|
258
264
|
* @param {string} host
|
|
259
265
|
* @param {string} account_address
|
|
@@ -303,8 +309,8 @@ function handleError(f, args) {
|
|
|
303
309
|
}
|
|
304
310
|
|
|
305
311
|
function notDefined(what) { return () => { throw new Error(`${what} is not defined`); }; }
|
|
306
|
-
function
|
|
307
|
-
wasm.
|
|
312
|
+
function __wbg_adapter_563(arg0, arg1, arg2, arg3) {
|
|
313
|
+
wasm.closure3417_externref_shim(arg0, arg1, arg2, arg3);
|
|
308
314
|
}
|
|
309
315
|
|
|
310
316
|
export const ConsentEntityType = Object.freeze({ GroupId:0,"0":"GroupId",InboxId:1,"1":"InboxId",Address:2,"2":"Address", });
|
|
@@ -333,6 +339,8 @@ export const SortDirection = Object.freeze({ Ascending:0,"0":"Ascending",Descend
|
|
|
333
339
|
|
|
334
340
|
const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
|
|
335
341
|
|
|
342
|
+
const __wbindgen_enum_LogLevel = ["off", "error", "warn", "info", "debug", "trace"];
|
|
343
|
+
|
|
336
344
|
const __wbindgen_enum_ReadableStreamReaderMode = ["byob"];
|
|
337
345
|
|
|
338
346
|
const __wbindgen_enum_ReadableStreamType = ["bytes"];
|
|
@@ -466,6 +474,27 @@ export class Client {
|
|
|
466
474
|
const ret = wasm.client_conversations(this.__wbg_ptr);
|
|
467
475
|
return Conversations.__wrap(ret);
|
|
468
476
|
}
|
|
477
|
+
/**
|
|
478
|
+
* @param {(Consent)[]} records
|
|
479
|
+
* @returns {Promise<void>}
|
|
480
|
+
*/
|
|
481
|
+
setConsentStates(records) {
|
|
482
|
+
const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
|
|
483
|
+
const len0 = WASM_VECTOR_LEN;
|
|
484
|
+
const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
|
|
485
|
+
return ret;
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* @param {ConsentEntityType} entity_type
|
|
489
|
+
* @param {string} entity
|
|
490
|
+
* @returns {Promise<ConsentState>}
|
|
491
|
+
*/
|
|
492
|
+
getConsentState(entity_type, entity) {
|
|
493
|
+
const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
494
|
+
const len0 = WASM_VECTOR_LEN;
|
|
495
|
+
const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
|
|
496
|
+
return ret;
|
|
497
|
+
}
|
|
469
498
|
/**
|
|
470
499
|
* @returns {Promise<string | undefined>}
|
|
471
500
|
*/
|
|
@@ -513,31 +542,21 @@ export class Client {
|
|
|
513
542
|
return ret;
|
|
514
543
|
}
|
|
515
544
|
/**
|
|
545
|
+
* @param {SignatureRequestType} signature_type
|
|
546
|
+
* @param {Uint8Array} signature_bytes
|
|
547
|
+
* @param {bigint} chain_id
|
|
548
|
+
* @param {bigint | undefined} [block_number]
|
|
516
549
|
* @returns {Promise<void>}
|
|
517
550
|
*/
|
|
518
|
-
|
|
519
|
-
const ret = wasm.
|
|
551
|
+
addScwSignature(signature_type, signature_bytes, chain_id, block_number) {
|
|
552
|
+
const ret = wasm.client_addScwSignature(this.__wbg_ptr, signature_type, signature_bytes, chain_id, !isLikeNone(block_number), isLikeNone(block_number) ? BigInt(0) : block_number);
|
|
520
553
|
return ret;
|
|
521
554
|
}
|
|
522
555
|
/**
|
|
523
|
-
* @param {(Consent)[]} records
|
|
524
556
|
* @returns {Promise<void>}
|
|
525
557
|
*/
|
|
526
|
-
|
|
527
|
-
const
|
|
528
|
-
const len0 = WASM_VECTOR_LEN;
|
|
529
|
-
const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
|
|
530
|
-
return ret;
|
|
531
|
-
}
|
|
532
|
-
/**
|
|
533
|
-
* @param {ConsentEntityType} entity_type
|
|
534
|
-
* @param {string} entity
|
|
535
|
-
* @returns {Promise<ConsentState>}
|
|
536
|
-
*/
|
|
537
|
-
getConsentState(entity_type, entity) {
|
|
538
|
-
const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
539
|
-
const len0 = WASM_VECTOR_LEN;
|
|
540
|
-
const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
|
|
558
|
+
applySignatureRequests() {
|
|
559
|
+
const ret = wasm.client_applySignatureRequests(this.__wbg_ptr);
|
|
541
560
|
return ret;
|
|
542
561
|
}
|
|
543
562
|
/**
|
|
@@ -1335,6 +1354,13 @@ export class Conversations {
|
|
|
1335
1354
|
const ret = wasm.conversations_sync(this.__wbg_ptr);
|
|
1336
1355
|
return ret;
|
|
1337
1356
|
}
|
|
1357
|
+
/**
|
|
1358
|
+
* @returns {Promise<number>}
|
|
1359
|
+
*/
|
|
1360
|
+
syncAllConversations() {
|
|
1361
|
+
const ret = wasm.conversations_syncAllConversations(this.__wbg_ptr);
|
|
1362
|
+
return ret;
|
|
1363
|
+
}
|
|
1338
1364
|
/**
|
|
1339
1365
|
* @param {ListConversationsOptions | undefined} [opts]
|
|
1340
1366
|
* @returns {Promise<Array<any>>}
|
|
@@ -1671,7 +1697,7 @@ export class GroupMember {
|
|
|
1671
1697
|
set inboxId(arg0) {
|
|
1672
1698
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1673
1699
|
const len0 = WASM_VECTOR_LEN;
|
|
1674
|
-
wasm.
|
|
1700
|
+
wasm.__wbg_set_groupmember_inboxId(this.__wbg_ptr, ptr0, len0);
|
|
1675
1701
|
}
|
|
1676
1702
|
/**
|
|
1677
1703
|
* @returns {(string)[]}
|
|
@@ -1782,11 +1808,11 @@ export class GroupMetadata {
|
|
|
1782
1808
|
/**
|
|
1783
1809
|
* @returns {string}
|
|
1784
1810
|
*/
|
|
1785
|
-
|
|
1811
|
+
creatorInboxId() {
|
|
1786
1812
|
let deferred1_0;
|
|
1787
1813
|
let deferred1_1;
|
|
1788
1814
|
try {
|
|
1789
|
-
const ret = wasm.
|
|
1815
|
+
const ret = wasm.groupmetadata_creatorInboxId(this.__wbg_ptr);
|
|
1790
1816
|
deferred1_0 = ret[0];
|
|
1791
1817
|
deferred1_1 = ret[1];
|
|
1792
1818
|
return getStringFromWasm0(ret[0], ret[1]);
|
|
@@ -1797,11 +1823,11 @@ export class GroupMetadata {
|
|
|
1797
1823
|
/**
|
|
1798
1824
|
* @returns {string}
|
|
1799
1825
|
*/
|
|
1800
|
-
|
|
1826
|
+
conversationType() {
|
|
1801
1827
|
let deferred1_0;
|
|
1802
1828
|
let deferred1_1;
|
|
1803
1829
|
try {
|
|
1804
|
-
const ret = wasm.
|
|
1830
|
+
const ret = wasm.groupmetadata_conversationType(this.__wbg_ptr);
|
|
1805
1831
|
deferred1_0 = ret[0];
|
|
1806
1832
|
deferred1_1 = ret[1];
|
|
1807
1833
|
return getStringFromWasm0(ret[0], ret[1]);
|
|
@@ -1904,7 +1930,7 @@ export class InboxState {
|
|
|
1904
1930
|
set inboxId(arg0) {
|
|
1905
1931
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1906
1932
|
const len0 = WASM_VECTOR_LEN;
|
|
1907
|
-
wasm.
|
|
1933
|
+
wasm.__wbg_set_groupmember_inboxId(this.__wbg_ptr, ptr0, len0);
|
|
1908
1934
|
}
|
|
1909
1935
|
/**
|
|
1910
1936
|
* @returns {string}
|
|
@@ -1927,7 +1953,7 @@ export class InboxState {
|
|
|
1927
1953
|
set recoveryAddress(arg0) {
|
|
1928
1954
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1929
1955
|
const len0 = WASM_VECTOR_LEN;
|
|
1930
|
-
wasm.
|
|
1956
|
+
wasm.__wbg_set_inboxstate_recoveryAddress(this.__wbg_ptr, ptr0, len0);
|
|
1931
1957
|
}
|
|
1932
1958
|
/**
|
|
1933
1959
|
* @returns {(Installation)[]}
|
|
@@ -2327,7 +2353,7 @@ export class ListMessagesOptions {
|
|
|
2327
2353
|
* @param {bigint | undefined} [arg0]
|
|
2328
2354
|
*/
|
|
2329
2355
|
set sentBeforeNs(arg0) {
|
|
2330
|
-
wasm.
|
|
2356
|
+
wasm.__wbg_set_listconversationsoptions_createdAfterNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
2331
2357
|
}
|
|
2332
2358
|
/**
|
|
2333
2359
|
* @returns {bigint | undefined}
|
|
@@ -2340,7 +2366,7 @@ export class ListMessagesOptions {
|
|
|
2340
2366
|
* @param {bigint | undefined} [arg0]
|
|
2341
2367
|
*/
|
|
2342
2368
|
set sentAfterNs(arg0) {
|
|
2343
|
-
wasm.
|
|
2369
|
+
wasm.__wbg_set_listconversationsoptions_createdBeforeNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
2344
2370
|
}
|
|
2345
2371
|
/**
|
|
2346
2372
|
* @returns {bigint | undefined}
|
|
@@ -2353,7 +2379,7 @@ export class ListMessagesOptions {
|
|
|
2353
2379
|
* @param {bigint | undefined} [arg0]
|
|
2354
2380
|
*/
|
|
2355
2381
|
set limit(arg0) {
|
|
2356
|
-
wasm.
|
|
2382
|
+
wasm.__wbg_set_listconversationsoptions_limit(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
2357
2383
|
}
|
|
2358
2384
|
/**
|
|
2359
2385
|
* @returns {DeliveryStatus | undefined}
|
|
@@ -2396,6 +2422,83 @@ export class ListMessagesOptions {
|
|
|
2396
2422
|
}
|
|
2397
2423
|
}
|
|
2398
2424
|
|
|
2425
|
+
const LogOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2426
|
+
? { register: () => {}, unregister: () => {} }
|
|
2427
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_logoptions_free(ptr >>> 0, 1));
|
|
2428
|
+
/**
|
|
2429
|
+
* Specify options for the logger
|
|
2430
|
+
*/
|
|
2431
|
+
export class LogOptions {
|
|
2432
|
+
|
|
2433
|
+
__destroy_into_raw() {
|
|
2434
|
+
const ptr = this.__wbg_ptr;
|
|
2435
|
+
this.__wbg_ptr = 0;
|
|
2436
|
+
LogOptionsFinalization.unregister(this);
|
|
2437
|
+
return ptr;
|
|
2438
|
+
}
|
|
2439
|
+
|
|
2440
|
+
free() {
|
|
2441
|
+
const ptr = this.__destroy_into_raw();
|
|
2442
|
+
wasm.__wbg_logoptions_free(ptr, 0);
|
|
2443
|
+
}
|
|
2444
|
+
/**
|
|
2445
|
+
* enable structured JSON logging to stdout.Useful for third-party log viewers
|
|
2446
|
+
* @returns {boolean}
|
|
2447
|
+
*/
|
|
2448
|
+
get structured() {
|
|
2449
|
+
const ret = wasm.__wbg_get_logoptions_structured(this.__wbg_ptr);
|
|
2450
|
+
return ret !== 0;
|
|
2451
|
+
}
|
|
2452
|
+
/**
|
|
2453
|
+
* enable structured JSON logging to stdout.Useful for third-party log viewers
|
|
2454
|
+
* @param {boolean} arg0
|
|
2455
|
+
*/
|
|
2456
|
+
set structured(arg0) {
|
|
2457
|
+
wasm.__wbg_set_logoptions_structured(this.__wbg_ptr, arg0);
|
|
2458
|
+
}
|
|
2459
|
+
/**
|
|
2460
|
+
* enable performance metrics for libxmtp in the `performance` tab
|
|
2461
|
+
* @returns {boolean}
|
|
2462
|
+
*/
|
|
2463
|
+
get performance() {
|
|
2464
|
+
const ret = wasm.__wbg_get_logoptions_performance(this.__wbg_ptr);
|
|
2465
|
+
return ret !== 0;
|
|
2466
|
+
}
|
|
2467
|
+
/**
|
|
2468
|
+
* enable performance metrics for libxmtp in the `performance` tab
|
|
2469
|
+
* @param {boolean} arg0
|
|
2470
|
+
*/
|
|
2471
|
+
set performance(arg0) {
|
|
2472
|
+
wasm.__wbg_set_logoptions_performance(this.__wbg_ptr, arg0);
|
|
2473
|
+
}
|
|
2474
|
+
/**
|
|
2475
|
+
* filter for logs
|
|
2476
|
+
* @returns {any | undefined}
|
|
2477
|
+
*/
|
|
2478
|
+
get level() {
|
|
2479
|
+
const ret = wasm.__wbg_get_logoptions_level(this.__wbg_ptr);
|
|
2480
|
+
return __wbindgen_enum_LogLevel[ret];
|
|
2481
|
+
}
|
|
2482
|
+
/**
|
|
2483
|
+
* filter for logs
|
|
2484
|
+
* @param {any | undefined} [arg0]
|
|
2485
|
+
*/
|
|
2486
|
+
set level(arg0) {
|
|
2487
|
+
wasm.__wbg_set_logoptions_level(this.__wbg_ptr, arg0 == undefined ? 7 : ((__wbindgen_enum_LogLevel.indexOf(arg0) + 1 || 7) - 1));
|
|
2488
|
+
}
|
|
2489
|
+
/**
|
|
2490
|
+
* @param {boolean} structured
|
|
2491
|
+
* @param {boolean} performance
|
|
2492
|
+
* @param {any | undefined} [level]
|
|
2493
|
+
*/
|
|
2494
|
+
constructor(structured, performance, level) {
|
|
2495
|
+
const ret = wasm.logoptions_new(structured, performance, level == undefined ? 7 : ((__wbindgen_enum_LogLevel.indexOf(level) + 1 || 7) - 1));
|
|
2496
|
+
this.__wbg_ptr = ret >>> 0;
|
|
2497
|
+
LogOptionsFinalization.register(this, this.__wbg_ptr, this);
|
|
2498
|
+
return this;
|
|
2499
|
+
}
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2399
2502
|
const MessageFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2400
2503
|
? { register: () => {}, unregister: () => {} }
|
|
2401
2504
|
: new FinalizationRegistry(ptr => wasm.__wbg_message_free(ptr >>> 0, 1));
|
|
@@ -2769,7 +2872,7 @@ async function __wbg_load(module, imports) {
|
|
|
2769
2872
|
function __wbg_get_imports() {
|
|
2770
2873
|
const imports = {};
|
|
2771
2874
|
imports.wbg = {};
|
|
2772
|
-
imports.wbg.
|
|
2875
|
+
imports.wbg.__wbg_initmodule_63b167b4c2952e1b = function(arg0) {
|
|
2773
2876
|
const ret = SQLite.init_module(arg0);
|
|
2774
2877
|
return ret;
|
|
2775
2878
|
};
|
|
@@ -2777,14 +2880,14 @@ function __wbg_get_imports() {
|
|
|
2777
2880
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2778
2881
|
return ret;
|
|
2779
2882
|
};
|
|
2780
|
-
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
2781
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
2782
|
-
return ret;
|
|
2783
|
-
};
|
|
2784
2883
|
imports.wbg.__wbindgen_number_new = function(arg0) {
|
|
2785
2884
|
const ret = arg0;
|
|
2786
2885
|
return ret;
|
|
2787
2886
|
};
|
|
2887
|
+
imports.wbg.__wbg_installation_new = function(arg0) {
|
|
2888
|
+
const ret = Installation.__wrap(arg0);
|
|
2889
|
+
return ret;
|
|
2890
|
+
};
|
|
2788
2891
|
imports.wbg.__wbg_conversation_new = function(arg0) {
|
|
2789
2892
|
const ret = Conversation.__wrap(arg0);
|
|
2790
2893
|
return ret;
|
|
@@ -2793,10 +2896,6 @@ function __wbg_get_imports() {
|
|
|
2793
2896
|
const ret = Message.__wrap(arg0);
|
|
2794
2897
|
return ret;
|
|
2795
2898
|
};
|
|
2796
|
-
imports.wbg.__wbg_installation_new = function(arg0) {
|
|
2797
|
-
const ret = Installation.__wrap(arg0);
|
|
2798
|
-
return ret;
|
|
2799
|
-
};
|
|
2800
2899
|
imports.wbg.__wbg_inboxstate_new = function(arg0) {
|
|
2801
2900
|
const ret = InboxState.__wrap(arg0);
|
|
2802
2901
|
return ret;
|
|
@@ -2805,12 +2904,8 @@ function __wbg_get_imports() {
|
|
|
2805
2904
|
const ret = Client.__wrap(arg0);
|
|
2806
2905
|
return ret;
|
|
2807
2906
|
};
|
|
2808
|
-
imports.wbg.
|
|
2809
|
-
const ret = arg0
|
|
2810
|
-
return ret;
|
|
2811
|
-
};
|
|
2812
|
-
imports.wbg.__wbindgen_in = function(arg0, arg1) {
|
|
2813
|
-
const ret = arg0 in arg1;
|
|
2907
|
+
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
2908
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
2814
2909
|
return ret;
|
|
2815
2910
|
};
|
|
2816
2911
|
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
@@ -2821,13 +2916,8 @@ function __wbg_get_imports() {
|
|
|
2821
2916
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2822
2917
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2823
2918
|
};
|
|
2824
|
-
imports.wbg.
|
|
2825
|
-
const
|
|
2826
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
2827
|
-
return ret;
|
|
2828
|
-
};
|
|
2829
|
-
imports.wbg.__wbindgen_as_number = function(arg0) {
|
|
2830
|
-
const ret = +arg0;
|
|
2919
|
+
imports.wbg.__wbg_consent_unwrap = function(arg0) {
|
|
2920
|
+
const ret = Consent.__unwrap(arg0);
|
|
2831
2921
|
return ret;
|
|
2832
2922
|
};
|
|
2833
2923
|
imports.wbg.__wbindgen_try_into_number = function(arg0) {
|
|
@@ -2842,14 +2932,43 @@ imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
|
|
|
2842
2932
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
2843
2933
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
2844
2934
|
};
|
|
2845
|
-
imports.wbg.__wbg_consent_unwrap = function(arg0) {
|
|
2846
|
-
const ret = Consent.__unwrap(arg0);
|
|
2847
|
-
return ret;
|
|
2848
|
-
};
|
|
2849
2935
|
imports.wbg.__wbg_installation_unwrap = function(arg0) {
|
|
2850
2936
|
const ret = Installation.__unwrap(arg0);
|
|
2851
2937
|
return ret;
|
|
2852
2938
|
};
|
|
2939
|
+
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
2940
|
+
const ret = arg0 === undefined;
|
|
2941
|
+
return ret;
|
|
2942
|
+
};
|
|
2943
|
+
imports.wbg.__wbindgen_in = function(arg0, arg1) {
|
|
2944
|
+
const ret = arg0 in arg1;
|
|
2945
|
+
return ret;
|
|
2946
|
+
};
|
|
2947
|
+
imports.wbg.__wbindgen_is_object = function(arg0) {
|
|
2948
|
+
const val = arg0;
|
|
2949
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
2950
|
+
return ret;
|
|
2951
|
+
};
|
|
2952
|
+
imports.wbg.__wbindgen_as_number = function(arg0) {
|
|
2953
|
+
const ret = +arg0;
|
|
2954
|
+
return ret;
|
|
2955
|
+
};
|
|
2956
|
+
imports.wbg.__wbg_performance_72f95fe5952939b5 = function() {
|
|
2957
|
+
const ret = globalThis.performance;
|
|
2958
|
+
return ret;
|
|
2959
|
+
};
|
|
2960
|
+
imports.wbg.__wbg_mark_6045ef1772587264 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2961
|
+
arg0.mark(getStringFromWasm0(arg1, arg2));
|
|
2962
|
+
}, arguments) };
|
|
2963
|
+
imports.wbg.__wbg_mark_bad820680b8580c2 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2964
|
+
arg0.mark(getStringFromWasm0(arg1, arg2), arg3);
|
|
2965
|
+
}, arguments) };
|
|
2966
|
+
imports.wbg.__wbg_measure_1d846b814d43d7e1 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2967
|
+
arg0.measure(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6));
|
|
2968
|
+
}, arguments) };
|
|
2969
|
+
imports.wbg.__wbg_measure_7ca0e5cfef892340 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2970
|
+
arg0.measure(getStringFromWasm0(arg1, arg2), arg3);
|
|
2971
|
+
}, arguments) };
|
|
2853
2972
|
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
2854
2973
|
const obj = arg0.original;
|
|
2855
2974
|
if (obj.cnt-- == 1) {
|
|
@@ -2886,52 +3005,11 @@ imports.wbg.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
|
|
|
2886
3005
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2887
3006
|
}
|
|
2888
3007
|
};
|
|
2889
|
-
imports.wbg.
|
|
2890
|
-
let deferred0_0;
|
|
2891
|
-
let deferred0_1;
|
|
2892
|
-
try {
|
|
2893
|
-
deferred0_0 = arg0;
|
|
2894
|
-
deferred0_1 = arg1;
|
|
2895
|
-
console.log(getStringFromWasm0(arg0, arg1));
|
|
2896
|
-
} finally {
|
|
2897
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2898
|
-
}
|
|
2899
|
-
};
|
|
2900
|
-
imports.wbg.__wbg_log_aba5996d9bde071f = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
2901
|
-
let deferred0_0;
|
|
2902
|
-
let deferred0_1;
|
|
2903
|
-
try {
|
|
2904
|
-
deferred0_0 = arg0;
|
|
2905
|
-
deferred0_1 = arg1;
|
|
2906
|
-
console.log(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7));
|
|
2907
|
-
} finally {
|
|
2908
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2909
|
-
}
|
|
2910
|
-
};
|
|
2911
|
-
imports.wbg.__wbg_mark_40e050a77cc39fea = function(arg0, arg1) {
|
|
2912
|
-
performance.mark(getStringFromWasm0(arg0, arg1));
|
|
2913
|
-
};
|
|
2914
|
-
imports.wbg.__wbg_measure_aa7a73f17813f708 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2915
|
-
let deferred0_0;
|
|
2916
|
-
let deferred0_1;
|
|
2917
|
-
let deferred1_0;
|
|
2918
|
-
let deferred1_1;
|
|
2919
|
-
try {
|
|
2920
|
-
deferred0_0 = arg0;
|
|
2921
|
-
deferred0_1 = arg1;
|
|
2922
|
-
deferred1_0 = arg2;
|
|
2923
|
-
deferred1_1 = arg3;
|
|
2924
|
-
performance.measure(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
2925
|
-
} finally {
|
|
2926
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2927
|
-
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
2928
|
-
}
|
|
2929
|
-
}, arguments) };
|
|
2930
|
-
imports.wbg.__wbg_sqlite3_ae38011f61b040f1 = function(arg0) {
|
|
3008
|
+
imports.wbg.__wbg_sqlite3_94709d525395f0e0 = function(arg0) {
|
|
2931
3009
|
const ret = arg0.sqlite3;
|
|
2932
3010
|
return ret;
|
|
2933
3011
|
};
|
|
2934
|
-
imports.wbg.
|
|
3012
|
+
imports.wbg.__wbg_wasm_493cb9116b24d2ed = function(arg0) {
|
|
2935
3013
|
const ret = arg0.wasm;
|
|
2936
3014
|
return ret;
|
|
2937
3015
|
};
|
|
@@ -2951,7 +3029,7 @@ imports.wbg.__wbg_alloc_412cbdfb204df090 = function(arg0, arg1) {
|
|
|
2951
3029
|
const ret = arg0.alloc(arg1 >>> 0);
|
|
2952
3030
|
return ret;
|
|
2953
3031
|
};
|
|
2954
|
-
imports.wbg.
|
|
3032
|
+
imports.wbg.__wbg_preparev3_439afd649e006ca8 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2955
3033
|
const ret = arg0.prepare_v3(arg1, arg2 >>> 0, arg3, arg4 >>> 0, arg5, arg6);
|
|
2956
3034
|
return ret;
|
|
2957
3035
|
};
|
|
@@ -2978,57 +3056,57 @@ imports.wbg.__wbg_impl_3c42f6bcb7b4c19c = function(arg0, arg1) {
|
|
|
2978
3056
|
const ret = arg0.impl(arg1 >>> 0);
|
|
2979
3057
|
return ret;
|
|
2980
3058
|
};
|
|
2981
|
-
imports.wbg.
|
|
3059
|
+
imports.wbg.__wbg_bindnull_bb548bfb7e51d9f6 = function(arg0, arg1, arg2) {
|
|
2982
3060
|
const ret = arg0.bind_null(arg1, arg2);
|
|
2983
3061
|
return ret;
|
|
2984
3062
|
};
|
|
2985
|
-
imports.wbg.
|
|
3063
|
+
imports.wbg.__wbg_bindtext_ea5e136c4ac4c21f = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2986
3064
|
const ret = arg0.bind_text(arg1, arg2, arg3 >>> 0, arg4, arg5);
|
|
2987
3065
|
return ret;
|
|
2988
3066
|
};
|
|
2989
|
-
imports.wbg.
|
|
3067
|
+
imports.wbg.__wbg_bindint_1ad9b7c92c66451b = function(arg0, arg1, arg2, arg3) {
|
|
2990
3068
|
const ret = arg0.bind_int(arg1, arg2, arg3);
|
|
2991
3069
|
return ret;
|
|
2992
3070
|
};
|
|
2993
|
-
imports.wbg.
|
|
3071
|
+
imports.wbg.__wbg_bindint64_4f6d503abe851224 = function(arg0, arg1, arg2, arg3) {
|
|
2994
3072
|
const ret = arg0.bind_int64(arg1, arg2, arg3);
|
|
2995
3073
|
return ret;
|
|
2996
3074
|
};
|
|
2997
|
-
imports.wbg.
|
|
3075
|
+
imports.wbg.__wbg_binddouble_b0a91f37239ee4b0 = function(arg0, arg1, arg2, arg3) {
|
|
2998
3076
|
const ret = arg0.bind_double(arg1, arg2, arg3);
|
|
2999
3077
|
return ret;
|
|
3000
3078
|
};
|
|
3001
|
-
imports.wbg.
|
|
3079
|
+
imports.wbg.__wbg_bindblob_5a17f213fdf1908e = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3002
3080
|
const ret = arg0.bind_blob(arg1, arg2, arg3 >>> 0, arg4, arg5);
|
|
3003
3081
|
return ret;
|
|
3004
3082
|
};
|
|
3005
|
-
imports.wbg.
|
|
3083
|
+
imports.wbg.__wbg_dbhandle_ab50bfd9245494b7 = function(arg0, arg1) {
|
|
3006
3084
|
const ret = arg0.db_handle(arg1);
|
|
3007
3085
|
return ret;
|
|
3008
3086
|
};
|
|
3009
3087
|
imports.wbg.__wbg_dealloc_351653c7fd6f869c = function(arg0, arg1) {
|
|
3010
3088
|
arg0.dealloc(arg1 >>> 0);
|
|
3011
3089
|
};
|
|
3012
|
-
imports.wbg.
|
|
3090
|
+
imports.wbg.__wbg_finalize_238aae75fb871c94 = function() { return handleError(function (arg0, arg1) {
|
|
3013
3091
|
arg0.finalize(arg1);
|
|
3014
3092
|
}, arguments) };
|
|
3015
|
-
imports.wbg.
|
|
3093
|
+
imports.wbg.__wbg_reset_0be27bd2c5c25e78 = function(arg0, arg1) {
|
|
3016
3094
|
const ret = arg0.reset(arg1);
|
|
3017
3095
|
return ret;
|
|
3018
3096
|
};
|
|
3019
|
-
imports.wbg.
|
|
3097
|
+
imports.wbg.__wbg_step_a58b1066c566c122 = function(arg0, arg1) {
|
|
3020
3098
|
const ret = arg0.step(arg1);
|
|
3021
3099
|
return ret;
|
|
3022
3100
|
};
|
|
3023
|
-
imports.wbg.
|
|
3101
|
+
imports.wbg.__wbg_columncount_a12965551470fb42 = function(arg0, arg1) {
|
|
3024
3102
|
const ret = arg0.column_count(arg1);
|
|
3025
3103
|
return ret;
|
|
3026
3104
|
};
|
|
3027
|
-
imports.wbg.
|
|
3105
|
+
imports.wbg.__wbg_columnvalue_49c1ea5d732bde1c = function(arg0, arg1, arg2) {
|
|
3028
3106
|
const ret = arg0.column_value(arg1, arg2);
|
|
3029
3107
|
return ret;
|
|
3030
3108
|
};
|
|
3031
|
-
imports.wbg.
|
|
3109
|
+
imports.wbg.__wbg_capi_ca06542c83b93175 = function(arg0) {
|
|
3032
3110
|
const ret = arg0.capi;
|
|
3033
3111
|
return ret;
|
|
3034
3112
|
};
|
|
@@ -3036,60 +3114,60 @@ imports.wbg.__wbg_SQLITEFLOAT_e0da134da12d25d0 = function(arg0) {
|
|
|
3036
3114
|
const ret = arg0.SQLITE_FLOAT;
|
|
3037
3115
|
return ret;
|
|
3038
3116
|
};
|
|
3039
|
-
imports.wbg.
|
|
3040
|
-
const ret = arg0.
|
|
3041
|
-
return ret;
|
|
3042
|
-
};
|
|
3043
|
-
imports.wbg.__wbg_SQLITECONSTRAINTCHECK_7b54e6702b2e57ba = function(arg0) {
|
|
3044
|
-
const ret = arg0.SQLITE_CONSTRAINT_CHECK;
|
|
3117
|
+
imports.wbg.__wbg_SQLITECONSTRAINTUNIQUE_1dea04a977c1e377 = function(arg0) {
|
|
3118
|
+
const ret = arg0.SQLITE_CONSTRAINT_UNIQUE;
|
|
3045
3119
|
return ret;
|
|
3046
3120
|
};
|
|
3047
|
-
imports.wbg.
|
|
3048
|
-
const ret = arg0.
|
|
3121
|
+
imports.wbg.__wbg_SQLITEOK_2d09a4e691645e98 = function(arg0) {
|
|
3122
|
+
const ret = arg0.SQLITE_OK;
|
|
3049
3123
|
return ret;
|
|
3050
3124
|
};
|
|
3051
|
-
imports.wbg.
|
|
3052
|
-
const ret = arg0.
|
|
3125
|
+
imports.wbg.__wbg_SQLITECONSTRAINTFOREIGNKEY_741a343b3482effc = function(arg0) {
|
|
3126
|
+
const ret = arg0.SQLITE_CONSTRAINT_FOREIGNKEY;
|
|
3053
3127
|
return ret;
|
|
3054
3128
|
};
|
|
3055
|
-
imports.wbg.
|
|
3056
|
-
const ret = arg0.
|
|
3129
|
+
imports.wbg.__wbg_SQLITEINTEGER_9031dce8e01c166c = function(arg0) {
|
|
3130
|
+
const ret = arg0.SQLITE_INTEGER;
|
|
3057
3131
|
return ret;
|
|
3058
3132
|
};
|
|
3059
|
-
imports.wbg.
|
|
3060
|
-
const ret = arg0.
|
|
3133
|
+
imports.wbg.__wbg_SQLITEBLOB_394b61ff6fc173a6 = function(arg0) {
|
|
3134
|
+
const ret = arg0.SQLITE_BLOB;
|
|
3061
3135
|
return ret;
|
|
3062
3136
|
};
|
|
3063
3137
|
imports.wbg.__wbg_SQLITEROW_a21779e78155c8ad = function(arg0) {
|
|
3064
3138
|
const ret = arg0.SQLITE_ROW;
|
|
3065
3139
|
return ret;
|
|
3066
3140
|
};
|
|
3067
|
-
imports.wbg.
|
|
3068
|
-
const ret = arg0.
|
|
3141
|
+
imports.wbg.__wbg_SQLITESTATIC_b98299c993e94d35 = function(arg0) {
|
|
3142
|
+
const ret = arg0.SQLITE_STATIC;
|
|
3069
3143
|
return ret;
|
|
3070
3144
|
};
|
|
3071
3145
|
imports.wbg.__wbg_SQLITECONSTRAINTPRIMARYKEY_3e2ad26d848575a2 = function(arg0) {
|
|
3072
3146
|
const ret = arg0.SQLITE_CONSTRAINT_PRIMARYKEY;
|
|
3073
3147
|
return ret;
|
|
3074
3148
|
};
|
|
3075
|
-
imports.wbg.
|
|
3076
|
-
const ret = arg0.
|
|
3149
|
+
imports.wbg.__wbg_SQLITEDONE_fbfe18ce23a3b6da = function(arg0) {
|
|
3150
|
+
const ret = arg0.SQLITE_DONE;
|
|
3077
3151
|
return ret;
|
|
3078
3152
|
};
|
|
3079
|
-
imports.wbg.
|
|
3080
|
-
const ret = arg0.
|
|
3153
|
+
imports.wbg.__wbg_SQLITECONSTRAINTCHECK_7b54e6702b2e57ba = function(arg0) {
|
|
3154
|
+
const ret = arg0.SQLITE_CONSTRAINT_CHECK;
|
|
3081
3155
|
return ret;
|
|
3082
3156
|
};
|
|
3083
|
-
imports.wbg.
|
|
3084
|
-
const ret = arg0.
|
|
3157
|
+
imports.wbg.__wbg_SQLITENULL_00f5eb33b5b89690 = function(arg0) {
|
|
3158
|
+
const ret = arg0.SQLITE_NULL;
|
|
3085
3159
|
return ret;
|
|
3086
3160
|
};
|
|
3087
|
-
imports.wbg.
|
|
3088
|
-
const ret = arg0.
|
|
3161
|
+
imports.wbg.__wbg_SQLITECONSTRAINTNOTNULL_0f87885933517ad3 = function(arg0) {
|
|
3162
|
+
const ret = arg0.SQLITE_CONSTRAINT_NOTNULL;
|
|
3089
3163
|
return ret;
|
|
3090
3164
|
};
|
|
3091
|
-
imports.wbg.
|
|
3092
|
-
const ret = arg0.
|
|
3165
|
+
imports.wbg.__wbg_SQLITETEXT_727e78d48f532f23 = function(arg0) {
|
|
3166
|
+
const ret = arg0.SQLITE_TEXT;
|
|
3167
|
+
return ret;
|
|
3168
|
+
};
|
|
3169
|
+
imports.wbg.__wbg_SQLITEPREPAREPERSISTENT_d81d553ffa5c038c = function(arg0) {
|
|
3170
|
+
const ret = arg0.SQLITE_PREPARE_PERSISTENT;
|
|
3093
3171
|
return ret;
|
|
3094
3172
|
};
|
|
3095
3173
|
imports.wbg.__wbg_SQLITEOPENREADWRITE_a83b4615e4d0f3ab = function(arg0) {
|
|
@@ -3104,11 +3182,11 @@ imports.wbg.__wbg_SQLITEOPENURI_553652ff6391f5f3 = function(arg0) {
|
|
|
3104
3182
|
const ret = arg0.SQLITE_OPEN_URI;
|
|
3105
3183
|
return ret;
|
|
3106
3184
|
};
|
|
3107
|
-
imports.wbg.
|
|
3185
|
+
imports.wbg.__wbg_changes_ad25c054690f6c2c = function(arg0, arg1) {
|
|
3108
3186
|
const ret = arg0.changes(arg1);
|
|
3109
3187
|
return ret;
|
|
3110
3188
|
};
|
|
3111
|
-
imports.wbg.
|
|
3189
|
+
imports.wbg.__wbg_close_91b1f36e8a68490f = function(arg0, arg1) {
|
|
3112
3190
|
const ret = arg0.close(arg1);
|
|
3113
3191
|
return ret;
|
|
3114
3192
|
};
|
|
@@ -3123,15 +3201,15 @@ imports.wbg.__wbg_heap8u_e5e9645d146c39a3 = function(arg0) {
|
|
|
3123
3201
|
const ret = arg0.heap8u();
|
|
3124
3202
|
return ret;
|
|
3125
3203
|
};
|
|
3126
|
-
imports.wbg.
|
|
3204
|
+
imports.wbg.__wbg_new_a4c99de148de264c = function(arg0) {
|
|
3127
3205
|
const ret = new SQLite(arg0);
|
|
3128
3206
|
return ret;
|
|
3129
3207
|
};
|
|
3130
|
-
imports.wbg.
|
|
3208
|
+
imports.wbg.__wbg_version_5f48815bb1d8b346 = function(arg0) {
|
|
3131
3209
|
const ret = arg0.version();
|
|
3132
3210
|
return ret;
|
|
3133
3211
|
};
|
|
3134
|
-
imports.wbg.
|
|
3212
|
+
imports.wbg.__wbg_filename_144613ea2a1b3e89 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
3135
3213
|
let deferred0_0;
|
|
3136
3214
|
let deferred0_1;
|
|
3137
3215
|
try {
|
|
@@ -3146,73 +3224,73 @@ imports.wbg.__wbg_filename_9eb2d8c937e22432 = function(arg0, arg1, arg2, arg3, a
|
|
|
3146
3224
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3147
3225
|
}
|
|
3148
3226
|
};
|
|
3149
|
-
imports.wbg.
|
|
3227
|
+
imports.wbg.__wbg_errstr_bb38008691932700 = function(arg0, arg1, arg2) {
|
|
3150
3228
|
const ret = arg1.errstr(arg2);
|
|
3151
3229
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3152
3230
|
const len1 = WASM_VECTOR_LEN;
|
|
3153
3231
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3154
3232
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3155
3233
|
};
|
|
3156
|
-
imports.wbg.
|
|
3234
|
+
imports.wbg.__wbg_errmsg_89bcbfbe76b14cf4 = function(arg0, arg1, arg2) {
|
|
3157
3235
|
const ret = arg1.errmsg(arg2);
|
|
3158
3236
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3159
3237
|
const len1 = WASM_VECTOR_LEN;
|
|
3160
3238
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3161
3239
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3162
3240
|
};
|
|
3163
|
-
imports.wbg.
|
|
3241
|
+
imports.wbg.__wbg_extendederrcode_2b31e0b528da9bbb = function(arg0, arg1) {
|
|
3164
3242
|
const ret = arg0.extended_errcode(arg1);
|
|
3165
3243
|
return ret;
|
|
3166
3244
|
};
|
|
3167
|
-
imports.wbg.
|
|
3245
|
+
imports.wbg.__wbg_valuedup_b0df8ddba19f1b98 = function(arg0, arg1) {
|
|
3168
3246
|
const ret = arg0.value_dup(arg1 >>> 0);
|
|
3169
3247
|
return ret;
|
|
3170
3248
|
};
|
|
3171
|
-
imports.wbg.
|
|
3249
|
+
imports.wbg.__wbg_valueblob_3f74b376b132f8b5 = function(arg0, arg1) {
|
|
3172
3250
|
const ret = arg0.value_blob(arg1 >>> 0);
|
|
3173
3251
|
return ret;
|
|
3174
3252
|
};
|
|
3175
|
-
imports.wbg.
|
|
3253
|
+
imports.wbg.__wbg_valuebytes_4694dcd27c345742 = function(arg0, arg1) {
|
|
3176
3254
|
const ret = arg0.value_bytes(arg1 >>> 0);
|
|
3177
3255
|
return ret;
|
|
3178
3256
|
};
|
|
3179
|
-
imports.wbg.
|
|
3257
|
+
imports.wbg.__wbg_valuefree_bb58ed981c1df68f = function(arg0, arg1) {
|
|
3180
3258
|
arg0.value_free(arg1 >>> 0);
|
|
3181
3259
|
};
|
|
3182
|
-
imports.wbg.
|
|
3260
|
+
imports.wbg.__wbg_valueint_69cbd5211d849273 = function(arg0, arg1) {
|
|
3183
3261
|
const ret = arg0.value_int(arg1 >>> 0);
|
|
3184
3262
|
return ret;
|
|
3185
3263
|
};
|
|
3186
|
-
imports.wbg.
|
|
3264
|
+
imports.wbg.__wbg_valueint64_64bd43aa58b87911 = function(arg0, arg1) {
|
|
3187
3265
|
const ret = arg0.value_int64(arg1 >>> 0);
|
|
3188
3266
|
return ret;
|
|
3189
3267
|
};
|
|
3190
|
-
imports.wbg.
|
|
3268
|
+
imports.wbg.__wbg_valuetext_92c3345d82a9ca0c = function(arg0, arg1, arg2) {
|
|
3191
3269
|
const ret = arg1.value_text(arg2 >>> 0);
|
|
3192
3270
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3193
3271
|
const len1 = WASM_VECTOR_LEN;
|
|
3194
3272
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3195
3273
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3196
3274
|
};
|
|
3197
|
-
imports.wbg.
|
|
3275
|
+
imports.wbg.__wbg_valuetype_cfed2bfc3d2b9ffe = function(arg0, arg1) {
|
|
3198
3276
|
const ret = arg0.value_type(arg1 >>> 0);
|
|
3199
3277
|
return ret;
|
|
3200
3278
|
};
|
|
3201
|
-
imports.wbg.
|
|
3279
|
+
imports.wbg.__wbg_open_d821a8bd5c12df12 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
3202
3280
|
const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 === 0 ? undefined : arg4);
|
|
3203
3281
|
return ret;
|
|
3204
3282
|
}, arguments) };
|
|
3205
|
-
imports.wbg.
|
|
3283
|
+
imports.wbg.__wbg_exec_06c0a88959122598 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3206
3284
|
arg0.exec(arg1, getStringFromWasm0(arg2, arg3));
|
|
3207
3285
|
}, arguments) };
|
|
3208
|
-
imports.wbg.
|
|
3286
|
+
imports.wbg.__wbg_columnname_f60d10fff22a7705 = function(arg0, arg1, arg2, arg3) {
|
|
3209
3287
|
const ret = arg1.column_name(arg2, arg3);
|
|
3210
3288
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3211
3289
|
const len1 = WASM_VECTOR_LEN;
|
|
3212
3290
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3213
3291
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3214
3292
|
};
|
|
3215
|
-
imports.wbg.
|
|
3293
|
+
imports.wbg.__wbg_registerdieselsqlfunctions_af501c8fa4b13f74 = function() { return handleError(function (arg0, arg1) {
|
|
3216
3294
|
arg0.register_diesel_sql_functions(arg1);
|
|
3217
3295
|
}, arguments) };
|
|
3218
3296
|
imports.wbg.__wbg_allocCString_42f27a0af479f779 = function(arg0, arg1, arg2) {
|
|
@@ -3294,7 +3372,14 @@ imports.wbg.__wbindgen_is_function = function(arg0) {
|
|
|
3294
3372
|
return ret;
|
|
3295
3373
|
};
|
|
3296
3374
|
imports.wbg.__wbg_queueMicrotask_c5419c06eab41e73 = typeof queueMicrotask == 'function' ? queueMicrotask : notDefined('queueMicrotask');
|
|
3297
|
-
imports.wbg.
|
|
3375
|
+
imports.wbg.__wbg_debug_69675dd374e2c249 = typeof console.debug == 'function' ? console.debug : notDefined('console.debug');
|
|
3376
|
+
imports.wbg.__wbg_debug_a0b6c2c5ac9a4bfd = typeof console.debug == 'function' ? console.debug : notDefined('console.debug');
|
|
3377
|
+
imports.wbg.__wbg_error_53abcd6a461f73d8 = typeof console.error == 'function' ? console.error : notDefined('console.error');
|
|
3378
|
+
imports.wbg.__wbg_error_4d17c5bb1ca90c94 = typeof console.error == 'function' ? console.error : notDefined('console.error');
|
|
3379
|
+
imports.wbg.__wbg_info_f073b719c8035bbf = typeof console.info == 'function' ? console.info : notDefined('console.info');
|
|
3380
|
+
imports.wbg.__wbg_info_1c7fba7da21072d1 = typeof console.info == 'function' ? console.info : notDefined('console.info');
|
|
3381
|
+
imports.wbg.__wbg_warn_41503a1c2194de89 = typeof console.warn == 'function' ? console.warn : notDefined('console.warn');
|
|
3382
|
+
imports.wbg.__wbg_warn_2e2787d40aad9a81 = typeof console.warn == 'function' ? console.warn : notDefined('console.warn');
|
|
3298
3383
|
imports.wbg.__wbg_fetch_1fdc4448ed9eec00 = function(arg0, arg1) {
|
|
3299
3384
|
const ret = arg0.fetch(arg1);
|
|
3300
3385
|
return ret;
|
|
@@ -3493,6 +3578,10 @@ imports.wbg.__wbg_now_70af4fe37a792251 = function() {
|
|
|
3493
3578
|
const ret = Date.now();
|
|
3494
3579
|
return ret;
|
|
3495
3580
|
};
|
|
3581
|
+
imports.wbg.__wbg_create_70ef5302cb22a5c4 = function(arg0) {
|
|
3582
|
+
const ret = Object.create(arg0);
|
|
3583
|
+
return ret;
|
|
3584
|
+
};
|
|
3496
3585
|
imports.wbg.__wbg_entries_c02034de337d3ee2 = function(arg0) {
|
|
3497
3586
|
const ret = Object.entries(arg0);
|
|
3498
3587
|
return ret;
|
|
@@ -3504,7 +3593,7 @@ imports.wbg.__wbg_new_1073970097e5a420 = function(arg0, arg1) {
|
|
|
3504
3593
|
const a = state0.a;
|
|
3505
3594
|
state0.a = 0;
|
|
3506
3595
|
try {
|
|
3507
|
-
return
|
|
3596
|
+
return __wbg_adapter_563(a, state0.b, arg0, arg1);
|
|
3508
3597
|
} finally {
|
|
3509
3598
|
state0.a = a;
|
|
3510
3599
|
}
|
|
@@ -3580,6 +3669,10 @@ imports.wbg.__wbg_has_bd717f25f195f23d = function() { return handleError(functio
|
|
|
3580
3669
|
const ret = Reflect.has(arg0, arg1);
|
|
3581
3670
|
return ret;
|
|
3582
3671
|
}, arguments) };
|
|
3672
|
+
imports.wbg.__wbg_set_e864d25d9b399c9f = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3673
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
3674
|
+
return ret;
|
|
3675
|
+
}, arguments) };
|
|
3583
3676
|
imports.wbg.__wbg_new_fddd2773b9888ac9 = function() { return handleError(function (arg0) {
|
|
3584
3677
|
const ret = new WebAssembly.Memory(arg0);
|
|
3585
3678
|
return ret;
|
|
@@ -3602,12 +3695,12 @@ imports.wbg.__wbindgen_memory = function() {
|
|
|
3602
3695
|
const ret = wasm.memory;
|
|
3603
3696
|
return ret;
|
|
3604
3697
|
};
|
|
3605
|
-
imports.wbg.
|
|
3606
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3698
|
+
imports.wbg.__wbindgen_closure_wrapper7510 = function(arg0, arg1, arg2) {
|
|
3699
|
+
const ret = makeMutClosure(arg0, arg1, 1835, __wbg_adapter_46);
|
|
3607
3700
|
return ret;
|
|
3608
3701
|
};
|
|
3609
|
-
imports.wbg.
|
|
3610
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3702
|
+
imports.wbg.__wbindgen_closure_wrapper10662 = function(arg0, arg1, arg2) {
|
|
3703
|
+
const ret = makeMutClosure(arg0, arg1, 2417, __wbg_adapter_49);
|
|
3611
3704
|
return ret;
|
|
3612
3705
|
};
|
|
3613
3706
|
imports.wbg.__wbindgen_init_externref_table = function() {
|