@xmtp/wasm-bindings 1.10.0-dev.8b07a37 → 1.10.0-dev.ae5ffba
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 +312 -109
- package/dist/bindings_wasm.js +927 -349
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +141 -101
- package/package.json +2 -2
package/dist/bindings_wasm.js
CHANGED
|
@@ -44,6 +44,196 @@ export class AuthHandle {
|
|
|
44
44
|
}
|
|
45
45
|
if (Symbol.dispose) AuthHandle.prototype[Symbol.dispose] = AuthHandle.prototype.free;
|
|
46
46
|
|
|
47
|
+
export class Backend {
|
|
48
|
+
static __wrap(ptr) {
|
|
49
|
+
ptr = ptr >>> 0;
|
|
50
|
+
const obj = Object.create(Backend.prototype);
|
|
51
|
+
obj.__wbg_ptr = ptr;
|
|
52
|
+
BackendFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
53
|
+
return obj;
|
|
54
|
+
}
|
|
55
|
+
__destroy_into_raw() {
|
|
56
|
+
const ptr = this.__wbg_ptr;
|
|
57
|
+
this.__wbg_ptr = 0;
|
|
58
|
+
BackendFinalization.unregister(this);
|
|
59
|
+
return ptr;
|
|
60
|
+
}
|
|
61
|
+
free() {
|
|
62
|
+
const ptr = this.__destroy_into_raw();
|
|
63
|
+
wasm.__wbg_backend_free(ptr, 0);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @returns {string}
|
|
67
|
+
*/
|
|
68
|
+
get appVersion() {
|
|
69
|
+
let deferred1_0;
|
|
70
|
+
let deferred1_1;
|
|
71
|
+
try {
|
|
72
|
+
const ret = wasm.backend_appVersion(this.__wbg_ptr);
|
|
73
|
+
deferred1_0 = ret[0];
|
|
74
|
+
deferred1_1 = ret[1];
|
|
75
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
76
|
+
} finally {
|
|
77
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* @returns {XmtpEnv}
|
|
82
|
+
*/
|
|
83
|
+
get env() {
|
|
84
|
+
const ret = wasm.backend_env(this.__wbg_ptr);
|
|
85
|
+
return ret;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* @returns {string | undefined}
|
|
89
|
+
*/
|
|
90
|
+
get gatewayHost() {
|
|
91
|
+
const ret = wasm.backend_gatewayHost(this.__wbg_ptr);
|
|
92
|
+
let v1;
|
|
93
|
+
if (ret[0] !== 0) {
|
|
94
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
95
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
96
|
+
}
|
|
97
|
+
return v1;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @returns {string | undefined}
|
|
101
|
+
*/
|
|
102
|
+
get v3Host() {
|
|
103
|
+
const ret = wasm.backend_v3Host(this.__wbg_ptr);
|
|
104
|
+
let v1;
|
|
105
|
+
if (ret[0] !== 0) {
|
|
106
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
107
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
108
|
+
}
|
|
109
|
+
return v1;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
if (Symbol.dispose) Backend.prototype[Symbol.dispose] = Backend.prototype.free;
|
|
113
|
+
|
|
114
|
+
export class BackendBuilder {
|
|
115
|
+
static __wrap(ptr) {
|
|
116
|
+
ptr = ptr >>> 0;
|
|
117
|
+
const obj = Object.create(BackendBuilder.prototype);
|
|
118
|
+
obj.__wbg_ptr = ptr;
|
|
119
|
+
BackendBuilderFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
120
|
+
return obj;
|
|
121
|
+
}
|
|
122
|
+
__destroy_into_raw() {
|
|
123
|
+
const ptr = this.__wbg_ptr;
|
|
124
|
+
this.__wbg_ptr = 0;
|
|
125
|
+
BackendBuilderFinalization.unregister(this);
|
|
126
|
+
return ptr;
|
|
127
|
+
}
|
|
128
|
+
free() {
|
|
129
|
+
const ptr = this.__destroy_into_raw();
|
|
130
|
+
wasm.__wbg_backendbuilder_free(ptr, 0);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* @param {any} callback
|
|
134
|
+
*/
|
|
135
|
+
authCallback(callback) {
|
|
136
|
+
wasm.backendbuilder_authCallback(this.__wbg_ptr, callback);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* @param {AuthHandle} handle
|
|
140
|
+
*/
|
|
141
|
+
authHandle(handle) {
|
|
142
|
+
_assertClass(handle, AuthHandle);
|
|
143
|
+
var ptr0 = handle.__destroy_into_raw();
|
|
144
|
+
wasm.backendbuilder_authHandle(this.__wbg_ptr, ptr0);
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* @returns {Backend}
|
|
148
|
+
*/
|
|
149
|
+
build() {
|
|
150
|
+
const ptr = this.__destroy_into_raw();
|
|
151
|
+
const ret = wasm.backendbuilder_build(ptr);
|
|
152
|
+
if (ret[2]) {
|
|
153
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
154
|
+
}
|
|
155
|
+
return Backend.__wrap(ret[0]);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* @param {XmtpEnv} env
|
|
159
|
+
*/
|
|
160
|
+
constructor(env) {
|
|
161
|
+
const ret = wasm.backendbuilder_new(env);
|
|
162
|
+
this.__wbg_ptr = ret >>> 0;
|
|
163
|
+
BackendBuilderFinalization.register(this, this.__wbg_ptr, this);
|
|
164
|
+
return this;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* @param {string} api_url
|
|
168
|
+
* @returns {BackendBuilder}
|
|
169
|
+
*/
|
|
170
|
+
setApiUrl(api_url) {
|
|
171
|
+
const ptr = this.__destroy_into_raw();
|
|
172
|
+
const ptr0 = passStringToWasm0(api_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
173
|
+
const len0 = WASM_VECTOR_LEN;
|
|
174
|
+
const ret = wasm.backendbuilder_setApiUrl(ptr, ptr0, len0);
|
|
175
|
+
return BackendBuilder.__wrap(ret);
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* @param {string} app_version
|
|
179
|
+
* @returns {BackendBuilder}
|
|
180
|
+
*/
|
|
181
|
+
setAppVersion(app_version) {
|
|
182
|
+
const ptr = this.__destroy_into_raw();
|
|
183
|
+
const ptr0 = passStringToWasm0(app_version, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
184
|
+
const len0 = WASM_VECTOR_LEN;
|
|
185
|
+
const ret = wasm.backendbuilder_setAppVersion(ptr, ptr0, len0);
|
|
186
|
+
return BackendBuilder.__wrap(ret);
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* @param {string} gateway_host
|
|
190
|
+
* @returns {BackendBuilder}
|
|
191
|
+
*/
|
|
192
|
+
setGatewayHost(gateway_host) {
|
|
193
|
+
const ptr = this.__destroy_into_raw();
|
|
194
|
+
const ptr0 = passStringToWasm0(gateway_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
195
|
+
const len0 = WASM_VECTOR_LEN;
|
|
196
|
+
const ret = wasm.backendbuilder_setGatewayHost(ptr, ptr0, len0);
|
|
197
|
+
return BackendBuilder.__wrap(ret);
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* @param {boolean} readonly
|
|
201
|
+
* @returns {BackendBuilder}
|
|
202
|
+
*/
|
|
203
|
+
setReadonly(readonly) {
|
|
204
|
+
const ptr = this.__destroy_into_raw();
|
|
205
|
+
const ret = wasm.backendbuilder_setReadonly(ptr, readonly);
|
|
206
|
+
return BackendBuilder.__wrap(ret);
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* @returns {XmtpEnv}
|
|
210
|
+
*/
|
|
211
|
+
get env() {
|
|
212
|
+
const ret = wasm.__wbg_get_backendbuilder_env(this.__wbg_ptr);
|
|
213
|
+
return ret;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* @returns {boolean | undefined}
|
|
217
|
+
*/
|
|
218
|
+
get readonly() {
|
|
219
|
+
const ret = wasm.__wbg_get_backendbuilder_readonly(this.__wbg_ptr);
|
|
220
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* @param {XmtpEnv} arg0
|
|
224
|
+
*/
|
|
225
|
+
set env(arg0) {
|
|
226
|
+
wasm.__wbg_set_backendbuilder_env(this.__wbg_ptr, arg0);
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* @param {boolean | null} [arg0]
|
|
230
|
+
*/
|
|
231
|
+
set readonly(arg0) {
|
|
232
|
+
wasm.__wbg_set_backendbuilder_readonly(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
if (Symbol.dispose) BackendBuilder.prototype[Symbol.dispose] = BackendBuilder.prototype.free;
|
|
236
|
+
|
|
47
237
|
/**
|
|
48
238
|
* Selection of what elements to include in a backup
|
|
49
239
|
* @enum {0 | 1}
|
|
@@ -334,12 +524,13 @@ export class Client {
|
|
|
334
524
|
}
|
|
335
525
|
/**
|
|
336
526
|
* @param {SignatureRequestHandle} signatureRequest
|
|
527
|
+
* @param {WasmVisibilityConfirmationOptions | null} [visibilityConfirmationOptions]
|
|
337
528
|
* @returns {Promise<void>}
|
|
338
529
|
*/
|
|
339
|
-
registerIdentity(signatureRequest) {
|
|
530
|
+
registerIdentity(signatureRequest, visibilityConfirmationOptions) {
|
|
340
531
|
_assertClass(signatureRequest, SignatureRequestHandle);
|
|
341
532
|
var ptr0 = signatureRequest.__destroy_into_raw();
|
|
342
|
-
const ret = wasm.client_registerIdentity(this.__wbg_ptr, ptr0);
|
|
533
|
+
const ret = wasm.client_registerIdentity(this.__wbg_ptr, ptr0, isLikeNone(visibilityConfirmationOptions) ? 0 : addToExternrefTable0(visibilityConfirmationOptions));
|
|
343
534
|
return ret;
|
|
344
535
|
}
|
|
345
536
|
/**
|
|
@@ -409,6 +600,20 @@ export class Client {
|
|
|
409
600
|
throw takeFromExternrefTable0(ret[0]);
|
|
410
601
|
}
|
|
411
602
|
}
|
|
603
|
+
/**
|
|
604
|
+
* Wait until this client's registration is visible on the network.
|
|
605
|
+
*
|
|
606
|
+
* For V3 clients (no cursor stored) this falls back to checking
|
|
607
|
+
* `isRegistered`. For D14n clients it polls each node directly and
|
|
608
|
+
* returns once a quorum confirms both the identity-update and
|
|
609
|
+
* key-package envelopes are visible.
|
|
610
|
+
* @param {WasmVisibilityConfirmationOptions | null} [options]
|
|
611
|
+
* @returns {Promise<void>}
|
|
612
|
+
*/
|
|
613
|
+
waitForRegistrationVisible(options) {
|
|
614
|
+
const ret = wasm.client_waitForRegistrationVisible(this.__wbg_ptr, isLikeNone(options) ? 0 : addToExternrefTable0(options));
|
|
615
|
+
return ret;
|
|
616
|
+
}
|
|
412
617
|
}
|
|
413
618
|
if (Symbol.dispose) Client.prototype[Symbol.dispose] = Client.prototype.free;
|
|
414
619
|
|
|
@@ -1612,10 +1817,14 @@ export class DeviceSync {
|
|
|
1612
1817
|
}
|
|
1613
1818
|
/**
|
|
1614
1819
|
* Manually trigger a device sync request to sync records from another active device on this account.
|
|
1820
|
+
* @param {ArchiveOptions} options
|
|
1821
|
+
* @param {string} serverUrl
|
|
1615
1822
|
* @returns {Promise<void>}
|
|
1616
1823
|
*/
|
|
1617
|
-
sendSyncRequest() {
|
|
1618
|
-
const
|
|
1824
|
+
sendSyncRequest(options, serverUrl) {
|
|
1825
|
+
const ptr0 = passStringToWasm0(serverUrl, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1826
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1827
|
+
const ret = wasm.devicesync_sendSyncRequest(this.__wbg_ptr, options, ptr0, len0);
|
|
1619
1828
|
return ret;
|
|
1620
1829
|
}
|
|
1621
1830
|
/**
|
|
@@ -1632,7 +1841,7 @@ if (Symbol.dispose) DeviceSync.prototype[Symbol.dispose] = DeviceSync.prototype.
|
|
|
1632
1841
|
/**
|
|
1633
1842
|
* @enum {0 | 1}
|
|
1634
1843
|
*/
|
|
1635
|
-
export const
|
|
1844
|
+
export const DeviceSyncMode = Object.freeze({
|
|
1636
1845
|
Enabled: 0, "0": "Enabled",
|
|
1637
1846
|
Disabled: 1, "1": "Disabled",
|
|
1638
1847
|
});
|
|
@@ -1999,18 +2208,209 @@ export class StreamCloser {
|
|
|
1999
2208
|
if (Symbol.dispose) StreamCloser.prototype[Symbol.dispose] = StreamCloser.prototype.free;
|
|
2000
2209
|
|
|
2001
2210
|
/**
|
|
2002
|
-
*
|
|
2003
|
-
*
|
|
2211
|
+
* Runtime test harness support instantiated in JS.
|
|
2212
|
+
*
|
|
2213
|
+
* The node.js entry script instantiates a `Context` here which is used to
|
|
2214
|
+
* drive test execution.
|
|
2215
|
+
*/
|
|
2216
|
+
export class WasmBindgenTestContext {
|
|
2217
|
+
__destroy_into_raw() {
|
|
2218
|
+
const ptr = this.__wbg_ptr;
|
|
2219
|
+
this.__wbg_ptr = 0;
|
|
2220
|
+
WasmBindgenTestContextFinalization.unregister(this);
|
|
2221
|
+
return ptr;
|
|
2222
|
+
}
|
|
2223
|
+
free() {
|
|
2224
|
+
const ptr = this.__destroy_into_raw();
|
|
2225
|
+
wasm.__wbg_wasmbindgentestcontext_free(ptr, 0);
|
|
2226
|
+
}
|
|
2227
|
+
/**
|
|
2228
|
+
* Handle filter argument.
|
|
2229
|
+
* @param {number} filtered
|
|
2230
|
+
*/
|
|
2231
|
+
filtered_count(filtered) {
|
|
2232
|
+
wasm.wasmbindgentestcontext_filtered_count(this.__wbg_ptr, filtered);
|
|
2233
|
+
}
|
|
2234
|
+
/**
|
|
2235
|
+
* Handle `--include-ignored` flag.
|
|
2236
|
+
* @param {boolean} include_ignored
|
|
2237
|
+
*/
|
|
2238
|
+
include_ignored(include_ignored) {
|
|
2239
|
+
wasm.wasmbindgentestcontext_include_ignored(this.__wbg_ptr, include_ignored);
|
|
2240
|
+
}
|
|
2241
|
+
/**
|
|
2242
|
+
* Creates a new context ready to run tests.
|
|
2243
|
+
*
|
|
2244
|
+
* A `Context` is the main structure through which test execution is
|
|
2245
|
+
* coordinated, and this will collect output and results for all executed
|
|
2246
|
+
* tests.
|
|
2247
|
+
* @param {boolean} is_bench
|
|
2248
|
+
*/
|
|
2249
|
+
constructor(is_bench) {
|
|
2250
|
+
const ret = wasm.wasmbindgentestcontext_new(is_bench);
|
|
2251
|
+
this.__wbg_ptr = ret >>> 0;
|
|
2252
|
+
WasmBindgenTestContextFinalization.register(this, this.__wbg_ptr, this);
|
|
2253
|
+
return this;
|
|
2254
|
+
}
|
|
2255
|
+
/**
|
|
2256
|
+
* Executes a list of tests, returning a promise representing their
|
|
2257
|
+
* eventual completion.
|
|
2258
|
+
*
|
|
2259
|
+
* This is the main entry point for executing tests. All the tests passed
|
|
2260
|
+
* in are the JS `Function` object that was plucked off the
|
|
2261
|
+
* `WebAssembly.Instance` exports list.
|
|
2262
|
+
*
|
|
2263
|
+
* The promise returned resolves to either `true` if all tests passed or
|
|
2264
|
+
* `false` if at least one test failed.
|
|
2265
|
+
* @param {any[]} tests
|
|
2266
|
+
* @returns {Promise<any>}
|
|
2267
|
+
*/
|
|
2268
|
+
run(tests) {
|
|
2269
|
+
const ptr0 = passArrayJsValueToWasm0(tests, wasm.__wbindgen_malloc);
|
|
2270
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2271
|
+
const ret = wasm.wasmbindgentestcontext_run(this.__wbg_ptr, ptr0, len0);
|
|
2272
|
+
return ret;
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
2275
|
+
if (Symbol.dispose) WasmBindgenTestContext.prototype[Symbol.dispose] = WasmBindgenTestContext.prototype.free;
|
|
2276
|
+
|
|
2277
|
+
/**
|
|
2278
|
+
* @enum {0 | 1 | 2 | 3 | 4 | 5 | 6}
|
|
2279
|
+
*/
|
|
2280
|
+
export const XmtpEnv = Object.freeze({
|
|
2281
|
+
Local: 0, "0": "Local",
|
|
2282
|
+
Dev: 1, "1": "Dev",
|
|
2283
|
+
Production: 2, "2": "Production",
|
|
2284
|
+
TestnetStaging: 3, "3": "TestnetStaging",
|
|
2285
|
+
TestnetDev: 4, "4": "TestnetDev",
|
|
2286
|
+
Testnet: 5, "5": "Testnet",
|
|
2287
|
+
Mainnet: 6, "6": "Mainnet",
|
|
2288
|
+
});
|
|
2289
|
+
|
|
2290
|
+
/**
|
|
2291
|
+
* Used to read benchmark data, and then the runner stores it on the local disk.
|
|
2292
|
+
* @returns {Uint8Array | undefined}
|
|
2293
|
+
*/
|
|
2294
|
+
export function __wbgbench_dump() {
|
|
2295
|
+
const ret = wasm.__wbgbench_dump();
|
|
2296
|
+
let v1;
|
|
2297
|
+
if (ret[0] !== 0) {
|
|
2298
|
+
v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2299
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2300
|
+
}
|
|
2301
|
+
return v1;
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
/**
|
|
2305
|
+
* Used to write previous benchmark data before the benchmark, for later comparison.
|
|
2306
|
+
* @param {Uint8Array} baseline
|
|
2307
|
+
*/
|
|
2308
|
+
export function __wbgbench_import(baseline) {
|
|
2309
|
+
const ptr0 = passArray8ToWasm0(baseline, wasm.__wbindgen_malloc);
|
|
2310
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2311
|
+
wasm.__wbgbench_import(ptr0, len0);
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
/**
|
|
2315
|
+
* Handler for `console.debug` invocations. See above.
|
|
2316
|
+
* @param {Array<any>} args
|
|
2317
|
+
*/
|
|
2318
|
+
export function __wbgtest_console_debug(args) {
|
|
2319
|
+
wasm.__wbgtest_console_debug(args);
|
|
2320
|
+
}
|
|
2321
|
+
|
|
2322
|
+
/**
|
|
2323
|
+
* Handler for `console.error` invocations. See above.
|
|
2324
|
+
* @param {Array<any>} args
|
|
2325
|
+
*/
|
|
2326
|
+
export function __wbgtest_console_error(args) {
|
|
2327
|
+
wasm.__wbgtest_console_error(args);
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
/**
|
|
2331
|
+
* Handler for `console.info` invocations. See above.
|
|
2332
|
+
* @param {Array<any>} args
|
|
2333
|
+
*/
|
|
2334
|
+
export function __wbgtest_console_info(args) {
|
|
2335
|
+
wasm.__wbgtest_console_info(args);
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
/**
|
|
2339
|
+
* Handler for `console.log` invocations.
|
|
2340
|
+
*
|
|
2341
|
+
* If a test is currently running it takes the `args` array and stringifies
|
|
2342
|
+
* it and appends it to the current output of the test. Otherwise it passes
|
|
2343
|
+
* the arguments to the original `console.log` function, psased as
|
|
2344
|
+
* `original`.
|
|
2345
|
+
* @param {Array<any>} args
|
|
2346
|
+
*/
|
|
2347
|
+
export function __wbgtest_console_log(args) {
|
|
2348
|
+
wasm.__wbgtest_console_log(args);
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2351
|
+
/**
|
|
2352
|
+
* Handler for `console.warn` invocations. See above.
|
|
2353
|
+
* @param {Array<any>} args
|
|
2354
|
+
*/
|
|
2355
|
+
export function __wbgtest_console_warn(args) {
|
|
2356
|
+
wasm.__wbgtest_console_warn(args);
|
|
2357
|
+
}
|
|
2358
|
+
|
|
2359
|
+
/**
|
|
2360
|
+
* @returns {Uint8Array | undefined}
|
|
2361
|
+
*/
|
|
2362
|
+
export function __wbgtest_cov_dump() {
|
|
2363
|
+
const ret = wasm.__wbgtest_cov_dump();
|
|
2364
|
+
let v1;
|
|
2365
|
+
if (ret[0] !== 0) {
|
|
2366
|
+
v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
2367
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2368
|
+
}
|
|
2369
|
+
return v1;
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
/**
|
|
2373
|
+
* Path to use for coverage data.
|
|
2374
|
+
* @param {string | null | undefined} env
|
|
2375
|
+
* @param {number} pid
|
|
2376
|
+
* @param {string} temp_dir
|
|
2377
|
+
* @param {bigint} module_signature
|
|
2378
|
+
* @returns {string}
|
|
2379
|
+
*/
|
|
2380
|
+
export function __wbgtest_coverage_path(env, pid, temp_dir, module_signature) {
|
|
2381
|
+
let deferred3_0;
|
|
2382
|
+
let deferred3_1;
|
|
2383
|
+
try {
|
|
2384
|
+
var ptr0 = isLikeNone(env) ? 0 : passStringToWasm0(env, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2385
|
+
var len0 = WASM_VECTOR_LEN;
|
|
2386
|
+
const ptr1 = passStringToWasm0(temp_dir, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2387
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2388
|
+
const ret = wasm.__wbgtest_coverage_path(ptr0, len0, pid, ptr1, len1, module_signature);
|
|
2389
|
+
deferred3_0 = ret[0];
|
|
2390
|
+
deferred3_1 = ret[1];
|
|
2391
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
2392
|
+
} finally {
|
|
2393
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
2394
|
+
}
|
|
2395
|
+
}
|
|
2396
|
+
|
|
2397
|
+
/**
|
|
2398
|
+
* @returns {bigint | undefined}
|
|
2399
|
+
*/
|
|
2400
|
+
export function __wbgtest_module_signature() {
|
|
2401
|
+
const ret = wasm.__wbgtest_module_signature();
|
|
2402
|
+
return ret[0] === 0 ? undefined : BigInt.asUintN(64, ret[1]);
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
/**
|
|
2406
|
+
* @param {Backend} backend
|
|
2004
2407
|
* @param {SignatureRequestHandle} signatureRequest
|
|
2005
2408
|
* @returns {Promise<void>}
|
|
2006
2409
|
*/
|
|
2007
|
-
export function applySignatureRequest(
|
|
2008
|
-
|
|
2009
|
-
const len0 = WASM_VECTOR_LEN;
|
|
2010
|
-
var ptr1 = isLikeNone(gatewayHost) ? 0 : passStringToWasm0(gatewayHost, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2011
|
-
var len1 = WASM_VECTOR_LEN;
|
|
2410
|
+
export function applySignatureRequest(backend, signatureRequest) {
|
|
2411
|
+
_assertClass(backend, Backend);
|
|
2012
2412
|
_assertClass(signatureRequest, SignatureRequestHandle);
|
|
2013
|
-
const ret = wasm.applySignatureRequest(
|
|
2413
|
+
const ret = wasm.applySignatureRequest(backend.__wbg_ptr, signatureRequest.__wbg_ptr);
|
|
2014
2414
|
return ret;
|
|
2015
2415
|
}
|
|
2016
2416
|
|
|
@@ -2132,8 +2532,7 @@ export function contentTypeWalletSendCalls() {
|
|
|
2132
2532
|
* @param {Identifier} accountIdentifier
|
|
2133
2533
|
* @param {string | null} [dbPath]
|
|
2134
2534
|
* @param {Uint8Array | null} [encryptionKey]
|
|
2135
|
-
* @param {
|
|
2136
|
-
* @param {DeviceSyncWorkerMode | null} [deviceSyncWorkerMode]
|
|
2535
|
+
* @param {DeviceSyncMode | null} [deviceSyncMode]
|
|
2137
2536
|
* @param {LogOptions | null} [logOptions]
|
|
2138
2537
|
* @param {boolean | null} [allowOffline]
|
|
2139
2538
|
* @param {string | null} [appVersion]
|
|
@@ -2144,25 +2543,49 @@ export function contentTypeWalletSendCalls() {
|
|
|
2144
2543
|
* @param {ClientMode | null} [clientMode]
|
|
2145
2544
|
* @returns {Promise<Client>}
|
|
2146
2545
|
*/
|
|
2147
|
-
export function createClient(host, inboxId, accountIdentifier, dbPath, encryptionKey,
|
|
2546
|
+
export function createClient(host, inboxId, accountIdentifier, dbPath, encryptionKey, deviceSyncMode, logOptions, allowOffline, appVersion, gatewayHost, nonce, authCallback, authHandle, clientMode) {
|
|
2148
2547
|
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2149
2548
|
const len0 = WASM_VECTOR_LEN;
|
|
2150
2549
|
const ptr1 = passStringToWasm0(inboxId, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2151
2550
|
const len1 = WASM_VECTOR_LEN;
|
|
2152
2551
|
var ptr2 = isLikeNone(dbPath) ? 0 : passStringToWasm0(dbPath, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2153
2552
|
var len2 = WASM_VECTOR_LEN;
|
|
2154
|
-
var ptr3 = isLikeNone(
|
|
2553
|
+
var ptr3 = isLikeNone(appVersion) ? 0 : passStringToWasm0(appVersion, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2155
2554
|
var len3 = WASM_VECTOR_LEN;
|
|
2156
|
-
var ptr4 = isLikeNone(
|
|
2555
|
+
var ptr4 = isLikeNone(gatewayHost) ? 0 : passStringToWasm0(gatewayHost, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2157
2556
|
var len4 = WASM_VECTOR_LEN;
|
|
2158
|
-
|
|
2159
|
-
var len5 = WASM_VECTOR_LEN;
|
|
2160
|
-
let ptr6 = 0;
|
|
2557
|
+
let ptr5 = 0;
|
|
2161
2558
|
if (!isLikeNone(authHandle)) {
|
|
2162
2559
|
_assertClass(authHandle, AuthHandle);
|
|
2163
|
-
|
|
2560
|
+
ptr5 = authHandle.__destroy_into_raw();
|
|
2164
2561
|
}
|
|
2165
|
-
const ret = wasm.createClient(ptr0, len0, ptr1, len1, accountIdentifier, ptr2, len2, isLikeNone(encryptionKey) ? 0 : addToExternrefTable0(encryptionKey),
|
|
2562
|
+
const ret = wasm.createClient(ptr0, len0, ptr1, len1, accountIdentifier, ptr2, len2, isLikeNone(encryptionKey) ? 0 : addToExternrefTable0(encryptionKey), isLikeNone(deviceSyncMode) ? 2 : deviceSyncMode, isLikeNone(logOptions) ? 0 : addToExternrefTable0(logOptions), isLikeNone(allowOffline) ? 0xFFFFFF : allowOffline ? 1 : 0, ptr3, len3, ptr4, len4, !isLikeNone(nonce), isLikeNone(nonce) ? BigInt(0) : nonce, isLikeNone(authCallback) ? 0 : addToExternrefTable0(authCallback), ptr5, isLikeNone(clientMode) ? 2 : clientMode);
|
|
2563
|
+
return ret;
|
|
2564
|
+
}
|
|
2565
|
+
|
|
2566
|
+
/**
|
|
2567
|
+
* Create a client from a pre-built Backend.
|
|
2568
|
+
*
|
|
2569
|
+
* The Backend encapsulates all API configuration (env, hosts, auth, TLS).
|
|
2570
|
+
* This function only needs identity and database configuration.
|
|
2571
|
+
* @param {Backend} backend
|
|
2572
|
+
* @param {string} inboxId
|
|
2573
|
+
* @param {Identifier} accountIdentifier
|
|
2574
|
+
* @param {string | null} [dbPath]
|
|
2575
|
+
* @param {Uint8Array | null} [encryptionKey]
|
|
2576
|
+
* @param {DeviceSyncMode | null} [deviceSyncMode]
|
|
2577
|
+
* @param {LogOptions | null} [logOptions]
|
|
2578
|
+
* @param {boolean | null} [allowOffline]
|
|
2579
|
+
* @param {bigint | null} [nonce]
|
|
2580
|
+
* @returns {Promise<Client>}
|
|
2581
|
+
*/
|
|
2582
|
+
export function createClientWithBackend(backend, inboxId, accountIdentifier, dbPath, encryptionKey, deviceSyncMode, logOptions, allowOffline, nonce) {
|
|
2583
|
+
_assertClass(backend, Backend);
|
|
2584
|
+
const ptr0 = passStringToWasm0(inboxId, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2585
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2586
|
+
var ptr1 = isLikeNone(dbPath) ? 0 : passStringToWasm0(dbPath, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2587
|
+
var len1 = WASM_VECTOR_LEN;
|
|
2588
|
+
const ret = wasm.createClientWithBackend(backend.__wbg_ptr, ptr0, len0, accountIdentifier, ptr1, len1, isLikeNone(encryptionKey) ? 0 : addToExternrefTable0(encryptionKey), isLikeNone(deviceSyncMode) ? 2 : deviceSyncMode, isLikeNone(logOptions) ? 0 : addToExternrefTable0(logOptions), isLikeNone(allowOffline) ? 0xFFFFFF : allowOffline ? 1 : 0, !isLikeNone(nonce), isLikeNone(nonce) ? BigInt(0) : nonce);
|
|
2166
2589
|
return ret;
|
|
2167
2590
|
}
|
|
2168
2591
|
|
|
@@ -2356,35 +2779,26 @@ export function generateInboxId(accountIdentifier, nonce) {
|
|
|
2356
2779
|
}
|
|
2357
2780
|
|
|
2358
2781
|
/**
|
|
2359
|
-
* @param {
|
|
2360
|
-
* @param {string | null | undefined} gatewayHost
|
|
2361
|
-
* @param {boolean} isSecure
|
|
2782
|
+
* @param {Backend} backend
|
|
2362
2783
|
* @param {Identifier} accountIdentifier
|
|
2363
2784
|
* @returns {Promise<string | undefined>}
|
|
2364
2785
|
*/
|
|
2365
|
-
export function getInboxIdForIdentifier(
|
|
2366
|
-
|
|
2367
|
-
const
|
|
2368
|
-
var ptr1 = isLikeNone(gatewayHost) ? 0 : passStringToWasm0(gatewayHost, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2369
|
-
var len1 = WASM_VECTOR_LEN;
|
|
2370
|
-
const ret = wasm.getInboxIdForIdentifier(ptr0, len0, ptr1, len1, isSecure, accountIdentifier);
|
|
2786
|
+
export function getInboxIdForIdentifier(backend, accountIdentifier) {
|
|
2787
|
+
_assertClass(backend, Backend);
|
|
2788
|
+
const ret = wasm.getInboxIdForIdentifier(backend.__wbg_ptr, accountIdentifier);
|
|
2371
2789
|
return ret;
|
|
2372
2790
|
}
|
|
2373
2791
|
|
|
2374
2792
|
/**
|
|
2375
|
-
* @param {
|
|
2376
|
-
* @param {string | null | undefined} gatewayHost
|
|
2793
|
+
* @param {Backend} backend
|
|
2377
2794
|
* @param {string[]} inboxIds
|
|
2378
2795
|
* @returns {Promise<InboxState[]>}
|
|
2379
2796
|
*/
|
|
2380
|
-
export function inboxStateFromInboxIds(
|
|
2381
|
-
|
|
2797
|
+
export function inboxStateFromInboxIds(backend, inboxIds) {
|
|
2798
|
+
_assertClass(backend, Backend);
|
|
2799
|
+
const ptr0 = passArrayJsValueToWasm0(inboxIds, wasm.__wbindgen_malloc);
|
|
2382
2800
|
const len0 = WASM_VECTOR_LEN;
|
|
2383
|
-
|
|
2384
|
-
var len1 = WASM_VECTOR_LEN;
|
|
2385
|
-
const ptr2 = passArrayJsValueToWasm0(inboxIds, wasm.__wbindgen_malloc);
|
|
2386
|
-
const len2 = WASM_VECTOR_LEN;
|
|
2387
|
-
const ret = wasm.inboxStateFromInboxIds(ptr0, len0, ptr1, len1, ptr2, len2);
|
|
2801
|
+
const ret = wasm.inboxStateFromInboxIds(backend.__wbg_ptr, ptr0, len0);
|
|
2388
2802
|
return ret;
|
|
2389
2803
|
}
|
|
2390
2804
|
|
|
@@ -2510,23 +2924,19 @@ export function opfsPoolCapacity() {
|
|
|
2510
2924
|
}
|
|
2511
2925
|
|
|
2512
2926
|
/**
|
|
2513
|
-
* @param {
|
|
2514
|
-
* @param {string | null | undefined} gatewayHost
|
|
2927
|
+
* @param {Backend} backend
|
|
2515
2928
|
* @param {Identifier} recoveryIdentifier
|
|
2516
2929
|
* @param {string} inboxId
|
|
2517
2930
|
* @param {Uint8Array[]} installationIds
|
|
2518
2931
|
* @returns {SignatureRequestHandle}
|
|
2519
2932
|
*/
|
|
2520
|
-
export function revokeInstallationsSignatureRequest(
|
|
2521
|
-
|
|
2933
|
+
export function revokeInstallationsSignatureRequest(backend, recoveryIdentifier, inboxId, installationIds) {
|
|
2934
|
+
_assertClass(backend, Backend);
|
|
2935
|
+
const ptr0 = passStringToWasm0(inboxId, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2522
2936
|
const len0 = WASM_VECTOR_LEN;
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
const
|
|
2526
|
-
const len2 = WASM_VECTOR_LEN;
|
|
2527
|
-
const ptr3 = passArrayJsValueToWasm0(installationIds, wasm.__wbindgen_malloc);
|
|
2528
|
-
const len3 = WASM_VECTOR_LEN;
|
|
2529
|
-
const ret = wasm.revokeInstallationsSignatureRequest(ptr0, len0, ptr1, len1, recoveryIdentifier, ptr2, len2, ptr3, len3);
|
|
2937
|
+
const ptr1 = passArrayJsValueToWasm0(installationIds, wasm.__wbindgen_malloc);
|
|
2938
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2939
|
+
const ret = wasm.revokeInstallationsSignatureRequest(backend.__wbg_ptr, recoveryIdentifier, ptr0, len0, ptr1, len1);
|
|
2530
2940
|
if (ret[2]) {
|
|
2531
2941
|
throw takeFromExternrefTable0(ret[1]);
|
|
2532
2942
|
}
|
|
@@ -2561,79 +2971,96 @@ export function verifySignedWithPublicKey(signatureText, signatureBytes, publicK
|
|
|
2561
2971
|
function __wbg_get_imports() {
|
|
2562
2972
|
const import0 = {
|
|
2563
2973
|
__proto__: null,
|
|
2564
|
-
|
|
2974
|
+
__wbg_Deno_d54bf9e1c1375dc6: function(arg0) {
|
|
2975
|
+
const ret = arg0.Deno;
|
|
2976
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2977
|
+
},
|
|
2978
|
+
__wbg_Error_83742b46f01ce22d: function(arg0, arg1) {
|
|
2565
2979
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
2566
2980
|
return ret;
|
|
2567
2981
|
},
|
|
2568
|
-
|
|
2982
|
+
__wbg_Number_a5a435bd7bbec835: function(arg0) {
|
|
2569
2983
|
const ret = Number(arg0);
|
|
2570
2984
|
return ret;
|
|
2571
2985
|
},
|
|
2572
|
-
|
|
2986
|
+
__wbg_String_8564e559799eccda: function(arg0, arg1) {
|
|
2987
|
+
const ret = String(arg1);
|
|
2988
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2989
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2990
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2991
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2992
|
+
},
|
|
2993
|
+
__wbg_String_e7b531075cd5ce86: function(arg0, arg1) {
|
|
2573
2994
|
const ret = String(arg1);
|
|
2574
2995
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2575
2996
|
const len1 = WASM_VECTOR_LEN;
|
|
2576
2997
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2577
2998
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2578
2999
|
},
|
|
2579
|
-
|
|
3000
|
+
__wbg___wbg_test_output_writeln_34f10cba65c3d2e9: function(arg0) {
|
|
3001
|
+
__wbg_test_output_writeln(arg0);
|
|
3002
|
+
},
|
|
3003
|
+
__wbg___wbgtest_og_console_log_0eaefd0ba66f70be: function(arg0, arg1) {
|
|
3004
|
+
__wbgtest_og_console_log(getStringFromWasm0(arg0, arg1));
|
|
3005
|
+
},
|
|
3006
|
+
__wbg___wbindgen_bigint_get_as_i64_447a76b5c6ef7bda: function(arg0, arg1) {
|
|
2580
3007
|
const v = arg1;
|
|
2581
3008
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
2582
3009
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
2583
3010
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
2584
3011
|
},
|
|
2585
|
-
|
|
3012
|
+
__wbg___wbindgen_boolean_get_c0f3f60bac5a78d1: function(arg0) {
|
|
2586
3013
|
const v = arg0;
|
|
2587
3014
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
2588
3015
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
2589
3016
|
},
|
|
2590
|
-
|
|
3017
|
+
__wbg___wbindgen_debug_string_5398f5bb970e0daa: function(arg0, arg1) {
|
|
2591
3018
|
const ret = debugString(arg1);
|
|
2592
3019
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2593
3020
|
const len1 = WASM_VECTOR_LEN;
|
|
2594
3021
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2595
3022
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2596
3023
|
},
|
|
2597
|
-
|
|
3024
|
+
__wbg___wbindgen_in_41dbb8413020e076: function(arg0, arg1) {
|
|
2598
3025
|
const ret = arg0 in arg1;
|
|
2599
3026
|
return ret;
|
|
2600
3027
|
},
|
|
2601
|
-
|
|
3028
|
+
__wbg___wbindgen_is_bigint_e2141d4f045b7eda: function(arg0) {
|
|
2602
3029
|
const ret = typeof(arg0) === 'bigint';
|
|
2603
3030
|
return ret;
|
|
2604
3031
|
},
|
|
2605
|
-
|
|
3032
|
+
__wbg___wbindgen_is_function_3c846841762788c1: function(arg0) {
|
|
2606
3033
|
const ret = typeof(arg0) === 'function';
|
|
2607
3034
|
return ret;
|
|
2608
3035
|
},
|
|
2609
|
-
|
|
3036
|
+
__wbg___wbindgen_is_object_781bc9f159099513: function(arg0) {
|
|
2610
3037
|
const val = arg0;
|
|
2611
3038
|
const ret = typeof(val) === 'object' && val !== null;
|
|
2612
3039
|
return ret;
|
|
2613
3040
|
},
|
|
2614
|
-
|
|
3041
|
+
__wbg___wbindgen_is_string_7ef6b97b02428fae: function(arg0) {
|
|
2615
3042
|
const ret = typeof(arg0) === 'string';
|
|
2616
3043
|
return ret;
|
|
2617
3044
|
},
|
|
2618
|
-
|
|
3045
|
+
__wbg___wbindgen_is_undefined_52709e72fb9f179c: function(arg0) {
|
|
2619
3046
|
const ret = arg0 === undefined;
|
|
2620
3047
|
return ret;
|
|
2621
3048
|
},
|
|
2622
|
-
|
|
3049
|
+
__wbg___wbindgen_jsval_eq_ee31bfad3e536463: function(arg0, arg1) {
|
|
2623
3050
|
const ret = arg0 === arg1;
|
|
2624
3051
|
return ret;
|
|
2625
3052
|
},
|
|
2626
|
-
|
|
3053
|
+
__wbg___wbindgen_jsval_loose_eq_5bcc3bed3c69e72b: function(arg0, arg1) {
|
|
2627
3054
|
const ret = arg0 == arg1;
|
|
2628
3055
|
return ret;
|
|
2629
3056
|
},
|
|
2630
|
-
|
|
3057
|
+
__wbg___wbindgen_number_get_34bb9d9dcfa21373: function(arg0, arg1) {
|
|
2631
3058
|
const obj = arg1;
|
|
2632
3059
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
2633
3060
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
2634
3061
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
2635
3062
|
},
|
|
2636
|
-
|
|
3063
|
+
__wbg___wbindgen_string_get_395e606bd0ee4427: function(arg0, arg1) {
|
|
2637
3064
|
const obj = arg1;
|
|
2638
3065
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
2639
3066
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -2641,80 +3068,84 @@ function __wbg_get_imports() {
|
|
|
2641
3068
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2642
3069
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2643
3070
|
},
|
|
2644
|
-
|
|
3071
|
+
__wbg___wbindgen_throw_6ddd609b62940d55: function(arg0, arg1) {
|
|
2645
3072
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
2646
3073
|
},
|
|
2647
|
-
|
|
3074
|
+
__wbg___wbindgen_try_into_number_aab92f8d9dc246ab: function(arg0) {
|
|
2648
3075
|
let result;
|
|
2649
3076
|
try { result = +arg0 } catch (e) { result = e }
|
|
2650
3077
|
const ret = result;
|
|
2651
3078
|
return ret;
|
|
2652
3079
|
},
|
|
2653
|
-
|
|
3080
|
+
__wbg__wbg_cb_unref_6b5b6b8576d35cb1: function(arg0) {
|
|
2654
3081
|
arg0._wbg_cb_unref();
|
|
2655
3082
|
},
|
|
2656
|
-
|
|
3083
|
+
__wbg_abort_5ef96933660780b7: function(arg0) {
|
|
2657
3084
|
arg0.abort();
|
|
2658
3085
|
},
|
|
2659
|
-
|
|
3086
|
+
__wbg_abort_6479c2d794ebf2ee: function(arg0, arg1) {
|
|
2660
3087
|
arg0.abort(arg1);
|
|
2661
3088
|
},
|
|
2662
|
-
|
|
3089
|
+
__wbg_append_608dfb635ee8998f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2663
3090
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
2664
3091
|
}, arguments); },
|
|
2665
|
-
|
|
3092
|
+
__wbg_arrayBuffer_eb8e9ca620af2a19: function() { return handleError(function (arg0) {
|
|
2666
3093
|
const ret = arg0.arrayBuffer();
|
|
2667
3094
|
return ret;
|
|
2668
3095
|
}, arguments); },
|
|
2669
|
-
|
|
3096
|
+
__wbg_body_ac1dad652946e6da: function(arg0) {
|
|
2670
3097
|
const ret = arg0.body;
|
|
2671
3098
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2672
3099
|
},
|
|
2673
|
-
|
|
3100
|
+
__wbg_buffer_60b8043cd926067d: function(arg0) {
|
|
2674
3101
|
const ret = arg0.buffer;
|
|
2675
3102
|
return ret;
|
|
2676
3103
|
},
|
|
2677
|
-
|
|
3104
|
+
__wbg_byobRequest_6342e5f2b232c0f9: function(arg0) {
|
|
2678
3105
|
const ret = arg0.byobRequest;
|
|
2679
3106
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2680
3107
|
},
|
|
2681
|
-
|
|
3108
|
+
__wbg_byteLength_607b856aa6c5a508: function(arg0) {
|
|
2682
3109
|
const ret = arg0.byteLength;
|
|
2683
3110
|
return ret;
|
|
2684
3111
|
},
|
|
2685
|
-
|
|
3112
|
+
__wbg_byteOffset_b26b63681c83856c: function(arg0) {
|
|
2686
3113
|
const ret = arg0.byteOffset;
|
|
2687
3114
|
return ret;
|
|
2688
3115
|
},
|
|
2689
|
-
|
|
2690
|
-
const ret = arg0.call(arg1);
|
|
3116
|
+
__wbg_call_2d781c1f4d5c0ef8: function() { return handleError(function (arg0, arg1, arg2) {
|
|
3117
|
+
const ret = arg0.call(arg1, arg2);
|
|
2691
3118
|
return ret;
|
|
2692
3119
|
}, arguments); },
|
|
2693
|
-
|
|
2694
|
-
const ret = arg0.call(arg1
|
|
3120
|
+
__wbg_call_e133b57c9155d22c: function() { return handleError(function (arg0, arg1) {
|
|
3121
|
+
const ret = arg0.call(arg1);
|
|
2695
3122
|
return ret;
|
|
2696
3123
|
}, arguments); },
|
|
2697
|
-
|
|
3124
|
+
__wbg_cancel_79b3bea07a1028e7: function(arg0) {
|
|
2698
3125
|
const ret = arg0.cancel();
|
|
2699
3126
|
return ret;
|
|
2700
3127
|
},
|
|
2701
|
-
|
|
3128
|
+
__wbg_catch_d7ed0375ab6532a5: function(arg0, arg1) {
|
|
2702
3129
|
const ret = arg0.catch(arg1);
|
|
2703
3130
|
return ret;
|
|
2704
3131
|
},
|
|
2705
|
-
|
|
3132
|
+
__wbg_clearInterval_16e8cbbce92291d0: function(arg0) {
|
|
2706
3133
|
const ret = clearInterval(arg0);
|
|
2707
3134
|
return ret;
|
|
2708
3135
|
},
|
|
2709
|
-
|
|
3136
|
+
__wbg_clearTimeout_113b1cde814ec762: function(arg0) {
|
|
2710
3137
|
const ret = clearTimeout(arg0);
|
|
2711
3138
|
return ret;
|
|
2712
3139
|
},
|
|
2713
|
-
|
|
3140
|
+
__wbg_clearTimeout_1d1b13f4034f30ca: function(arg0) {
|
|
2714
3141
|
const ret = clearTimeout(arg0);
|
|
2715
3142
|
return ret;
|
|
2716
3143
|
},
|
|
2717
|
-
|
|
3144
|
+
__wbg_clearTimeout_2256f1e7b94ef517: function(arg0) {
|
|
3145
|
+
const ret = clearTimeout(arg0);
|
|
3146
|
+
return ret;
|
|
3147
|
+
},
|
|
3148
|
+
__wbg_clearTimeout_6b8d9a38b9263d65: function(arg0) {
|
|
2718
3149
|
const ret = clearTimeout(arg0);
|
|
2719
3150
|
return ret;
|
|
2720
3151
|
},
|
|
@@ -2722,19 +3153,23 @@ function __wbg_get_imports() {
|
|
|
2722
3153
|
const ret = Client.__wrap(arg0);
|
|
2723
3154
|
return ret;
|
|
2724
3155
|
},
|
|
2725
|
-
|
|
3156
|
+
__wbg_close_690d36108c557337: function() { return handleError(function (arg0) {
|
|
2726
3157
|
arg0.close();
|
|
2727
3158
|
}, arguments); },
|
|
2728
|
-
|
|
2729
|
-
arg0.close();
|
|
2730
|
-
},
|
|
2731
|
-
__wbg_close_a79afee31de55b36: function() { return handleError(function (arg0) {
|
|
3159
|
+
__wbg_close_737b4b1fbc658540: function() { return handleError(function (arg0) {
|
|
2732
3160
|
arg0.close();
|
|
2733
3161
|
}, arguments); },
|
|
2734
|
-
|
|
3162
|
+
__wbg_close_bea86eef0f71dd9b: function(arg0) {
|
|
3163
|
+
arg0.close();
|
|
3164
|
+
},
|
|
3165
|
+
__wbg_code_bc4dde4d67926010: function(arg0) {
|
|
2735
3166
|
const ret = arg0.code;
|
|
2736
3167
|
return ret;
|
|
2737
3168
|
},
|
|
3169
|
+
__wbg_constructor_a0e17f62c53312ec: function(arg0) {
|
|
3170
|
+
const ret = arg0.constructor;
|
|
3171
|
+
return ret;
|
|
3172
|
+
},
|
|
2738
3173
|
__wbg_conversation_new: function(arg0) {
|
|
2739
3174
|
const ret = Conversation.__wrap(arg0);
|
|
2740
3175
|
return ret;
|
|
@@ -2743,40 +3178,56 @@ function __wbg_get_imports() {
|
|
|
2743
3178
|
const ret = ConversationListItem.__wrap(arg0);
|
|
2744
3179
|
return ret;
|
|
2745
3180
|
},
|
|
2746
|
-
|
|
3181
|
+
__wbg_createSyncAccessHandle_b7143219a305a2ce: function(arg0) {
|
|
2747
3182
|
const ret = arg0.createSyncAccessHandle();
|
|
2748
3183
|
return ret;
|
|
2749
3184
|
},
|
|
2750
|
-
|
|
3185
|
+
__wbg_create_e9e35ffcb49d7084: function(arg0) {
|
|
2751
3186
|
const ret = Object.create(arg0);
|
|
2752
3187
|
return ret;
|
|
2753
3188
|
},
|
|
2754
|
-
|
|
3189
|
+
__wbg_crypto_38df2bab126b63dc: function(arg0) {
|
|
2755
3190
|
const ret = arg0.crypto;
|
|
2756
3191
|
return ret;
|
|
2757
3192
|
},
|
|
2758
|
-
|
|
3193
|
+
__wbg_debug_271c16e6de0bc226: function(arg0, arg1, arg2, arg3) {
|
|
2759
3194
|
console.debug(arg0, arg1, arg2, arg3);
|
|
2760
3195
|
},
|
|
2761
|
-
|
|
3196
|
+
__wbg_debug_4b9b1a2d5972be57: function(arg0) {
|
|
2762
3197
|
console.debug(arg0);
|
|
2763
3198
|
},
|
|
2764
|
-
|
|
3199
|
+
__wbg_done_08ce71ee07e3bd17: function(arg0) {
|
|
2765
3200
|
const ret = arg0.done;
|
|
2766
3201
|
return ret;
|
|
2767
3202
|
},
|
|
2768
|
-
|
|
3203
|
+
__wbg_enqueue_ec3552838b4b7fbf: function() { return handleError(function (arg0, arg1) {
|
|
2769
3204
|
arg0.enqueue(arg1);
|
|
2770
3205
|
}, arguments); },
|
|
2771
|
-
|
|
3206
|
+
__wbg_entries_310f5926c32b5bcb: function(arg0) {
|
|
3207
|
+
const ret = arg0.entries();
|
|
3208
|
+
return ret;
|
|
3209
|
+
},
|
|
3210
|
+
__wbg_entries_5b8fe91cea59610e: function(arg0) {
|
|
2772
3211
|
const ret = arg0.entries();
|
|
2773
3212
|
return ret;
|
|
2774
3213
|
},
|
|
2775
|
-
|
|
3214
|
+
__wbg_entries_e8a20ff8c9757101: function(arg0) {
|
|
2776
3215
|
const ret = Object.entries(arg0);
|
|
2777
3216
|
return ret;
|
|
2778
3217
|
},
|
|
2779
|
-
|
|
3218
|
+
__wbg_error_1eece6b0039034ce: function(arg0, arg1, arg2, arg3) {
|
|
3219
|
+
console.error(arg0, arg1, arg2, arg3);
|
|
3220
|
+
},
|
|
3221
|
+
__wbg_error_7aabf7ad5c35cfbb: function(arg0, arg1) {
|
|
3222
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
3223
|
+
},
|
|
3224
|
+
__wbg_error_7af4a02e10118b81: function(arg0, arg1) {
|
|
3225
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
3226
|
+
},
|
|
3227
|
+
__wbg_error_8d9a8e04cd1d3588: function(arg0) {
|
|
3228
|
+
console.error(arg0);
|
|
3229
|
+
},
|
|
3230
|
+
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
2780
3231
|
let deferred0_0;
|
|
2781
3232
|
let deferred0_1;
|
|
2782
3233
|
try {
|
|
@@ -2787,150 +3238,177 @@ function __wbg_get_imports() {
|
|
|
2787
3238
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2788
3239
|
}
|
|
2789
3240
|
},
|
|
2790
|
-
|
|
2791
|
-
console.error(arg0, arg1, arg2, arg3);
|
|
2792
|
-
},
|
|
2793
|
-
__wbg_error_9a7fe3f932034cde: function(arg0) {
|
|
2794
|
-
console.error(arg0);
|
|
2795
|
-
},
|
|
2796
|
-
__wbg_error_e98c298703cffa97: function(arg0, arg1) {
|
|
2797
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
2798
|
-
},
|
|
2799
|
-
__wbg_fetch_53eef7df7b439a49: function(arg0, arg1) {
|
|
3241
|
+
__wbg_fetch_010aa16f24b763bc: function(arg0, arg1) {
|
|
2800
3242
|
const ret = fetch(arg0, arg1);
|
|
2801
3243
|
return ret;
|
|
2802
3244
|
},
|
|
2803
|
-
|
|
3245
|
+
__wbg_fetch_43b2f110608a59ff: function(arg0) {
|
|
2804
3246
|
const ret = fetch(arg0);
|
|
2805
3247
|
return ret;
|
|
2806
3248
|
},
|
|
2807
|
-
|
|
3249
|
+
__wbg_fetch_5550a88cf343aaa9: function(arg0, arg1) {
|
|
2808
3250
|
const ret = arg0.fetch(arg1);
|
|
2809
3251
|
return ret;
|
|
2810
3252
|
},
|
|
2811
|
-
|
|
3253
|
+
__wbg_fetch_9dad4fe911207b37: function(arg0) {
|
|
3254
|
+
const ret = fetch(arg0);
|
|
3255
|
+
return ret;
|
|
3256
|
+
},
|
|
3257
|
+
__wbg_fetch_d77cded604d729e9: function(arg0, arg1, arg2) {
|
|
2812
3258
|
const ret = arg0.fetch(arg1, arg2);
|
|
2813
3259
|
return ret;
|
|
2814
3260
|
},
|
|
2815
|
-
|
|
3261
|
+
__wbg_fill_8c98ef3fd18c2e5c: function(arg0, arg1, arg2, arg3) {
|
|
2816
3262
|
const ret = arg0.fill(arg1, arg2 >>> 0, arg3 >>> 0);
|
|
2817
3263
|
return ret;
|
|
2818
3264
|
},
|
|
2819
|
-
|
|
3265
|
+
__wbg_flush_1eca046e0ff7c399: function() { return handleError(function (arg0) {
|
|
2820
3266
|
arg0.flush();
|
|
2821
3267
|
}, arguments); },
|
|
2822
|
-
|
|
3268
|
+
__wbg_forEach_a2c08d9c3cc0524c: function(arg0, arg1, arg2) {
|
|
3269
|
+
try {
|
|
3270
|
+
var state0 = {a: arg1, b: arg2};
|
|
3271
|
+
var cb0 = (arg0, arg1, arg2) => {
|
|
3272
|
+
const a = state0.a;
|
|
3273
|
+
state0.a = 0;
|
|
3274
|
+
try {
|
|
3275
|
+
return wasm_bindgen__convert__closures_____invoke__h463fcf847e24a8b9(a, state0.b, arg0, arg1, arg2);
|
|
3276
|
+
} finally {
|
|
3277
|
+
state0.a = a;
|
|
3278
|
+
}
|
|
3279
|
+
};
|
|
3280
|
+
arg0.forEach(cb0);
|
|
3281
|
+
} finally {
|
|
3282
|
+
state0.a = state0.b = 0;
|
|
3283
|
+
}
|
|
3284
|
+
},
|
|
3285
|
+
__wbg_from_4bdf88943703fd48: function(arg0) {
|
|
2823
3286
|
const ret = Array.from(arg0);
|
|
2824
3287
|
return ret;
|
|
2825
3288
|
},
|
|
2826
|
-
|
|
3289
|
+
__wbg_getDate_fbf9a2247e954082: function(arg0) {
|
|
2827
3290
|
const ret = arg0.getDate();
|
|
2828
3291
|
return ret;
|
|
2829
3292
|
},
|
|
2830
|
-
|
|
3293
|
+
__wbg_getDay_2287a9ab7ef27b82: function(arg0) {
|
|
2831
3294
|
const ret = arg0.getDay();
|
|
2832
3295
|
return ret;
|
|
2833
3296
|
},
|
|
2834
|
-
|
|
3297
|
+
__wbg_getDirectoryHandle_5f0ee1df58525717: function(arg0, arg1, arg2, arg3) {
|
|
2835
3298
|
const ret = arg0.getDirectoryHandle(getStringFromWasm0(arg1, arg2), arg3);
|
|
2836
3299
|
return ret;
|
|
2837
3300
|
},
|
|
2838
|
-
|
|
3301
|
+
__wbg_getDirectory_2406d369de179ff0: function(arg0) {
|
|
2839
3302
|
const ret = arg0.getDirectory();
|
|
2840
3303
|
return ret;
|
|
2841
3304
|
},
|
|
2842
|
-
|
|
3305
|
+
__wbg_getElementById_c7ce907969867235: function(arg0, arg1, arg2) {
|
|
3306
|
+
const ret = arg0.getElementById(getStringFromWasm0(arg1, arg2));
|
|
3307
|
+
return ret;
|
|
3308
|
+
},
|
|
3309
|
+
__wbg_getFileHandle_b85805519dc63efa: function(arg0, arg1, arg2, arg3) {
|
|
2843
3310
|
const ret = arg0.getFileHandle(getStringFromWasm0(arg1, arg2), arg3);
|
|
2844
3311
|
return ret;
|
|
2845
3312
|
},
|
|
2846
|
-
|
|
3313
|
+
__wbg_getFullYear_f6d84c054eee1543: function(arg0) {
|
|
2847
3314
|
const ret = arg0.getFullYear();
|
|
2848
3315
|
return ret;
|
|
2849
3316
|
},
|
|
2850
|
-
|
|
3317
|
+
__wbg_getHours_391d39cf9970a985: function(arg0) {
|
|
2851
3318
|
const ret = arg0.getHours();
|
|
2852
3319
|
return ret;
|
|
2853
3320
|
},
|
|
2854
|
-
|
|
3321
|
+
__wbg_getMinutes_c6b51adde167b27d: function(arg0) {
|
|
2855
3322
|
const ret = arg0.getMinutes();
|
|
2856
3323
|
return ret;
|
|
2857
3324
|
},
|
|
2858
|
-
|
|
3325
|
+
__wbg_getMonth_884df91d4880455c: function(arg0) {
|
|
2859
3326
|
const ret = arg0.getMonth();
|
|
2860
3327
|
return ret;
|
|
2861
3328
|
},
|
|
2862
|
-
|
|
3329
|
+
__wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
|
|
3330
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
3331
|
+
}, arguments); },
|
|
3332
|
+
__wbg_getRandomValues_76dfc69825c9c552: function() { return handleError(function (arg0, arg1) {
|
|
2863
3333
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
2864
3334
|
}, arguments); },
|
|
2865
|
-
|
|
3335
|
+
__wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
|
|
2866
3336
|
arg0.getRandomValues(arg1);
|
|
2867
3337
|
}, arguments); },
|
|
2868
|
-
|
|
3338
|
+
__wbg_getRandomValues_e17307db78dbd90b: function() { return handleError(function (arg0, arg1) {
|
|
2869
3339
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
2870
3340
|
}, arguments); },
|
|
2871
|
-
|
|
3341
|
+
__wbg_getReader_9facd4f899beac89: function() { return handleError(function (arg0) {
|
|
2872
3342
|
const ret = arg0.getReader();
|
|
2873
3343
|
return ret;
|
|
2874
3344
|
}, arguments); },
|
|
2875
|
-
|
|
3345
|
+
__wbg_getSeconds_53838367bdfd2269: function(arg0) {
|
|
2876
3346
|
const ret = arg0.getSeconds();
|
|
2877
3347
|
return ret;
|
|
2878
3348
|
},
|
|
2879
|
-
|
|
3349
|
+
__wbg_getSize_0a16c5e2524d34aa: function() { return handleError(function (arg0) {
|
|
2880
3350
|
const ret = arg0.getSize();
|
|
2881
3351
|
return ret;
|
|
2882
3352
|
}, arguments); },
|
|
2883
|
-
|
|
3353
|
+
__wbg_getTime_1dad7b5386ddd2d9: function(arg0) {
|
|
2884
3354
|
const ret = arg0.getTime();
|
|
2885
3355
|
return ret;
|
|
2886
3356
|
},
|
|
2887
|
-
|
|
3357
|
+
__wbg_getTimezoneOffset_639bcf2dde21158b: function(arg0) {
|
|
2888
3358
|
const ret = arg0.getTimezoneOffset();
|
|
2889
3359
|
return ret;
|
|
2890
3360
|
},
|
|
2891
|
-
|
|
3361
|
+
__wbg_getUint32_d3eb02a67faa790e: function(arg0, arg1) {
|
|
2892
3362
|
const ret = arg0.getUint32(arg1 >>> 0);
|
|
2893
3363
|
return ret;
|
|
2894
3364
|
},
|
|
2895
|
-
|
|
2896
|
-
const ret = arg0
|
|
3365
|
+
__wbg_get_326e41e095fb2575: function() { return handleError(function (arg0, arg1) {
|
|
3366
|
+
const ret = Reflect.get(arg0, arg1);
|
|
2897
3367
|
return ret;
|
|
2898
|
-
},
|
|
2899
|
-
|
|
3368
|
+
}, arguments); },
|
|
3369
|
+
__wbg_get_3ef1eba1850ade27: function() { return handleError(function (arg0, arg1) {
|
|
2900
3370
|
const ret = Reflect.get(arg0, arg1);
|
|
2901
3371
|
return ret;
|
|
2902
3372
|
}, arguments); },
|
|
2903
|
-
|
|
3373
|
+
__wbg_get_a8ee5c45dabc1b3b: function(arg0, arg1) {
|
|
3374
|
+
const ret = arg0[arg1 >>> 0];
|
|
3375
|
+
return ret;
|
|
3376
|
+
},
|
|
3377
|
+
__wbg_get_done_d0ab690f8df5501f: function(arg0) {
|
|
2904
3378
|
const ret = arg0.done;
|
|
2905
3379
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
2906
3380
|
},
|
|
2907
|
-
|
|
3381
|
+
__wbg_get_index_87179971b8d350e4: function(arg0, arg1) {
|
|
3382
|
+
const ret = arg0[arg1 >>> 0];
|
|
3383
|
+
return ret;
|
|
3384
|
+
},
|
|
3385
|
+
__wbg_get_unchecked_329cfe50afab7352: function(arg0, arg1) {
|
|
2908
3386
|
const ret = arg0[arg1 >>> 0];
|
|
2909
3387
|
return ret;
|
|
2910
3388
|
},
|
|
2911
|
-
|
|
3389
|
+
__wbg_get_value_548ae6adf5a174e4: function(arg0) {
|
|
2912
3390
|
const ret = arg0.value;
|
|
2913
3391
|
return ret;
|
|
2914
3392
|
},
|
|
2915
|
-
|
|
3393
|
+
__wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
|
|
2916
3394
|
const ret = arg0[arg1];
|
|
2917
3395
|
return ret;
|
|
2918
3396
|
},
|
|
2919
|
-
|
|
3397
|
+
__wbg_has_926ef2ff40b308cf: function() { return handleError(function (arg0, arg1) {
|
|
2920
3398
|
const ret = Reflect.has(arg0, arg1);
|
|
2921
3399
|
return ret;
|
|
2922
3400
|
}, arguments); },
|
|
2923
|
-
|
|
3401
|
+
__wbg_headers_eb2234545f9ff993: function(arg0) {
|
|
2924
3402
|
const ret = arg0.headers;
|
|
2925
3403
|
return ret;
|
|
2926
3404
|
},
|
|
2927
|
-
|
|
2928
|
-
console.info(arg0);
|
|
2929
|
-
},
|
|
2930
|
-
__wbg_info_9e602cf10c5c690b: function(arg0, arg1, arg2, arg3) {
|
|
3405
|
+
__wbg_info_0194681687b5ab04: function(arg0, arg1, arg2, arg3) {
|
|
2931
3406
|
console.info(arg0, arg1, arg2, arg3);
|
|
2932
3407
|
},
|
|
2933
|
-
|
|
3408
|
+
__wbg_info_7d4e223bb1a7e671: function(arg0) {
|
|
3409
|
+
console.info(arg0);
|
|
3410
|
+
},
|
|
3411
|
+
__wbg_instanceof_ArrayBuffer_101e2bf31071a9f6: function(arg0) {
|
|
2934
3412
|
let result;
|
|
2935
3413
|
try {
|
|
2936
3414
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -2940,7 +3418,7 @@ function __wbg_get_imports() {
|
|
|
2940
3418
|
const ret = result;
|
|
2941
3419
|
return ret;
|
|
2942
3420
|
},
|
|
2943
|
-
|
|
3421
|
+
__wbg_instanceof_DomException_2bdcf7791a2d7d09: function(arg0) {
|
|
2944
3422
|
let result;
|
|
2945
3423
|
try {
|
|
2946
3424
|
result = arg0 instanceof DOMException;
|
|
@@ -2950,7 +3428,7 @@ function __wbg_get_imports() {
|
|
|
2950
3428
|
const ret = result;
|
|
2951
3429
|
return ret;
|
|
2952
3430
|
},
|
|
2953
|
-
|
|
3431
|
+
__wbg_instanceof_Map_f194b366846aca0c: function(arg0) {
|
|
2954
3432
|
let result;
|
|
2955
3433
|
try {
|
|
2956
3434
|
result = arg0 instanceof Map;
|
|
@@ -2960,7 +3438,7 @@ function __wbg_get_imports() {
|
|
|
2960
3438
|
const ret = result;
|
|
2961
3439
|
return ret;
|
|
2962
3440
|
},
|
|
2963
|
-
|
|
3441
|
+
__wbg_instanceof_Response_9b4d9fd451e051b1: function(arg0) {
|
|
2964
3442
|
let result;
|
|
2965
3443
|
try {
|
|
2966
3444
|
result = arg0 instanceof Response;
|
|
@@ -2970,7 +3448,7 @@ function __wbg_get_imports() {
|
|
|
2970
3448
|
const ret = result;
|
|
2971
3449
|
return ret;
|
|
2972
3450
|
},
|
|
2973
|
-
|
|
3451
|
+
__wbg_instanceof_Uint8Array_740438561a5b956d: function(arg0) {
|
|
2974
3452
|
let result;
|
|
2975
3453
|
try {
|
|
2976
3454
|
result = arg0 instanceof Uint8Array;
|
|
@@ -2980,7 +3458,7 @@ function __wbg_get_imports() {
|
|
|
2980
3458
|
const ret = result;
|
|
2981
3459
|
return ret;
|
|
2982
3460
|
},
|
|
2983
|
-
|
|
3461
|
+
__wbg_instanceof_WorkerGlobalScope_de6976d00cb213c6: function(arg0) {
|
|
2984
3462
|
let result;
|
|
2985
3463
|
try {
|
|
2986
3464
|
result = arg0 instanceof WorkerGlobalScope;
|
|
@@ -2990,104 +3468,138 @@ function __wbg_get_imports() {
|
|
|
2990
3468
|
const ret = result;
|
|
2991
3469
|
return ret;
|
|
2992
3470
|
},
|
|
2993
|
-
|
|
3471
|
+
__wbg_isArray_33b91feb269ff46e: function(arg0) {
|
|
2994
3472
|
const ret = Array.isArray(arg0);
|
|
2995
3473
|
return ret;
|
|
2996
3474
|
},
|
|
2997
|
-
|
|
3475
|
+
__wbg_isSafeInteger_ecd6a7f9c3e053cd: function(arg0) {
|
|
2998
3476
|
const ret = Number.isSafeInteger(arg0);
|
|
2999
3477
|
return ret;
|
|
3000
3478
|
},
|
|
3001
|
-
|
|
3479
|
+
__wbg_iterator_d8f549ec8fb061b1: function() {
|
|
3002
3480
|
const ret = Symbol.iterator;
|
|
3003
3481
|
return ret;
|
|
3004
3482
|
},
|
|
3005
|
-
|
|
3483
|
+
__wbg_length_b3416cf66a5452c8: function(arg0) {
|
|
3006
3484
|
const ret = arg0.length;
|
|
3007
3485
|
return ret;
|
|
3008
3486
|
},
|
|
3009
|
-
|
|
3487
|
+
__wbg_length_ea16607d7b61445b: function(arg0) {
|
|
3010
3488
|
const ret = arg0.length;
|
|
3011
3489
|
return ret;
|
|
3012
3490
|
},
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
return ret;
|
|
3491
|
+
__wbg_log_ba47e422fd2aea35: function(arg0, arg1) {
|
|
3492
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
3016
3493
|
},
|
|
3017
|
-
|
|
3494
|
+
__wbg_mark_310e9a031ccc84ff: function() { return handleError(function (arg0, arg1, arg2) {
|
|
3018
3495
|
arg0.mark(getStringFromWasm0(arg1, arg2));
|
|
3019
3496
|
}, arguments); },
|
|
3020
|
-
|
|
3497
|
+
__wbg_mark_742962d66a858cc5: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3021
3498
|
arg0.mark(getStringFromWasm0(arg1, arg2), arg3);
|
|
3022
3499
|
}, arguments); },
|
|
3023
|
-
|
|
3500
|
+
__wbg_measure_54743279e77e77bb: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3024
3501
|
arg0.measure(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6));
|
|
3025
3502
|
}, arguments); },
|
|
3026
|
-
|
|
3503
|
+
__wbg_measure_cd1f7667d5f5517d: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3027
3504
|
arg0.measure(getStringFromWasm0(arg1, arg2), arg3);
|
|
3028
3505
|
}, arguments); },
|
|
3029
|
-
|
|
3506
|
+
__wbg_message_00d63f20c41713dd: function(arg0) {
|
|
3507
|
+
const ret = arg0.message;
|
|
3508
|
+
return ret;
|
|
3509
|
+
},
|
|
3510
|
+
__wbg_message_e959edc81e4b6cb7: function(arg0, arg1) {
|
|
3030
3511
|
const ret = arg1.message;
|
|
3031
3512
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3032
3513
|
const len1 = WASM_VECTOR_LEN;
|
|
3033
3514
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3034
3515
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3035
3516
|
},
|
|
3036
|
-
|
|
3517
|
+
__wbg_msCrypto_bd5a034af96bcba6: function(arg0) {
|
|
3037
3518
|
const ret = arg0.msCrypto;
|
|
3038
3519
|
return ret;
|
|
3039
3520
|
},
|
|
3040
|
-
|
|
3521
|
+
__wbg_name_7a3bbd030d0afa16: function(arg0, arg1) {
|
|
3522
|
+
const ret = arg1.name;
|
|
3523
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3524
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3525
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3526
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3527
|
+
},
|
|
3528
|
+
__wbg_name_a0434ee983d3c204: function(arg0, arg1) {
|
|
3041
3529
|
const ret = arg1.name;
|
|
3042
3530
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3043
3531
|
const len1 = WASM_VECTOR_LEN;
|
|
3044
3532
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3045
3533
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3046
3534
|
},
|
|
3047
|
-
|
|
3535
|
+
__wbg_name_ecf53d5e050a495d: function(arg0) {
|
|
3536
|
+
const ret = arg0.name;
|
|
3537
|
+
return ret;
|
|
3538
|
+
},
|
|
3539
|
+
__wbg_navigator_583ffd4fc14c0f7a: function(arg0) {
|
|
3048
3540
|
const ret = arg0.navigator;
|
|
3049
3541
|
return ret;
|
|
3050
3542
|
},
|
|
3051
|
-
|
|
3543
|
+
__wbg_new_0837727332ac86ba: function() { return handleError(function () {
|
|
3544
|
+
const ret = new Headers();
|
|
3545
|
+
return ret;
|
|
3546
|
+
}, arguments); },
|
|
3547
|
+
__wbg_new_0_1dcafdf5e786e876: function() {
|
|
3052
3548
|
const ret = new Date();
|
|
3053
3549
|
return ret;
|
|
3054
3550
|
},
|
|
3055
|
-
|
|
3056
|
-
const ret = new
|
|
3551
|
+
__wbg_new_227d7c05414eb861: function() {
|
|
3552
|
+
const ret = new Error();
|
|
3057
3553
|
return ret;
|
|
3058
3554
|
},
|
|
3059
|
-
|
|
3060
|
-
const ret = new
|
|
3555
|
+
__wbg_new_3b89a8aabb976b21: function() {
|
|
3556
|
+
const ret = new Error();
|
|
3061
3557
|
return ret;
|
|
3062
3558
|
},
|
|
3063
|
-
|
|
3064
|
-
const ret = new
|
|
3559
|
+
__wbg_new_49d5571bd3f0c4d4: function() {
|
|
3560
|
+
const ret = new Map();
|
|
3561
|
+
return ret;
|
|
3562
|
+
},
|
|
3563
|
+
__wbg_new_5f486cdf45a04d78: function(arg0) {
|
|
3564
|
+
const ret = new Uint8Array(arg0);
|
|
3565
|
+
return ret;
|
|
3566
|
+
},
|
|
3567
|
+
__wbg_new_94350226ad30c16b: function(arg0, arg1, arg2) {
|
|
3568
|
+
const ret = new DataView(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
3065
3569
|
return ret;
|
|
3066
3570
|
},
|
|
3067
|
-
|
|
3571
|
+
__wbg_new_a70fbab9066b301f: function() {
|
|
3068
3572
|
const ret = new Array();
|
|
3069
3573
|
return ret;
|
|
3070
3574
|
},
|
|
3071
|
-
|
|
3072
|
-
const ret = new
|
|
3575
|
+
__wbg_new_ab79df5bd7c26067: function() {
|
|
3576
|
+
const ret = new Object();
|
|
3577
|
+
return ret;
|
|
3578
|
+
},
|
|
3579
|
+
__wbg_new_c518c60af666645b: function() { return handleError(function () {
|
|
3580
|
+
const ret = new AbortController();
|
|
3073
3581
|
return ret;
|
|
3074
3582
|
}, arguments); },
|
|
3075
|
-
|
|
3583
|
+
__wbg_new_d15cb560a6a0e5f0: function(arg0, arg1) {
|
|
3076
3584
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
3077
3585
|
return ret;
|
|
3078
3586
|
},
|
|
3079
|
-
|
|
3080
|
-
const ret = new
|
|
3587
|
+
__wbg_new_fd94ca5c9639abd2: function(arg0) {
|
|
3588
|
+
const ret = new Date(arg0);
|
|
3589
|
+
return ret;
|
|
3590
|
+
},
|
|
3591
|
+
__wbg_new_from_slice_22da9388ac046e50: function(arg0, arg1) {
|
|
3592
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
3081
3593
|
return ret;
|
|
3082
3594
|
},
|
|
3083
|
-
|
|
3595
|
+
__wbg_new_typed_aaaeaf29cf802876: function(arg0, arg1) {
|
|
3084
3596
|
try {
|
|
3085
3597
|
var state0 = {a: arg0, b: arg1};
|
|
3086
3598
|
var cb0 = (arg0, arg1) => {
|
|
3087
3599
|
const a = state0.a;
|
|
3088
3600
|
state0.a = 0;
|
|
3089
3601
|
try {
|
|
3090
|
-
return
|
|
3602
|
+
return wasm_bindgen__convert__closures_____invoke__h4387b2ade76fdfcf(a, state0.b, arg0, arg1);
|
|
3091
3603
|
} finally {
|
|
3092
3604
|
state0.a = a;
|
|
3093
3605
|
}
|
|
@@ -3098,247 +3610,247 @@ function __wbg_get_imports() {
|
|
|
3098
3610
|
state0.a = state0.b = 0;
|
|
3099
3611
|
}
|
|
3100
3612
|
},
|
|
3101
|
-
|
|
3102
|
-
const ret = new
|
|
3103
|
-
return ret;
|
|
3104
|
-
}, arguments); },
|
|
3105
|
-
__wbg_new_dca287b076112a51: function() {
|
|
3106
|
-
const ret = new Map();
|
|
3107
|
-
return ret;
|
|
3108
|
-
},
|
|
3109
|
-
__wbg_new_dd2b680c8bf6ae29: function(arg0) {
|
|
3110
|
-
const ret = new Uint8Array(arg0);
|
|
3111
|
-
return ret;
|
|
3112
|
-
},
|
|
3113
|
-
__wbg_new_from_slice_a3d2629dc1826784: function(arg0, arg1) {
|
|
3114
|
-
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
3115
|
-
return ret;
|
|
3116
|
-
},
|
|
3117
|
-
__wbg_new_no_args_1c7c842f08d00ebb: function(arg0, arg1) {
|
|
3118
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
3613
|
+
__wbg_new_typed_bccac67128ed885a: function() {
|
|
3614
|
+
const ret = new Array();
|
|
3119
3615
|
return ret;
|
|
3120
3616
|
},
|
|
3121
|
-
|
|
3617
|
+
__wbg_new_with_byte_offset_and_length_b2ec5bf7b2f35743: function(arg0, arg1, arg2) {
|
|
3122
3618
|
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
3123
3619
|
return ret;
|
|
3124
3620
|
},
|
|
3125
|
-
|
|
3621
|
+
__wbg_new_with_into_underlying_source_fd904252f385f59c: function(arg0, arg1) {
|
|
3126
3622
|
const ret = new ReadableStream(IntoUnderlyingSource.__wrap(arg0), arg1);
|
|
3127
3623
|
return ret;
|
|
3128
3624
|
},
|
|
3129
|
-
|
|
3625
|
+
__wbg_new_with_length_825018a1616e9e55: function(arg0) {
|
|
3130
3626
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
3131
3627
|
return ret;
|
|
3132
3628
|
},
|
|
3133
|
-
|
|
3629
|
+
__wbg_new_with_str_and_init_b4b54d1a819bc724: function() { return handleError(function (arg0, arg1, arg2) {
|
|
3134
3630
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
3135
3631
|
return ret;
|
|
3136
3632
|
}, arguments); },
|
|
3137
|
-
|
|
3633
|
+
__wbg_new_with_year_month_day_82496ee7686a68d8: function(arg0, arg1, arg2) {
|
|
3138
3634
|
const ret = new Date(arg0 >>> 0, arg1, arg2);
|
|
3139
3635
|
return ret;
|
|
3140
3636
|
},
|
|
3141
|
-
|
|
3637
|
+
__wbg_next_11b99ee6237339e3: function() { return handleError(function (arg0) {
|
|
3142
3638
|
const ret = arg0.next();
|
|
3143
3639
|
return ret;
|
|
3144
3640
|
}, arguments); },
|
|
3145
|
-
|
|
3641
|
+
__wbg_next_e01a967809d1aa68: function(arg0) {
|
|
3642
|
+
const ret = arg0.next;
|
|
3643
|
+
return ret;
|
|
3644
|
+
},
|
|
3645
|
+
__wbg_next_eca3bb2f1a45eec9: function() { return handleError(function (arg0) {
|
|
3146
3646
|
const ret = arg0.next();
|
|
3147
3647
|
return ret;
|
|
3148
3648
|
}, arguments); },
|
|
3149
|
-
|
|
3150
|
-
const ret = arg0.
|
|
3649
|
+
__wbg_node_84ea875411254db1: function(arg0) {
|
|
3650
|
+
const ret = arg0.node;
|
|
3151
3651
|
return ret;
|
|
3152
3652
|
},
|
|
3153
|
-
|
|
3154
|
-
const ret =
|
|
3653
|
+
__wbg_now_16f0c993d5dd6c27: function() {
|
|
3654
|
+
const ret = Date.now();
|
|
3155
3655
|
return ret;
|
|
3156
3656
|
},
|
|
3157
|
-
|
|
3657
|
+
__wbg_now_bededbf0fc26550a: function(arg0) {
|
|
3158
3658
|
const ret = arg0.now();
|
|
3159
3659
|
return ret;
|
|
3160
3660
|
},
|
|
3161
|
-
|
|
3162
|
-
const ret =
|
|
3661
|
+
__wbg_now_e7c6795a7f81e10f: function(arg0) {
|
|
3662
|
+
const ret = arg0.now();
|
|
3163
3663
|
return ret;
|
|
3164
3664
|
},
|
|
3165
|
-
|
|
3665
|
+
__wbg_on_auth_required_b34a0f8ae9d6d2b5: function() { return handleError(function (arg0) {
|
|
3166
3666
|
const ret = arg0.on_auth_required();
|
|
3167
3667
|
return ret;
|
|
3168
3668
|
}, arguments); },
|
|
3169
|
-
|
|
3669
|
+
__wbg_on_close_dba5da4a30d27671: function(arg0) {
|
|
3170
3670
|
arg0.on_close();
|
|
3171
3671
|
},
|
|
3172
|
-
|
|
3672
|
+
__wbg_on_consent_update_03abb81e13df5f2d: function(arg0, arg1) {
|
|
3173
3673
|
arg0.on_consent_update(arg1);
|
|
3174
3674
|
},
|
|
3175
|
-
|
|
3675
|
+
__wbg_on_conversation_1503a194876f041c: function(arg0, arg1) {
|
|
3176
3676
|
arg0.on_conversation(Conversation.__wrap(arg1));
|
|
3177
3677
|
},
|
|
3178
|
-
|
|
3678
|
+
__wbg_on_error_5af11569cd6c9c30: function(arg0, arg1) {
|
|
3179
3679
|
arg0.on_error(arg1);
|
|
3180
3680
|
},
|
|
3181
|
-
|
|
3681
|
+
__wbg_on_message_5465522cfd3618a6: function(arg0, arg1) {
|
|
3182
3682
|
arg0.on_message(arg1);
|
|
3183
3683
|
},
|
|
3184
|
-
|
|
3684
|
+
__wbg_on_message_deleted_d1618107df33900b: function(arg0, arg1) {
|
|
3185
3685
|
arg0.on_message_deleted(arg1);
|
|
3186
3686
|
},
|
|
3187
|
-
|
|
3687
|
+
__wbg_on_user_preference_update_e533c0546fdfc6f9: function(arg0, arg1, arg2) {
|
|
3188
3688
|
var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
|
|
3189
3689
|
wasm.__wbindgen_free(arg1, arg2 * 4, 4);
|
|
3190
3690
|
arg0.on_user_preference_update(v0);
|
|
3191
3691
|
},
|
|
3192
|
-
|
|
3692
|
+
__wbg_performance_3fcf6e32a7e1ed0a: function(arg0) {
|
|
3693
|
+
const ret = arg0.performance;
|
|
3694
|
+
return ret;
|
|
3695
|
+
},
|
|
3696
|
+
__wbg_performance_757310249566272b: function() {
|
|
3193
3697
|
const ret = globalThis.performance;
|
|
3194
3698
|
return ret;
|
|
3195
3699
|
},
|
|
3196
|
-
|
|
3700
|
+
__wbg_performance_b046e73c47617524: function(arg0) {
|
|
3197
3701
|
const ret = arg0.performance;
|
|
3198
3702
|
return ret;
|
|
3199
3703
|
},
|
|
3200
|
-
|
|
3704
|
+
__wbg_postMessage_564f0071531c08c3: function() { return handleError(function (arg0, arg1) {
|
|
3201
3705
|
arg0.postMessage(arg1);
|
|
3202
3706
|
}, arguments); },
|
|
3203
|
-
|
|
3707
|
+
__wbg_process_44c7a14e11e9f69e: function(arg0) {
|
|
3204
3708
|
const ret = arg0.process;
|
|
3205
3709
|
return ret;
|
|
3206
3710
|
},
|
|
3207
|
-
|
|
3711
|
+
__wbg_prototypesetcall_d62e5099504357e6: function(arg0, arg1, arg2) {
|
|
3208
3712
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
3209
3713
|
},
|
|
3210
|
-
|
|
3714
|
+
__wbg_push_e87b0e732085a946: function(arg0, arg1) {
|
|
3211
3715
|
const ret = arg0.push(arg1);
|
|
3212
3716
|
return ret;
|
|
3213
3717
|
},
|
|
3214
|
-
|
|
3718
|
+
__wbg_queueMicrotask_0c399741342fb10f: function(arg0) {
|
|
3215
3719
|
const ret = arg0.queueMicrotask;
|
|
3216
3720
|
return ret;
|
|
3217
3721
|
},
|
|
3218
|
-
|
|
3722
|
+
__wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
|
|
3219
3723
|
queueMicrotask(arg0);
|
|
3220
3724
|
},
|
|
3221
|
-
|
|
3725
|
+
__wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
|
|
3222
3726
|
arg0.randomFillSync(arg1);
|
|
3223
3727
|
}, arguments); },
|
|
3224
|
-
|
|
3728
|
+
__wbg_random_5bb86cae65a45bf6: function() {
|
|
3225
3729
|
const ret = Math.random();
|
|
3226
3730
|
return ret;
|
|
3227
3731
|
},
|
|
3228
|
-
|
|
3229
|
-
const ret = arg0.read(arg1, arg2);
|
|
3732
|
+
__wbg_read_0285869b4fd131af: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3733
|
+
const ret = arg0.read(getArrayU8FromWasm0(arg1, arg2), arg3);
|
|
3230
3734
|
return ret;
|
|
3231
3735
|
}, arguments); },
|
|
3232
|
-
|
|
3736
|
+
__wbg_read_7f593a961a7f80ed: function(arg0) {
|
|
3233
3737
|
const ret = arg0.read();
|
|
3234
3738
|
return ret;
|
|
3235
3739
|
},
|
|
3236
|
-
|
|
3237
|
-
const ret = arg0.read(
|
|
3740
|
+
__wbg_read_f0bbcacfbadb350b: function() { return handleError(function (arg0, arg1, arg2) {
|
|
3741
|
+
const ret = arg0.read(arg1, arg2);
|
|
3238
3742
|
return ret;
|
|
3239
3743
|
}, arguments); },
|
|
3240
|
-
|
|
3744
|
+
__wbg_releaseLock_ef7766a5da654ff8: function(arg0) {
|
|
3241
3745
|
arg0.releaseLock();
|
|
3242
3746
|
},
|
|
3243
|
-
|
|
3747
|
+
__wbg_require_b4edbdcf3e2a1ef0: function() { return handleError(function () {
|
|
3244
3748
|
const ret = module.require;
|
|
3245
3749
|
return ret;
|
|
3246
3750
|
}, arguments); },
|
|
3247
|
-
|
|
3751
|
+
__wbg_resolve_ae8d83246e5bcc12: function(arg0) {
|
|
3248
3752
|
const ret = Promise.resolve(arg0);
|
|
3249
3753
|
return ret;
|
|
3250
3754
|
},
|
|
3251
|
-
|
|
3755
|
+
__wbg_respond_e286ee502e7cf7e4: function() { return handleError(function (arg0, arg1) {
|
|
3252
3756
|
arg0.respond(arg1 >>> 0);
|
|
3253
3757
|
}, arguments); },
|
|
3254
|
-
|
|
3758
|
+
__wbg_self_81ecf3f64cd5499b: function(arg0) {
|
|
3759
|
+
const ret = arg0.self;
|
|
3760
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3761
|
+
},
|
|
3762
|
+
__wbg_setInterval_84b64f01452a246e: function() { return handleError(function (arg0, arg1) {
|
|
3255
3763
|
const ret = setInterval(arg0, arg1);
|
|
3256
3764
|
return ret;
|
|
3257
3765
|
}, arguments); },
|
|
3258
|
-
|
|
3766
|
+
__wbg_setTimeout_a3127d9f29a851c3: function(arg0, arg1) {
|
|
3259
3767
|
const ret = setTimeout(arg0, arg1);
|
|
3260
3768
|
return ret;
|
|
3261
3769
|
},
|
|
3262
|
-
|
|
3263
|
-
globalThis.setTimeout(arg0, arg1);
|
|
3264
|
-
},
|
|
3265
|
-
__wbg_setTimeout_929c97a7c0f23d36: function(arg0, arg1) {
|
|
3770
|
+
__wbg_setTimeout_b188b3bcc8977c7d: function(arg0, arg1) {
|
|
3266
3771
|
const ret = setTimeout(arg0, arg1);
|
|
3267
3772
|
return ret;
|
|
3268
3773
|
},
|
|
3269
|
-
|
|
3774
|
+
__wbg_setTimeout_ef24d2fc3ad97385: function() { return handleError(function (arg0, arg1) {
|
|
3270
3775
|
const ret = setTimeout(arg0, arg1);
|
|
3271
3776
|
return ret;
|
|
3272
3777
|
}, arguments); },
|
|
3273
|
-
|
|
3778
|
+
__wbg_setTimeout_f757f00851f76c42: function(arg0, arg1) {
|
|
3779
|
+
const ret = setTimeout(arg0, arg1);
|
|
3780
|
+
return ret;
|
|
3781
|
+
},
|
|
3782
|
+
__wbg_setUint32_f5040a0d9acfdee0: function(arg0, arg1, arg2) {
|
|
3274
3783
|
arg0.setUint32(arg1 >>> 0, arg2 >>> 0);
|
|
3275
3784
|
},
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
return ret;
|
|
3785
|
+
__wbg_set_282384002438957f: function(arg0, arg1, arg2) {
|
|
3786
|
+
arg0[arg1 >>> 0] = arg2;
|
|
3279
3787
|
},
|
|
3280
|
-
|
|
3788
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
3281
3789
|
arg0[arg1] = arg2;
|
|
3282
3790
|
},
|
|
3283
|
-
|
|
3791
|
+
__wbg_set_7eaa4f96924fd6b3: function() { return handleError(function (arg0, arg1, arg2) {
|
|
3284
3792
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
3285
3793
|
return ret;
|
|
3286
3794
|
}, arguments); },
|
|
3287
|
-
|
|
3795
|
+
__wbg_set_8c0b3ffcf05d61c2: function(arg0, arg1, arg2) {
|
|
3796
|
+
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
3797
|
+
},
|
|
3798
|
+
__wbg_set_at_e227be75df7f9abf: function(arg0, arg1) {
|
|
3288
3799
|
arg0.at = arg1;
|
|
3289
3800
|
},
|
|
3290
|
-
|
|
3801
|
+
__wbg_set_bf7251625df30a02: function(arg0, arg1, arg2) {
|
|
3802
|
+
const ret = arg0.set(arg1, arg2);
|
|
3803
|
+
return ret;
|
|
3804
|
+
},
|
|
3805
|
+
__wbg_set_body_a3d856b097dfda04: function(arg0, arg1) {
|
|
3291
3806
|
arg0.body = arg1;
|
|
3292
3807
|
},
|
|
3293
|
-
|
|
3808
|
+
__wbg_set_cache_ec7e430c6056ebda: function(arg0, arg1) {
|
|
3294
3809
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
3295
3810
|
},
|
|
3296
|
-
|
|
3297
|
-
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
3298
|
-
},
|
|
3299
|
-
__wbg_set_create_1f902c5936adde7d: function(arg0, arg1) {
|
|
3811
|
+
__wbg_set_create_1bebf2add702f8d5: function(arg0, arg1) {
|
|
3300
3812
|
arg0.create = arg1 !== 0;
|
|
3301
3813
|
},
|
|
3302
|
-
|
|
3814
|
+
__wbg_set_create_ef897736206a6f05: function(arg0, arg1) {
|
|
3303
3815
|
arg0.create = arg1 !== 0;
|
|
3304
3816
|
},
|
|
3305
|
-
|
|
3817
|
+
__wbg_set_credentials_ed63183445882c65: function(arg0, arg1) {
|
|
3306
3818
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
3307
3819
|
},
|
|
3308
|
-
|
|
3820
|
+
__wbg_set_e09648bea3f1af1e: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
3309
3821
|
arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
3310
3822
|
}, arguments); },
|
|
3311
|
-
|
|
3312
|
-
arg0[arg1 >>> 0] = arg2;
|
|
3313
|
-
},
|
|
3314
|
-
__wbg_set_headers_cfc5f4b2c1f20549: function(arg0, arg1) {
|
|
3823
|
+
__wbg_set_headers_3c8fecc693b75327: function(arg0, arg1) {
|
|
3315
3824
|
arg0.headers = arg1;
|
|
3316
3825
|
},
|
|
3317
|
-
|
|
3826
|
+
__wbg_set_high_water_mark_1ac059fa0566c2fc: function(arg0, arg1) {
|
|
3318
3827
|
arg0.highWaterMark = arg1;
|
|
3319
3828
|
},
|
|
3320
|
-
|
|
3829
|
+
__wbg_set_integrity_6e605069e31cef0a: function(arg0, arg1, arg2) {
|
|
3321
3830
|
arg0.integrity = getStringFromWasm0(arg1, arg2);
|
|
3322
3831
|
},
|
|
3323
|
-
|
|
3832
|
+
__wbg_set_method_8c015e8bcafd7be1: function(arg0, arg1, arg2) {
|
|
3324
3833
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
3325
3834
|
},
|
|
3326
|
-
|
|
3835
|
+
__wbg_set_mode_5a87f2c809cf37c2: function(arg0, arg1) {
|
|
3327
3836
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
3328
3837
|
},
|
|
3329
|
-
|
|
3838
|
+
__wbg_set_redirect_c7b340412376b11a: function(arg0, arg1) {
|
|
3330
3839
|
arg0.redirect = __wbindgen_enum_RequestRedirect[arg1];
|
|
3331
3840
|
},
|
|
3332
|
-
|
|
3841
|
+
__wbg_set_referrer_4f2f273104bee6d0: function(arg0, arg1, arg2) {
|
|
3333
3842
|
arg0.referrer = getStringFromWasm0(arg1, arg2);
|
|
3334
3843
|
},
|
|
3335
|
-
|
|
3844
|
+
__wbg_set_referrer_policy_3cea8b6e31a9e636: function(arg0, arg1) {
|
|
3336
3845
|
arg0.referrerPolicy = __wbindgen_enum_ReferrerPolicy[arg1];
|
|
3337
3846
|
},
|
|
3338
|
-
|
|
3847
|
+
__wbg_set_signal_0cebecb698f25d21: function(arg0, arg1) {
|
|
3339
3848
|
arg0.signal = arg1;
|
|
3340
3849
|
},
|
|
3341
|
-
|
|
3850
|
+
__wbg_set_text_content_53a918c21c5b6d7b: function(arg0, arg1, arg2) {
|
|
3851
|
+
arg0.textContent = getStringFromWasm0(arg1, arg2);
|
|
3852
|
+
},
|
|
3853
|
+
__wbg_signal_166e1da31adcac18: function(arg0) {
|
|
3342
3854
|
const ret = arg0.signal;
|
|
3343
3855
|
return ret;
|
|
3344
3856
|
},
|
|
@@ -3346,182 +3858,224 @@ function __wbg_get_imports() {
|
|
|
3346
3858
|
const ret = SignatureRequestHandle.__wrap(arg0);
|
|
3347
3859
|
return ret;
|
|
3348
3860
|
},
|
|
3349
|
-
|
|
3350
|
-
const ret =
|
|
3351
|
-
|
|
3861
|
+
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
3862
|
+
const ret = arg1.stack;
|
|
3863
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3864
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3865
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3866
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3352
3867
|
},
|
|
3353
|
-
|
|
3868
|
+
__wbg_stack_4937ea091ccee211: function(arg0, arg1) {
|
|
3354
3869
|
const ret = arg1.stack;
|
|
3355
3870
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3356
3871
|
const len1 = WASM_VECTOR_LEN;
|
|
3357
3872
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3358
3873
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3359
3874
|
},
|
|
3360
|
-
|
|
3875
|
+
__wbg_stack_7d0113fc30ab59f5: function(arg0, arg1) {
|
|
3876
|
+
const ret = arg1.stack;
|
|
3877
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3878
|
+
var len1 = WASM_VECTOR_LEN;
|
|
3879
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3880
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3881
|
+
},
|
|
3882
|
+
__wbg_stack_c5219bcda5d316b0: function(arg0) {
|
|
3883
|
+
const ret = arg0.stack;
|
|
3884
|
+
return ret;
|
|
3885
|
+
},
|
|
3886
|
+
__wbg_stack_f43e5bf3710666bf: function(arg0) {
|
|
3887
|
+
const ret = arg0.stack;
|
|
3888
|
+
return ret;
|
|
3889
|
+
},
|
|
3890
|
+
__wbg_static_accessor_DOCUMENT_5687ccb6ab0b4b55: function() {
|
|
3891
|
+
const ret = document;
|
|
3892
|
+
return ret;
|
|
3893
|
+
},
|
|
3894
|
+
__wbg_static_accessor_GLOBAL_8adb955bd33fac2f: function() {
|
|
3361
3895
|
const ret = typeof global === 'undefined' ? null : global;
|
|
3362
3896
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3363
3897
|
},
|
|
3364
|
-
|
|
3898
|
+
__wbg_static_accessor_GLOBAL_THIS_ad356e0db91c7913: function() {
|
|
3365
3899
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
3366
3900
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3367
3901
|
},
|
|
3368
|
-
|
|
3902
|
+
__wbg_static_accessor_SELF_f207c857566db248: function() {
|
|
3369
3903
|
const ret = typeof self === 'undefined' ? null : self;
|
|
3370
3904
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3371
3905
|
},
|
|
3372
|
-
|
|
3906
|
+
__wbg_static_accessor_WINDOW_bb9f1ba69d61b386: function() {
|
|
3373
3907
|
const ret = typeof window === 'undefined' ? null : window;
|
|
3374
3908
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3375
3909
|
},
|
|
3376
|
-
|
|
3910
|
+
__wbg_status_318629ab93a22955: function(arg0) {
|
|
3377
3911
|
const ret = arg0.status;
|
|
3378
3912
|
return ret;
|
|
3379
3913
|
},
|
|
3380
|
-
|
|
3914
|
+
__wbg_storage_8d917976d6753ee0: function(arg0) {
|
|
3381
3915
|
const ret = arg0.storage;
|
|
3382
3916
|
return ret;
|
|
3383
3917
|
},
|
|
3384
|
-
|
|
3918
|
+
__wbg_stringify_5ae93966a84901ac: function() { return handleError(function (arg0) {
|
|
3385
3919
|
const ret = JSON.stringify(arg0);
|
|
3386
3920
|
return ret;
|
|
3387
3921
|
}, arguments); },
|
|
3388
|
-
|
|
3922
|
+
__wbg_subarray_a068d24e39478a8a: function(arg0, arg1, arg2) {
|
|
3389
3923
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
3390
3924
|
return ret;
|
|
3391
3925
|
},
|
|
3392
|
-
|
|
3926
|
+
__wbg_text_372f5b91442c50f9: function() { return handleError(function (arg0) {
|
|
3393
3927
|
const ret = arg0.text();
|
|
3394
3928
|
return ret;
|
|
3395
3929
|
}, arguments); },
|
|
3396
|
-
|
|
3397
|
-
const ret =
|
|
3398
|
-
|
|
3930
|
+
__wbg_text_content_d8e042bed66aa8bd: function(arg0, arg1) {
|
|
3931
|
+
const ret = arg1.textContent;
|
|
3932
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3933
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3934
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3935
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3399
3936
|
},
|
|
3400
|
-
|
|
3937
|
+
__wbg_then_098abe61755d12f6: function(arg0, arg1) {
|
|
3401
3938
|
const ret = arg0.then(arg1);
|
|
3402
3939
|
return ret;
|
|
3403
3940
|
},
|
|
3404
|
-
|
|
3405
|
-
const ret = arg0.
|
|
3941
|
+
__wbg_then_9e335f6dd892bc11: function(arg0, arg1, arg2) {
|
|
3942
|
+
const ret = arg0.then(arg1, arg2);
|
|
3406
3943
|
return ret;
|
|
3407
|
-
},
|
|
3408
|
-
|
|
3944
|
+
},
|
|
3945
|
+
__wbg_toString_3272fa0dfd05dd87: function(arg0) {
|
|
3409
3946
|
const ret = arg0.toString();
|
|
3410
3947
|
return ret;
|
|
3411
3948
|
},
|
|
3412
|
-
|
|
3949
|
+
__wbg_toString_5d57325a72a29da1: function() { return handleError(function (arg0, arg1) {
|
|
3950
|
+
const ret = arg1.toString();
|
|
3951
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3952
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3953
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3954
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3955
|
+
}, arguments); },
|
|
3956
|
+
__wbg_truncate_af8ac1613ab66393: function() { return handleError(function (arg0, arg1) {
|
|
3413
3957
|
arg0.truncate(arg1);
|
|
3414
3958
|
}, arguments); },
|
|
3415
|
-
|
|
3959
|
+
__wbg_truncate_c40d347b5bd45c12: function() { return handleError(function (arg0, arg1) {
|
|
3416
3960
|
arg0.truncate(arg1 >>> 0);
|
|
3417
3961
|
}, arguments); },
|
|
3418
|
-
|
|
3962
|
+
__wbg_url_7fefc1820fba4e0c: function(arg0, arg1) {
|
|
3419
3963
|
const ret = arg1.url;
|
|
3420
3964
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3421
3965
|
const len1 = WASM_VECTOR_LEN;
|
|
3422
3966
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3423
3967
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3424
3968
|
},
|
|
3425
|
-
|
|
3969
|
+
__wbg_value_21fc78aab0322612: function(arg0) {
|
|
3426
3970
|
const ret = arg0.value;
|
|
3427
3971
|
return ret;
|
|
3428
3972
|
},
|
|
3429
|
-
|
|
3973
|
+
__wbg_versions_276b2795b1c6a219: function(arg0) {
|
|
3430
3974
|
const ret = arg0.versions;
|
|
3431
3975
|
return ret;
|
|
3432
3976
|
},
|
|
3433
|
-
|
|
3977
|
+
__wbg_view_f68a712e7315f8b2: function(arg0) {
|
|
3434
3978
|
const ret = arg0.view;
|
|
3435
3979
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3436
3980
|
},
|
|
3437
|
-
|
|
3438
|
-
console.warn(arg0, arg1, arg2, arg3);
|
|
3439
|
-
},
|
|
3440
|
-
__wbg_warn_f7ae1b2e66ccb930: function(arg0) {
|
|
3981
|
+
__wbg_warn_69424c2d92a2fa73: function(arg0) {
|
|
3441
3982
|
console.warn(arg0);
|
|
3442
3983
|
},
|
|
3443
|
-
|
|
3444
|
-
|
|
3984
|
+
__wbg_warn_809cad1bfc2b3a42: function(arg0, arg1, arg2, arg3) {
|
|
3985
|
+
console.warn(arg0, arg1, arg2, arg3);
|
|
3986
|
+
},
|
|
3987
|
+
__wbg_write_3bcdc311a9e138ff: function() { return handleError(function (arg0, arg1, arg2) {
|
|
3988
|
+
const ret = arg0.write(arg1, arg2);
|
|
3445
3989
|
return ret;
|
|
3446
3990
|
}, arguments); },
|
|
3447
|
-
|
|
3448
|
-
const ret = arg0.write(arg1, arg2);
|
|
3991
|
+
__wbg_write_57c477a82b886339: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3992
|
+
const ret = arg0.write(getArrayU8FromWasm0(arg1, arg2), arg3);
|
|
3449
3993
|
return ret;
|
|
3450
3994
|
}, arguments); },
|
|
3451
3995
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
3452
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3453
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3996
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4878, function: Function { arguments: [], shim_idx: 4879, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3997
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h0d08380207e9a9d9, wasm_bindgen__convert__closures_____invoke__hd0dc2e5511ed29f1);
|
|
3454
3998
|
return ret;
|
|
3455
3999
|
},
|
|
3456
4000
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
3457
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3458
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
4001
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 7347, function: Function { arguments: [], shim_idx: 7345, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4002
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__ha966834d05fa118a, wasm_bindgen__convert__closures_____invoke__h51cd27c89e2d87ba);
|
|
3459
4003
|
return ret;
|
|
3460
4004
|
},
|
|
3461
4005
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
3462
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3463
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
4006
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 7417, function: Function { arguments: [Externref], shim_idx: 7419, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4007
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hfb5fb7686997db4b, wasm_bindgen__convert__closures_____invoke__h140f53b38323e9be);
|
|
3464
4008
|
return ret;
|
|
3465
4009
|
},
|
|
3466
4010
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
3467
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3468
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
4011
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 7612, function: Function { arguments: [], shim_idx: 7613, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4012
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h7209b1fb7810f3a7, wasm_bindgen__convert__closures_____invoke__hbb4e335ca4c3b929);
|
|
4013
|
+
return ret;
|
|
4014
|
+
},
|
|
4015
|
+
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
4016
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 8609, function: Function { arguments: [], shim_idx: 8610, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4017
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h032c7eb75ae4b8e8, wasm_bindgen__convert__closures_____invoke__ha56bcea43cbb87ac);
|
|
3469
4018
|
return ret;
|
|
3470
4019
|
},
|
|
3471
|
-
|
|
4020
|
+
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
4021
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 9064, function: Function { arguments: [Externref], shim_idx: 9213, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
4022
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hf7fa66330d0f3282, wasm_bindgen__convert__closures_____invoke__h8bed00622ec861bf);
|
|
4023
|
+
return ret;
|
|
4024
|
+
},
|
|
4025
|
+
__wbindgen_cast_0000000000000007: function(arg0) {
|
|
3472
4026
|
// Cast intrinsic for `F64 -> Externref`.
|
|
3473
4027
|
const ret = arg0;
|
|
3474
4028
|
return ret;
|
|
3475
4029
|
},
|
|
3476
|
-
|
|
4030
|
+
__wbindgen_cast_0000000000000008: function(arg0) {
|
|
3477
4031
|
// Cast intrinsic for `I64 -> Externref`.
|
|
3478
4032
|
const ret = arg0;
|
|
3479
4033
|
return ret;
|
|
3480
4034
|
},
|
|
3481
|
-
|
|
4035
|
+
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
3482
4036
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
3483
4037
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
3484
4038
|
return ret;
|
|
3485
4039
|
},
|
|
3486
|
-
|
|
4040
|
+
__wbindgen_cast_000000000000000a: function(arg0, arg1) {
|
|
3487
4041
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
3488
4042
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
3489
4043
|
return ret;
|
|
3490
4044
|
},
|
|
3491
|
-
|
|
4045
|
+
__wbindgen_cast_000000000000000b: function(arg0) {
|
|
3492
4046
|
// Cast intrinsic for `U64 -> Externref`.
|
|
3493
4047
|
const ret = BigInt.asUintN(64, arg0);
|
|
3494
4048
|
return ret;
|
|
3495
4049
|
},
|
|
3496
|
-
|
|
4050
|
+
__wbindgen_cast_000000000000000c: function(arg0, arg1) {
|
|
3497
4051
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
3498
4052
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
3499
4053
|
// Cast intrinsic for `Vector(NamedExternref("Conversation")) -> Externref`.
|
|
3500
4054
|
const ret = v0;
|
|
3501
4055
|
return ret;
|
|
3502
4056
|
},
|
|
3503
|
-
|
|
4057
|
+
__wbindgen_cast_000000000000000d: function(arg0, arg1) {
|
|
3504
4058
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
3505
4059
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
3506
4060
|
// Cast intrinsic for `Vector(NamedExternref("DecodedMessage")) -> Externref`.
|
|
3507
4061
|
const ret = v0;
|
|
3508
4062
|
return ret;
|
|
3509
4063
|
},
|
|
3510
|
-
|
|
4064
|
+
__wbindgen_cast_000000000000000e: function(arg0, arg1) {
|
|
3511
4065
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
3512
4066
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
3513
4067
|
// Cast intrinsic for `Vector(NamedExternref("InboxState")) -> Externref`.
|
|
3514
4068
|
const ret = v0;
|
|
3515
4069
|
return ret;
|
|
3516
4070
|
},
|
|
3517
|
-
|
|
4071
|
+
__wbindgen_cast_000000000000000f: function(arg0, arg1) {
|
|
3518
4072
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
3519
4073
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
3520
4074
|
// Cast intrinsic for `Vector(NamedExternref("Message")) -> Externref`.
|
|
3521
4075
|
const ret = v0;
|
|
3522
4076
|
return ret;
|
|
3523
4077
|
},
|
|
3524
|
-
|
|
4078
|
+
__wbindgen_cast_0000000000000010: function(arg0, arg1) {
|
|
3525
4079
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
3526
4080
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
3527
4081
|
// Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
|
|
@@ -3544,24 +4098,39 @@ function __wbg_get_imports() {
|
|
|
3544
4098
|
};
|
|
3545
4099
|
}
|
|
3546
4100
|
|
|
3547
|
-
function
|
|
3548
|
-
wasm.
|
|
4101
|
+
function wasm_bindgen__convert__closures_____invoke__hd0dc2e5511ed29f1(arg0, arg1) {
|
|
4102
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hd0dc2e5511ed29f1(arg0, arg1);
|
|
4103
|
+
}
|
|
4104
|
+
|
|
4105
|
+
function wasm_bindgen__convert__closures_____invoke__h51cd27c89e2d87ba(arg0, arg1) {
|
|
4106
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h51cd27c89e2d87ba(arg0, arg1);
|
|
4107
|
+
}
|
|
4108
|
+
|
|
4109
|
+
function wasm_bindgen__convert__closures_____invoke__hbb4e335ca4c3b929(arg0, arg1) {
|
|
4110
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hbb4e335ca4c3b929(arg0, arg1);
|
|
4111
|
+
}
|
|
4112
|
+
|
|
4113
|
+
function wasm_bindgen__convert__closures_____invoke__ha56bcea43cbb87ac(arg0, arg1) {
|
|
4114
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha56bcea43cbb87ac(arg0, arg1);
|
|
3549
4115
|
}
|
|
3550
4116
|
|
|
3551
|
-
function
|
|
3552
|
-
wasm.
|
|
4117
|
+
function wasm_bindgen__convert__closures_____invoke__h140f53b38323e9be(arg0, arg1, arg2) {
|
|
4118
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h140f53b38323e9be(arg0, arg1, arg2);
|
|
3553
4119
|
}
|
|
3554
4120
|
|
|
3555
|
-
function
|
|
3556
|
-
wasm.
|
|
4121
|
+
function wasm_bindgen__convert__closures_____invoke__h8bed00622ec861bf(arg0, arg1, arg2) {
|
|
4122
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h8bed00622ec861bf(arg0, arg1, arg2);
|
|
4123
|
+
if (ret[1]) {
|
|
4124
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
4125
|
+
}
|
|
3557
4126
|
}
|
|
3558
4127
|
|
|
3559
|
-
function
|
|
3560
|
-
wasm.
|
|
4128
|
+
function wasm_bindgen__convert__closures_____invoke__h4387b2ade76fdfcf(arg0, arg1, arg2, arg3) {
|
|
4129
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h4387b2ade76fdfcf(arg0, arg1, arg2, arg3);
|
|
3561
4130
|
}
|
|
3562
4131
|
|
|
3563
|
-
function
|
|
3564
|
-
wasm.
|
|
4132
|
+
function wasm_bindgen__convert__closures_____invoke__h463fcf847e24a8b9(arg0, arg1, arg2, arg3, arg4) {
|
|
4133
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h463fcf847e24a8b9(arg0, arg1, arg2, arg3, arg4);
|
|
3565
4134
|
}
|
|
3566
4135
|
|
|
3567
4136
|
|
|
@@ -3584,9 +4153,18 @@ const __wbindgen_enum_RequestRedirect = ["follow", "error", "manual"];
|
|
|
3584
4153
|
const AuthHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3585
4154
|
? { register: () => {}, unregister: () => {} }
|
|
3586
4155
|
: new FinalizationRegistry(ptr => wasm.__wbg_authhandle_free(ptr >>> 0, 1));
|
|
4156
|
+
const BackendFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4157
|
+
? { register: () => {}, unregister: () => {} }
|
|
4158
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_backend_free(ptr >>> 0, 1));
|
|
4159
|
+
const BackendBuilderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4160
|
+
? { register: () => {}, unregister: () => {} }
|
|
4161
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_backendbuilder_free(ptr >>> 0, 1));
|
|
3587
4162
|
const ClientFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3588
4163
|
? { register: () => {}, unregister: () => {} }
|
|
3589
4164
|
: new FinalizationRegistry(ptr => wasm.__wbg_client_free(ptr >>> 0, 1));
|
|
4165
|
+
const WasmBindgenTestContextFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4166
|
+
? { register: () => {}, unregister: () => {} }
|
|
4167
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmbindgentestcontext_free(ptr >>> 0, 1));
|
|
3590
4168
|
const ConversationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3591
4169
|
? { register: () => {}, unregister: () => {} }
|
|
3592
4170
|
: new FinalizationRegistry(ptr => wasm.__wbg_conversation_free(ptr >>> 0, 1));
|