@xmtp/wasm-bindings 1.10.0-dev.7ce88dd → 1.10.0-dev.f44d5e5
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 +145 -41
- package/dist/bindings_wasm.js +330 -19
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +57 -41
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -884,6 +884,94 @@ export class StreamCloser {
|
|
|
884
884
|
waitForReady(): Promise<void>;
|
|
885
885
|
}
|
|
886
886
|
|
|
887
|
+
/**
|
|
888
|
+
* Runtime test harness support instantiated in JS.
|
|
889
|
+
*
|
|
890
|
+
* The node.js entry script instantiates a `Context` here which is used to
|
|
891
|
+
* drive test execution.
|
|
892
|
+
*/
|
|
893
|
+
export class WasmBindgenTestContext {
|
|
894
|
+
free(): void;
|
|
895
|
+
[Symbol.dispose](): void;
|
|
896
|
+
/**
|
|
897
|
+
* Handle filter argument.
|
|
898
|
+
*/
|
|
899
|
+
filtered_count(filtered: number): void;
|
|
900
|
+
/**
|
|
901
|
+
* Handle `--include-ignored` flag.
|
|
902
|
+
*/
|
|
903
|
+
include_ignored(include_ignored: boolean): void;
|
|
904
|
+
/**
|
|
905
|
+
* Creates a new context ready to run tests.
|
|
906
|
+
*
|
|
907
|
+
* A `Context` is the main structure through which test execution is
|
|
908
|
+
* coordinated, and this will collect output and results for all executed
|
|
909
|
+
* tests.
|
|
910
|
+
*/
|
|
911
|
+
constructor(is_bench: boolean);
|
|
912
|
+
/**
|
|
913
|
+
* Executes a list of tests, returning a promise representing their
|
|
914
|
+
* eventual completion.
|
|
915
|
+
*
|
|
916
|
+
* This is the main entry point for executing tests. All the tests passed
|
|
917
|
+
* in are the JS `Function` object that was plucked off the
|
|
918
|
+
* `WebAssembly.Instance` exports list.
|
|
919
|
+
*
|
|
920
|
+
* The promise returned resolves to either `true` if all tests passed or
|
|
921
|
+
* `false` if at least one test failed.
|
|
922
|
+
*/
|
|
923
|
+
run(tests: any[]): Promise<any>;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* Used to read benchmark data, and then the runner stores it on the local disk.
|
|
928
|
+
*/
|
|
929
|
+
export function __wbgbench_dump(): Uint8Array | undefined;
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* Used to write previous benchmark data before the benchmark, for later comparison.
|
|
933
|
+
*/
|
|
934
|
+
export function __wbgbench_import(baseline: Uint8Array): void;
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* Handler for `console.debug` invocations. See above.
|
|
938
|
+
*/
|
|
939
|
+
export function __wbgtest_console_debug(args: Array<any>): void;
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* Handler for `console.error` invocations. See above.
|
|
943
|
+
*/
|
|
944
|
+
export function __wbgtest_console_error(args: Array<any>): void;
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* Handler for `console.info` invocations. See above.
|
|
948
|
+
*/
|
|
949
|
+
export function __wbgtest_console_info(args: Array<any>): void;
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Handler for `console.log` invocations.
|
|
953
|
+
*
|
|
954
|
+
* If a test is currently running it takes the `args` array and stringifies
|
|
955
|
+
* it and appends it to the current output of the test. Otherwise it passes
|
|
956
|
+
* the arguments to the original `console.log` function, psased as
|
|
957
|
+
* `original`.
|
|
958
|
+
*/
|
|
959
|
+
export function __wbgtest_console_log(args: Array<any>): void;
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* Handler for `console.warn` invocations. See above.
|
|
963
|
+
*/
|
|
964
|
+
export function __wbgtest_console_warn(args: Array<any>): void;
|
|
965
|
+
|
|
966
|
+
export function __wbgtest_cov_dump(): Uint8Array | undefined;
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* Path to use for coverage data.
|
|
970
|
+
*/
|
|
971
|
+
export function __wbgtest_coverage_path(env: string | null | undefined, pid: number, temp_dir: string, module_signature: bigint): string;
|
|
972
|
+
|
|
973
|
+
export function __wbgtest_module_signature(): bigint | undefined;
|
|
974
|
+
|
|
887
975
|
export function applySignatureRequest(host: string, gatewayHost: string | null | undefined, signatureRequest: SignatureRequestHandle): Promise<void>;
|
|
888
976
|
|
|
889
977
|
export function contentTypeActions(): ContentTypeId;
|
|
@@ -1024,36 +1112,27 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
1024
1112
|
|
|
1025
1113
|
export interface InitOutput {
|
|
1026
1114
|
readonly memory: WebAssembly.Memory;
|
|
1027
|
-
readonly contentTypeLeaveRequest: () => any;
|
|
1028
|
-
readonly contentTypeMultiRemoteAttachment: () => any;
|
|
1029
|
-
readonly contentTypeTransactionReference: () => any;
|
|
1030
|
-
readonly encodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
1031
|
-
readonly encodeTransactionReference: (a: any) => [number, number, number];
|
|
1032
1115
|
readonly __wbg_authhandle_free: (a: number, b: number) => void;
|
|
1033
1116
|
readonly authhandle_id: (a: number) => number;
|
|
1034
1117
|
readonly authhandle_new: () => number;
|
|
1035
1118
|
readonly authhandle_set: (a: number, b: any) => any;
|
|
1036
1119
|
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
1037
1120
|
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
1038
|
-
readonly
|
|
1039
|
-
readonly
|
|
1040
|
-
readonly contentTypeText: () => any;
|
|
1121
|
+
readonly contentTypeGroupUpdated: () => any;
|
|
1122
|
+
readonly contentTypeTransactionReference: () => any;
|
|
1041
1123
|
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
1042
1124
|
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
1043
|
-
readonly
|
|
1044
|
-
readonly encodeMarkdown: (a: number, b: number) => [number, number, number];
|
|
1045
|
-
readonly encodeText: (a: number, b: number) => [number, number, number];
|
|
1046
|
-
readonly client_fetchLatestInboxUpdatesCount: (a: number, b: number, c: number, d: number) => any;
|
|
1047
|
-
readonly client_fetchOwnInboxUpdatesCount: (a: number, b: number) => any;
|
|
1048
|
-
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
1049
|
-
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
1050
|
-
readonly client_inboxState: (a: number, b: number) => any;
|
|
1051
|
-
readonly contentTypeGroupUpdated: () => any;
|
|
1052
|
-
readonly generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
|
|
1053
|
-
readonly getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: number, f: any) => any;
|
|
1054
|
-
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
1055
|
-
readonly metadataFieldName: (a: number) => [number, number];
|
|
1125
|
+
readonly encodeTransactionReference: (a: any) => [number, number, number];
|
|
1056
1126
|
readonly contentTypeReply: () => any;
|
|
1127
|
+
readonly opfsClearAll: () => any;
|
|
1128
|
+
readonly opfsDeleteFile: (a: number, b: number) => any;
|
|
1129
|
+
readonly opfsExportDb: (a: number, b: number) => any;
|
|
1130
|
+
readonly opfsFileCount: () => any;
|
|
1131
|
+
readonly opfsFileExists: (a: number, b: number) => any;
|
|
1132
|
+
readonly opfsImportDb: (a: number, b: number, c: any) => any;
|
|
1133
|
+
readonly opfsInit: () => any;
|
|
1134
|
+
readonly opfsListFiles: () => any;
|
|
1135
|
+
readonly opfsPoolCapacity: () => any;
|
|
1057
1136
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
1058
1137
|
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
1059
1138
|
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
@@ -1096,6 +1175,7 @@ export interface InitOutput {
|
|
|
1096
1175
|
readonly client_syncPreferences: (a: number) => any;
|
|
1097
1176
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
1098
1177
|
readonly contentTypeActions: () => any;
|
|
1178
|
+
readonly contentTypeAttachment: () => any;
|
|
1099
1179
|
readonly contentTypeIntent: () => any;
|
|
1100
1180
|
readonly contentTypeReaction: () => any;
|
|
1101
1181
|
readonly contentTypeReadReceipt: () => any;
|
|
@@ -1195,6 +1275,7 @@ export interface InitOutput {
|
|
|
1195
1275
|
readonly devicesync_sendSyncRequest: (a: number) => any;
|
|
1196
1276
|
readonly devicesync_syncAllDeviceSyncGroups: (a: number) => any;
|
|
1197
1277
|
readonly encodeActions: (a: any) => [number, number, number];
|
|
1278
|
+
readonly encodeAttachment: (a: any) => [number, number, number];
|
|
1198
1279
|
readonly encodeIntent: (a: any) => [number, number, number];
|
|
1199
1280
|
readonly encodeReaction: (a: any) => [number, number, number];
|
|
1200
1281
|
readonly encodeReadReceipt: (a: any) => [number, number, number];
|
|
@@ -1211,15 +1292,22 @@ export interface InitOutput {
|
|
|
1211
1292
|
readonly streamcloser_isClosed: (a: number) => number;
|
|
1212
1293
|
readonly streamcloser_waitForReady: (a: number) => any;
|
|
1213
1294
|
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
1214
|
-
readonly
|
|
1215
|
-
readonly
|
|
1216
|
-
readonly
|
|
1217
|
-
readonly
|
|
1218
|
-
readonly
|
|
1219
|
-
readonly
|
|
1220
|
-
readonly
|
|
1221
|
-
readonly
|
|
1222
|
-
readonly
|
|
1295
|
+
readonly client_fetchLatestInboxUpdatesCount: (a: number, b: number, c: number, d: number) => any;
|
|
1296
|
+
readonly client_fetchOwnInboxUpdatesCount: (a: number, b: number) => any;
|
|
1297
|
+
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
1298
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
1299
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
1300
|
+
readonly contentTypeLeaveRequest: () => any;
|
|
1301
|
+
readonly contentTypeMarkdown: () => any;
|
|
1302
|
+
readonly contentTypeMultiRemoteAttachment: () => any;
|
|
1303
|
+
readonly contentTypeText: () => any;
|
|
1304
|
+
readonly encodeMarkdown: (a: number, b: number) => [number, number, number];
|
|
1305
|
+
readonly encodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
1306
|
+
readonly encodeText: (a: number, b: number) => [number, number, number];
|
|
1307
|
+
readonly generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
|
|
1308
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: number, f: any) => any;
|
|
1309
|
+
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
1310
|
+
readonly metadataFieldName: (a: number) => [number, number];
|
|
1223
1311
|
readonly rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
|
|
1224
1312
|
readonly rust_zstd_wasm_shim_free: (a: number) => void;
|
|
1225
1313
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
@@ -1252,20 +1340,36 @@ export interface InitOutput {
|
|
|
1252
1340
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
1253
1341
|
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1254
1342
|
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1255
|
-
readonly
|
|
1256
|
-
readonly
|
|
1257
|
-
readonly
|
|
1258
|
-
readonly
|
|
1259
|
-
readonly
|
|
1260
|
-
readonly
|
|
1261
|
-
readonly
|
|
1262
|
-
readonly
|
|
1263
|
-
readonly
|
|
1343
|
+
readonly __wbg_wasmbindgentestcontext_free: (a: number, b: number) => void;
|
|
1344
|
+
readonly __wbgtest_console_debug: (a: any) => void;
|
|
1345
|
+
readonly __wbgtest_console_error: (a: any) => void;
|
|
1346
|
+
readonly __wbgtest_console_info: (a: any) => void;
|
|
1347
|
+
readonly __wbgtest_console_log: (a: any) => void;
|
|
1348
|
+
readonly __wbgtest_console_warn: (a: any) => void;
|
|
1349
|
+
readonly wasmbindgentestcontext_filtered_count: (a: number, b: number) => void;
|
|
1350
|
+
readonly wasmbindgentestcontext_include_ignored: (a: number, b: number) => void;
|
|
1351
|
+
readonly wasmbindgentestcontext_new: (a: number) => number;
|
|
1352
|
+
readonly wasmbindgentestcontext_run: (a: number, b: number, c: number) => any;
|
|
1353
|
+
readonly __wbgtest_cov_dump: () => [number, number];
|
|
1354
|
+
readonly __wbgtest_module_signature: () => [number, bigint];
|
|
1355
|
+
readonly __wbgbench_dump: () => [number, number];
|
|
1356
|
+
readonly __wbgbench_import: (a: number, b: number) => void;
|
|
1357
|
+
readonly __wbgtest_coverage_path: (a: number, b: number, c: number, d: number, e: number, f: bigint) => [number, number];
|
|
1358
|
+
readonly wasm_bindgen__closure__destroy__h3ec8903c455e551f: (a: number, b: number) => void;
|
|
1359
|
+
readonly wasm_bindgen__closure__destroy__h213ec6c0cfaa8daa: (a: number, b: number) => void;
|
|
1360
|
+
readonly wasm_bindgen__closure__destroy__hcd0ff49535f2a590: (a: number, b: number) => void;
|
|
1361
|
+
readonly wasm_bindgen__closure__destroy__hd56fbfc240f3eed8: (a: number, b: number) => void;
|
|
1362
|
+
readonly wasm_bindgen__convert__closures_____invoke__h4761911dc2bcd4ab: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
1363
|
+
readonly wasm_bindgen__convert__closures_____invoke__h93371d492ea6dccf: (a: number, b: number, c: any, d: any) => void;
|
|
1364
|
+
readonly wasm_bindgen__convert__closures_____invoke__h01ab1ec45c07a95b: (a: number, b: number, c: any) => void;
|
|
1365
|
+
readonly wasm_bindgen__convert__closures_____invoke__h1f53cb1d4e32acc1: (a: number, b: number) => void;
|
|
1366
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7d2ee1dee7ec118b: (a: number, b: number) => void;
|
|
1367
|
+
readonly wasm_bindgen__convert__closures_____invoke__hacdd4f3cd0d8d764: (a: number, b: number) => void;
|
|
1368
|
+
readonly __externref_table_alloc: () => number;
|
|
1369
|
+
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
1264
1370
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
1265
1371
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
1266
1372
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
1267
|
-
readonly __externref_table_alloc: () => number;
|
|
1268
|
-
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
1269
1373
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
1270
1374
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1271
1375
|
readonly __externref_table_dealloc: (a: number) => void;
|
package/dist/bindings_wasm.js
CHANGED
|
@@ -1998,6 +1998,188 @@ export class StreamCloser {
|
|
|
1998
1998
|
}
|
|
1999
1999
|
if (Symbol.dispose) StreamCloser.prototype[Symbol.dispose] = StreamCloser.prototype.free;
|
|
2000
2000
|
|
|
2001
|
+
/**
|
|
2002
|
+
* Runtime test harness support instantiated in JS.
|
|
2003
|
+
*
|
|
2004
|
+
* The node.js entry script instantiates a `Context` here which is used to
|
|
2005
|
+
* drive test execution.
|
|
2006
|
+
*/
|
|
2007
|
+
export class WasmBindgenTestContext {
|
|
2008
|
+
__destroy_into_raw() {
|
|
2009
|
+
const ptr = this.__wbg_ptr;
|
|
2010
|
+
this.__wbg_ptr = 0;
|
|
2011
|
+
WasmBindgenTestContextFinalization.unregister(this);
|
|
2012
|
+
return ptr;
|
|
2013
|
+
}
|
|
2014
|
+
free() {
|
|
2015
|
+
const ptr = this.__destroy_into_raw();
|
|
2016
|
+
wasm.__wbg_wasmbindgentestcontext_free(ptr, 0);
|
|
2017
|
+
}
|
|
2018
|
+
/**
|
|
2019
|
+
* Handle filter argument.
|
|
2020
|
+
* @param {number} filtered
|
|
2021
|
+
*/
|
|
2022
|
+
filtered_count(filtered) {
|
|
2023
|
+
wasm.wasmbindgentestcontext_filtered_count(this.__wbg_ptr, filtered);
|
|
2024
|
+
}
|
|
2025
|
+
/**
|
|
2026
|
+
* Handle `--include-ignored` flag.
|
|
2027
|
+
* @param {boolean} include_ignored
|
|
2028
|
+
*/
|
|
2029
|
+
include_ignored(include_ignored) {
|
|
2030
|
+
wasm.wasmbindgentestcontext_include_ignored(this.__wbg_ptr, include_ignored);
|
|
2031
|
+
}
|
|
2032
|
+
/**
|
|
2033
|
+
* Creates a new context ready to run tests.
|
|
2034
|
+
*
|
|
2035
|
+
* A `Context` is the main structure through which test execution is
|
|
2036
|
+
* coordinated, and this will collect output and results for all executed
|
|
2037
|
+
* tests.
|
|
2038
|
+
* @param {boolean} is_bench
|
|
2039
|
+
*/
|
|
2040
|
+
constructor(is_bench) {
|
|
2041
|
+
const ret = wasm.wasmbindgentestcontext_new(is_bench);
|
|
2042
|
+
this.__wbg_ptr = ret >>> 0;
|
|
2043
|
+
WasmBindgenTestContextFinalization.register(this, this.__wbg_ptr, this);
|
|
2044
|
+
return this;
|
|
2045
|
+
}
|
|
2046
|
+
/**
|
|
2047
|
+
* Executes a list of tests, returning a promise representing their
|
|
2048
|
+
* eventual completion.
|
|
2049
|
+
*
|
|
2050
|
+
* This is the main entry point for executing tests. All the tests passed
|
|
2051
|
+
* in are the JS `Function` object that was plucked off the
|
|
2052
|
+
* `WebAssembly.Instance` exports list.
|
|
2053
|
+
*
|
|
2054
|
+
* The promise returned resolves to either `true` if all tests passed or
|
|
2055
|
+
* `false` if at least one test failed.
|
|
2056
|
+
* @param {any[]} tests
|
|
2057
|
+
* @returns {Promise<any>}
|
|
2058
|
+
*/
|
|
2059
|
+
run(tests) {
|
|
2060
|
+
const ptr0 = passArrayJsValueToWasm0(tests, wasm.__wbindgen_malloc);
|
|
2061
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2062
|
+
const ret = wasm.wasmbindgentestcontext_run(this.__wbg_ptr, ptr0, len0);
|
|
2063
|
+
return ret;
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
if (Symbol.dispose) WasmBindgenTestContext.prototype[Symbol.dispose] = WasmBindgenTestContext.prototype.free;
|
|
2067
|
+
|
|
2068
|
+
/**
|
|
2069
|
+
* Used to read benchmark data, and then the runner stores it on the local disk.
|
|
2070
|
+
* @returns {Uint8Array | undefined}
|
|
2071
|
+
*/
|
|
2072
|
+
export function __wbgbench_dump() {
|
|
2073
|
+
const ret = wasm.__wbgbench_dump();
|
|
2074
|
+
let v1;
|
|
2075
|
+
if (ret[0] !== 0) {
|
|
2076
|
+
v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2077
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2078
|
+
}
|
|
2079
|
+
return v1;
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2082
|
+
/**
|
|
2083
|
+
* Used to write previous benchmark data before the benchmark, for later comparison.
|
|
2084
|
+
* @param {Uint8Array} baseline
|
|
2085
|
+
*/
|
|
2086
|
+
export function __wbgbench_import(baseline) {
|
|
2087
|
+
const ptr0 = passArray8ToWasm0(baseline, wasm.__wbindgen_malloc);
|
|
2088
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2089
|
+
wasm.__wbgbench_import(ptr0, len0);
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
/**
|
|
2093
|
+
* Handler for `console.debug` invocations. See above.
|
|
2094
|
+
* @param {Array<any>} args
|
|
2095
|
+
*/
|
|
2096
|
+
export function __wbgtest_console_debug(args) {
|
|
2097
|
+
wasm.__wbgtest_console_debug(args);
|
|
2098
|
+
}
|
|
2099
|
+
|
|
2100
|
+
/**
|
|
2101
|
+
* Handler for `console.error` invocations. See above.
|
|
2102
|
+
* @param {Array<any>} args
|
|
2103
|
+
*/
|
|
2104
|
+
export function __wbgtest_console_error(args) {
|
|
2105
|
+
wasm.__wbgtest_console_error(args);
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
/**
|
|
2109
|
+
* Handler for `console.info` invocations. See above.
|
|
2110
|
+
* @param {Array<any>} args
|
|
2111
|
+
*/
|
|
2112
|
+
export function __wbgtest_console_info(args) {
|
|
2113
|
+
wasm.__wbgtest_console_info(args);
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2116
|
+
/**
|
|
2117
|
+
* Handler for `console.log` invocations.
|
|
2118
|
+
*
|
|
2119
|
+
* If a test is currently running it takes the `args` array and stringifies
|
|
2120
|
+
* it and appends it to the current output of the test. Otherwise it passes
|
|
2121
|
+
* the arguments to the original `console.log` function, psased as
|
|
2122
|
+
* `original`.
|
|
2123
|
+
* @param {Array<any>} args
|
|
2124
|
+
*/
|
|
2125
|
+
export function __wbgtest_console_log(args) {
|
|
2126
|
+
wasm.__wbgtest_console_log(args);
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
/**
|
|
2130
|
+
* Handler for `console.warn` invocations. See above.
|
|
2131
|
+
* @param {Array<any>} args
|
|
2132
|
+
*/
|
|
2133
|
+
export function __wbgtest_console_warn(args) {
|
|
2134
|
+
wasm.__wbgtest_console_warn(args);
|
|
2135
|
+
}
|
|
2136
|
+
|
|
2137
|
+
/**
|
|
2138
|
+
* @returns {Uint8Array | undefined}
|
|
2139
|
+
*/
|
|
2140
|
+
export function __wbgtest_cov_dump() {
|
|
2141
|
+
const ret = wasm.__wbgtest_cov_dump();
|
|
2142
|
+
let v1;
|
|
2143
|
+
if (ret[0] !== 0) {
|
|
2144
|
+
v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2145
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2146
|
+
}
|
|
2147
|
+
return v1;
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
/**
|
|
2151
|
+
* Path to use for coverage data.
|
|
2152
|
+
* @param {string | null | undefined} env
|
|
2153
|
+
* @param {number} pid
|
|
2154
|
+
* @param {string} temp_dir
|
|
2155
|
+
* @param {bigint} module_signature
|
|
2156
|
+
* @returns {string}
|
|
2157
|
+
*/
|
|
2158
|
+
export function __wbgtest_coverage_path(env, pid, temp_dir, module_signature) {
|
|
2159
|
+
let deferred3_0;
|
|
2160
|
+
let deferred3_1;
|
|
2161
|
+
try {
|
|
2162
|
+
var ptr0 = isLikeNone(env) ? 0 : passStringToWasm0(env, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2163
|
+
var len0 = WASM_VECTOR_LEN;
|
|
2164
|
+
const ptr1 = passStringToWasm0(temp_dir, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2165
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2166
|
+
const ret = wasm.__wbgtest_coverage_path(ptr0, len0, pid, ptr1, len1, module_signature);
|
|
2167
|
+
deferred3_0 = ret[0];
|
|
2168
|
+
deferred3_1 = ret[1];
|
|
2169
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
2170
|
+
} finally {
|
|
2171
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
2172
|
+
}
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
/**
|
|
2176
|
+
* @returns {bigint | undefined}
|
|
2177
|
+
*/
|
|
2178
|
+
export function __wbgtest_module_signature() {
|
|
2179
|
+
const ret = wasm.__wbgtest_module_signature();
|
|
2180
|
+
return ret[0] === 0 ? undefined : BigInt.asUintN(64, ret[1]);
|
|
2181
|
+
}
|
|
2182
|
+
|
|
2001
2183
|
/**
|
|
2002
2184
|
* @param {string} host
|
|
2003
2185
|
* @param {string | null | undefined} gatewayHost
|
|
@@ -2561,6 +2743,10 @@ export function verifySignedWithPublicKey(signatureText, signatureBytes, publicK
|
|
|
2561
2743
|
function __wbg_get_imports() {
|
|
2562
2744
|
const import0 = {
|
|
2563
2745
|
__proto__: null,
|
|
2746
|
+
__wbg_Deno_0d853884e73838c9: function(arg0) {
|
|
2747
|
+
const ret = arg0.Deno;
|
|
2748
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2749
|
+
},
|
|
2564
2750
|
__wbg_Error_8c4e43fe74559d73: function(arg0, arg1) {
|
|
2565
2751
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
2566
2752
|
return ret;
|
|
@@ -2569,6 +2755,13 @@ function __wbg_get_imports() {
|
|
|
2569
2755
|
const ret = Number(arg0);
|
|
2570
2756
|
return ret;
|
|
2571
2757
|
},
|
|
2758
|
+
__wbg_String_2d70b853773c9ecb: function(arg0, arg1) {
|
|
2759
|
+
const ret = String(arg1);
|
|
2760
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2761
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2762
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2763
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2764
|
+
},
|
|
2572
2765
|
__wbg_String_8f0eb39a4a4c2f66: function(arg0, arg1) {
|
|
2573
2766
|
const ret = String(arg1);
|
|
2574
2767
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -2576,6 +2769,12 @@ function __wbg_get_imports() {
|
|
|
2576
2769
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2577
2770
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2578
2771
|
},
|
|
2772
|
+
__wbg___wbg_test_output_writeln_3002c52094d744d1: function(arg0) {
|
|
2773
|
+
__wbg_test_output_writeln(arg0);
|
|
2774
|
+
},
|
|
2775
|
+
__wbg___wbgtest_og_console_log_81bdd3488fd1939c: function(arg0, arg1) {
|
|
2776
|
+
__wbgtest_og_console_log(getStringFromWasm0(arg0, arg1));
|
|
2777
|
+
},
|
|
2579
2778
|
__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: function(arg0, arg1) {
|
|
2580
2779
|
const v = arg1;
|
|
2581
2780
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
@@ -2735,6 +2934,10 @@ function __wbg_get_imports() {
|
|
|
2735
2934
|
const ret = arg0.code;
|
|
2736
2935
|
return ret;
|
|
2737
2936
|
},
|
|
2937
|
+
__wbg_constructor_0075742d4adcfb5d: function(arg0) {
|
|
2938
|
+
const ret = arg0.constructor;
|
|
2939
|
+
return ret;
|
|
2940
|
+
},
|
|
2738
2941
|
__wbg_conversation_new: function(arg0) {
|
|
2739
2942
|
const ret = Conversation.__wrap(arg0);
|
|
2740
2943
|
return ret;
|
|
@@ -2793,6 +2996,9 @@ function __wbg_get_imports() {
|
|
|
2793
2996
|
__wbg_error_9a7fe3f932034cde: function(arg0) {
|
|
2794
2997
|
console.error(arg0);
|
|
2795
2998
|
},
|
|
2999
|
+
__wbg_error_ba0ecc4c5be76ff7: function(arg0, arg1) {
|
|
3000
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
3001
|
+
},
|
|
2796
3002
|
__wbg_error_e98c298703cffa97: function(arg0, arg1) {
|
|
2797
3003
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
2798
3004
|
},
|
|
@@ -2819,6 +3025,23 @@ function __wbg_get_imports() {
|
|
|
2819
3025
|
__wbg_flush_22b785060592ca5f: function() { return handleError(function (arg0) {
|
|
2820
3026
|
arg0.flush();
|
|
2821
3027
|
}, arguments); },
|
|
3028
|
+
__wbg_forEach_a2bfcdf179e573de: function(arg0, arg1, arg2) {
|
|
3029
|
+
try {
|
|
3030
|
+
var state0 = {a: arg1, b: arg2};
|
|
3031
|
+
var cb0 = (arg0, arg1, arg2) => {
|
|
3032
|
+
const a = state0.a;
|
|
3033
|
+
state0.a = 0;
|
|
3034
|
+
try {
|
|
3035
|
+
return wasm_bindgen__convert__closures_____invoke__h4761911dc2bcd4ab(a, state0.b, arg0, arg1, arg2);
|
|
3036
|
+
} finally {
|
|
3037
|
+
state0.a = a;
|
|
3038
|
+
}
|
|
3039
|
+
};
|
|
3040
|
+
arg0.forEach(cb0);
|
|
3041
|
+
} finally {
|
|
3042
|
+
state0.a = state0.b = 0;
|
|
3043
|
+
}
|
|
3044
|
+
},
|
|
2822
3045
|
__wbg_from_bddd64e7d5ff6941: function(arg0) {
|
|
2823
3046
|
const ret = Array.from(arg0);
|
|
2824
3047
|
return ret;
|
|
@@ -2839,6 +3062,10 @@ function __wbg_get_imports() {
|
|
|
2839
3062
|
const ret = arg0.getDirectory();
|
|
2840
3063
|
return ret;
|
|
2841
3064
|
},
|
|
3065
|
+
__wbg_getElementById_6fe6fa2cb1c02939: function(arg0, arg1, arg2) {
|
|
3066
|
+
const ret = arg0.getElementById(getStringFromWasm0(arg1, arg2));
|
|
3067
|
+
return ret;
|
|
3068
|
+
},
|
|
2842
3069
|
__wbg_getFileHandle_ff4ab917b45affb3: function(arg0, arg1, arg2, arg3) {
|
|
2843
3070
|
const ret = arg0.getFileHandle(getStringFromWasm0(arg1, arg2), arg3);
|
|
2844
3071
|
return ret;
|
|
@@ -3014,6 +3241,9 @@ function __wbg_get_imports() {
|
|
|
3014
3241
|
const ret = arg0.length;
|
|
3015
3242
|
return ret;
|
|
3016
3243
|
},
|
|
3244
|
+
__wbg_log_dac59df46f28c346: function(arg0, arg1) {
|
|
3245
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
3246
|
+
},
|
|
3017
3247
|
__wbg_mark_05056c522bddc362: function() { return handleError(function (arg0, arg1, arg2) {
|
|
3018
3248
|
arg0.mark(getStringFromWasm0(arg1, arg2));
|
|
3019
3249
|
}, arguments); },
|
|
@@ -3033,6 +3263,10 @@ function __wbg_get_imports() {
|
|
|
3033
3263
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3034
3264
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3035
3265
|
},
|
|
3266
|
+
__wbg_message_9ddc4b9a62a7c379: function(arg0) {
|
|
3267
|
+
const ret = arg0.message;
|
|
3268
|
+
return ret;
|
|
3269
|
+
},
|
|
3036
3270
|
__wbg_msCrypto_a61aeb35a24c1329: function(arg0) {
|
|
3037
3271
|
const ret = arg0.msCrypto;
|
|
3038
3272
|
return ret;
|
|
@@ -3044,6 +3278,17 @@ function __wbg_get_imports() {
|
|
|
3044
3278
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3045
3279
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3046
3280
|
},
|
|
3281
|
+
__wbg_name_37226f1b7db3540e: function(arg0, arg1) {
|
|
3282
|
+
const ret = arg1.name;
|
|
3283
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3284
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3285
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3286
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3287
|
+
},
|
|
3288
|
+
__wbg_name_446e25ef2cfdab5a: function(arg0) {
|
|
3289
|
+
const ret = arg0.name;
|
|
3290
|
+
return ret;
|
|
3291
|
+
},
|
|
3047
3292
|
__wbg_navigator_4478931f32ebca57: function(arg0) {
|
|
3048
3293
|
const ret = arg0.navigator;
|
|
3049
3294
|
return ret;
|
|
@@ -3087,7 +3332,7 @@ function __wbg_get_imports() {
|
|
|
3087
3332
|
const a = state0.a;
|
|
3088
3333
|
state0.a = 0;
|
|
3089
3334
|
try {
|
|
3090
|
-
return
|
|
3335
|
+
return wasm_bindgen__convert__closures_____invoke__h93371d492ea6dccf(a, state0.b, arg0, arg1);
|
|
3091
3336
|
} finally {
|
|
3092
3337
|
state0.a = a;
|
|
3093
3338
|
}
|
|
@@ -3110,6 +3355,10 @@ function __wbg_get_imports() {
|
|
|
3110
3355
|
const ret = new Uint8Array(arg0);
|
|
3111
3356
|
return ret;
|
|
3112
3357
|
},
|
|
3358
|
+
__wbg_new_f0796def86e99471: function() {
|
|
3359
|
+
const ret = new Error();
|
|
3360
|
+
return ret;
|
|
3361
|
+
},
|
|
3113
3362
|
__wbg_new_from_slice_a3d2629dc1826784: function(arg0, arg1) {
|
|
3114
3363
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
3115
3364
|
return ret;
|
|
@@ -3158,6 +3407,10 @@ function __wbg_get_imports() {
|
|
|
3158
3407
|
const ret = arg0.now();
|
|
3159
3408
|
return ret;
|
|
3160
3409
|
},
|
|
3410
|
+
__wbg_now_706dbbd146774f0e: function(arg0) {
|
|
3411
|
+
const ret = arg0.now();
|
|
3412
|
+
return ret;
|
|
3413
|
+
},
|
|
3161
3414
|
__wbg_now_a3af9a2f4bbaa4d1: function() {
|
|
3162
3415
|
const ret = Date.now();
|
|
3163
3416
|
return ret;
|
|
@@ -3193,6 +3446,10 @@ function __wbg_get_imports() {
|
|
|
3193
3446
|
const ret = globalThis.performance;
|
|
3194
3447
|
return ret;
|
|
3195
3448
|
},
|
|
3449
|
+
__wbg_performance_2767f30f4a69c748: function(arg0) {
|
|
3450
|
+
const ret = arg0.performance;
|
|
3451
|
+
return ret;
|
|
3452
|
+
},
|
|
3196
3453
|
__wbg_performance_7a3ffd0b17f663ad: function(arg0) {
|
|
3197
3454
|
const ret = arg0.performance;
|
|
3198
3455
|
return ret;
|
|
@@ -3251,6 +3508,10 @@ function __wbg_get_imports() {
|
|
|
3251
3508
|
__wbg_respond_bf6ab10399ca8722: function() { return handleError(function (arg0, arg1) {
|
|
3252
3509
|
arg0.respond(arg1 >>> 0);
|
|
3253
3510
|
}, arguments); },
|
|
3511
|
+
__wbg_self_cfdfc96e68c3e345: function(arg0) {
|
|
3512
|
+
const ret = arg0.self;
|
|
3513
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3514
|
+
},
|
|
3254
3515
|
__wbg_setInterval_ed3b5e3c3ebb8a6d: function() { return handleError(function (arg0, arg1) {
|
|
3255
3516
|
const ret = setInterval(arg0, arg1);
|
|
3256
3517
|
return ret;
|
|
@@ -3338,6 +3599,9 @@ function __wbg_get_imports() {
|
|
|
3338
3599
|
__wbg_set_signal_f2d3f8599248896d: function(arg0, arg1) {
|
|
3339
3600
|
arg0.signal = arg1;
|
|
3340
3601
|
},
|
|
3602
|
+
__wbg_set_text_content_eb601b93a64fea40: function(arg0, arg1, arg2) {
|
|
3603
|
+
arg0.textContent = getStringFromWasm0(arg1, arg2);
|
|
3604
|
+
},
|
|
3341
3605
|
__wbg_signal_d1285ecab4ebc5ad: function(arg0) {
|
|
3342
3606
|
const ret = arg0.signal;
|
|
3343
3607
|
return ret;
|
|
@@ -3357,6 +3621,32 @@ function __wbg_get_imports() {
|
|
|
3357
3621
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3358
3622
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3359
3623
|
},
|
|
3624
|
+
__wbg_stack_50b68ee6ee330278: function(arg0) {
|
|
3625
|
+
const ret = arg0.stack;
|
|
3626
|
+
return ret;
|
|
3627
|
+
},
|
|
3628
|
+
__wbg_stack_8b207ade94c30c09: function(arg0, arg1) {
|
|
3629
|
+
const ret = arg1.stack;
|
|
3630
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3631
|
+
var len1 = WASM_VECTOR_LEN;
|
|
3632
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3633
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3634
|
+
},
|
|
3635
|
+
__wbg_stack_bc8a0cd36a8aaa5e: function(arg0) {
|
|
3636
|
+
const ret = arg0.stack;
|
|
3637
|
+
return ret;
|
|
3638
|
+
},
|
|
3639
|
+
__wbg_stack_e11a2e83d033ed2f: function(arg0, arg1) {
|
|
3640
|
+
const ret = arg1.stack;
|
|
3641
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3642
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3643
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3644
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3645
|
+
},
|
|
3646
|
+
__wbg_static_accessor_DOCUMENT_a8bee90773ed9f03: function() {
|
|
3647
|
+
const ret = document;
|
|
3648
|
+
return ret;
|
|
3649
|
+
},
|
|
3360
3650
|
__wbg_static_accessor_GLOBAL_12837167ad935116: function() {
|
|
3361
3651
|
const ret = typeof global === 'undefined' ? null : global;
|
|
3362
3652
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -3393,6 +3683,13 @@ function __wbg_get_imports() {
|
|
|
3393
3683
|
const ret = arg0.text();
|
|
3394
3684
|
return ret;
|
|
3395
3685
|
}, arguments); },
|
|
3686
|
+
__wbg_text_content_50199b46165a6fba: function(arg0, arg1) {
|
|
3687
|
+
const ret = arg1.textContent;
|
|
3688
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3689
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3690
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3691
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3692
|
+
},
|
|
3396
3693
|
__wbg_then_0d9fe2c7b1857d32: function(arg0, arg1, arg2) {
|
|
3397
3694
|
const ret = arg0.then(arg1, arg2);
|
|
3398
3695
|
return ret;
|
|
@@ -3405,6 +3702,13 @@ function __wbg_get_imports() {
|
|
|
3405
3702
|
const ret = arg0.toString(arg1);
|
|
3406
3703
|
return ret;
|
|
3407
3704
|
}, arguments); },
|
|
3705
|
+
__wbg_toString_1f277cfdc1753469: function() { return handleError(function (arg0, arg1) {
|
|
3706
|
+
const ret = arg1.toString();
|
|
3707
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3708
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3709
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3710
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3711
|
+
}, arguments); },
|
|
3408
3712
|
__wbg_toString_964ff7fe6eca8362: function(arg0) {
|
|
3409
3713
|
const ret = arg0.toString();
|
|
3410
3714
|
return ret;
|
|
@@ -3449,23 +3753,23 @@ function __wbg_get_imports() {
|
|
|
3449
3753
|
return ret;
|
|
3450
3754
|
}, arguments); },
|
|
3451
3755
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
3452
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3453
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3756
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 7024, function: Function { arguments: [], shim_idx: 7025, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3757
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h3ec8903c455e551f, wasm_bindgen__convert__closures_____invoke__h1f53cb1d4e32acc1);
|
|
3454
3758
|
return ret;
|
|
3455
3759
|
},
|
|
3456
3760
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
3457
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3458
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3761
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 7216, function: Function { arguments: [], shim_idx: 7217, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3762
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h213ec6c0cfaa8daa, wasm_bindgen__convert__closures_____invoke__h7d2ee1dee7ec118b);
|
|
3459
3763
|
return ret;
|
|
3460
3764
|
},
|
|
3461
3765
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
3462
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3463
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3766
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 7386, function: Function { arguments: [], shim_idx: 7387, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3767
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hcd0ff49535f2a590, wasm_bindgen__convert__closures_____invoke__hacdd4f3cd0d8d764);
|
|
3464
3768
|
return ret;
|
|
3465
3769
|
},
|
|
3466
3770
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
3467
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3468
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3771
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 7783, function: Function { arguments: [Externref], shim_idx: 7784, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3772
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd56fbfc240f3eed8, wasm_bindgen__convert__closures_____invoke__h01ab1ec45c07a95b);
|
|
3469
3773
|
return ret;
|
|
3470
3774
|
},
|
|
3471
3775
|
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
@@ -3544,24 +3848,28 @@ function __wbg_get_imports() {
|
|
|
3544
3848
|
};
|
|
3545
3849
|
}
|
|
3546
3850
|
|
|
3547
|
-
function
|
|
3548
|
-
wasm.
|
|
3851
|
+
function wasm_bindgen__convert__closures_____invoke__h1f53cb1d4e32acc1(arg0, arg1) {
|
|
3852
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1f53cb1d4e32acc1(arg0, arg1);
|
|
3549
3853
|
}
|
|
3550
3854
|
|
|
3551
|
-
function
|
|
3552
|
-
wasm.
|
|
3855
|
+
function wasm_bindgen__convert__closures_____invoke__h7d2ee1dee7ec118b(arg0, arg1) {
|
|
3856
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h7d2ee1dee7ec118b(arg0, arg1);
|
|
3553
3857
|
}
|
|
3554
3858
|
|
|
3555
|
-
function
|
|
3556
|
-
wasm.
|
|
3859
|
+
function wasm_bindgen__convert__closures_____invoke__hacdd4f3cd0d8d764(arg0, arg1) {
|
|
3860
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hacdd4f3cd0d8d764(arg0, arg1);
|
|
3557
3861
|
}
|
|
3558
3862
|
|
|
3559
|
-
function
|
|
3560
|
-
wasm.
|
|
3863
|
+
function wasm_bindgen__convert__closures_____invoke__h01ab1ec45c07a95b(arg0, arg1, arg2) {
|
|
3864
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h01ab1ec45c07a95b(arg0, arg1, arg2);
|
|
3561
3865
|
}
|
|
3562
3866
|
|
|
3563
|
-
function
|
|
3564
|
-
wasm.
|
|
3867
|
+
function wasm_bindgen__convert__closures_____invoke__h93371d492ea6dccf(arg0, arg1, arg2, arg3) {
|
|
3868
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h93371d492ea6dccf(arg0, arg1, arg2, arg3);
|
|
3869
|
+
}
|
|
3870
|
+
|
|
3871
|
+
function wasm_bindgen__convert__closures_____invoke__h4761911dc2bcd4ab(arg0, arg1, arg2, arg3, arg4) {
|
|
3872
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h4761911dc2bcd4ab(arg0, arg1, arg2, arg3, arg4);
|
|
3565
3873
|
}
|
|
3566
3874
|
|
|
3567
3875
|
|
|
@@ -3614,6 +3922,9 @@ const SignatureRequestHandleFinalization = (typeof FinalizationRegistry === 'und
|
|
|
3614
3922
|
const StreamCloserFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3615
3923
|
? { register: () => {}, unregister: () => {} }
|
|
3616
3924
|
: new FinalizationRegistry(ptr => wasm.__wbg_streamcloser_free(ptr >>> 0, 1));
|
|
3925
|
+
const WasmBindgenTestContextFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3926
|
+
? { register: () => {}, unregister: () => {} }
|
|
3927
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmbindgentestcontext_free(ptr >>> 0, 1));
|
|
3617
3928
|
|
|
3618
3929
|
function addToExternrefTable0(obj) {
|
|
3619
3930
|
const idx = wasm.__externref_table_alloc();
|
|
Binary file
|
|
@@ -1,36 +1,27 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const contentTypeLeaveRequest: () => any;
|
|
5
|
-
export const contentTypeMultiRemoteAttachment: () => any;
|
|
6
|
-
export const contentTypeTransactionReference: () => any;
|
|
7
|
-
export const encodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
8
|
-
export const encodeTransactionReference: (a: any) => [number, number, number];
|
|
9
4
|
export const __wbg_authhandle_free: (a: number, b: number) => void;
|
|
10
5
|
export const authhandle_id: (a: number) => number;
|
|
11
6
|
export const authhandle_new: () => number;
|
|
12
7
|
export const authhandle_set: (a: number, b: any) => any;
|
|
13
8
|
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
14
9
|
export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
15
|
-
export const
|
|
16
|
-
export const
|
|
17
|
-
export const contentTypeText: () => any;
|
|
10
|
+
export const contentTypeGroupUpdated: () => any;
|
|
11
|
+
export const contentTypeTransactionReference: () => any;
|
|
18
12
|
export const conversation_consentState: (a: number) => [number, number, number];
|
|
19
13
|
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
20
|
-
export const
|
|
21
|
-
export const encodeMarkdown: (a: number, b: number) => [number, number, number];
|
|
22
|
-
export const encodeText: (a: number, b: number) => [number, number, number];
|
|
23
|
-
export const client_fetchLatestInboxUpdatesCount: (a: number, b: number, c: number, d: number) => any;
|
|
24
|
-
export const client_fetchOwnInboxUpdatesCount: (a: number, b: number) => any;
|
|
25
|
-
export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
26
|
-
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
27
|
-
export const client_inboxState: (a: number, b: number) => any;
|
|
28
|
-
export const contentTypeGroupUpdated: () => any;
|
|
29
|
-
export const generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
|
|
30
|
-
export const getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: number, f: any) => any;
|
|
31
|
-
export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
32
|
-
export const metadataFieldName: (a: number) => [number, number];
|
|
14
|
+
export const encodeTransactionReference: (a: any) => [number, number, number];
|
|
33
15
|
export const contentTypeReply: () => any;
|
|
16
|
+
export const opfsClearAll: () => any;
|
|
17
|
+
export const opfsDeleteFile: (a: number, b: number) => any;
|
|
18
|
+
export const opfsExportDb: (a: number, b: number) => any;
|
|
19
|
+
export const opfsFileCount: () => any;
|
|
20
|
+
export const opfsFileExists: (a: number, b: number) => any;
|
|
21
|
+
export const opfsImportDb: (a: number, b: number, c: any) => any;
|
|
22
|
+
export const opfsInit: () => any;
|
|
23
|
+
export const opfsListFiles: () => any;
|
|
24
|
+
export const opfsPoolCapacity: () => any;
|
|
34
25
|
export const __wbg_client_free: (a: number, b: number) => void;
|
|
35
26
|
export const __wbg_conversation_free: (a: number, b: number) => void;
|
|
36
27
|
export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
@@ -73,6 +64,7 @@ export const client_signWithInstallationKey: (a: number, b: number, c: number) =
|
|
|
73
64
|
export const client_syncPreferences: (a: number) => any;
|
|
74
65
|
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
75
66
|
export const contentTypeActions: () => any;
|
|
67
|
+
export const contentTypeAttachment: () => any;
|
|
76
68
|
export const contentTypeIntent: () => any;
|
|
77
69
|
export const contentTypeReaction: () => any;
|
|
78
70
|
export const contentTypeReadReceipt: () => any;
|
|
@@ -172,6 +164,7 @@ export const devicesync_sendSyncArchive: (a: number, b: any, c: number, d: numbe
|
|
|
172
164
|
export const devicesync_sendSyncRequest: (a: number) => any;
|
|
173
165
|
export const devicesync_syncAllDeviceSyncGroups: (a: number) => any;
|
|
174
166
|
export const encodeActions: (a: any) => [number, number, number];
|
|
167
|
+
export const encodeAttachment: (a: any) => [number, number, number];
|
|
175
168
|
export const encodeIntent: (a: any) => [number, number, number];
|
|
176
169
|
export const encodeReaction: (a: any) => [number, number, number];
|
|
177
170
|
export const encodeReadReceipt: (a: any) => [number, number, number];
|
|
@@ -188,15 +181,22 @@ export const streamcloser_endAndWait: (a: number) => any;
|
|
|
188
181
|
export const streamcloser_isClosed: (a: number) => number;
|
|
189
182
|
export const streamcloser_waitForReady: (a: number) => any;
|
|
190
183
|
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
191
|
-
export const
|
|
192
|
-
export const
|
|
193
|
-
export const
|
|
194
|
-
export const
|
|
195
|
-
export const
|
|
196
|
-
export const
|
|
197
|
-
export const
|
|
198
|
-
export const
|
|
199
|
-
export const
|
|
184
|
+
export const client_fetchLatestInboxUpdatesCount: (a: number, b: number, c: number, d: number) => any;
|
|
185
|
+
export const client_fetchOwnInboxUpdatesCount: (a: number, b: number) => any;
|
|
186
|
+
export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
187
|
+
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
188
|
+
export const client_inboxState: (a: number, b: number) => any;
|
|
189
|
+
export const contentTypeLeaveRequest: () => any;
|
|
190
|
+
export const contentTypeMarkdown: () => any;
|
|
191
|
+
export const contentTypeMultiRemoteAttachment: () => any;
|
|
192
|
+
export const contentTypeText: () => any;
|
|
193
|
+
export const encodeMarkdown: (a: number, b: number) => [number, number, number];
|
|
194
|
+
export const encodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
195
|
+
export const encodeText: (a: number, b: number) => [number, number, number];
|
|
196
|
+
export const generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
|
|
197
|
+
export const getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: number, f: any) => any;
|
|
198
|
+
export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
199
|
+
export const metadataFieldName: (a: number) => [number, number];
|
|
200
200
|
export const rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
|
|
201
201
|
export const rust_zstd_wasm_shim_free: (a: number) => void;
|
|
202
202
|
export const rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
@@ -229,20 +229,36 @@ export const intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
|
229
229
|
export const intounderlyingbytesource_type: (a: number) => number;
|
|
230
230
|
export const intounderlyingsource_cancel: (a: number) => void;
|
|
231
231
|
export const intounderlyingsource_pull: (a: number, b: any) => any;
|
|
232
|
-
export const
|
|
233
|
-
export const
|
|
234
|
-
export const
|
|
235
|
-
export const
|
|
236
|
-
export const
|
|
237
|
-
export const
|
|
238
|
-
export const
|
|
239
|
-
export const
|
|
240
|
-
export const
|
|
232
|
+
export const __wbg_wasmbindgentestcontext_free: (a: number, b: number) => void;
|
|
233
|
+
export const __wbgtest_console_debug: (a: any) => void;
|
|
234
|
+
export const __wbgtest_console_error: (a: any) => void;
|
|
235
|
+
export const __wbgtest_console_info: (a: any) => void;
|
|
236
|
+
export const __wbgtest_console_log: (a: any) => void;
|
|
237
|
+
export const __wbgtest_console_warn: (a: any) => void;
|
|
238
|
+
export const wasmbindgentestcontext_filtered_count: (a: number, b: number) => void;
|
|
239
|
+
export const wasmbindgentestcontext_include_ignored: (a: number, b: number) => void;
|
|
240
|
+
export const wasmbindgentestcontext_new: (a: number) => number;
|
|
241
|
+
export const wasmbindgentestcontext_run: (a: number, b: number, c: number) => any;
|
|
242
|
+
export const __wbgtest_cov_dump: () => [number, number];
|
|
243
|
+
export const __wbgtest_module_signature: () => [number, bigint];
|
|
244
|
+
export const __wbgbench_dump: () => [number, number];
|
|
245
|
+
export const __wbgbench_import: (a: number, b: number) => void;
|
|
246
|
+
export const __wbgtest_coverage_path: (a: number, b: number, c: number, d: number, e: number, f: bigint) => [number, number];
|
|
247
|
+
export const wasm_bindgen__closure__destroy__h3ec8903c455e551f: (a: number, b: number) => void;
|
|
248
|
+
export const wasm_bindgen__closure__destroy__h213ec6c0cfaa8daa: (a: number, b: number) => void;
|
|
249
|
+
export const wasm_bindgen__closure__destroy__hcd0ff49535f2a590: (a: number, b: number) => void;
|
|
250
|
+
export const wasm_bindgen__closure__destroy__hd56fbfc240f3eed8: (a: number, b: number) => void;
|
|
251
|
+
export const wasm_bindgen__convert__closures_____invoke__h4761911dc2bcd4ab: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
252
|
+
export const wasm_bindgen__convert__closures_____invoke__h93371d492ea6dccf: (a: number, b: number, c: any, d: any) => void;
|
|
253
|
+
export const wasm_bindgen__convert__closures_____invoke__h01ab1ec45c07a95b: (a: number, b: number, c: any) => void;
|
|
254
|
+
export const wasm_bindgen__convert__closures_____invoke__h1f53cb1d4e32acc1: (a: number, b: number) => void;
|
|
255
|
+
export const wasm_bindgen__convert__closures_____invoke__h7d2ee1dee7ec118b: (a: number, b: number) => void;
|
|
256
|
+
export const wasm_bindgen__convert__closures_____invoke__hacdd4f3cd0d8d764: (a: number, b: number) => void;
|
|
257
|
+
export const __externref_table_alloc: () => number;
|
|
258
|
+
export const __wbindgen_externrefs: WebAssembly.Table;
|
|
241
259
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
242
260
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
243
261
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
244
|
-
export const __externref_table_alloc: () => number;
|
|
245
|
-
export const __wbindgen_externrefs: WebAssembly.Table;
|
|
246
262
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
247
263
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
248
264
|
export const __externref_table_dealloc: (a: number) => void;
|