@xmtp/wasm-bindings 0.0.12 → 0.0.13
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 +137 -111
- package/dist/bindings_wasm.js +236 -234
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +58 -58
- package/package.json +1 -1
package/dist/bindings_wasm.js
CHANGED
|
@@ -200,6 +200,12 @@ function debugString(val) {
|
|
|
200
200
|
return className;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
+
function takeFromExternrefTable0(idx) {
|
|
204
|
+
const value = wasm.__wbindgen_export_5.get(idx);
|
|
205
|
+
wasm.__externref_table_dealloc(idx);
|
|
206
|
+
return value;
|
|
207
|
+
}
|
|
208
|
+
|
|
203
209
|
function _assertClass(instance, klass) {
|
|
204
210
|
if (!(instance instanceof klass)) {
|
|
205
211
|
throw new Error(`expected instance of ${klass.name}`);
|
|
@@ -209,10 +215,10 @@ function _assertClass(instance, klass) {
|
|
|
209
215
|
* @param {string} host
|
|
210
216
|
* @param {string} inbox_id
|
|
211
217
|
* @param {string} account_address
|
|
212
|
-
* @param {string |
|
|
213
|
-
* @param {Uint8Array |
|
|
214
|
-
* @param {string |
|
|
215
|
-
* @param {LogOptions |
|
|
218
|
+
* @param {string | null} [db_path]
|
|
219
|
+
* @param {Uint8Array | null} [encryption_key]
|
|
220
|
+
* @param {string | null} [history_sync_url]
|
|
221
|
+
* @param {LogOptions | null} [log_options]
|
|
216
222
|
* @returns {Promise<Client>}
|
|
217
223
|
*/
|
|
218
224
|
export function createClient(host, inbox_id, account_address, db_path, encryption_key, history_sync_url, log_options) {
|
|
@@ -237,13 +243,24 @@ export function createClient(host, inbox_id, account_address, db_path, encryptio
|
|
|
237
243
|
|
|
238
244
|
function passArrayJsValueToWasm0(array, malloc) {
|
|
239
245
|
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
240
|
-
const mem = getDataViewMemory0();
|
|
241
246
|
for (let i = 0; i < array.length; i++) {
|
|
242
|
-
|
|
247
|
+
const add = addToExternrefTable0(array[i]);
|
|
248
|
+
getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
|
|
243
249
|
}
|
|
244
250
|
WASM_VECTOR_LEN = array.length;
|
|
245
251
|
return ptr;
|
|
246
252
|
}
|
|
253
|
+
|
|
254
|
+
function getArrayJsValueFromWasm0(ptr, len) {
|
|
255
|
+
ptr = ptr >>> 0;
|
|
256
|
+
const mem = getDataViewMemory0();
|
|
257
|
+
const result = [];
|
|
258
|
+
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
259
|
+
result.push(wasm.__wbindgen_export_5.get(mem.getUint32(i, true)));
|
|
260
|
+
}
|
|
261
|
+
wasm.__externref_drop_slice(ptr, len);
|
|
262
|
+
return result;
|
|
263
|
+
}
|
|
247
264
|
/**
|
|
248
265
|
* @param {string} host
|
|
249
266
|
* @param {string} account_address
|
|
@@ -258,11 +275,6 @@ export function getInboxIdForAddress(host, account_address) {
|
|
|
258
275
|
return ret;
|
|
259
276
|
}
|
|
260
277
|
|
|
261
|
-
function takeFromExternrefTable0(idx) {
|
|
262
|
-
const value = wasm.__wbindgen_export_5.get(idx);
|
|
263
|
-
wasm.__externref_table_dealloc(idx);
|
|
264
|
-
return value;
|
|
265
|
-
}
|
|
266
278
|
/**
|
|
267
279
|
* @param {string} account_address
|
|
268
280
|
* @returns {string}
|
|
@@ -288,16 +300,6 @@ export function generateInboxId(account_address) {
|
|
|
288
300
|
}
|
|
289
301
|
}
|
|
290
302
|
|
|
291
|
-
function getArrayJsValueFromWasm0(ptr, len) {
|
|
292
|
-
ptr = ptr >>> 0;
|
|
293
|
-
const mem = getDataViewMemory0();
|
|
294
|
-
const result = [];
|
|
295
|
-
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
296
|
-
result.push(wasm.__wbindgen_export_5.get(mem.getUint32(i, true)));
|
|
297
|
-
}
|
|
298
|
-
wasm.__externref_drop_slice(ptr, len);
|
|
299
|
-
return result;
|
|
300
|
-
}
|
|
301
303
|
/**
|
|
302
304
|
* @param {string} signature_text
|
|
303
305
|
* @param {Uint8Array} signature_bytes
|
|
@@ -324,11 +326,11 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
324
326
|
return ptr;
|
|
325
327
|
}
|
|
326
328
|
function __wbg_adapter_52(arg0, arg1, arg2) {
|
|
327
|
-
wasm.
|
|
329
|
+
wasm.closure2596_externref_shim(arg0, arg1, arg2);
|
|
328
330
|
}
|
|
329
331
|
|
|
330
332
|
function __wbg_adapter_591(arg0, arg1, arg2, arg3) {
|
|
331
|
-
wasm.
|
|
333
|
+
wasm.closure3688_externref_shim(arg0, arg1, arg2, arg3);
|
|
332
334
|
}
|
|
333
335
|
|
|
334
336
|
/**
|
|
@@ -534,7 +536,7 @@ export class Client {
|
|
|
534
536
|
return ret;
|
|
535
537
|
}
|
|
536
538
|
/**
|
|
537
|
-
* @param {
|
|
539
|
+
* @param {string[]} account_addresses
|
|
538
540
|
* @returns {Promise<any>}
|
|
539
541
|
*/
|
|
540
542
|
canMessage(account_addresses) {
|
|
@@ -581,6 +583,27 @@ export class Client {
|
|
|
581
583
|
const ret = wasm.client_conversations(this.__wbg_ptr);
|
|
582
584
|
return Conversations.__wrap(ret);
|
|
583
585
|
}
|
|
586
|
+
/**
|
|
587
|
+
* @param {Consent[]} records
|
|
588
|
+
* @returns {Promise<void>}
|
|
589
|
+
*/
|
|
590
|
+
setConsentStates(records) {
|
|
591
|
+
const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
|
|
592
|
+
const len0 = WASM_VECTOR_LEN;
|
|
593
|
+
const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
|
|
594
|
+
return ret;
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* @param {ConsentEntityType} entity_type
|
|
598
|
+
* @param {string} entity
|
|
599
|
+
* @returns {Promise<ConsentState>}
|
|
600
|
+
*/
|
|
601
|
+
getConsentState(entity_type, entity) {
|
|
602
|
+
const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
603
|
+
const len0 = WASM_VECTOR_LEN;
|
|
604
|
+
const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
|
|
605
|
+
return ret;
|
|
606
|
+
}
|
|
584
607
|
/**
|
|
585
608
|
*
|
|
586
609
|
* * Get the client's inbox state.
|
|
@@ -640,7 +663,7 @@ export class Client {
|
|
|
640
663
|
return ret;
|
|
641
664
|
}
|
|
642
665
|
/**
|
|
643
|
-
* @param {
|
|
666
|
+
* @param {Uint8Array[]} installation_ids
|
|
644
667
|
* @returns {Promise<string>}
|
|
645
668
|
*/
|
|
646
669
|
revokeInstallationsSignatureText(installation_ids) {
|
|
@@ -662,7 +685,7 @@ export class Client {
|
|
|
662
685
|
* @param {SignatureRequestType} signature_type
|
|
663
686
|
* @param {Uint8Array} signature_bytes
|
|
664
687
|
* @param {bigint} chain_id
|
|
665
|
-
* @param {bigint |
|
|
688
|
+
* @param {bigint | null} [block_number]
|
|
666
689
|
* @returns {Promise<void>}
|
|
667
690
|
*/
|
|
668
691
|
addScwSignature(signature_type, signature_bytes, chain_id, block_number) {
|
|
@@ -701,27 +724,6 @@ export class Client {
|
|
|
701
724
|
throw takeFromExternrefTable0(ret[0]);
|
|
702
725
|
}
|
|
703
726
|
}
|
|
704
|
-
/**
|
|
705
|
-
* @param {(Consent)[]} records
|
|
706
|
-
* @returns {Promise<void>}
|
|
707
|
-
*/
|
|
708
|
-
setConsentStates(records) {
|
|
709
|
-
const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
|
|
710
|
-
const len0 = WASM_VECTOR_LEN;
|
|
711
|
-
const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
|
|
712
|
-
return ret;
|
|
713
|
-
}
|
|
714
|
-
/**
|
|
715
|
-
* @param {ConsentEntityType} entity_type
|
|
716
|
-
* @param {string} entity
|
|
717
|
-
* @returns {Promise<ConsentState>}
|
|
718
|
-
*/
|
|
719
|
-
getConsentState(entity_type, entity) {
|
|
720
|
-
const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
721
|
-
const len0 = WASM_VECTOR_LEN;
|
|
722
|
-
const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
|
|
723
|
-
return ret;
|
|
724
|
-
}
|
|
725
727
|
}
|
|
726
728
|
|
|
727
729
|
const ConsentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -1037,8 +1039,8 @@ export class Conversation {
|
|
|
1037
1039
|
return ret;
|
|
1038
1040
|
}
|
|
1039
1041
|
/**
|
|
1040
|
-
* @param {ListMessagesOptions |
|
|
1041
|
-
* @returns {Promise<
|
|
1042
|
+
* @param {ListMessagesOptions | null} [opts]
|
|
1043
|
+
* @returns {Promise<Message[]>}
|
|
1042
1044
|
*/
|
|
1043
1045
|
findMessages(opts) {
|
|
1044
1046
|
let ptr0 = 0;
|
|
@@ -1057,7 +1059,7 @@ export class Conversation {
|
|
|
1057
1059
|
return ret;
|
|
1058
1060
|
}
|
|
1059
1061
|
/**
|
|
1060
|
-
* @returns {
|
|
1062
|
+
* @returns {string[]}
|
|
1061
1063
|
*/
|
|
1062
1064
|
adminList() {
|
|
1063
1065
|
const ret = wasm.conversation_adminList(this.__wbg_ptr);
|
|
@@ -1069,7 +1071,7 @@ export class Conversation {
|
|
|
1069
1071
|
return v1;
|
|
1070
1072
|
}
|
|
1071
1073
|
/**
|
|
1072
|
-
* @returns {
|
|
1074
|
+
* @returns {string[]}
|
|
1073
1075
|
*/
|
|
1074
1076
|
superAdminList() {
|
|
1075
1077
|
const ret = wasm.conversation_superAdminList(this.__wbg_ptr);
|
|
@@ -1107,7 +1109,7 @@ export class Conversation {
|
|
|
1107
1109
|
return ret[0] !== 0;
|
|
1108
1110
|
}
|
|
1109
1111
|
/**
|
|
1110
|
-
* @param {
|
|
1112
|
+
* @param {string[]} account_addresses
|
|
1111
1113
|
* @returns {Promise<void>}
|
|
1112
1114
|
*/
|
|
1113
1115
|
addMembers(account_addresses) {
|
|
@@ -1167,7 +1169,7 @@ export class Conversation {
|
|
|
1167
1169
|
return GroupPermissions.__wrap(ret[0]);
|
|
1168
1170
|
}
|
|
1169
1171
|
/**
|
|
1170
|
-
* @param {
|
|
1172
|
+
* @param {string[]} inbox_ids
|
|
1171
1173
|
* @returns {Promise<void>}
|
|
1172
1174
|
*/
|
|
1173
1175
|
addMembersByInboxId(inbox_ids) {
|
|
@@ -1177,7 +1179,7 @@ export class Conversation {
|
|
|
1177
1179
|
return ret;
|
|
1178
1180
|
}
|
|
1179
1181
|
/**
|
|
1180
|
-
* @param {
|
|
1182
|
+
* @param {string[]} account_addresses
|
|
1181
1183
|
* @returns {Promise<void>}
|
|
1182
1184
|
*/
|
|
1183
1185
|
removeMembers(account_addresses) {
|
|
@@ -1187,7 +1189,7 @@ export class Conversation {
|
|
|
1187
1189
|
return ret;
|
|
1188
1190
|
}
|
|
1189
1191
|
/**
|
|
1190
|
-
* @param {
|
|
1192
|
+
* @param {string[]} inbox_ids
|
|
1191
1193
|
* @returns {Promise<void>}
|
|
1192
1194
|
*/
|
|
1193
1195
|
removeMembersByInboxId(inbox_ids) {
|
|
@@ -1389,7 +1391,7 @@ export class Conversation {
|
|
|
1389
1391
|
/**
|
|
1390
1392
|
* @param {PermissionUpdateType} permission_update_type
|
|
1391
1393
|
* @param {PermissionPolicy} permission_policy_option
|
|
1392
|
-
* @param {MetadataField |
|
|
1394
|
+
* @param {MetadataField | null} [metadata_field]
|
|
1393
1395
|
* @returns {Promise<void>}
|
|
1394
1396
|
*/
|
|
1395
1397
|
updatePermissionPolicy(permission_update_type, permission_policy_option, metadata_field) {
|
|
@@ -1424,8 +1426,8 @@ export class Conversations {
|
|
|
1424
1426
|
wasm.__wbg_conversations_free(ptr, 0);
|
|
1425
1427
|
}
|
|
1426
1428
|
/**
|
|
1427
|
-
* @param {
|
|
1428
|
-
* @param {CreateGroupOptions |
|
|
1429
|
+
* @param {string[]} account_addresses
|
|
1430
|
+
* @param {CreateGroupOptions | null} [options]
|
|
1429
1431
|
* @returns {Promise<Conversation>}
|
|
1430
1432
|
*/
|
|
1431
1433
|
createGroup(account_addresses, options) {
|
|
@@ -1503,7 +1505,7 @@ export class Conversations {
|
|
|
1503
1505
|
return ret;
|
|
1504
1506
|
}
|
|
1505
1507
|
/**
|
|
1506
|
-
* @param {ListConversationsOptions |
|
|
1508
|
+
* @param {ListConversationsOptions | null} [opts]
|
|
1507
1509
|
* @returns {Array<any>}
|
|
1508
1510
|
*/
|
|
1509
1511
|
list(opts) {
|
|
@@ -1519,7 +1521,7 @@ export class Conversations {
|
|
|
1519
1521
|
return takeFromExternrefTable0(ret[0]);
|
|
1520
1522
|
}
|
|
1521
1523
|
/**
|
|
1522
|
-
* @param {ListConversationsOptions |
|
|
1524
|
+
* @param {ListConversationsOptions | null} [opts]
|
|
1523
1525
|
* @returns {Array<any>}
|
|
1524
1526
|
*/
|
|
1525
1527
|
listGroups(opts) {
|
|
@@ -1535,7 +1537,7 @@ export class Conversations {
|
|
|
1535
1537
|
return takeFromExternrefTable0(ret[0]);
|
|
1536
1538
|
}
|
|
1537
1539
|
/**
|
|
1538
|
-
* @param {ListConversationsOptions |
|
|
1540
|
+
* @param {ListConversationsOptions | null} [opts]
|
|
1539
1541
|
* @returns {Array<any>}
|
|
1540
1542
|
*/
|
|
1541
1543
|
listDms(opts) {
|
|
@@ -1587,7 +1589,7 @@ export class CreateGroupOptions {
|
|
|
1587
1589
|
return ret === 3 ? undefined : ret;
|
|
1588
1590
|
}
|
|
1589
1591
|
/**
|
|
1590
|
-
* @param {GroupPermissionsOptions |
|
|
1592
|
+
* @param {GroupPermissionsOptions | null} [arg0]
|
|
1591
1593
|
*/
|
|
1592
1594
|
set permissions(arg0) {
|
|
1593
1595
|
wasm.__wbg_set_creategroupoptions_permissions(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0);
|
|
@@ -1605,7 +1607,7 @@ export class CreateGroupOptions {
|
|
|
1605
1607
|
return v1;
|
|
1606
1608
|
}
|
|
1607
1609
|
/**
|
|
1608
|
-
* @param {string |
|
|
1610
|
+
* @param {string | null} [arg0]
|
|
1609
1611
|
*/
|
|
1610
1612
|
set groupName(arg0) {
|
|
1611
1613
|
var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1625,7 +1627,7 @@ export class CreateGroupOptions {
|
|
|
1625
1627
|
return v1;
|
|
1626
1628
|
}
|
|
1627
1629
|
/**
|
|
1628
|
-
* @param {string |
|
|
1630
|
+
* @param {string | null} [arg0]
|
|
1629
1631
|
*/
|
|
1630
1632
|
set groupImageUrlSquare(arg0) {
|
|
1631
1633
|
var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1645,7 +1647,7 @@ export class CreateGroupOptions {
|
|
|
1645
1647
|
return v1;
|
|
1646
1648
|
}
|
|
1647
1649
|
/**
|
|
1648
|
-
* @param {string |
|
|
1650
|
+
* @param {string | null} [arg0]
|
|
1649
1651
|
*/
|
|
1650
1652
|
set groupDescription(arg0) {
|
|
1651
1653
|
var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1665,7 +1667,7 @@ export class CreateGroupOptions {
|
|
|
1665
1667
|
return v1;
|
|
1666
1668
|
}
|
|
1667
1669
|
/**
|
|
1668
|
-
* @param {string |
|
|
1670
|
+
* @param {string | null} [arg0]
|
|
1669
1671
|
*/
|
|
1670
1672
|
set groupPinnedFrameUrl(arg0) {
|
|
1671
1673
|
var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1680,7 +1682,7 @@ export class CreateGroupOptions {
|
|
|
1680
1682
|
return ret === 0 ? undefined : PermissionPolicySet.__wrap(ret);
|
|
1681
1683
|
}
|
|
1682
1684
|
/**
|
|
1683
|
-
* @param {PermissionPolicySet |
|
|
1685
|
+
* @param {PermissionPolicySet | null} [arg0]
|
|
1684
1686
|
*/
|
|
1685
1687
|
set customPermissionPolicySet(arg0) {
|
|
1686
1688
|
let ptr0 = 0;
|
|
@@ -1698,7 +1700,7 @@ export class CreateGroupOptions {
|
|
|
1698
1700
|
return ret[0] === 0 ? undefined : ret[1];
|
|
1699
1701
|
}
|
|
1700
1702
|
/**
|
|
1701
|
-
* @param {bigint |
|
|
1703
|
+
* @param {bigint | null} [arg0]
|
|
1702
1704
|
*/
|
|
1703
1705
|
set messageExpirationFromMillis(arg0) {
|
|
1704
1706
|
wasm.__wbg_set_creategroupoptions_messageExpirationFromMillis(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
@@ -1711,20 +1713,20 @@ export class CreateGroupOptions {
|
|
|
1711
1713
|
return ret[0] === 0 ? undefined : ret[1];
|
|
1712
1714
|
}
|
|
1713
1715
|
/**
|
|
1714
|
-
* @param {bigint |
|
|
1716
|
+
* @param {bigint | null} [arg0]
|
|
1715
1717
|
*/
|
|
1716
1718
|
set messageExpirationMillis(arg0) {
|
|
1717
1719
|
wasm.__wbg_set_creategroupoptions_messageExpirationMillis(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
1718
1720
|
}
|
|
1719
1721
|
/**
|
|
1720
|
-
* @param {GroupPermissionsOptions |
|
|
1721
|
-
* @param {string |
|
|
1722
|
-
* @param {string |
|
|
1723
|
-
* @param {string |
|
|
1724
|
-
* @param {string |
|
|
1725
|
-
* @param {PermissionPolicySet |
|
|
1726
|
-
* @param {bigint |
|
|
1727
|
-
* @param {bigint |
|
|
1722
|
+
* @param {GroupPermissionsOptions | null} [permissions]
|
|
1723
|
+
* @param {string | null} [group_name]
|
|
1724
|
+
* @param {string | null} [group_image_url_square]
|
|
1725
|
+
* @param {string | null} [group_description]
|
|
1726
|
+
* @param {string | null} [group_pinned_frame_url]
|
|
1727
|
+
* @param {PermissionPolicySet | null} [custom_permission_policy_set]
|
|
1728
|
+
* @param {bigint | null} [message_expiration_from_ms]
|
|
1729
|
+
* @param {bigint | null} [message_expiration_ms]
|
|
1728
1730
|
*/
|
|
1729
1731
|
constructor(permissions, group_name, group_image_url_square, group_description, group_pinned_frame_url, custom_permission_policy_set, message_expiration_from_ms, message_expiration_ms) {
|
|
1730
1732
|
var ptr0 = isLikeNone(group_name) ? 0 : passStringToWasm0(group_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1780,7 +1782,7 @@ export class EncodedContent {
|
|
|
1780
1782
|
return ret === 0 ? undefined : ContentTypeId.__wrap(ret);
|
|
1781
1783
|
}
|
|
1782
1784
|
/**
|
|
1783
|
-
* @param {ContentTypeId |
|
|
1785
|
+
* @param {ContentTypeId | null} [arg0]
|
|
1784
1786
|
*/
|
|
1785
1787
|
set type(arg0) {
|
|
1786
1788
|
let ptr0 = 0;
|
|
@@ -1816,7 +1818,7 @@ export class EncodedContent {
|
|
|
1816
1818
|
return v1;
|
|
1817
1819
|
}
|
|
1818
1820
|
/**
|
|
1819
|
-
* @param {string |
|
|
1821
|
+
* @param {string | null} [arg0]
|
|
1820
1822
|
*/
|
|
1821
1823
|
set fallback(arg0) {
|
|
1822
1824
|
var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1831,7 +1833,7 @@ export class EncodedContent {
|
|
|
1831
1833
|
return ret === 0x100000001 ? undefined : ret;
|
|
1832
1834
|
}
|
|
1833
1835
|
/**
|
|
1834
|
-
* @param {number |
|
|
1836
|
+
* @param {number | null} [arg0]
|
|
1835
1837
|
*/
|
|
1836
1838
|
set compression(arg0) {
|
|
1837
1839
|
wasm.__wbg_set_encodedcontent_compression(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
|
|
@@ -1850,10 +1852,10 @@ export class EncodedContent {
|
|
|
1850
1852
|
wasm.__wbg_set_encodedcontent_content(this.__wbg_ptr, arg0);
|
|
1851
1853
|
}
|
|
1852
1854
|
/**
|
|
1853
|
-
* @param {ContentTypeId | undefined} type
|
|
1855
|
+
* @param {ContentTypeId | null | undefined} type
|
|
1854
1856
|
* @param {any} parameters
|
|
1855
|
-
* @param {string | undefined} fallback
|
|
1856
|
-
* @param {number | undefined} compression
|
|
1857
|
+
* @param {string | null | undefined} fallback
|
|
1858
|
+
* @param {number | null | undefined} compression
|
|
1857
1859
|
* @param {Uint8Array} content
|
|
1858
1860
|
*/
|
|
1859
1861
|
constructor(type, parameters, fallback, compression, content) {
|
|
@@ -1912,7 +1914,7 @@ export class GroupMember {
|
|
|
1912
1914
|
wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
|
|
1913
1915
|
}
|
|
1914
1916
|
/**
|
|
1915
|
-
* @returns {
|
|
1917
|
+
* @returns {string[]}
|
|
1916
1918
|
*/
|
|
1917
1919
|
get accountAddresses() {
|
|
1918
1920
|
const ret = wasm.__wbg_get_groupmember_accountAddresses(this.__wbg_ptr);
|
|
@@ -1921,7 +1923,7 @@ export class GroupMember {
|
|
|
1921
1923
|
return v1;
|
|
1922
1924
|
}
|
|
1923
1925
|
/**
|
|
1924
|
-
* @param {
|
|
1926
|
+
* @param {string[]} arg0
|
|
1925
1927
|
*/
|
|
1926
1928
|
set accountAddresses(arg0) {
|
|
1927
1929
|
const ptr0 = passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
@@ -1929,7 +1931,7 @@ export class GroupMember {
|
|
|
1929
1931
|
wasm.__wbg_set_groupmember_accountAddresses(this.__wbg_ptr, ptr0, len0);
|
|
1930
1932
|
}
|
|
1931
1933
|
/**
|
|
1932
|
-
* @returns {
|
|
1934
|
+
* @returns {string[]}
|
|
1933
1935
|
*/
|
|
1934
1936
|
get installationIds() {
|
|
1935
1937
|
const ret = wasm.__wbg_get_groupmember_installationIds(this.__wbg_ptr);
|
|
@@ -1938,7 +1940,7 @@ export class GroupMember {
|
|
|
1938
1940
|
return v1;
|
|
1939
1941
|
}
|
|
1940
1942
|
/**
|
|
1941
|
-
* @param {
|
|
1943
|
+
* @param {string[]} arg0
|
|
1942
1944
|
*/
|
|
1943
1945
|
set installationIds(arg0) {
|
|
1944
1946
|
const ptr0 = passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
@@ -1973,8 +1975,8 @@ export class GroupMember {
|
|
|
1973
1975
|
}
|
|
1974
1976
|
/**
|
|
1975
1977
|
* @param {string} inbox_id
|
|
1976
|
-
* @param {
|
|
1977
|
-
* @param {
|
|
1978
|
+
* @param {string[]} account_addresses
|
|
1979
|
+
* @param {string[]} installation_ids
|
|
1978
1980
|
* @param {PermissionLevel} permission_level
|
|
1979
1981
|
* @param {ConsentState} consent_state
|
|
1980
1982
|
*/
|
|
@@ -2191,7 +2193,7 @@ export class InboxState {
|
|
|
2191
2193
|
set inboxId(arg0) {
|
|
2192
2194
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2193
2195
|
const len0 = WASM_VECTOR_LEN;
|
|
2194
|
-
wasm.
|
|
2196
|
+
wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
|
|
2195
2197
|
}
|
|
2196
2198
|
/**
|
|
2197
2199
|
* @returns {string}
|
|
@@ -2217,7 +2219,7 @@ export class InboxState {
|
|
|
2217
2219
|
wasm.__wbg_set_inboxstate_recoveryAddress(this.__wbg_ptr, ptr0, len0);
|
|
2218
2220
|
}
|
|
2219
2221
|
/**
|
|
2220
|
-
* @returns {
|
|
2222
|
+
* @returns {Installation[]}
|
|
2221
2223
|
*/
|
|
2222
2224
|
get installations() {
|
|
2223
2225
|
const ret = wasm.__wbg_get_inboxstate_installations(this.__wbg_ptr);
|
|
@@ -2226,7 +2228,7 @@ export class InboxState {
|
|
|
2226
2228
|
return v1;
|
|
2227
2229
|
}
|
|
2228
2230
|
/**
|
|
2229
|
-
* @param {
|
|
2231
|
+
* @param {Installation[]} arg0
|
|
2230
2232
|
*/
|
|
2231
2233
|
set installations(arg0) {
|
|
2232
2234
|
const ptr0 = passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
@@ -2234,7 +2236,7 @@ export class InboxState {
|
|
|
2234
2236
|
wasm.__wbg_set_inboxstate_installations(this.__wbg_ptr, ptr0, len0);
|
|
2235
2237
|
}
|
|
2236
2238
|
/**
|
|
2237
|
-
* @returns {
|
|
2239
|
+
* @returns {string[]}
|
|
2238
2240
|
*/
|
|
2239
2241
|
get accountAddresses() {
|
|
2240
2242
|
const ret = wasm.__wbg_get_inboxstate_accountAddresses(this.__wbg_ptr);
|
|
@@ -2243,7 +2245,7 @@ export class InboxState {
|
|
|
2243
2245
|
return v1;
|
|
2244
2246
|
}
|
|
2245
2247
|
/**
|
|
2246
|
-
* @param {
|
|
2248
|
+
* @param {string[]} arg0
|
|
2247
2249
|
*/
|
|
2248
2250
|
set accountAddresses(arg0) {
|
|
2249
2251
|
const ptr0 = passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
@@ -2253,8 +2255,8 @@ export class InboxState {
|
|
|
2253
2255
|
/**
|
|
2254
2256
|
* @param {string} inbox_id
|
|
2255
2257
|
* @param {string} recovery_address
|
|
2256
|
-
* @param {
|
|
2257
|
-
* @param {
|
|
2258
|
+
* @param {Installation[]} installations
|
|
2259
|
+
* @param {string[]} account_addresses
|
|
2258
2260
|
*/
|
|
2259
2261
|
constructor(inbox_id, recovery_address, installations, account_addresses) {
|
|
2260
2262
|
const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -2348,7 +2350,7 @@ export class Installation {
|
|
|
2348
2350
|
return ret[0] === 0 ? undefined : BigInt.asUintN(64, ret[1]);
|
|
2349
2351
|
}
|
|
2350
2352
|
/**
|
|
2351
|
-
* @param {bigint |
|
|
2353
|
+
* @param {bigint | null} [arg0]
|
|
2352
2354
|
*/
|
|
2353
2355
|
set clientTimestampNs(arg0) {
|
|
2354
2356
|
wasm.__wbg_set_installation_clientTimestampNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
@@ -2356,7 +2358,7 @@ export class Installation {
|
|
|
2356
2358
|
/**
|
|
2357
2359
|
* @param {Uint8Array} bytes
|
|
2358
2360
|
* @param {string} id
|
|
2359
|
-
* @param {bigint |
|
|
2361
|
+
* @param {bigint | null} [client_timestamp_ns]
|
|
2360
2362
|
*/
|
|
2361
2363
|
constructor(bytes, id, client_timestamp_ns) {
|
|
2362
2364
|
const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -2524,7 +2526,7 @@ export class ListConversationsOptions {
|
|
|
2524
2526
|
return v1;
|
|
2525
2527
|
}
|
|
2526
2528
|
/**
|
|
2527
|
-
* @param {any[] |
|
|
2529
|
+
* @param {any[] | null} [arg0]
|
|
2528
2530
|
*/
|
|
2529
2531
|
set allowedStates(arg0) {
|
|
2530
2532
|
var ptr0 = isLikeNone(arg0) ? 0 : passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
@@ -2539,7 +2541,7 @@ export class ListConversationsOptions {
|
|
|
2539
2541
|
return ret === 3 ? undefined : ret;
|
|
2540
2542
|
}
|
|
2541
2543
|
/**
|
|
2542
|
-
* @param {ConversationType |
|
|
2544
|
+
* @param {ConversationType | null} [arg0]
|
|
2543
2545
|
*/
|
|
2544
2546
|
set conversationType(arg0) {
|
|
2545
2547
|
wasm.__wbg_set_listconversationsoptions_conversationType(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0);
|
|
@@ -2552,7 +2554,7 @@ export class ListConversationsOptions {
|
|
|
2552
2554
|
return ret[0] === 0 ? undefined : ret[1];
|
|
2553
2555
|
}
|
|
2554
2556
|
/**
|
|
2555
|
-
* @param {bigint |
|
|
2557
|
+
* @param {bigint | null} [arg0]
|
|
2556
2558
|
*/
|
|
2557
2559
|
set createdAfterNs(arg0) {
|
|
2558
2560
|
wasm.__wbg_set_creategroupoptions_messageExpirationFromMillis(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
@@ -2565,7 +2567,7 @@ export class ListConversationsOptions {
|
|
|
2565
2567
|
return ret[0] === 0 ? undefined : ret[1];
|
|
2566
2568
|
}
|
|
2567
2569
|
/**
|
|
2568
|
-
* @param {bigint |
|
|
2570
|
+
* @param {bigint | null} [arg0]
|
|
2569
2571
|
*/
|
|
2570
2572
|
set createdBeforeNs(arg0) {
|
|
2571
2573
|
wasm.__wbg_set_creategroupoptions_messageExpirationMillis(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
@@ -2578,17 +2580,17 @@ export class ListConversationsOptions {
|
|
|
2578
2580
|
return ret[0] === 0 ? undefined : ret[1];
|
|
2579
2581
|
}
|
|
2580
2582
|
/**
|
|
2581
|
-
* @param {bigint |
|
|
2583
|
+
* @param {bigint | null} [arg0]
|
|
2582
2584
|
*/
|
|
2583
2585
|
set limit(arg0) {
|
|
2584
2586
|
wasm.__wbg_set_listconversationsoptions_limit(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
2585
2587
|
}
|
|
2586
2588
|
/**
|
|
2587
|
-
* @param {any[] |
|
|
2588
|
-
* @param {ConversationType |
|
|
2589
|
-
* @param {bigint |
|
|
2590
|
-
* @param {bigint |
|
|
2591
|
-
* @param {bigint |
|
|
2589
|
+
* @param {any[] | null} [allowed_states]
|
|
2590
|
+
* @param {ConversationType | null} [conversation_type]
|
|
2591
|
+
* @param {bigint | null} [created_after_ns]
|
|
2592
|
+
* @param {bigint | null} [created_before_ns]
|
|
2593
|
+
* @param {bigint | null} [limit]
|
|
2592
2594
|
*/
|
|
2593
2595
|
constructor(allowed_states, conversation_type, created_after_ns, created_before_ns, limit) {
|
|
2594
2596
|
var ptr0 = isLikeNone(allowed_states) ? 0 : passArrayJsValueToWasm0(allowed_states, wasm.__wbindgen_malloc);
|
|
@@ -2625,7 +2627,7 @@ export class ListMessagesOptions {
|
|
|
2625
2627
|
return ret[0] === 0 ? undefined : ret[1];
|
|
2626
2628
|
}
|
|
2627
2629
|
/**
|
|
2628
|
-
* @param {bigint |
|
|
2630
|
+
* @param {bigint | null} [arg0]
|
|
2629
2631
|
*/
|
|
2630
2632
|
set sentBeforeNs(arg0) {
|
|
2631
2633
|
wasm.__wbg_set_creategroupoptions_messageExpirationFromMillis(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
@@ -2638,7 +2640,7 @@ export class ListMessagesOptions {
|
|
|
2638
2640
|
return ret[0] === 0 ? undefined : ret[1];
|
|
2639
2641
|
}
|
|
2640
2642
|
/**
|
|
2641
|
-
* @param {bigint |
|
|
2643
|
+
* @param {bigint | null} [arg0]
|
|
2642
2644
|
*/
|
|
2643
2645
|
set sentAfterNs(arg0) {
|
|
2644
2646
|
wasm.__wbg_set_creategroupoptions_messageExpirationMillis(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
@@ -2651,7 +2653,7 @@ export class ListMessagesOptions {
|
|
|
2651
2653
|
return ret[0] === 0 ? undefined : ret[1];
|
|
2652
2654
|
}
|
|
2653
2655
|
/**
|
|
2654
|
-
* @param {bigint |
|
|
2656
|
+
* @param {bigint | null} [arg0]
|
|
2655
2657
|
*/
|
|
2656
2658
|
set limit(arg0) {
|
|
2657
2659
|
wasm.__wbg_set_listconversationsoptions_limit(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
@@ -2664,7 +2666,7 @@ export class ListMessagesOptions {
|
|
|
2664
2666
|
return ret === 3 ? undefined : ret;
|
|
2665
2667
|
}
|
|
2666
2668
|
/**
|
|
2667
|
-
* @param {DeliveryStatus |
|
|
2669
|
+
* @param {DeliveryStatus | null} [arg0]
|
|
2668
2670
|
*/
|
|
2669
2671
|
set deliveryStatus(arg0) {
|
|
2670
2672
|
wasm.__wbg_set_listmessagesoptions_deliveryStatus(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0);
|
|
@@ -2677,17 +2679,17 @@ export class ListMessagesOptions {
|
|
|
2677
2679
|
return ret === 2 ? undefined : ret;
|
|
2678
2680
|
}
|
|
2679
2681
|
/**
|
|
2680
|
-
* @param {SortDirection |
|
|
2682
|
+
* @param {SortDirection | null} [arg0]
|
|
2681
2683
|
*/
|
|
2682
2684
|
set direction(arg0) {
|
|
2683
2685
|
wasm.__wbg_set_listmessagesoptions_direction(this.__wbg_ptr, isLikeNone(arg0) ? 2 : arg0);
|
|
2684
2686
|
}
|
|
2685
2687
|
/**
|
|
2686
|
-
* @param {bigint |
|
|
2687
|
-
* @param {bigint |
|
|
2688
|
-
* @param {bigint |
|
|
2689
|
-
* @param {DeliveryStatus |
|
|
2690
|
-
* @param {SortDirection |
|
|
2688
|
+
* @param {bigint | null} [sent_before_ns]
|
|
2689
|
+
* @param {bigint | null} [sent_after_ns]
|
|
2690
|
+
* @param {bigint | null} [limit]
|
|
2691
|
+
* @param {DeliveryStatus | null} [delivery_status]
|
|
2692
|
+
* @param {SortDirection | null} [direction]
|
|
2691
2693
|
*/
|
|
2692
2694
|
constructor(sent_before_ns, sent_after_ns, limit, delivery_status, direction) {
|
|
2693
2695
|
const ret = wasm.listmessagesoptions_new(!isLikeNone(sent_before_ns), isLikeNone(sent_before_ns) ? BigInt(0) : sent_before_ns, !isLikeNone(sent_after_ns), isLikeNone(sent_after_ns) ? BigInt(0) : sent_after_ns, !isLikeNone(limit), isLikeNone(limit) ? BigInt(0) : limit, isLikeNone(delivery_status) ? 3 : delivery_status, isLikeNone(direction) ? 2 : direction);
|
|
@@ -2756,7 +2758,7 @@ export class LogOptions {
|
|
|
2756
2758
|
}
|
|
2757
2759
|
/**
|
|
2758
2760
|
* filter for logs
|
|
2759
|
-
* @param {LogLevel |
|
|
2761
|
+
* @param {LogLevel | null} [arg0]
|
|
2760
2762
|
*/
|
|
2761
2763
|
set level(arg0) {
|
|
2762
2764
|
wasm.__wbg_set_logoptions_level(this.__wbg_ptr, isLikeNone(arg0) ? 7 : ((__wbindgen_enum_LogLevel.indexOf(arg0) + 1 || 7) - 1));
|
|
@@ -2764,7 +2766,7 @@ export class LogOptions {
|
|
|
2764
2766
|
/**
|
|
2765
2767
|
* @param {boolean} structured
|
|
2766
2768
|
* @param {boolean} performance
|
|
2767
|
-
* @param {LogLevel |
|
|
2769
|
+
* @param {LogLevel | null} [level]
|
|
2768
2770
|
*/
|
|
2769
2771
|
constructor(structured, performance, level) {
|
|
2770
2772
|
const ret = wasm.logoptions_new(structured, performance, isLikeNone(level) ? 7 : ((__wbindgen_enum_LogLevel.indexOf(level) + 1 || 7) - 1));
|
|
@@ -3240,7 +3242,7 @@ function __wbg_get_imports() {
|
|
|
3240
3242
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3241
3243
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3242
3244
|
};
|
|
3243
|
-
imports.wbg.
|
|
3245
|
+
imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
|
|
3244
3246
|
arg0.abort();
|
|
3245
3247
|
};
|
|
3246
3248
|
imports.wbg.__wbg_allocCString_69f9010fb2b096f0 = function(arg0, arg1, arg2) {
|
|
@@ -3271,10 +3273,10 @@ function __wbg_get_imports() {
|
|
|
3271
3273
|
const ret = arg0.alloc;
|
|
3272
3274
|
return ret;
|
|
3273
3275
|
};
|
|
3274
|
-
imports.wbg.
|
|
3276
|
+
imports.wbg.__wbg_append_8c7dd8d641a5f01b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
3275
3277
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
3276
3278
|
}, arguments) };
|
|
3277
|
-
imports.wbg.
|
|
3279
|
+
imports.wbg.__wbg_arrayBuffer_d1b44c4390db422f = function() { return handleError(function (arg0) {
|
|
3278
3280
|
const ret = arg0.arrayBuffer();
|
|
3279
3281
|
return ret;
|
|
3280
3282
|
}, arguments) };
|
|
@@ -3302,32 +3304,32 @@ function __wbg_get_imports() {
|
|
|
3302
3304
|
const ret = arg0.bind_text(arg1, arg2, arg3 >>> 0, arg4, arg5);
|
|
3303
3305
|
return ret;
|
|
3304
3306
|
};
|
|
3305
|
-
imports.wbg.
|
|
3307
|
+
imports.wbg.__wbg_buffer_09165b52af8c5237 = function(arg0) {
|
|
3306
3308
|
const ret = arg0.buffer;
|
|
3307
3309
|
return ret;
|
|
3308
3310
|
};
|
|
3309
|
-
imports.wbg.
|
|
3311
|
+
imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
|
|
3310
3312
|
const ret = arg0.buffer;
|
|
3311
3313
|
return ret;
|
|
3312
3314
|
};
|
|
3313
|
-
imports.wbg.
|
|
3315
|
+
imports.wbg.__wbg_byobRequest_77d9adf63337edfb = function(arg0) {
|
|
3314
3316
|
const ret = arg0.byobRequest;
|
|
3315
3317
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3316
3318
|
};
|
|
3317
|
-
imports.wbg.
|
|
3319
|
+
imports.wbg.__wbg_byteLength_e674b853d9c77e1d = function(arg0) {
|
|
3318
3320
|
const ret = arg0.byteLength;
|
|
3319
3321
|
return ret;
|
|
3320
3322
|
};
|
|
3321
|
-
imports.wbg.
|
|
3323
|
+
imports.wbg.__wbg_byteOffset_fd862df290ef848d = function(arg0) {
|
|
3322
3324
|
const ret = arg0.byteOffset;
|
|
3323
3325
|
return ret;
|
|
3324
3326
|
};
|
|
3325
|
-
imports.wbg.
|
|
3326
|
-
const ret = arg0.call(arg1
|
|
3327
|
+
imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
|
|
3328
|
+
const ret = arg0.call(arg1);
|
|
3327
3329
|
return ret;
|
|
3328
3330
|
}, arguments) };
|
|
3329
|
-
imports.wbg.
|
|
3330
|
-
const ret = arg0.call(arg1);
|
|
3331
|
+
imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3332
|
+
const ret = arg0.call(arg1, arg2);
|
|
3331
3333
|
return ret;
|
|
3332
3334
|
}, arguments) };
|
|
3333
3335
|
imports.wbg.__wbg_capi_b2cd9cd3325d1164 = function(arg0) {
|
|
@@ -3346,10 +3348,10 @@ function __wbg_get_imports() {
|
|
|
3346
3348
|
const ret = arg0.close(arg1);
|
|
3347
3349
|
return ret;
|
|
3348
3350
|
};
|
|
3349
|
-
imports.wbg.
|
|
3351
|
+
imports.wbg.__wbg_close_304cc1fef3466669 = function() { return handleError(function (arg0) {
|
|
3350
3352
|
arg0.close();
|
|
3351
3353
|
}, arguments) };
|
|
3352
|
-
imports.wbg.
|
|
3354
|
+
imports.wbg.__wbg_close_5ce03e29be453811 = function() { return handleError(function (arg0) {
|
|
3353
3355
|
arg0.close();
|
|
3354
3356
|
}, arguments) };
|
|
3355
3357
|
imports.wbg.__wbg_columncount_328a9b2639ca5c51 = function(arg0, arg1) {
|
|
@@ -3375,7 +3377,7 @@ function __wbg_get_imports() {
|
|
|
3375
3377
|
const ret = Conversation.__wrap(arg0);
|
|
3376
3378
|
return ret;
|
|
3377
3379
|
};
|
|
3378
|
-
imports.wbg.
|
|
3380
|
+
imports.wbg.__wbg_create_cfe43ccc88c64e0a = function(arg0) {
|
|
3379
3381
|
const ret = Object.create(arg0);
|
|
3380
3382
|
return ret;
|
|
3381
3383
|
};
|
|
@@ -3390,20 +3392,20 @@ function __wbg_get_imports() {
|
|
|
3390
3392
|
imports.wbg.__wbg_dealloc_83aa46cc9ca6df71 = function(arg0, arg1) {
|
|
3391
3393
|
arg0.dealloc(arg1 >>> 0);
|
|
3392
3394
|
};
|
|
3393
|
-
imports.wbg.
|
|
3395
|
+
imports.wbg.__wbg_debug_3cb59063b29f58c1 = function(arg0) {
|
|
3394
3396
|
console.debug(arg0);
|
|
3395
3397
|
};
|
|
3396
|
-
imports.wbg.
|
|
3398
|
+
imports.wbg.__wbg_debug_e17b51583ca6a632 = function(arg0, arg1, arg2, arg3) {
|
|
3397
3399
|
console.debug(arg0, arg1, arg2, arg3);
|
|
3398
3400
|
};
|
|
3399
|
-
imports.wbg.
|
|
3401
|
+
imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
|
|
3400
3402
|
const ret = arg0.done;
|
|
3401
3403
|
return ret;
|
|
3402
3404
|
};
|
|
3403
|
-
imports.wbg.
|
|
3405
|
+
imports.wbg.__wbg_enqueue_bb16ba72f537dc9e = function() { return handleError(function (arg0, arg1) {
|
|
3404
3406
|
arg0.enqueue(arg1);
|
|
3405
3407
|
}, arguments) };
|
|
3406
|
-
imports.wbg.
|
|
3408
|
+
imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
|
|
3407
3409
|
const ret = Object.entries(arg0);
|
|
3408
3410
|
return ret;
|
|
3409
3411
|
};
|
|
@@ -3414,8 +3416,8 @@ function __wbg_get_imports() {
|
|
|
3414
3416
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3415
3417
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3416
3418
|
};
|
|
3417
|
-
imports.wbg.
|
|
3418
|
-
console.error(arg0
|
|
3419
|
+
imports.wbg.__wbg_error_524f506f44df1645 = function(arg0) {
|
|
3420
|
+
console.error(arg0);
|
|
3419
3421
|
};
|
|
3420
3422
|
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
3421
3423
|
let deferred0_0;
|
|
@@ -3428,8 +3430,8 @@ function __wbg_get_imports() {
|
|
|
3428
3430
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3429
3431
|
}
|
|
3430
3432
|
};
|
|
3431
|
-
imports.wbg.
|
|
3432
|
-
console.error(arg0);
|
|
3433
|
+
imports.wbg.__wbg_error_80de38b3f7cc3c3c = function(arg0, arg1, arg2, arg3) {
|
|
3434
|
+
console.error(arg0, arg1, arg2, arg3);
|
|
3433
3435
|
};
|
|
3434
3436
|
imports.wbg.__wbg_errstr_503ebc5fc9ad1b72 = function(arg0, arg1, arg2) {
|
|
3435
3437
|
const ret = arg1.errstr(arg2);
|
|
@@ -3445,7 +3447,7 @@ function __wbg_get_imports() {
|
|
|
3445
3447
|
const ret = arg0.extended_errcode(arg1);
|
|
3446
3448
|
return ret;
|
|
3447
3449
|
};
|
|
3448
|
-
imports.wbg.
|
|
3450
|
+
imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
|
|
3449
3451
|
const ret = arg0.fetch(arg1);
|
|
3450
3452
|
return ret;
|
|
3451
3453
|
};
|
|
@@ -3474,14 +3476,14 @@ function __wbg_get_imports() {
|
|
|
3474
3476
|
imports.wbg.__wbg_getRandomValues_bcb4912f16000dc4 = function() { return handleError(function (arg0, arg1) {
|
|
3475
3477
|
arg0.getRandomValues(arg1);
|
|
3476
3478
|
}, arguments) };
|
|
3477
|
-
imports.wbg.
|
|
3478
|
-
const ret = arg0[arg1 >>> 0];
|
|
3479
|
-
return ret;
|
|
3480
|
-
};
|
|
3481
|
-
imports.wbg.__wbg_get_bbccf8970793c087 = function() { return handleError(function (arg0, arg1) {
|
|
3479
|
+
imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
|
|
3482
3480
|
const ret = Reflect.get(arg0, arg1);
|
|
3483
3481
|
return ret;
|
|
3484
3482
|
}, arguments) };
|
|
3483
|
+
imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
|
|
3484
|
+
const ret = arg0[arg1 >>> 0];
|
|
3485
|
+
return ret;
|
|
3486
|
+
};
|
|
3485
3487
|
imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
|
|
3486
3488
|
const ret = arg0[arg1];
|
|
3487
3489
|
return ret;
|
|
@@ -3490,11 +3492,11 @@ function __wbg_get_imports() {
|
|
|
3490
3492
|
const ret = GroupMetadata.__wrap(arg0);
|
|
3491
3493
|
return ret;
|
|
3492
3494
|
};
|
|
3493
|
-
imports.wbg.
|
|
3495
|
+
imports.wbg.__wbg_has_a5ea9117f258a0ec = function() { return handleError(function (arg0, arg1) {
|
|
3494
3496
|
const ret = Reflect.has(arg0, arg1);
|
|
3495
3497
|
return ret;
|
|
3496
3498
|
}, arguments) };
|
|
3497
|
-
imports.wbg.
|
|
3499
|
+
imports.wbg.__wbg_headers_9cb51cfd2ac780a4 = function(arg0) {
|
|
3498
3500
|
const ret = arg0.headers;
|
|
3499
3501
|
return ret;
|
|
3500
3502
|
};
|
|
@@ -3510,10 +3512,10 @@ function __wbg_get_imports() {
|
|
|
3510
3512
|
const ret = InboxState.__wrap(arg0);
|
|
3511
3513
|
return ret;
|
|
3512
3514
|
};
|
|
3513
|
-
imports.wbg.
|
|
3515
|
+
imports.wbg.__wbg_info_033d8b8a0838f1d3 = function(arg0, arg1, arg2, arg3) {
|
|
3514
3516
|
console.info(arg0, arg1, arg2, arg3);
|
|
3515
3517
|
};
|
|
3516
|
-
imports.wbg.
|
|
3518
|
+
imports.wbg.__wbg_info_3daf2e093e091b66 = function(arg0) {
|
|
3517
3519
|
console.info(arg0);
|
|
3518
3520
|
};
|
|
3519
3521
|
imports.wbg.__wbg_initmodule_694b4b8a6236ad25 = function(arg0) {
|
|
@@ -3528,7 +3530,7 @@ function __wbg_get_imports() {
|
|
|
3528
3530
|
const ret = Installation.__unwrap(arg0);
|
|
3529
3531
|
return ret;
|
|
3530
3532
|
};
|
|
3531
|
-
imports.wbg.
|
|
3533
|
+
imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
|
|
3532
3534
|
let result;
|
|
3533
3535
|
try {
|
|
3534
3536
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -3538,7 +3540,7 @@ function __wbg_get_imports() {
|
|
|
3538
3540
|
const ret = result;
|
|
3539
3541
|
return ret;
|
|
3540
3542
|
};
|
|
3541
|
-
imports.wbg.
|
|
3543
|
+
imports.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
|
|
3542
3544
|
let result;
|
|
3543
3545
|
try {
|
|
3544
3546
|
result = arg0 instanceof Response;
|
|
@@ -3548,7 +3550,7 @@ function __wbg_get_imports() {
|
|
|
3548
3550
|
const ret = result;
|
|
3549
3551
|
return ret;
|
|
3550
3552
|
};
|
|
3551
|
-
imports.wbg.
|
|
3553
|
+
imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
|
|
3552
3554
|
let result;
|
|
3553
3555
|
try {
|
|
3554
3556
|
result = arg0 instanceof Uint8Array;
|
|
@@ -3558,7 +3560,7 @@ function __wbg_get_imports() {
|
|
|
3558
3560
|
const ret = result;
|
|
3559
3561
|
return ret;
|
|
3560
3562
|
};
|
|
3561
|
-
imports.wbg.
|
|
3563
|
+
imports.wbg.__wbg_instanceof_WorkerGlobalScope_dbdbdea7e3b56493 = function(arg0) {
|
|
3562
3564
|
let result;
|
|
3563
3565
|
try {
|
|
3564
3566
|
result = arg0 instanceof WorkerGlobalScope;
|
|
@@ -3568,19 +3570,19 @@ function __wbg_get_imports() {
|
|
|
3568
3570
|
const ret = result;
|
|
3569
3571
|
return ret;
|
|
3570
3572
|
};
|
|
3571
|
-
imports.wbg.
|
|
3573
|
+
imports.wbg.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
|
|
3572
3574
|
const ret = Number.isSafeInteger(arg0);
|
|
3573
3575
|
return ret;
|
|
3574
3576
|
};
|
|
3575
|
-
imports.wbg.
|
|
3577
|
+
imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
|
|
3576
3578
|
const ret = Symbol.iterator;
|
|
3577
3579
|
return ret;
|
|
3578
3580
|
};
|
|
3579
|
-
imports.wbg.
|
|
3581
|
+
imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
|
|
3580
3582
|
const ret = arg0.length;
|
|
3581
3583
|
return ret;
|
|
3582
3584
|
};
|
|
3583
|
-
imports.wbg.
|
|
3585
|
+
imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
|
|
3584
3586
|
const ret = arg0.length;
|
|
3585
3587
|
return ret;
|
|
3586
3588
|
};
|
|
@@ -3604,19 +3606,11 @@ function __wbg_get_imports() {
|
|
|
3604
3606
|
const ret = arg0.msCrypto;
|
|
3605
3607
|
return ret;
|
|
3606
3608
|
};
|
|
3607
|
-
imports.wbg.
|
|
3608
|
-
const ret = new Array();
|
|
3609
|
-
return ret;
|
|
3610
|
-
};
|
|
3611
|
-
imports.wbg.__wbg_new_35d748855c4620b9 = function() { return handleError(function () {
|
|
3609
|
+
imports.wbg.__wbg_new_018dcc2d6c8c2f6a = function() { return handleError(function () {
|
|
3612
3610
|
const ret = new Headers();
|
|
3613
3611
|
return ret;
|
|
3614
3612
|
}, arguments) };
|
|
3615
|
-
imports.wbg.
|
|
3616
|
-
const ret = new SQLite(arg0);
|
|
3617
|
-
return ret;
|
|
3618
|
-
};
|
|
3619
|
-
imports.wbg.__wbg_new_3d446df9155128ef = function(arg0, arg1) {
|
|
3613
|
+
imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
|
|
3620
3614
|
try {
|
|
3621
3615
|
var state0 = {a: arg0, b: arg1};
|
|
3622
3616
|
var cb0 = (arg0, arg1) => {
|
|
@@ -3634,63 +3628,71 @@ function __wbg_get_imports() {
|
|
|
3634
3628
|
state0.a = state0.b = 0;
|
|
3635
3629
|
}
|
|
3636
3630
|
};
|
|
3637
|
-
imports.wbg.
|
|
3638
|
-
const ret = new
|
|
3639
|
-
return ret;
|
|
3640
|
-
};
|
|
3641
|
-
imports.wbg.__wbg_new_5f48f21d4be11586 = function() { return handleError(function () {
|
|
3642
|
-
const ret = new AbortController();
|
|
3631
|
+
imports.wbg.__wbg_new_263e3ed0ecf4a0f0 = function() { return handleError(function (arg0) {
|
|
3632
|
+
const ret = new WebAssembly.Memory(arg0);
|
|
3643
3633
|
return ret;
|
|
3644
3634
|
}, arguments) };
|
|
3645
|
-
imports.wbg.
|
|
3646
|
-
const ret = new
|
|
3635
|
+
imports.wbg.__wbg_new_3c34f3fe365c1436 = function(arg0) {
|
|
3636
|
+
const ret = new SQLite(arg0);
|
|
3647
3637
|
return ret;
|
|
3648
3638
|
};
|
|
3649
|
-
imports.wbg.
|
|
3639
|
+
imports.wbg.__wbg_new_405e22f390576ce2 = function() {
|
|
3650
3640
|
const ret = new Object();
|
|
3651
3641
|
return ret;
|
|
3652
3642
|
};
|
|
3643
|
+
imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
|
|
3644
|
+
const ret = new Map();
|
|
3645
|
+
return ret;
|
|
3646
|
+
};
|
|
3647
|
+
imports.wbg.__wbg_new_78feb108b6472713 = function() {
|
|
3648
|
+
const ret = new Array();
|
|
3649
|
+
return ret;
|
|
3650
|
+
};
|
|
3653
3651
|
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
3654
3652
|
const ret = new Error();
|
|
3655
3653
|
return ret;
|
|
3656
3654
|
};
|
|
3657
|
-
imports.wbg.
|
|
3658
|
-
const ret = new
|
|
3655
|
+
imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
|
|
3656
|
+
const ret = new Uint8Array(arg0);
|
|
3659
3657
|
return ret;
|
|
3660
3658
|
};
|
|
3661
|
-
imports.wbg.
|
|
3662
|
-
const ret = new
|
|
3659
|
+
imports.wbg.__wbg_new_c68d7209be747379 = function(arg0, arg1) {
|
|
3660
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
3661
|
+
return ret;
|
|
3662
|
+
};
|
|
3663
|
+
imports.wbg.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
|
|
3664
|
+
const ret = new AbortController();
|
|
3663
3665
|
return ret;
|
|
3664
3666
|
}, arguments) };
|
|
3665
|
-
imports.wbg.
|
|
3667
|
+
imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
|
|
3666
3668
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
3667
3669
|
return ret;
|
|
3668
3670
|
};
|
|
3669
|
-
imports.wbg.
|
|
3671
|
+
imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
|
|
3670
3672
|
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
3671
3673
|
return ret;
|
|
3672
3674
|
};
|
|
3673
|
-
imports.wbg.
|
|
3675
|
+
imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
|
|
3674
3676
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
3675
3677
|
return ret;
|
|
3676
3678
|
};
|
|
3677
|
-
imports.wbg.
|
|
3679
|
+
imports.wbg.__wbg_newwithstrandinit_06c535e0a867c635 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3678
3680
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
3679
3681
|
return ret;
|
|
3680
3682
|
}, arguments) };
|
|
3681
|
-
imports.wbg.
|
|
3682
|
-
const ret = arg0.next();
|
|
3683
|
-
return ret;
|
|
3684
|
-
}, arguments) };
|
|
3685
|
-
imports.wbg.__wbg_next_137428deb98342b0 = function(arg0) {
|
|
3683
|
+
imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
|
|
3686
3684
|
const ret = arg0.next;
|
|
3687
3685
|
return ret;
|
|
3688
3686
|
};
|
|
3687
|
+
imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
|
|
3688
|
+
const ret = arg0.next();
|
|
3689
|
+
return ret;
|
|
3690
|
+
}, arguments) };
|
|
3689
3691
|
imports.wbg.__wbg_node_02999533c4ea02e3 = function(arg0) {
|
|
3690
3692
|
const ret = arg0.node;
|
|
3691
3693
|
return ret;
|
|
3692
3694
|
};
|
|
3693
|
-
imports.wbg.
|
|
3695
|
+
imports.wbg.__wbg_now_807e54c39636c349 = function() {
|
|
3694
3696
|
const ret = Date.now();
|
|
3695
3697
|
return ret;
|
|
3696
3698
|
};
|
|
@@ -3722,14 +3724,14 @@ function __wbg_get_imports() {
|
|
|
3722
3724
|
const ret = arg0.pstack;
|
|
3723
3725
|
return ret;
|
|
3724
3726
|
};
|
|
3725
|
-
imports.wbg.
|
|
3727
|
+
imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
|
|
3726
3728
|
const ret = arg0.push(arg1);
|
|
3727
3729
|
return ret;
|
|
3728
3730
|
};
|
|
3729
|
-
imports.wbg.
|
|
3731
|
+
imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
|
|
3730
3732
|
queueMicrotask(arg0);
|
|
3731
3733
|
};
|
|
3732
|
-
imports.wbg.
|
|
3734
|
+
imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
|
|
3733
3735
|
const ret = arg0.queueMicrotask;
|
|
3734
3736
|
return ret;
|
|
3735
3737
|
};
|
|
@@ -3747,56 +3749,56 @@ function __wbg_get_imports() {
|
|
|
3747
3749
|
const ret = arg0.reset(arg1);
|
|
3748
3750
|
return ret;
|
|
3749
3751
|
};
|
|
3750
|
-
imports.wbg.
|
|
3752
|
+
imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
|
|
3751
3753
|
const ret = Promise.resolve(arg0);
|
|
3752
3754
|
return ret;
|
|
3753
3755
|
};
|
|
3754
|
-
imports.wbg.
|
|
3756
|
+
imports.wbg.__wbg_respond_1f279fa9f8edcb1c = function() { return handleError(function (arg0, arg1) {
|
|
3755
3757
|
arg0.respond(arg1 >>> 0);
|
|
3756
3758
|
}, arguments) };
|
|
3757
3759
|
imports.wbg.__wbg_restore_43c154983844b05b = function(arg0, arg1) {
|
|
3758
3760
|
arg0.restore(arg1);
|
|
3759
3761
|
};
|
|
3760
|
-
imports.wbg.
|
|
3762
|
+
imports.wbg.__wbg_setTimeout_b4ee584b3f982e97 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3761
3763
|
const ret = arg0.setTimeout(arg1, arg2);
|
|
3762
3764
|
return ret;
|
|
3763
3765
|
}, arguments) };
|
|
3764
|
-
imports.wbg.
|
|
3766
|
+
imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
|
|
3765
3767
|
arg0[arg1 >>> 0] = arg2;
|
|
3766
3768
|
};
|
|
3767
|
-
imports.wbg.__wbg_set_23d69db4e5c66a6e = function(arg0, arg1, arg2) {
|
|
3768
|
-
arg0.set(arg1, arg2 >>> 0);
|
|
3769
|
-
};
|
|
3770
3769
|
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
3771
3770
|
arg0[arg1] = arg2;
|
|
3772
3771
|
};
|
|
3773
|
-
imports.wbg.
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
imports.wbg.__wbg_set_76818dc3c59a63d5 = function(arg0, arg1, arg2) {
|
|
3772
|
+
imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
|
|
3773
|
+
arg0.set(arg1, arg2 >>> 0);
|
|
3774
|
+
};
|
|
3775
|
+
imports.wbg.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
|
|
3778
3776
|
const ret = arg0.set(arg1, arg2);
|
|
3779
3777
|
return ret;
|
|
3780
3778
|
};
|
|
3781
|
-
imports.wbg.
|
|
3779
|
+
imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3780
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
3781
|
+
return ret;
|
|
3782
|
+
}, arguments) };
|
|
3783
|
+
imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
|
|
3782
3784
|
arg0.body = arg1;
|
|
3783
3785
|
};
|
|
3784
|
-
imports.wbg.
|
|
3786
|
+
imports.wbg.__wbg_setcredentials_c3a22f1cd105a2c6 = function(arg0, arg1) {
|
|
3785
3787
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
3786
3788
|
};
|
|
3787
|
-
imports.wbg.
|
|
3789
|
+
imports.wbg.__wbg_setheaders_834c0bdb6a8949ad = function(arg0, arg1) {
|
|
3788
3790
|
arg0.headers = arg1;
|
|
3789
3791
|
};
|
|
3790
|
-
imports.wbg.
|
|
3792
|
+
imports.wbg.__wbg_setmethod_3c5280fe5d890842 = function(arg0, arg1, arg2) {
|
|
3791
3793
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
3792
3794
|
};
|
|
3793
|
-
imports.wbg.
|
|
3795
|
+
imports.wbg.__wbg_setmode_5dc300b865044b65 = function(arg0, arg1) {
|
|
3794
3796
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
3795
3797
|
};
|
|
3796
|
-
imports.wbg.
|
|
3798
|
+
imports.wbg.__wbg_setsignal_75b21ef3a81de905 = function(arg0, arg1) {
|
|
3797
3799
|
arg0.signal = arg1;
|
|
3798
3800
|
};
|
|
3799
|
-
imports.wbg.
|
|
3801
|
+
imports.wbg.__wbg_signal_aaf9ad74119f20a4 = function(arg0) {
|
|
3800
3802
|
const ret = arg0.signal;
|
|
3801
3803
|
return ret;
|
|
3802
3804
|
};
|
|
@@ -3811,23 +3813,23 @@ function __wbg_get_imports() {
|
|
|
3811
3813
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3812
3814
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3813
3815
|
};
|
|
3814
|
-
imports.wbg.
|
|
3816
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
|
|
3815
3817
|
const ret = typeof global === 'undefined' ? null : global;
|
|
3816
3818
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3817
3819
|
};
|
|
3818
|
-
imports.wbg.
|
|
3820
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
|
|
3819
3821
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
3820
3822
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3821
3823
|
};
|
|
3822
|
-
imports.wbg.
|
|
3824
|
+
imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
|
|
3823
3825
|
const ret = typeof self === 'undefined' ? null : self;
|
|
3824
3826
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3825
3827
|
};
|
|
3826
|
-
imports.wbg.
|
|
3828
|
+
imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
|
|
3827
3829
|
const ret = typeof window === 'undefined' ? null : window;
|
|
3828
3830
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3829
3831
|
};
|
|
3830
|
-
imports.wbg.
|
|
3832
|
+
imports.wbg.__wbg_status_f6360336ca686bf0 = function(arg0) {
|
|
3831
3833
|
const ret = arg0.status;
|
|
3832
3834
|
return ret;
|
|
3833
3835
|
};
|
|
@@ -3835,34 +3837,34 @@ function __wbg_get_imports() {
|
|
|
3835
3837
|
const ret = arg0.step(arg1);
|
|
3836
3838
|
return ret;
|
|
3837
3839
|
};
|
|
3838
|
-
imports.wbg.
|
|
3840
|
+
imports.wbg.__wbg_stringify_f7ed6987935b4a24 = function() { return handleError(function (arg0) {
|
|
3839
3841
|
const ret = JSON.stringify(arg0);
|
|
3840
3842
|
return ret;
|
|
3841
3843
|
}, arguments) };
|
|
3842
|
-
imports.wbg.
|
|
3844
|
+
imports.wbg.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
|
|
3843
3845
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
3844
3846
|
return ret;
|
|
3845
3847
|
};
|
|
3846
|
-
imports.wbg.
|
|
3848
|
+
imports.wbg.__wbg_text_7805bea50de2af49 = function() { return handleError(function (arg0) {
|
|
3847
3849
|
const ret = arg0.text();
|
|
3848
3850
|
return ret;
|
|
3849
3851
|
}, arguments) };
|
|
3850
|
-
imports.wbg.
|
|
3852
|
+
imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
|
|
3851
3853
|
const ret = arg0.then(arg1);
|
|
3852
3854
|
return ret;
|
|
3853
3855
|
};
|
|
3854
|
-
imports.wbg.
|
|
3856
|
+
imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
|
|
3855
3857
|
const ret = arg0.then(arg1, arg2);
|
|
3856
3858
|
return ret;
|
|
3857
3859
|
};
|
|
3858
|
-
imports.wbg.
|
|
3860
|
+
imports.wbg.__wbg_url_ae10c34ca209681d = function(arg0, arg1) {
|
|
3859
3861
|
const ret = arg1.url;
|
|
3860
3862
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3861
3863
|
const len1 = WASM_VECTOR_LEN;
|
|
3862
3864
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3863
3865
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3864
3866
|
};
|
|
3865
|
-
imports.wbg.
|
|
3867
|
+
imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
|
|
3866
3868
|
const ret = arg0.value;
|
|
3867
3869
|
return ret;
|
|
3868
3870
|
};
|
|
@@ -3908,14 +3910,14 @@ function __wbg_get_imports() {
|
|
|
3908
3910
|
const ret = arg0.versions;
|
|
3909
3911
|
return ret;
|
|
3910
3912
|
};
|
|
3911
|
-
imports.wbg.
|
|
3913
|
+
imports.wbg.__wbg_view_fd8a56e8983f448d = function(arg0) {
|
|
3912
3914
|
const ret = arg0.view;
|
|
3913
3915
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3914
3916
|
};
|
|
3915
|
-
imports.wbg.
|
|
3917
|
+
imports.wbg.__wbg_warn_4ca3906c248c47c4 = function(arg0) {
|
|
3916
3918
|
console.warn(arg0);
|
|
3917
3919
|
};
|
|
3918
|
-
imports.wbg.
|
|
3920
|
+
imports.wbg.__wbg_warn_aaf1f4664a035bd6 = function(arg0, arg1, arg2, arg3) {
|
|
3919
3921
|
console.warn(arg0, arg1, arg2, arg3);
|
|
3920
3922
|
};
|
|
3921
3923
|
imports.wbg.__wbg_wasm_a5f31e71db23f94b = function(arg0) {
|
|
@@ -3951,8 +3953,8 @@ function __wbg_get_imports() {
|
|
|
3951
3953
|
const ret = false;
|
|
3952
3954
|
return ret;
|
|
3953
3955
|
};
|
|
3954
|
-
imports.wbg.
|
|
3955
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3956
|
+
imports.wbg.__wbindgen_closure_wrapper11373 = function(arg0, arg1, arg2) {
|
|
3957
|
+
const ret = makeMutClosure(arg0, arg1, 2597, __wbg_adapter_52);
|
|
3956
3958
|
return ret;
|
|
3957
3959
|
};
|
|
3958
3960
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|