@bitwarden/sdk-internal 0.2.0-main.373 → 0.2.0-main.375
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/VERSION +1 -1
- package/bitwarden_wasm_internal.d.ts +44 -1
- package/bitwarden_wasm_internal_bg.js +542 -446
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +16 -13
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +44 -1
- package/node/bitwarden_wasm_internal.js +667 -554
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +16 -13
- package/package.json +1 -1
|
@@ -1,43 +1,62 @@
|
|
|
1
1
|
let imports = {};
|
|
2
2
|
imports["__wbindgen_placeholder__"] = module.exports;
|
|
3
|
-
let wasm;
|
|
4
|
-
const { TextEncoder, TextDecoder } = require(`util`);
|
|
5
3
|
|
|
6
|
-
|
|
4
|
+
let cachedUint8ArrayMemory0 = null;
|
|
5
|
+
|
|
6
|
+
function getUint8ArrayMemory0() {
|
|
7
|
+
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
8
|
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
9
|
+
}
|
|
10
|
+
return cachedUint8ArrayMemory0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
let cachedTextDecoder = new TextDecoder("utf-8", { ignoreBOM: true, fatal: true });
|
|
14
|
+
|
|
15
|
+
cachedTextDecoder.decode();
|
|
16
|
+
|
|
17
|
+
function decodeText(ptr, len) {
|
|
18
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function getStringFromWasm0(ptr, len) {
|
|
22
|
+
ptr = ptr >>> 0;
|
|
23
|
+
return decodeText(ptr, len);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
let heap = new Array(128).fill(undefined);
|
|
7
27
|
|
|
8
28
|
heap.push(undefined, null, true, false);
|
|
9
29
|
|
|
30
|
+
let heap_next = heap.length;
|
|
31
|
+
|
|
32
|
+
function addHeapObject(obj) {
|
|
33
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
34
|
+
const idx = heap_next;
|
|
35
|
+
heap_next = heap[idx];
|
|
36
|
+
|
|
37
|
+
heap[idx] = obj;
|
|
38
|
+
return idx;
|
|
39
|
+
}
|
|
40
|
+
|
|
10
41
|
function getObject(idx) {
|
|
11
42
|
return heap[idx];
|
|
12
43
|
}
|
|
13
44
|
|
|
14
45
|
let WASM_VECTOR_LEN = 0;
|
|
15
46
|
|
|
16
|
-
|
|
47
|
+
const cachedTextEncoder = new TextEncoder();
|
|
17
48
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
49
|
+
if (!("encodeInto" in cachedTextEncoder)) {
|
|
50
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
51
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
52
|
+
view.set(buf);
|
|
53
|
+
return {
|
|
54
|
+
read: arg.length,
|
|
55
|
+
written: buf.length,
|
|
56
|
+
};
|
|
57
|
+
};
|
|
23
58
|
}
|
|
24
59
|
|
|
25
|
-
let cachedTextEncoder = new TextEncoder("utf-8");
|
|
26
|
-
|
|
27
|
-
const encodeString =
|
|
28
|
-
typeof cachedTextEncoder.encodeInto === "function"
|
|
29
|
-
? function (arg, view) {
|
|
30
|
-
return cachedTextEncoder.encodeInto(arg, view);
|
|
31
|
-
}
|
|
32
|
-
: function (arg, view) {
|
|
33
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
34
|
-
view.set(buf);
|
|
35
|
-
return {
|
|
36
|
-
read: arg.length,
|
|
37
|
-
written: buf.length,
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
|
|
41
60
|
function passStringToWasm0(arg, malloc, realloc) {
|
|
42
61
|
if (realloc === undefined) {
|
|
43
62
|
const buf = cachedTextEncoder.encode(arg);
|
|
@@ -68,7 +87,7 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
68
87
|
}
|
|
69
88
|
ptr = realloc(ptr, len, (len = offset + arg.length * 3), 1) >>> 0;
|
|
70
89
|
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
71
|
-
const ret =
|
|
90
|
+
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
72
91
|
|
|
73
92
|
offset += ret.written;
|
|
74
93
|
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
@@ -92,87 +111,10 @@ function getDataViewMemory0() {
|
|
|
92
111
|
return cachedDataViewMemory0;
|
|
93
112
|
}
|
|
94
113
|
|
|
95
|
-
let heap_next = heap.length;
|
|
96
|
-
|
|
97
|
-
function addHeapObject(obj) {
|
|
98
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
99
|
-
const idx = heap_next;
|
|
100
|
-
heap_next = heap[idx];
|
|
101
|
-
|
|
102
|
-
heap[idx] = obj;
|
|
103
|
-
return idx;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
function handleError(f, args) {
|
|
107
|
-
try {
|
|
108
|
-
return f.apply(this, args);
|
|
109
|
-
} catch (e) {
|
|
110
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
let cachedTextDecoder = new TextDecoder("utf-8", { ignoreBOM: true, fatal: true });
|
|
115
|
-
|
|
116
|
-
cachedTextDecoder.decode();
|
|
117
|
-
|
|
118
|
-
function getStringFromWasm0(ptr, len) {
|
|
119
|
-
ptr = ptr >>> 0;
|
|
120
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
121
|
-
}
|
|
122
|
-
|
|
123
114
|
function isLikeNone(x) {
|
|
124
115
|
return x === undefined || x === null;
|
|
125
116
|
}
|
|
126
117
|
|
|
127
|
-
function dropObject(idx) {
|
|
128
|
-
if (idx < 132) return;
|
|
129
|
-
heap[idx] = heap_next;
|
|
130
|
-
heap_next = idx;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
function takeObject(idx) {
|
|
134
|
-
const ret = getObject(idx);
|
|
135
|
-
dropObject(idx);
|
|
136
|
-
return ret;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
function getArrayU8FromWasm0(ptr, len) {
|
|
140
|
-
ptr = ptr >>> 0;
|
|
141
|
-
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
const CLOSURE_DTORS =
|
|
145
|
-
typeof FinalizationRegistry === "undefined"
|
|
146
|
-
? { register: () => {}, unregister: () => {} }
|
|
147
|
-
: new FinalizationRegistry((state) => {
|
|
148
|
-
wasm.__wbindgen_export_4.get(state.dtor)(state.a, state.b);
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
152
|
-
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
153
|
-
const real = (...args) => {
|
|
154
|
-
// First up with a closure we increment the internal reference
|
|
155
|
-
// count. This ensures that the Rust closure environment won't
|
|
156
|
-
// be deallocated while we're invoking it.
|
|
157
|
-
state.cnt++;
|
|
158
|
-
const a = state.a;
|
|
159
|
-
state.a = 0;
|
|
160
|
-
try {
|
|
161
|
-
return f(a, state.b, ...args);
|
|
162
|
-
} finally {
|
|
163
|
-
if (--state.cnt === 0) {
|
|
164
|
-
wasm.__wbindgen_export_4.get(state.dtor)(a, state.b);
|
|
165
|
-
CLOSURE_DTORS.unregister(state);
|
|
166
|
-
} else {
|
|
167
|
-
state.a = a;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
real.original = state;
|
|
172
|
-
CLOSURE_DTORS.register(real, state, state);
|
|
173
|
-
return real;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
118
|
function debugString(val) {
|
|
177
119
|
// primitive types
|
|
178
120
|
const type = typeof val;
|
|
@@ -237,17 +179,84 @@ function debugString(val) {
|
|
|
237
179
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
238
180
|
return className;
|
|
239
181
|
}
|
|
182
|
+
|
|
183
|
+
function handleError(f, args) {
|
|
184
|
+
try {
|
|
185
|
+
return f.apply(this, args);
|
|
186
|
+
} catch (e) {
|
|
187
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
function dropObject(idx) {
|
|
192
|
+
if (idx < 132) return;
|
|
193
|
+
heap[idx] = heap_next;
|
|
194
|
+
heap_next = idx;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
function takeObject(idx) {
|
|
198
|
+
const ret = getObject(idx);
|
|
199
|
+
dropObject(idx);
|
|
200
|
+
return ret;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
204
|
+
ptr = ptr >>> 0;
|
|
205
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
const CLOSURE_DTORS =
|
|
209
|
+
typeof FinalizationRegistry === "undefined"
|
|
210
|
+
? { register: () => {}, unregister: () => {} }
|
|
211
|
+
: new FinalizationRegistry((state) => state.dtor(state.a, state.b));
|
|
212
|
+
|
|
213
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
214
|
+
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
215
|
+
const real = (...args) => {
|
|
216
|
+
// First up with a closure we increment the internal reference
|
|
217
|
+
// count. This ensures that the Rust closure environment won't
|
|
218
|
+
// be deallocated while we're invoking it.
|
|
219
|
+
state.cnt++;
|
|
220
|
+
const a = state.a;
|
|
221
|
+
state.a = 0;
|
|
222
|
+
try {
|
|
223
|
+
return f(a, state.b, ...args);
|
|
224
|
+
} finally {
|
|
225
|
+
state.a = a;
|
|
226
|
+
real._wbg_cb_unref();
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
real._wbg_cb_unref = () => {
|
|
230
|
+
if (--state.cnt === 0) {
|
|
231
|
+
state.dtor(state.a, state.b);
|
|
232
|
+
state.a = 0;
|
|
233
|
+
CLOSURE_DTORS.unregister(state);
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
237
|
+
return real;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
function getArrayJsValueFromWasm0(ptr, len) {
|
|
241
|
+
ptr = ptr >>> 0;
|
|
242
|
+
const mem = getDataViewMemory0();
|
|
243
|
+
const result = [];
|
|
244
|
+
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
245
|
+
result.push(takeObject(mem.getUint32(i, true)));
|
|
246
|
+
}
|
|
247
|
+
return result;
|
|
248
|
+
}
|
|
240
249
|
/**
|
|
241
250
|
* @param {LogLevel} level
|
|
242
251
|
*/
|
|
243
|
-
|
|
252
|
+
exports.set_log_level = function (level) {
|
|
244
253
|
wasm.set_log_level(level);
|
|
245
254
|
};
|
|
246
255
|
|
|
247
256
|
/**
|
|
248
257
|
* @param {LogLevel | null} [log_level]
|
|
249
258
|
*/
|
|
250
|
-
|
|
259
|
+
exports.init_sdk = function (log_level) {
|
|
251
260
|
wasm.init_sdk(isLikeNone(log_level) ? 5 : log_level);
|
|
252
261
|
};
|
|
253
262
|
|
|
@@ -269,7 +278,7 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
269
278
|
* @param {KeyAlgorithm} key_algorithm
|
|
270
279
|
* @returns {SshKeyView}
|
|
271
280
|
*/
|
|
272
|
-
|
|
281
|
+
exports.generate_ssh_key = function (key_algorithm) {
|
|
273
282
|
try {
|
|
274
283
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
275
284
|
wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
|
|
@@ -303,7 +312,7 @@ module.exports.generate_ssh_key = function (key_algorithm) {
|
|
|
303
312
|
* @param {string | null} [password]
|
|
304
313
|
* @returns {SshKeyView}
|
|
305
314
|
*/
|
|
306
|
-
|
|
315
|
+
exports.import_ssh_key = function (imported_key, password) {
|
|
307
316
|
try {
|
|
308
317
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
309
318
|
const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -336,7 +345,7 @@ function addBorrowedObject(obj) {
|
|
|
336
345
|
* @param {any} error
|
|
337
346
|
* @returns {boolean}
|
|
338
347
|
*/
|
|
339
|
-
|
|
348
|
+
exports.isTestError = function (error) {
|
|
340
349
|
try {
|
|
341
350
|
const ret = wasm.isTestError(addBorrowedObject(error));
|
|
342
351
|
return ret !== 0;
|
|
@@ -349,7 +358,7 @@ module.exports.isTestError = function (error) {
|
|
|
349
358
|
* @param {any} error
|
|
350
359
|
* @returns {boolean}
|
|
351
360
|
*/
|
|
352
|
-
|
|
361
|
+
exports.isCollectionDecryptError = function (error) {
|
|
353
362
|
try {
|
|
354
363
|
const ret = wasm.isCollectionDecryptError(addBorrowedObject(error));
|
|
355
364
|
return ret !== 0;
|
|
@@ -362,7 +371,7 @@ module.exports.isCollectionDecryptError = function (error) {
|
|
|
362
371
|
* @param {any} error
|
|
363
372
|
* @returns {boolean}
|
|
364
373
|
*/
|
|
365
|
-
|
|
374
|
+
exports.isMasterPasswordError = function (error) {
|
|
366
375
|
try {
|
|
367
376
|
const ret = wasm.isMasterPasswordError(addBorrowedObject(error));
|
|
368
377
|
return ret !== 0;
|
|
@@ -375,7 +384,7 @@ module.exports.isMasterPasswordError = function (error) {
|
|
|
375
384
|
* @param {any} error
|
|
376
385
|
* @returns {boolean}
|
|
377
386
|
*/
|
|
378
|
-
|
|
387
|
+
exports.isDeriveKeyConnectorError = function (error) {
|
|
379
388
|
try {
|
|
380
389
|
const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
|
|
381
390
|
return ret !== 0;
|
|
@@ -388,7 +397,7 @@ module.exports.isDeriveKeyConnectorError = function (error) {
|
|
|
388
397
|
* @param {any} error
|
|
389
398
|
* @returns {boolean}
|
|
390
399
|
*/
|
|
391
|
-
|
|
400
|
+
exports.isEnrollAdminPasswordResetError = function (error) {
|
|
392
401
|
try {
|
|
393
402
|
const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
|
|
394
403
|
return ret !== 0;
|
|
@@ -401,7 +410,7 @@ module.exports.isEnrollAdminPasswordResetError = function (error) {
|
|
|
401
410
|
* @param {any} error
|
|
402
411
|
* @returns {boolean}
|
|
403
412
|
*/
|
|
404
|
-
|
|
413
|
+
exports.isCryptoClientError = function (error) {
|
|
405
414
|
try {
|
|
406
415
|
const ret = wasm.isCryptoClientError(addBorrowedObject(error));
|
|
407
416
|
return ret !== 0;
|
|
@@ -414,7 +423,7 @@ module.exports.isCryptoClientError = function (error) {
|
|
|
414
423
|
* @param {any} error
|
|
415
424
|
* @returns {boolean}
|
|
416
425
|
*/
|
|
417
|
-
|
|
426
|
+
exports.isStatefulCryptoError = function (error) {
|
|
418
427
|
try {
|
|
419
428
|
const ret = wasm.isStatefulCryptoError(addBorrowedObject(error));
|
|
420
429
|
return ret !== 0;
|
|
@@ -427,7 +436,7 @@ module.exports.isStatefulCryptoError = function (error) {
|
|
|
427
436
|
* @param {any} error
|
|
428
437
|
* @returns {boolean}
|
|
429
438
|
*/
|
|
430
|
-
|
|
439
|
+
exports.isEncryptionSettingsError = function (error) {
|
|
431
440
|
try {
|
|
432
441
|
const ret = wasm.isEncryptionSettingsError(addBorrowedObject(error));
|
|
433
442
|
return ret !== 0;
|
|
@@ -440,7 +449,7 @@ module.exports.isEncryptionSettingsError = function (error) {
|
|
|
440
449
|
* @param {any} error
|
|
441
450
|
* @returns {boolean}
|
|
442
451
|
*/
|
|
443
|
-
|
|
452
|
+
exports.isCryptoError = function (error) {
|
|
444
453
|
try {
|
|
445
454
|
const ret = wasm.isCryptoError(addBorrowedObject(error));
|
|
446
455
|
return ret !== 0;
|
|
@@ -458,21 +467,11 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
458
467
|
WASM_VECTOR_LEN = array.length;
|
|
459
468
|
return ptr;
|
|
460
469
|
}
|
|
461
|
-
|
|
462
|
-
function getArrayJsValueFromWasm0(ptr, len) {
|
|
463
|
-
ptr = ptr >>> 0;
|
|
464
|
-
const mem = getDataViewMemory0();
|
|
465
|
-
const result = [];
|
|
466
|
-
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
467
|
-
result.push(takeObject(mem.getUint32(i, true)));
|
|
468
|
-
}
|
|
469
|
-
return result;
|
|
470
|
-
}
|
|
471
470
|
/**
|
|
472
471
|
* @param {any} error
|
|
473
472
|
* @returns {boolean}
|
|
474
473
|
*/
|
|
475
|
-
|
|
474
|
+
exports.isExportError = function (error) {
|
|
476
475
|
try {
|
|
477
476
|
const ret = wasm.isExportError(addBorrowedObject(error));
|
|
478
477
|
return ret !== 0;
|
|
@@ -485,7 +484,7 @@ module.exports.isExportError = function (error) {
|
|
|
485
484
|
* @param {any} error
|
|
486
485
|
* @returns {boolean}
|
|
487
486
|
*/
|
|
488
|
-
|
|
487
|
+
exports.isUsernameError = function (error) {
|
|
489
488
|
try {
|
|
490
489
|
const ret = wasm.isUsernameError(addBorrowedObject(error));
|
|
491
490
|
return ret !== 0;
|
|
@@ -498,7 +497,7 @@ module.exports.isUsernameError = function (error) {
|
|
|
498
497
|
* @param {any} error
|
|
499
498
|
* @returns {boolean}
|
|
500
499
|
*/
|
|
501
|
-
|
|
500
|
+
exports.isPasswordError = function (error) {
|
|
502
501
|
try {
|
|
503
502
|
const ret = wasm.isPasswordError(addBorrowedObject(error));
|
|
504
503
|
return ret !== 0;
|
|
@@ -518,7 +517,7 @@ function _assertClass(instance, klass) {
|
|
|
518
517
|
* @param {DiscoverResponse} response
|
|
519
518
|
* @returns {Promise<void>}
|
|
520
519
|
*/
|
|
521
|
-
|
|
520
|
+
exports.ipcRegisterDiscoverHandler = function (ipc_client, response) {
|
|
522
521
|
_assertClass(ipc_client, IpcClient);
|
|
523
522
|
const ret = wasm.ipcRegisterDiscoverHandler(ipc_client.__wbg_ptr, addHeapObject(response));
|
|
524
523
|
return takeObject(ret);
|
|
@@ -531,7 +530,7 @@ module.exports.ipcRegisterDiscoverHandler = function (ipc_client, response) {
|
|
|
531
530
|
* @param {AbortSignal | null} [abort_signal]
|
|
532
531
|
* @returns {Promise<DiscoverResponse>}
|
|
533
532
|
*/
|
|
534
|
-
|
|
533
|
+
exports.ipcRequestDiscover = function (ipc_client, destination, abort_signal) {
|
|
535
534
|
_assertClass(ipc_client, IpcClient);
|
|
536
535
|
const ret = wasm.ipcRequestDiscover(
|
|
537
536
|
ipc_client.__wbg_ptr,
|
|
@@ -545,7 +544,7 @@ module.exports.ipcRequestDiscover = function (ipc_client, destination, abort_sig
|
|
|
545
544
|
* @param {any} error
|
|
546
545
|
* @returns {boolean}
|
|
547
546
|
*/
|
|
548
|
-
|
|
547
|
+
exports.isChannelError = function (error) {
|
|
549
548
|
try {
|
|
550
549
|
const ret = wasm.isChannelError(addBorrowedObject(error));
|
|
551
550
|
return ret !== 0;
|
|
@@ -558,7 +557,7 @@ module.exports.isChannelError = function (error) {
|
|
|
558
557
|
* @param {any} error
|
|
559
558
|
* @returns {boolean}
|
|
560
559
|
*/
|
|
561
|
-
|
|
560
|
+
exports.isDeserializeError = function (error) {
|
|
562
561
|
try {
|
|
563
562
|
const ret = wasm.isDeserializeError(addBorrowedObject(error));
|
|
564
563
|
return ret !== 0;
|
|
@@ -571,7 +570,7 @@ module.exports.isDeserializeError = function (error) {
|
|
|
571
570
|
* @param {any} error
|
|
572
571
|
* @returns {boolean}
|
|
573
572
|
*/
|
|
574
|
-
|
|
573
|
+
exports.isRequestError = function (error) {
|
|
575
574
|
try {
|
|
576
575
|
const ret = wasm.isRequestError(addBorrowedObject(error));
|
|
577
576
|
return ret !== 0;
|
|
@@ -584,7 +583,7 @@ module.exports.isRequestError = function (error) {
|
|
|
584
583
|
* @param {any} error
|
|
585
584
|
* @returns {boolean}
|
|
586
585
|
*/
|
|
587
|
-
|
|
586
|
+
exports.isTypedReceiveError = function (error) {
|
|
588
587
|
try {
|
|
589
588
|
const ret = wasm.isTypedReceiveError(addBorrowedObject(error));
|
|
590
589
|
return ret !== 0;
|
|
@@ -597,7 +596,7 @@ module.exports.isTypedReceiveError = function (error) {
|
|
|
597
596
|
* @param {any} error
|
|
598
597
|
* @returns {boolean}
|
|
599
598
|
*/
|
|
600
|
-
|
|
599
|
+
exports.isReceiveError = function (error) {
|
|
601
600
|
try {
|
|
602
601
|
const ret = wasm.isReceiveError(addBorrowedObject(error));
|
|
603
602
|
return ret !== 0;
|
|
@@ -610,7 +609,7 @@ module.exports.isReceiveError = function (error) {
|
|
|
610
609
|
* @param {any} error
|
|
611
610
|
* @returns {boolean}
|
|
612
611
|
*/
|
|
613
|
-
|
|
612
|
+
exports.isSubscribeError = function (error) {
|
|
614
613
|
try {
|
|
615
614
|
const ret = wasm.isSubscribeError(addBorrowedObject(error));
|
|
616
615
|
return ret !== 0;
|
|
@@ -623,7 +622,7 @@ module.exports.isSubscribeError = function (error) {
|
|
|
623
622
|
* @param {any} error
|
|
624
623
|
* @returns {boolean}
|
|
625
624
|
*/
|
|
626
|
-
|
|
625
|
+
exports.isSshKeyExportError = function (error) {
|
|
627
626
|
try {
|
|
628
627
|
const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
|
|
629
628
|
return ret !== 0;
|
|
@@ -636,7 +635,7 @@ module.exports.isSshKeyExportError = function (error) {
|
|
|
636
635
|
* @param {any} error
|
|
637
636
|
* @returns {boolean}
|
|
638
637
|
*/
|
|
639
|
-
|
|
638
|
+
exports.isSshKeyImportError = function (error) {
|
|
640
639
|
try {
|
|
641
640
|
const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
|
|
642
641
|
return ret !== 0;
|
|
@@ -649,7 +648,7 @@ module.exports.isSshKeyImportError = function (error) {
|
|
|
649
648
|
* @param {any} error
|
|
650
649
|
* @returns {boolean}
|
|
651
650
|
*/
|
|
652
|
-
|
|
651
|
+
exports.isKeyGenerationError = function (error) {
|
|
653
652
|
try {
|
|
654
653
|
const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
|
|
655
654
|
return ret !== 0;
|
|
@@ -662,7 +661,7 @@ module.exports.isKeyGenerationError = function (error) {
|
|
|
662
661
|
* @param {any} error
|
|
663
662
|
* @returns {boolean}
|
|
664
663
|
*/
|
|
665
|
-
|
|
664
|
+
exports.isDatabaseError = function (error) {
|
|
666
665
|
try {
|
|
667
666
|
const ret = wasm.isDatabaseError(addBorrowedObject(error));
|
|
668
667
|
return ret !== 0;
|
|
@@ -675,7 +674,7 @@ module.exports.isDatabaseError = function (error) {
|
|
|
675
674
|
* @param {any} error
|
|
676
675
|
* @returns {boolean}
|
|
677
676
|
*/
|
|
678
|
-
|
|
677
|
+
exports.isStateRegistryError = function (error) {
|
|
679
678
|
try {
|
|
680
679
|
const ret = wasm.isStateRegistryError(addBorrowedObject(error));
|
|
681
680
|
return ret !== 0;
|
|
@@ -688,7 +687,7 @@ module.exports.isStateRegistryError = function (error) {
|
|
|
688
687
|
* @param {any} error
|
|
689
688
|
* @returns {boolean}
|
|
690
689
|
*/
|
|
691
|
-
|
|
690
|
+
exports.isCallError = function (error) {
|
|
692
691
|
try {
|
|
693
692
|
const ret = wasm.isCallError(addBorrowedObject(error));
|
|
694
693
|
return ret !== 0;
|
|
@@ -701,7 +700,7 @@ module.exports.isCallError = function (error) {
|
|
|
701
700
|
* @param {any} error
|
|
702
701
|
* @returns {boolean}
|
|
703
702
|
*/
|
|
704
|
-
|
|
703
|
+
exports.isDecryptError = function (error) {
|
|
705
704
|
try {
|
|
706
705
|
const ret = wasm.isDecryptError(addBorrowedObject(error));
|
|
707
706
|
return ret !== 0;
|
|
@@ -714,7 +713,7 @@ module.exports.isDecryptError = function (error) {
|
|
|
714
713
|
* @param {any} error
|
|
715
714
|
* @returns {boolean}
|
|
716
715
|
*/
|
|
717
|
-
|
|
716
|
+
exports.isEncryptError = function (error) {
|
|
718
717
|
try {
|
|
719
718
|
const ret = wasm.isEncryptError(addBorrowedObject(error));
|
|
720
719
|
return ret !== 0;
|
|
@@ -727,7 +726,7 @@ module.exports.isEncryptError = function (error) {
|
|
|
727
726
|
* @param {any} error
|
|
728
727
|
* @returns {boolean}
|
|
729
728
|
*/
|
|
730
|
-
|
|
729
|
+
exports.isTotpError = function (error) {
|
|
731
730
|
try {
|
|
732
731
|
const ret = wasm.isTotpError(addBorrowedObject(error));
|
|
733
732
|
return ret !== 0;
|
|
@@ -740,7 +739,7 @@ module.exports.isTotpError = function (error) {
|
|
|
740
739
|
* @param {any} error
|
|
741
740
|
* @returns {boolean}
|
|
742
741
|
*/
|
|
743
|
-
|
|
742
|
+
exports.isGetFolderError = function (error) {
|
|
744
743
|
try {
|
|
745
744
|
const ret = wasm.isGetFolderError(addBorrowedObject(error));
|
|
746
745
|
return ret !== 0;
|
|
@@ -753,7 +752,7 @@ module.exports.isGetFolderError = function (error) {
|
|
|
753
752
|
* @param {any} error
|
|
754
753
|
* @returns {boolean}
|
|
755
754
|
*/
|
|
756
|
-
|
|
755
|
+
exports.isEditFolderError = function (error) {
|
|
757
756
|
try {
|
|
758
757
|
const ret = wasm.isEditFolderError(addBorrowedObject(error));
|
|
759
758
|
return ret !== 0;
|
|
@@ -766,7 +765,7 @@ module.exports.isEditFolderError = function (error) {
|
|
|
766
765
|
* @param {any} error
|
|
767
766
|
* @returns {boolean}
|
|
768
767
|
*/
|
|
769
|
-
|
|
768
|
+
exports.isCreateFolderError = function (error) {
|
|
770
769
|
try {
|
|
771
770
|
const ret = wasm.isCreateFolderError(addBorrowedObject(error));
|
|
772
771
|
return ret !== 0;
|
|
@@ -779,7 +778,7 @@ module.exports.isCreateFolderError = function (error) {
|
|
|
779
778
|
* @param {any} error
|
|
780
779
|
* @returns {boolean}
|
|
781
780
|
*/
|
|
782
|
-
|
|
781
|
+
exports.isCipherRiskError = function (error) {
|
|
783
782
|
try {
|
|
784
783
|
const ret = wasm.isCipherRiskError(addBorrowedObject(error));
|
|
785
784
|
return ret !== 0;
|
|
@@ -792,7 +791,7 @@ module.exports.isCipherRiskError = function (error) {
|
|
|
792
791
|
* @param {any} error
|
|
793
792
|
* @returns {boolean}
|
|
794
793
|
*/
|
|
795
|
-
|
|
794
|
+
exports.isGetCipherError = function (error) {
|
|
796
795
|
try {
|
|
797
796
|
const ret = wasm.isGetCipherError(addBorrowedObject(error));
|
|
798
797
|
return ret !== 0;
|
|
@@ -805,7 +804,7 @@ module.exports.isGetCipherError = function (error) {
|
|
|
805
804
|
* @param {any} error
|
|
806
805
|
* @returns {boolean}
|
|
807
806
|
*/
|
|
808
|
-
|
|
807
|
+
exports.isEditCipherError = function (error) {
|
|
809
808
|
try {
|
|
810
809
|
const ret = wasm.isEditCipherError(addBorrowedObject(error));
|
|
811
810
|
return ret !== 0;
|
|
@@ -818,7 +817,7 @@ module.exports.isEditCipherError = function (error) {
|
|
|
818
817
|
* @param {any} error
|
|
819
818
|
* @returns {boolean}
|
|
820
819
|
*/
|
|
821
|
-
|
|
820
|
+
exports.isCreateCipherError = function (error) {
|
|
822
821
|
try {
|
|
823
822
|
const ret = wasm.isCreateCipherError(addBorrowedObject(error));
|
|
824
823
|
return ret !== 0;
|
|
@@ -831,7 +830,7 @@ module.exports.isCreateCipherError = function (error) {
|
|
|
831
830
|
* @param {any} error
|
|
832
831
|
* @returns {boolean}
|
|
833
832
|
*/
|
|
834
|
-
|
|
833
|
+
exports.isCipherError = function (error) {
|
|
835
834
|
try {
|
|
836
835
|
const ret = wasm.isCipherError(addBorrowedObject(error));
|
|
837
836
|
return ret !== 0;
|
|
@@ -844,7 +843,7 @@ module.exports.isCipherError = function (error) {
|
|
|
844
843
|
* @param {any} error
|
|
845
844
|
* @returns {boolean}
|
|
846
845
|
*/
|
|
847
|
-
|
|
846
|
+
exports.isDecryptFileError = function (error) {
|
|
848
847
|
try {
|
|
849
848
|
const ret = wasm.isDecryptFileError(addBorrowedObject(error));
|
|
850
849
|
return ret !== 0;
|
|
@@ -857,7 +856,7 @@ module.exports.isDecryptFileError = function (error) {
|
|
|
857
856
|
* @param {any} error
|
|
858
857
|
* @returns {boolean}
|
|
859
858
|
*/
|
|
860
|
-
|
|
859
|
+
exports.isEncryptFileError = function (error) {
|
|
861
860
|
try {
|
|
862
861
|
const ret = wasm.isEncryptFileError(addBorrowedObject(error));
|
|
863
862
|
return ret !== 0;
|
|
@@ -866,18 +865,22 @@ module.exports.isEncryptFileError = function (error) {
|
|
|
866
865
|
}
|
|
867
866
|
};
|
|
868
867
|
|
|
869
|
-
function
|
|
870
|
-
wasm.
|
|
868
|
+
function wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01(arg0, arg1) {
|
|
869
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01(arg0, arg1);
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
function wasm_bindgen__convert__closures_____invoke__h142f80da75ccedf5(arg0, arg1, arg2) {
|
|
873
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h142f80da75ccedf5(
|
|
871
874
|
arg0,
|
|
872
875
|
arg1,
|
|
873
876
|
addHeapObject(arg2),
|
|
874
877
|
);
|
|
875
878
|
}
|
|
876
879
|
|
|
877
|
-
function
|
|
880
|
+
function wasm_bindgen__convert__closures_____invoke__he84e41ce162f03b8(arg0, arg1, arg2) {
|
|
878
881
|
try {
|
|
879
882
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
880
|
-
wasm.
|
|
883
|
+
wasm.wasm_bindgen__convert__closures_____invoke__he84e41ce162f03b8(
|
|
881
884
|
retptr,
|
|
882
885
|
arg0,
|
|
883
886
|
arg1,
|
|
@@ -893,15 +896,8 @@ function __wbg_adapter_57(arg0, arg1, arg2) {
|
|
|
893
896
|
}
|
|
894
897
|
}
|
|
895
898
|
|
|
896
|
-
function
|
|
897
|
-
wasm.
|
|
898
|
-
arg0,
|
|
899
|
-
arg1,
|
|
900
|
-
);
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
function __wbg_adapter_355(arg0, arg1, arg2, arg3) {
|
|
904
|
-
wasm.wasm_bindgen__convert__closures__invoke2_mut__h849ee2a9e4ae2f91(
|
|
899
|
+
function wasm_bindgen__convert__closures_____invoke__h4096c3b930b983e7(arg0, arg1, arg2, arg3) {
|
|
900
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h4096c3b930b983e7(
|
|
905
901
|
arg0,
|
|
906
902
|
arg1,
|
|
907
903
|
addHeapObject(arg2),
|
|
@@ -912,7 +908,7 @@ function __wbg_adapter_355(arg0, arg1, arg2, arg3) {
|
|
|
912
908
|
/**
|
|
913
909
|
* @enum {300 | 301 | 302 | 303 | 304 | 305}
|
|
914
910
|
*/
|
|
915
|
-
|
|
911
|
+
exports.CardLinkedIdType = Object.freeze({
|
|
916
912
|
CardholderName: 300,
|
|
917
913
|
300: "CardholderName",
|
|
918
914
|
ExpMonth: 301,
|
|
@@ -929,7 +925,7 @@ module.exports.CardLinkedIdType = Object.freeze({
|
|
|
929
925
|
/**
|
|
930
926
|
* @enum {0 | 1}
|
|
931
927
|
*/
|
|
932
|
-
|
|
928
|
+
exports.CipherRepromptType = Object.freeze({
|
|
933
929
|
None: 0,
|
|
934
930
|
0: "None",
|
|
935
931
|
Password: 1,
|
|
@@ -938,7 +934,7 @@ module.exports.CipherRepromptType = Object.freeze({
|
|
|
938
934
|
/**
|
|
939
935
|
* @enum {1 | 2 | 3 | 4 | 5}
|
|
940
936
|
*/
|
|
941
|
-
|
|
937
|
+
exports.CipherType = Object.freeze({
|
|
942
938
|
Login: 1,
|
|
943
939
|
1: "Login",
|
|
944
940
|
SecureNote: 2,
|
|
@@ -954,7 +950,7 @@ module.exports.CipherType = Object.freeze({
|
|
|
954
950
|
* Represents the type of a [FieldView].
|
|
955
951
|
* @enum {0 | 1 | 2 | 3}
|
|
956
952
|
*/
|
|
957
|
-
|
|
953
|
+
exports.FieldType = Object.freeze({
|
|
958
954
|
/**
|
|
959
955
|
* Text field
|
|
960
956
|
*/
|
|
@@ -979,7 +975,7 @@ module.exports.FieldType = Object.freeze({
|
|
|
979
975
|
/**
|
|
980
976
|
* @enum {400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418}
|
|
981
977
|
*/
|
|
982
|
-
|
|
978
|
+
exports.IdentityLinkedIdType = Object.freeze({
|
|
983
979
|
Title: 400,
|
|
984
980
|
400: "Title",
|
|
985
981
|
MiddleName: 401,
|
|
@@ -1022,7 +1018,7 @@ module.exports.IdentityLinkedIdType = Object.freeze({
|
|
|
1022
1018
|
/**
|
|
1023
1019
|
* @enum {0 | 1 | 2 | 3 | 4}
|
|
1024
1020
|
*/
|
|
1025
|
-
|
|
1021
|
+
exports.LogLevel = Object.freeze({
|
|
1026
1022
|
Trace: 0,
|
|
1027
1023
|
0: "Trace",
|
|
1028
1024
|
Debug: 1,
|
|
@@ -1037,7 +1033,7 @@ module.exports.LogLevel = Object.freeze({
|
|
|
1037
1033
|
/**
|
|
1038
1034
|
* @enum {100 | 101}
|
|
1039
1035
|
*/
|
|
1040
|
-
|
|
1036
|
+
exports.LoginLinkedIdType = Object.freeze({
|
|
1041
1037
|
Username: 100,
|
|
1042
1038
|
100: "Username",
|
|
1043
1039
|
Password: 101,
|
|
@@ -1046,14 +1042,14 @@ module.exports.LoginLinkedIdType = Object.freeze({
|
|
|
1046
1042
|
/**
|
|
1047
1043
|
* @enum {0}
|
|
1048
1044
|
*/
|
|
1049
|
-
|
|
1045
|
+
exports.SecureNoteType = Object.freeze({
|
|
1050
1046
|
Generic: 0,
|
|
1051
1047
|
0: "Generic",
|
|
1052
1048
|
});
|
|
1053
1049
|
/**
|
|
1054
1050
|
* @enum {0 | 1 | 2 | 3 | 4 | 5}
|
|
1055
1051
|
*/
|
|
1056
|
-
|
|
1052
|
+
exports.UriMatchType = Object.freeze({
|
|
1057
1053
|
Domain: 0,
|
|
1058
1054
|
0: "Domain",
|
|
1059
1055
|
Host: 1,
|
|
@@ -1131,7 +1127,9 @@ class AttachmentsClient {
|
|
|
1131
1127
|
}
|
|
1132
1128
|
}
|
|
1133
1129
|
}
|
|
1134
|
-
|
|
1130
|
+
if (Symbol.dispose) AttachmentsClient.prototype[Symbol.dispose] = AttachmentsClient.prototype.free;
|
|
1131
|
+
|
|
1132
|
+
exports.AttachmentsClient = AttachmentsClient;
|
|
1135
1133
|
|
|
1136
1134
|
const AuthClientFinalization =
|
|
1137
1135
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1177,7 +1175,9 @@ class AuthClient {
|
|
|
1177
1175
|
return SendAccessClient.__wrap(ret);
|
|
1178
1176
|
}
|
|
1179
1177
|
}
|
|
1180
|
-
|
|
1178
|
+
if (Symbol.dispose) AuthClient.prototype[Symbol.dispose] = AuthClient.prototype.free;
|
|
1179
|
+
|
|
1180
|
+
exports.AuthClient = AuthClient;
|
|
1181
1181
|
|
|
1182
1182
|
const BitwardenClientFinalization =
|
|
1183
1183
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1334,7 +1334,9 @@ class BitwardenClient {
|
|
|
1334
1334
|
return ExporterClient.__wrap(ret);
|
|
1335
1335
|
}
|
|
1336
1336
|
}
|
|
1337
|
-
|
|
1337
|
+
if (Symbol.dispose) BitwardenClient.prototype[Symbol.dispose] = BitwardenClient.prototype.free;
|
|
1338
|
+
|
|
1339
|
+
exports.BitwardenClient = BitwardenClient;
|
|
1338
1340
|
|
|
1339
1341
|
const CipherRiskClientFinalization =
|
|
1340
1342
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1417,7 +1419,9 @@ class CipherRiskClient {
|
|
|
1417
1419
|
return takeObject(ret);
|
|
1418
1420
|
}
|
|
1419
1421
|
}
|
|
1420
|
-
|
|
1422
|
+
if (Symbol.dispose) CipherRiskClient.prototype[Symbol.dispose] = CipherRiskClient.prototype.free;
|
|
1423
|
+
|
|
1424
|
+
exports.CipherRiskClient = CipherRiskClient;
|
|
1421
1425
|
|
|
1422
1426
|
const CiphersClientFinalization =
|
|
1423
1427
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1733,7 +1737,9 @@ class CiphersClient {
|
|
|
1733
1737
|
}
|
|
1734
1738
|
}
|
|
1735
1739
|
}
|
|
1736
|
-
|
|
1740
|
+
if (Symbol.dispose) CiphersClient.prototype[Symbol.dispose] = CiphersClient.prototype.free;
|
|
1741
|
+
|
|
1742
|
+
exports.CiphersClient = CiphersClient;
|
|
1737
1743
|
|
|
1738
1744
|
const CollectionViewNodeItemFinalization =
|
|
1739
1745
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1798,7 +1804,10 @@ class CollectionViewNodeItem {
|
|
|
1798
1804
|
return takeObject(ret);
|
|
1799
1805
|
}
|
|
1800
1806
|
}
|
|
1801
|
-
|
|
1807
|
+
if (Symbol.dispose)
|
|
1808
|
+
CollectionViewNodeItem.prototype[Symbol.dispose] = CollectionViewNodeItem.prototype.free;
|
|
1809
|
+
|
|
1810
|
+
exports.CollectionViewNodeItem = CollectionViewNodeItem;
|
|
1802
1811
|
|
|
1803
1812
|
const CollectionViewTreeFinalization =
|
|
1804
1813
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1869,7 +1878,10 @@ class CollectionViewTree {
|
|
|
1869
1878
|
}
|
|
1870
1879
|
}
|
|
1871
1880
|
}
|
|
1872
|
-
|
|
1881
|
+
if (Symbol.dispose)
|
|
1882
|
+
CollectionViewTree.prototype[Symbol.dispose] = CollectionViewTree.prototype.free;
|
|
1883
|
+
|
|
1884
|
+
exports.CollectionViewTree = CollectionViewTree;
|
|
1873
1885
|
|
|
1874
1886
|
const CollectionsClientFinalization =
|
|
1875
1887
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1953,7 +1965,9 @@ class CollectionsClient {
|
|
|
1953
1965
|
return CollectionViewTree.__wrap(ret);
|
|
1954
1966
|
}
|
|
1955
1967
|
}
|
|
1956
|
-
|
|
1968
|
+
if (Symbol.dispose) CollectionsClient.prototype[Symbol.dispose] = CollectionsClient.prototype.free;
|
|
1969
|
+
|
|
1970
|
+
exports.CollectionsClient = CollectionsClient;
|
|
1957
1971
|
|
|
1958
1972
|
const CryptoClientFinalization =
|
|
1959
1973
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2197,7 +2211,9 @@ class CryptoClient {
|
|
|
2197
2211
|
}
|
|
2198
2212
|
}
|
|
2199
2213
|
}
|
|
2200
|
-
|
|
2214
|
+
if (Symbol.dispose) CryptoClient.prototype[Symbol.dispose] = CryptoClient.prototype.free;
|
|
2215
|
+
|
|
2216
|
+
exports.CryptoClient = CryptoClient;
|
|
2201
2217
|
|
|
2202
2218
|
const ExporterClientFinalization =
|
|
2203
2219
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2379,7 +2395,9 @@ class ExporterClient {
|
|
|
2379
2395
|
}
|
|
2380
2396
|
}
|
|
2381
2397
|
}
|
|
2382
|
-
|
|
2398
|
+
if (Symbol.dispose) ExporterClient.prototype[Symbol.dispose] = ExporterClient.prototype.free;
|
|
2399
|
+
|
|
2400
|
+
exports.ExporterClient = ExporterClient;
|
|
2383
2401
|
|
|
2384
2402
|
const FoldersClientFinalization =
|
|
2385
2403
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2514,7 +2532,9 @@ class FoldersClient {
|
|
|
2514
2532
|
return takeObject(ret);
|
|
2515
2533
|
}
|
|
2516
2534
|
}
|
|
2517
|
-
|
|
2535
|
+
if (Symbol.dispose) FoldersClient.prototype[Symbol.dispose] = FoldersClient.prototype.free;
|
|
2536
|
+
|
|
2537
|
+
exports.FoldersClient = FoldersClient;
|
|
2518
2538
|
|
|
2519
2539
|
const GeneratorClientFinalization =
|
|
2520
2540
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2646,7 +2666,9 @@ class GeneratorClient {
|
|
|
2646
2666
|
}
|
|
2647
2667
|
}
|
|
2648
2668
|
}
|
|
2649
|
-
|
|
2669
|
+
if (Symbol.dispose) GeneratorClient.prototype[Symbol.dispose] = GeneratorClient.prototype.free;
|
|
2670
|
+
|
|
2671
|
+
exports.GeneratorClient = GeneratorClient;
|
|
2650
2672
|
|
|
2651
2673
|
const IdentityClientFinalization =
|
|
2652
2674
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2676,7 +2698,9 @@ class IdentityClient {
|
|
|
2676
2698
|
wasm.__wbg_identityclient_free(ptr, 0);
|
|
2677
2699
|
}
|
|
2678
2700
|
}
|
|
2679
|
-
|
|
2701
|
+
if (Symbol.dispose) IdentityClient.prototype[Symbol.dispose] = IdentityClient.prototype.free;
|
|
2702
|
+
|
|
2703
|
+
exports.IdentityClient = IdentityClient;
|
|
2680
2704
|
|
|
2681
2705
|
const IncomingMessageFinalization =
|
|
2682
2706
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2816,7 +2840,9 @@ class IncomingMessage {
|
|
|
2816
2840
|
return takeObject(ret);
|
|
2817
2841
|
}
|
|
2818
2842
|
}
|
|
2819
|
-
|
|
2843
|
+
if (Symbol.dispose) IncomingMessage.prototype[Symbol.dispose] = IncomingMessage.prototype.free;
|
|
2844
|
+
|
|
2845
|
+
exports.IncomingMessage = IncomingMessage;
|
|
2820
2846
|
|
|
2821
2847
|
const IpcClientFinalization =
|
|
2822
2848
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2827,6 +2853,14 @@ const IpcClientFinalization =
|
|
|
2827
2853
|
* [IpcClient] documentation.
|
|
2828
2854
|
*/
|
|
2829
2855
|
class IpcClient {
|
|
2856
|
+
static __wrap(ptr) {
|
|
2857
|
+
ptr = ptr >>> 0;
|
|
2858
|
+
const obj = Object.create(IpcClient.prototype);
|
|
2859
|
+
obj.__wbg_ptr = ptr;
|
|
2860
|
+
IpcClientFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
2861
|
+
return obj;
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2830
2864
|
__destroy_into_raw() {
|
|
2831
2865
|
const ptr = this.__wbg_ptr;
|
|
2832
2866
|
this.__wbg_ptr = 0;
|
|
@@ -2839,14 +2873,30 @@ class IpcClient {
|
|
|
2839
2873
|
wasm.__wbg_ipcclient_free(ptr, 0);
|
|
2840
2874
|
}
|
|
2841
2875
|
/**
|
|
2876
|
+
* Create a new `IpcClient` instance with an in-memory session repository for saving
|
|
2877
|
+
* sessions within the SDK.
|
|
2842
2878
|
* @param {IpcCommunicationBackend} communication_provider
|
|
2879
|
+
* @returns {IpcClient}
|
|
2843
2880
|
*/
|
|
2844
|
-
|
|
2881
|
+
static newWithSdkInMemorySessions(communication_provider) {
|
|
2845
2882
|
_assertClass(communication_provider, IpcCommunicationBackend);
|
|
2846
|
-
const ret = wasm.
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2883
|
+
const ret = wasm.ipcclient_newWithSdkInMemorySessions(communication_provider.__wbg_ptr);
|
|
2884
|
+
return IpcClient.__wrap(ret);
|
|
2885
|
+
}
|
|
2886
|
+
/**
|
|
2887
|
+
* Create a new `IpcClient` instance with a client-managed session repository for saving
|
|
2888
|
+
* sessions using State Provider.
|
|
2889
|
+
* @param {IpcCommunicationBackend} communication_provider
|
|
2890
|
+
* @param {IpcSessionRepository} session_repository
|
|
2891
|
+
* @returns {IpcClient}
|
|
2892
|
+
*/
|
|
2893
|
+
static newWithClientManagedSessions(communication_provider, session_repository) {
|
|
2894
|
+
_assertClass(communication_provider, IpcCommunicationBackend);
|
|
2895
|
+
const ret = wasm.ipcclient_newWithClientManagedSessions(
|
|
2896
|
+
communication_provider.__wbg_ptr,
|
|
2897
|
+
addHeapObject(session_repository),
|
|
2898
|
+
);
|
|
2899
|
+
return IpcClient.__wrap(ret);
|
|
2850
2900
|
}
|
|
2851
2901
|
/**
|
|
2852
2902
|
* @returns {Promise<void>}
|
|
@@ -2880,7 +2930,9 @@ class IpcClient {
|
|
|
2880
2930
|
return takeObject(ret);
|
|
2881
2931
|
}
|
|
2882
2932
|
}
|
|
2883
|
-
|
|
2933
|
+
if (Symbol.dispose) IpcClient.prototype[Symbol.dispose] = IpcClient.prototype.free;
|
|
2934
|
+
|
|
2935
|
+
exports.IpcClient = IpcClient;
|
|
2884
2936
|
|
|
2885
2937
|
const IpcClientSubscriptionFinalization =
|
|
2886
2938
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2922,7 +2974,10 @@ class IpcClientSubscription {
|
|
|
2922
2974
|
return takeObject(ret);
|
|
2923
2975
|
}
|
|
2924
2976
|
}
|
|
2925
|
-
|
|
2977
|
+
if (Symbol.dispose)
|
|
2978
|
+
IpcClientSubscription.prototype[Symbol.dispose] = IpcClientSubscription.prototype.free;
|
|
2979
|
+
|
|
2980
|
+
exports.IpcClientSubscription = IpcClientSubscription;
|
|
2926
2981
|
|
|
2927
2982
|
const IpcCommunicationBackendFinalization =
|
|
2928
2983
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2973,7 +3028,10 @@ class IpcCommunicationBackend {
|
|
|
2973
3028
|
}
|
|
2974
3029
|
}
|
|
2975
3030
|
}
|
|
2976
|
-
|
|
3031
|
+
if (Symbol.dispose)
|
|
3032
|
+
IpcCommunicationBackend.prototype[Symbol.dispose] = IpcCommunicationBackend.prototype.free;
|
|
3033
|
+
|
|
3034
|
+
exports.IpcCommunicationBackend = IpcCommunicationBackend;
|
|
2977
3035
|
|
|
2978
3036
|
const OutgoingMessageFinalization =
|
|
2979
3037
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -3116,7 +3174,9 @@ class OutgoingMessage {
|
|
|
3116
3174
|
}
|
|
3117
3175
|
}
|
|
3118
3176
|
}
|
|
3119
|
-
|
|
3177
|
+
if (Symbol.dispose) OutgoingMessage.prototype[Symbol.dispose] = OutgoingMessage.prototype.free;
|
|
3178
|
+
|
|
3179
|
+
exports.OutgoingMessage = OutgoingMessage;
|
|
3120
3180
|
|
|
3121
3181
|
const PlatformClientFinalization =
|
|
3122
3182
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -3168,7 +3228,9 @@ class PlatformClient {
|
|
|
3168
3228
|
}
|
|
3169
3229
|
}
|
|
3170
3230
|
}
|
|
3171
|
-
|
|
3231
|
+
if (Symbol.dispose) PlatformClient.prototype[Symbol.dispose] = PlatformClient.prototype.free;
|
|
3232
|
+
|
|
3233
|
+
exports.PlatformClient = PlatformClient;
|
|
3172
3234
|
|
|
3173
3235
|
const PureCryptoFinalization =
|
|
3174
3236
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -3984,7 +4046,9 @@ class PureCrypto {
|
|
|
3984
4046
|
}
|
|
3985
4047
|
}
|
|
3986
4048
|
}
|
|
3987
|
-
|
|
4049
|
+
if (Symbol.dispose) PureCrypto.prototype[Symbol.dispose] = PureCrypto.prototype.free;
|
|
4050
|
+
|
|
4051
|
+
exports.PureCrypto = PureCrypto;
|
|
3988
4052
|
|
|
3989
4053
|
const SendAccessClientFinalization =
|
|
3990
4054
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4026,7 +4090,9 @@ class SendAccessClient {
|
|
|
4026
4090
|
return takeObject(ret);
|
|
4027
4091
|
}
|
|
4028
4092
|
}
|
|
4029
|
-
|
|
4093
|
+
if (Symbol.dispose) SendAccessClient.prototype[Symbol.dispose] = SendAccessClient.prototype.free;
|
|
4094
|
+
|
|
4095
|
+
exports.SendAccessClient = SendAccessClient;
|
|
4030
4096
|
|
|
4031
4097
|
const StateClientFinalization =
|
|
4032
4098
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4084,7 +4150,9 @@ class StateClient {
|
|
|
4084
4150
|
return takeObject(ret);
|
|
4085
4151
|
}
|
|
4086
4152
|
}
|
|
4087
|
-
|
|
4153
|
+
if (Symbol.dispose) StateClient.prototype[Symbol.dispose] = StateClient.prototype.free;
|
|
4154
|
+
|
|
4155
|
+
exports.StateClient = StateClient;
|
|
4088
4156
|
|
|
4089
4157
|
const TotpClientFinalization =
|
|
4090
4158
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4149,7 +4217,9 @@ class TotpClient {
|
|
|
4149
4217
|
}
|
|
4150
4218
|
}
|
|
4151
4219
|
}
|
|
4152
|
-
|
|
4220
|
+
if (Symbol.dispose) TotpClient.prototype[Symbol.dispose] = TotpClient.prototype.free;
|
|
4221
|
+
|
|
4222
|
+
exports.TotpClient = TotpClient;
|
|
4153
4223
|
|
|
4154
4224
|
const VaultClientFinalization =
|
|
4155
4225
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4225,9 +4295,21 @@ class VaultClient {
|
|
|
4225
4295
|
return CipherRiskClient.__wrap(ret);
|
|
4226
4296
|
}
|
|
4227
4297
|
}
|
|
4228
|
-
|
|
4298
|
+
if (Symbol.dispose) VaultClient.prototype[Symbol.dispose] = VaultClient.prototype.free;
|
|
4229
4299
|
|
|
4230
|
-
|
|
4300
|
+
exports.VaultClient = VaultClient;
|
|
4301
|
+
|
|
4302
|
+
exports.__wbg_Error_e83987f665cf5504 = function (arg0, arg1) {
|
|
4303
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
4304
|
+
return addHeapObject(ret);
|
|
4305
|
+
};
|
|
4306
|
+
|
|
4307
|
+
exports.__wbg_Number_bb48ca12f395cd08 = function (arg0) {
|
|
4308
|
+
const ret = Number(getObject(arg0));
|
|
4309
|
+
return ret;
|
|
4310
|
+
};
|
|
4311
|
+
|
|
4312
|
+
exports.__wbg_String_8f0eb39a4a4c2f66 = function (arg0, arg1) {
|
|
4231
4313
|
const ret = String(getObject(arg1));
|
|
4232
4314
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4233
4315
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -4235,37 +4317,119 @@ module.exports.__wbg_String_8f0eb39a4a4c2f66 = function (arg0, arg1) {
|
|
|
4235
4317
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4236
4318
|
};
|
|
4237
4319
|
|
|
4238
|
-
|
|
4239
|
-
getObject(
|
|
4320
|
+
exports.__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd = function (arg0, arg1) {
|
|
4321
|
+
const v = getObject(arg1);
|
|
4322
|
+
const ret = typeof v === "bigint" ? v : undefined;
|
|
4323
|
+
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
4324
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
4240
4325
|
};
|
|
4241
4326
|
|
|
4242
|
-
|
|
4243
|
-
getObject(arg0)
|
|
4327
|
+
exports.__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68 = function (arg0) {
|
|
4328
|
+
const v = getObject(arg0);
|
|
4329
|
+
const ret = typeof v === "boolean" ? v : undefined;
|
|
4330
|
+
return isLikeNone(ret) ? 0xffffff : ret ? 1 : 0;
|
|
4244
4331
|
};
|
|
4245
4332
|
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4333
|
+
exports.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function (arg0, arg1) {
|
|
4334
|
+
const ret = debugString(getObject(arg1));
|
|
4335
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4336
|
+
const len1 = WASM_VECTOR_LEN;
|
|
4337
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4338
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4250
4339
|
};
|
|
4251
4340
|
|
|
4252
|
-
|
|
4253
|
-
getObject(arg0)
|
|
4341
|
+
exports.__wbg___wbindgen_in_bb933bd9e1b3bc0f = function (arg0, arg1) {
|
|
4342
|
+
const ret = getObject(arg0) in getObject(arg1);
|
|
4343
|
+
return ret;
|
|
4254
4344
|
};
|
|
4255
4345
|
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
}, arguments);
|
|
4346
|
+
exports.__wbg___wbindgen_is_bigint_cb320707dcd35f0b = function (arg0) {
|
|
4347
|
+
const ret = typeof getObject(arg0) === "bigint";
|
|
4348
|
+
return ret;
|
|
4260
4349
|
};
|
|
4261
4350
|
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4351
|
+
exports.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function (arg0) {
|
|
4352
|
+
const ret = typeof getObject(arg0) === "function";
|
|
4353
|
+
return ret;
|
|
4354
|
+
};
|
|
4355
|
+
|
|
4356
|
+
exports.__wbg___wbindgen_is_object_c818261d21f283a4 = function (arg0) {
|
|
4357
|
+
const val = getObject(arg0);
|
|
4358
|
+
const ret = typeof val === "object" && val !== null;
|
|
4359
|
+
return ret;
|
|
4360
|
+
};
|
|
4361
|
+
|
|
4362
|
+
exports.__wbg___wbindgen_is_string_fbb76cb2940daafd = function (arg0) {
|
|
4363
|
+
const ret = typeof getObject(arg0) === "string";
|
|
4364
|
+
return ret;
|
|
4365
|
+
};
|
|
4366
|
+
|
|
4367
|
+
exports.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function (arg0) {
|
|
4368
|
+
const ret = getObject(arg0) === undefined;
|
|
4369
|
+
return ret;
|
|
4370
|
+
};
|
|
4371
|
+
|
|
4372
|
+
exports.__wbg___wbindgen_jsval_eq_6b13ab83478b1c50 = function (arg0, arg1) {
|
|
4373
|
+
const ret = getObject(arg0) === getObject(arg1);
|
|
4374
|
+
return ret;
|
|
4375
|
+
};
|
|
4376
|
+
|
|
4377
|
+
exports.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function (arg0, arg1) {
|
|
4378
|
+
const ret = getObject(arg0) == getObject(arg1);
|
|
4379
|
+
return ret;
|
|
4380
|
+
};
|
|
4381
|
+
|
|
4382
|
+
exports.__wbg___wbindgen_number_get_a20bf9b85341449d = function (arg0, arg1) {
|
|
4383
|
+
const obj = getObject(arg1);
|
|
4384
|
+
const ret = typeof obj === "number" ? obj : undefined;
|
|
4385
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
4386
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
4387
|
+
};
|
|
4388
|
+
|
|
4389
|
+
exports.__wbg___wbindgen_string_get_e4f06c90489ad01b = function (arg0, arg1) {
|
|
4390
|
+
const obj = getObject(arg1);
|
|
4391
|
+
const ret = typeof obj === "string" ? obj : undefined;
|
|
4392
|
+
var ptr1 = isLikeNone(ret)
|
|
4393
|
+
? 0
|
|
4394
|
+
: passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4395
|
+
var len1 = WASM_VECTOR_LEN;
|
|
4396
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4397
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4398
|
+
};
|
|
4399
|
+
|
|
4400
|
+
exports.__wbg___wbindgen_throw_b855445ff6a94295 = function (arg0, arg1) {
|
|
4401
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
4402
|
+
};
|
|
4403
|
+
|
|
4404
|
+
exports.__wbg__wbg_cb_unref_2454a539ea5790d9 = function (arg0) {
|
|
4405
|
+
getObject(arg0)._wbg_cb_unref();
|
|
4406
|
+
};
|
|
4407
|
+
|
|
4408
|
+
exports.__wbg_abort_28ad55c5825b004d = function (arg0, arg1) {
|
|
4409
|
+
getObject(arg0).abort(getObject(arg1));
|
|
4410
|
+
};
|
|
4411
|
+
|
|
4412
|
+
exports.__wbg_abort_3b256cd5ad0ac232 = function () {
|
|
4413
|
+
return handleError(function (arg0) {
|
|
4414
|
+
getObject(arg0).abort();
|
|
4415
|
+
}, arguments);
|
|
4416
|
+
};
|
|
4417
|
+
|
|
4418
|
+
exports.__wbg_abort_e7eb059f72f9ed0c = function (arg0) {
|
|
4419
|
+
getObject(arg0).abort();
|
|
4420
|
+
};
|
|
4421
|
+
|
|
4422
|
+
exports.__wbg_addEventListener_dc3da056b615f634 = function (arg0, arg1, arg2, arg3) {
|
|
4423
|
+
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
4424
|
+
};
|
|
4425
|
+
|
|
4426
|
+
exports.__wbg_append_45ddba58b0706f62 = function () {
|
|
4427
|
+
return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
4428
|
+
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
4265
4429
|
}, arguments);
|
|
4266
4430
|
};
|
|
4267
4431
|
|
|
4268
|
-
|
|
4432
|
+
exports.__wbg_append_892c5e2d5bdd60ac = function () {
|
|
4269
4433
|
return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4270
4434
|
getObject(arg0).append(
|
|
4271
4435
|
getStringFromWasm0(arg1, arg2),
|
|
@@ -4275,86 +4439,94 @@ module.exports.__wbg_append_b2d1fc16de2a0e81 = function () {
|
|
|
4275
4439
|
}, arguments);
|
|
4276
4440
|
};
|
|
4277
4441
|
|
|
4278
|
-
|
|
4442
|
+
exports.__wbg_append_b577eb3a177bc0fa = function () {
|
|
4443
|
+
return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
4444
|
+
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
4445
|
+
}, arguments);
|
|
4446
|
+
};
|
|
4447
|
+
|
|
4448
|
+
exports.__wbg_append_cb0bba4cf263a60b = function () {
|
|
4279
4449
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4280
4450
|
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
4281
4451
|
}, arguments);
|
|
4282
4452
|
};
|
|
4283
4453
|
|
|
4284
|
-
|
|
4454
|
+
exports.__wbg_arrayBuffer_b375eccb84b4ddf3 = function () {
|
|
4285
4455
|
return handleError(function (arg0) {
|
|
4286
4456
|
const ret = getObject(arg0).arrayBuffer();
|
|
4287
4457
|
return addHeapObject(ret);
|
|
4288
4458
|
}, arguments);
|
|
4289
4459
|
};
|
|
4290
4460
|
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
};
|
|
4295
|
-
|
|
4296
|
-
module.exports.__wbg_call_672a4d21634d4a24 = function () {
|
|
4297
|
-
return handleError(function (arg0, arg1) {
|
|
4298
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
4461
|
+
exports.__wbg_call_525440f72fbfc0ea = function () {
|
|
4462
|
+
return handleError(function (arg0, arg1, arg2) {
|
|
4463
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
4299
4464
|
return addHeapObject(ret);
|
|
4300
4465
|
}, arguments);
|
|
4301
4466
|
};
|
|
4302
4467
|
|
|
4303
|
-
|
|
4304
|
-
return handleError(function (arg0, arg1
|
|
4305
|
-
const ret = getObject(arg0).call(getObject(arg1)
|
|
4468
|
+
exports.__wbg_call_e762c39fa8ea36bf = function () {
|
|
4469
|
+
return handleError(function (arg0, arg1) {
|
|
4470
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
4306
4471
|
return addHeapObject(ret);
|
|
4307
4472
|
}, arguments);
|
|
4308
4473
|
};
|
|
4309
4474
|
|
|
4310
|
-
|
|
4475
|
+
exports.__wbg_cipher_eb520ade5d02e2c8 = function (arg0) {
|
|
4311
4476
|
const ret = getObject(arg0).cipher;
|
|
4312
4477
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4313
4478
|
};
|
|
4314
4479
|
|
|
4315
|
-
|
|
4480
|
+
exports.__wbg_clearTimeout_b1115618e821c3b2 = function (arg0) {
|
|
4316
4481
|
const ret = clearTimeout(takeObject(arg0));
|
|
4317
4482
|
return addHeapObject(ret);
|
|
4318
4483
|
};
|
|
4319
4484
|
|
|
4320
|
-
|
|
4485
|
+
exports.__wbg_collectionviewnodeitem_new = function (arg0) {
|
|
4321
4486
|
const ret = CollectionViewNodeItem.__wrap(arg0);
|
|
4322
4487
|
return addHeapObject(ret);
|
|
4323
4488
|
};
|
|
4324
4489
|
|
|
4325
|
-
|
|
4490
|
+
exports.__wbg_createObjectStore_283a43a822bf49ca = function () {
|
|
4326
4491
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4327
4492
|
const ret = getObject(arg0).createObjectStore(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
4328
4493
|
return addHeapObject(ret);
|
|
4329
4494
|
}, arguments);
|
|
4330
4495
|
};
|
|
4331
4496
|
|
|
4332
|
-
|
|
4497
|
+
exports.__wbg_crypto_574e78ad8b13b65f = function (arg0) {
|
|
4333
4498
|
const ret = getObject(arg0).crypto;
|
|
4334
4499
|
return addHeapObject(ret);
|
|
4335
4500
|
};
|
|
4336
4501
|
|
|
4337
|
-
|
|
4502
|
+
exports.__wbg_debug_e55e1461940eb14d = function (arg0, arg1, arg2, arg3) {
|
|
4338
4503
|
console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
4339
4504
|
};
|
|
4340
4505
|
|
|
4341
|
-
|
|
4506
|
+
exports.__wbg_deleteObjectStore_444a266b213fafcf = function () {
|
|
4342
4507
|
return handleError(function (arg0, arg1, arg2) {
|
|
4343
4508
|
getObject(arg0).deleteObjectStore(getStringFromWasm0(arg1, arg2));
|
|
4344
4509
|
}, arguments);
|
|
4345
4510
|
};
|
|
4346
4511
|
|
|
4347
|
-
|
|
4512
|
+
exports.__wbg_done_2042aa2670fb1db1 = function (arg0) {
|
|
4348
4513
|
const ret = getObject(arg0).done;
|
|
4349
4514
|
return ret;
|
|
4350
4515
|
};
|
|
4351
4516
|
|
|
4352
|
-
|
|
4517
|
+
exports.__wbg_entries_e171b586f8f6bdbf = function (arg0) {
|
|
4353
4518
|
const ret = Object.entries(getObject(arg0));
|
|
4354
4519
|
return addHeapObject(ret);
|
|
4355
4520
|
};
|
|
4356
4521
|
|
|
4357
|
-
|
|
4522
|
+
exports.__wbg_error_3e929987fcd3e155 = function () {
|
|
4523
|
+
return handleError(function (arg0) {
|
|
4524
|
+
const ret = getObject(arg0).error;
|
|
4525
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4526
|
+
}, arguments);
|
|
4527
|
+
};
|
|
4528
|
+
|
|
4529
|
+
exports.__wbg_error_7534b8e9a36f1ab4 = function (arg0, arg1) {
|
|
4358
4530
|
let deferred0_0;
|
|
4359
4531
|
let deferred0_1;
|
|
4360
4532
|
try {
|
|
@@ -4366,55 +4538,58 @@ module.exports.__wbg_error_7534b8e9a36f1ab4 = function (arg0, arg1) {
|
|
|
4366
4538
|
}
|
|
4367
4539
|
};
|
|
4368
4540
|
|
|
4369
|
-
|
|
4541
|
+
exports.__wbg_error_d8b22cf4e59a6791 = function (arg0, arg1, arg2, arg3) {
|
|
4370
4542
|
console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
4371
4543
|
};
|
|
4372
4544
|
|
|
4373
|
-
|
|
4374
|
-
return handleError(function (arg0) {
|
|
4375
|
-
const ret = getObject(arg0).error;
|
|
4376
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4377
|
-
}, arguments);
|
|
4378
|
-
};
|
|
4379
|
-
|
|
4380
|
-
module.exports.__wbg_fetch_3afbdcc7ddbf16fe = function (arg0) {
|
|
4545
|
+
exports.__wbg_fetch_3afbdcc7ddbf16fe = function (arg0) {
|
|
4381
4546
|
const ret = fetch(getObject(arg0));
|
|
4382
4547
|
return addHeapObject(ret);
|
|
4383
4548
|
};
|
|
4384
4549
|
|
|
4385
|
-
|
|
4550
|
+
exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
|
|
4386
4551
|
const ret = getObject(arg0).fetch(getObject(arg1));
|
|
4387
4552
|
return addHeapObject(ret);
|
|
4388
4553
|
};
|
|
4389
4554
|
|
|
4390
|
-
|
|
4555
|
+
exports.__wbg_folder_a9c369db22013424 = function (arg0) {
|
|
4391
4556
|
const ret = getObject(arg0).folder;
|
|
4392
4557
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4393
4558
|
};
|
|
4394
4559
|
|
|
4395
|
-
|
|
4560
|
+
exports.__wbg_getFullYear_8240d5a15191feae = function (arg0) {
|
|
4396
4561
|
const ret = getObject(arg0).getFullYear();
|
|
4397
4562
|
return ret;
|
|
4398
4563
|
};
|
|
4399
4564
|
|
|
4400
|
-
|
|
4565
|
+
exports.__wbg_getRandomValues_38097e921c2494c3 = function () {
|
|
4401
4566
|
return handleError(function (arg0, arg1) {
|
|
4402
4567
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
4403
4568
|
}, arguments);
|
|
4404
4569
|
};
|
|
4405
4570
|
|
|
4406
|
-
|
|
4571
|
+
exports.__wbg_getRandomValues_b8f5dbd5f3995a9e = function () {
|
|
4407
4572
|
return handleError(function (arg0, arg1) {
|
|
4408
4573
|
getObject(arg0).getRandomValues(getObject(arg1));
|
|
4409
4574
|
}, arguments);
|
|
4410
4575
|
};
|
|
4411
4576
|
|
|
4412
|
-
|
|
4577
|
+
exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
|
|
4413
4578
|
const ret = getObject(arg0).getTime();
|
|
4414
4579
|
return ret;
|
|
4415
4580
|
};
|
|
4416
4581
|
|
|
4417
|
-
|
|
4582
|
+
exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
|
|
4583
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4584
|
+
return addHeapObject(ret);
|
|
4585
|
+
};
|
|
4586
|
+
|
|
4587
|
+
exports.__wbg_get_access_token_2a6f3a7572a71513 = function (arg0) {
|
|
4588
|
+
const ret = getObject(arg0).get_access_token();
|
|
4589
|
+
return addHeapObject(ret);
|
|
4590
|
+
};
|
|
4591
|
+
|
|
4592
|
+
exports.__wbg_get_e964441f5ccb3c80 = function () {
|
|
4418
4593
|
return handleError(function (arg0, arg1, arg2) {
|
|
4419
4594
|
let deferred0_0;
|
|
4420
4595
|
let deferred0_1;
|
|
@@ -4429,14 +4604,7 @@ module.exports.__wbg_get_669deafd63743335 = function () {
|
|
|
4429
4604
|
}, arguments);
|
|
4430
4605
|
};
|
|
4431
4606
|
|
|
4432
|
-
|
|
4433
|
-
return handleError(function (arg0, arg1) {
|
|
4434
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4435
|
-
return addHeapObject(ret);
|
|
4436
|
-
}, arguments);
|
|
4437
|
-
};
|
|
4438
|
-
|
|
4439
|
-
module.exports.__wbg_get_ab004b7c5fd98da4 = function () {
|
|
4607
|
+
exports.__wbg_get_ec74c278e7438da5 = function () {
|
|
4440
4608
|
return handleError(function (arg0, arg1, arg2) {
|
|
4441
4609
|
let deferred0_0;
|
|
4442
4610
|
let deferred0_1;
|
|
@@ -4451,57 +4619,54 @@ module.exports.__wbg_get_ab004b7c5fd98da4 = function () {
|
|
|
4451
4619
|
}, arguments);
|
|
4452
4620
|
};
|
|
4453
4621
|
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
module.exports.__wbg_getaccesstoken_005ebb39d33faf4d = function (arg0) {
|
|
4460
|
-
const ret = getObject(arg0).get_access_token();
|
|
4461
|
-
return addHeapObject(ret);
|
|
4622
|
+
exports.__wbg_get_efcb449f58ec27c2 = function () {
|
|
4623
|
+
return handleError(function (arg0, arg1) {
|
|
4624
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4625
|
+
return addHeapObject(ret);
|
|
4626
|
+
}, arguments);
|
|
4462
4627
|
};
|
|
4463
4628
|
|
|
4464
|
-
|
|
4629
|
+
exports.__wbg_get_with_ref_key_1dc361bd10053bfe = function (arg0, arg1) {
|
|
4465
4630
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
4466
4631
|
return addHeapObject(ret);
|
|
4467
4632
|
};
|
|
4468
4633
|
|
|
4469
|
-
|
|
4634
|
+
exports.__wbg_has_787fafc980c3ccdb = function () {
|
|
4470
4635
|
return handleError(function (arg0, arg1) {
|
|
4471
4636
|
const ret = Reflect.has(getObject(arg0), getObject(arg1));
|
|
4472
4637
|
return ret;
|
|
4473
4638
|
}, arguments);
|
|
4474
4639
|
};
|
|
4475
4640
|
|
|
4476
|
-
|
|
4641
|
+
exports.__wbg_headers_b87d7eaba61c3278 = function (arg0) {
|
|
4477
4642
|
const ret = getObject(arg0).headers;
|
|
4478
4643
|
return addHeapObject(ret);
|
|
4479
4644
|
};
|
|
4480
4645
|
|
|
4481
|
-
|
|
4646
|
+
exports.__wbg_incomingmessage_new = function (arg0) {
|
|
4482
4647
|
const ret = IncomingMessage.__wrap(arg0);
|
|
4483
4648
|
return addHeapObject(ret);
|
|
4484
4649
|
};
|
|
4485
4650
|
|
|
4486
|
-
|
|
4651
|
+
exports.__wbg_indexedDB_62bfbbd55ec74b14 = function () {
|
|
4487
4652
|
return handleError(function (arg0) {
|
|
4488
4653
|
const ret = getObject(arg0).indexedDB;
|
|
4489
4654
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4490
4655
|
}, arguments);
|
|
4491
4656
|
};
|
|
4492
4657
|
|
|
4493
|
-
|
|
4658
|
+
exports.__wbg_indexedDB_8b464318fe56681e = function () {
|
|
4494
4659
|
return handleError(function (arg0) {
|
|
4495
4660
|
const ret = getObject(arg0).indexedDB;
|
|
4496
4661
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4497
4662
|
}, arguments);
|
|
4498
4663
|
};
|
|
4499
4664
|
|
|
4500
|
-
|
|
4665
|
+
exports.__wbg_info_68cd5b51ef7e5137 = function (arg0, arg1, arg2, arg3) {
|
|
4501
4666
|
console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
4502
4667
|
};
|
|
4503
4668
|
|
|
4504
|
-
|
|
4669
|
+
exports.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function (arg0) {
|
|
4505
4670
|
let result;
|
|
4506
4671
|
try {
|
|
4507
4672
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -4512,7 +4677,7 @@ module.exports.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function (arg0) {
|
|
|
4512
4677
|
return ret;
|
|
4513
4678
|
};
|
|
4514
4679
|
|
|
4515
|
-
|
|
4680
|
+
exports.__wbg_instanceof_DomException_83b15e7b042a0b1a = function (arg0) {
|
|
4516
4681
|
let result;
|
|
4517
4682
|
try {
|
|
4518
4683
|
result = getObject(arg0) instanceof DOMException;
|
|
@@ -4523,7 +4688,7 @@ module.exports.__wbg_instanceof_DomException_ed1ccb7aaf39034c = function (arg0)
|
|
|
4523
4688
|
return ret;
|
|
4524
4689
|
};
|
|
4525
4690
|
|
|
4526
|
-
|
|
4691
|
+
exports.__wbg_instanceof_IdbDatabase_fcf75ffeeec3ec8c = function (arg0) {
|
|
4527
4692
|
let result;
|
|
4528
4693
|
try {
|
|
4529
4694
|
result = getObject(arg0) instanceof IDBDatabase;
|
|
@@ -4534,7 +4699,7 @@ module.exports.__wbg_instanceof_IdbDatabase_a3ef009ca00059f9 = function (arg0) {
|
|
|
4534
4699
|
return ret;
|
|
4535
4700
|
};
|
|
4536
4701
|
|
|
4537
|
-
|
|
4702
|
+
exports.__wbg_instanceof_IdbOpenDbRequest_08e4929084e51476 = function (arg0) {
|
|
4538
4703
|
let result;
|
|
4539
4704
|
try {
|
|
4540
4705
|
result = getObject(arg0) instanceof IDBOpenDBRequest;
|
|
@@ -4545,7 +4710,7 @@ module.exports.__wbg_instanceof_IdbOpenDbRequest_a3416e156c9db893 = function (ar
|
|
|
4545
4710
|
return ret;
|
|
4546
4711
|
};
|
|
4547
4712
|
|
|
4548
|
-
|
|
4713
|
+
exports.__wbg_instanceof_IdbRequest_26754883a3cc8f81 = function (arg0) {
|
|
4549
4714
|
let result;
|
|
4550
4715
|
try {
|
|
4551
4716
|
result = getObject(arg0) instanceof IDBRequest;
|
|
@@ -4556,7 +4721,7 @@ module.exports.__wbg_instanceof_IdbRequest_4813c3f207666aa4 = function (arg0) {
|
|
|
4556
4721
|
return ret;
|
|
4557
4722
|
};
|
|
4558
4723
|
|
|
4559
|
-
|
|
4724
|
+
exports.__wbg_instanceof_Map_8579b5e2ab5437c7 = function (arg0) {
|
|
4560
4725
|
let result;
|
|
4561
4726
|
try {
|
|
4562
4727
|
result = getObject(arg0) instanceof Map;
|
|
@@ -4567,7 +4732,7 @@ module.exports.__wbg_instanceof_Map_f3469ce2244d2430 = function (arg0) {
|
|
|
4567
4732
|
return ret;
|
|
4568
4733
|
};
|
|
4569
4734
|
|
|
4570
|
-
|
|
4735
|
+
exports.__wbg_instanceof_Response_f4f3e87e07f3135c = function (arg0) {
|
|
4571
4736
|
let result;
|
|
4572
4737
|
try {
|
|
4573
4738
|
result = getObject(arg0) instanceof Response;
|
|
@@ -4578,7 +4743,7 @@ module.exports.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function (arg0) {
|
|
|
4578
4743
|
return ret;
|
|
4579
4744
|
};
|
|
4580
4745
|
|
|
4581
|
-
|
|
4746
|
+
exports.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function (arg0) {
|
|
4582
4747
|
let result;
|
|
4583
4748
|
try {
|
|
4584
4749
|
result = getObject(arg0) instanceof Uint8Array;
|
|
@@ -4589,7 +4754,7 @@ module.exports.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function (arg0) {
|
|
|
4589
4754
|
return ret;
|
|
4590
4755
|
};
|
|
4591
4756
|
|
|
4592
|
-
|
|
4757
|
+
exports.__wbg_instanceof_Window_4846dbb3de56c84c = function (arg0) {
|
|
4593
4758
|
let result;
|
|
4594
4759
|
try {
|
|
4595
4760
|
result = getObject(arg0) instanceof Window;
|
|
@@ -4600,7 +4765,7 @@ module.exports.__wbg_instanceof_Window_def73ea0955fc569 = function (arg0) {
|
|
|
4600
4765
|
return ret;
|
|
4601
4766
|
};
|
|
4602
4767
|
|
|
4603
|
-
|
|
4768
|
+
exports.__wbg_instanceof_WorkerGlobalScope_e31f49b6d33fcadd = function (arg0) {
|
|
4604
4769
|
let result;
|
|
4605
4770
|
try {
|
|
4606
4771
|
result = getObject(arg0) instanceof WorkerGlobalScope;
|
|
@@ -4611,60 +4776,60 @@ module.exports.__wbg_instanceof_WorkerGlobalScope_dbdbdea7e3b56493 = function (a
|
|
|
4611
4776
|
return ret;
|
|
4612
4777
|
};
|
|
4613
4778
|
|
|
4614
|
-
|
|
4779
|
+
exports.__wbg_ipcclientsubscription_new = function (arg0) {
|
|
4615
4780
|
const ret = IpcClientSubscription.__wrap(arg0);
|
|
4616
4781
|
return addHeapObject(ret);
|
|
4617
4782
|
};
|
|
4618
4783
|
|
|
4619
|
-
|
|
4784
|
+
exports.__wbg_isArray_96e0af9891d0945d = function (arg0) {
|
|
4620
4785
|
const ret = Array.isArray(getObject(arg0));
|
|
4621
4786
|
return ret;
|
|
4622
4787
|
};
|
|
4623
4788
|
|
|
4624
|
-
|
|
4789
|
+
exports.__wbg_isSafeInteger_d216eda7911dde36 = function (arg0) {
|
|
4625
4790
|
const ret = Number.isSafeInteger(getObject(arg0));
|
|
4626
4791
|
return ret;
|
|
4627
4792
|
};
|
|
4628
4793
|
|
|
4629
|
-
|
|
4794
|
+
exports.__wbg_iterator_e5822695327a3c39 = function () {
|
|
4630
4795
|
const ret = Symbol.iterator;
|
|
4631
4796
|
return addHeapObject(ret);
|
|
4632
4797
|
};
|
|
4633
4798
|
|
|
4634
|
-
|
|
4799
|
+
exports.__wbg_length_69bca3cb64fc8748 = function (arg0) {
|
|
4635
4800
|
const ret = getObject(arg0).length;
|
|
4636
4801
|
return ret;
|
|
4637
4802
|
};
|
|
4638
4803
|
|
|
4639
|
-
|
|
4804
|
+
exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
|
|
4640
4805
|
const ret = getObject(arg0).length;
|
|
4641
4806
|
return ret;
|
|
4642
4807
|
};
|
|
4643
4808
|
|
|
4644
|
-
|
|
4809
|
+
exports.__wbg_list_b8dfecdd2b65e61e = function () {
|
|
4645
4810
|
return handleError(function (arg0) {
|
|
4646
4811
|
const ret = getObject(arg0).list();
|
|
4647
4812
|
return addHeapObject(ret);
|
|
4648
4813
|
}, arguments);
|
|
4649
4814
|
};
|
|
4650
4815
|
|
|
4651
|
-
|
|
4816
|
+
exports.__wbg_list_daa32c63b02d85cb = function () {
|
|
4652
4817
|
return handleError(function (arg0) {
|
|
4653
4818
|
const ret = getObject(arg0).list();
|
|
4654
4819
|
return addHeapObject(ret);
|
|
4655
4820
|
}, arguments);
|
|
4656
4821
|
};
|
|
4657
4822
|
|
|
4658
|
-
|
|
4823
|
+
exports.__wbg_log_45eb3a49e7cdcb64 = function (arg0, arg1, arg2, arg3) {
|
|
4659
4824
|
console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
4660
4825
|
};
|
|
4661
4826
|
|
|
4662
|
-
|
|
4827
|
+
exports.__wbg_msCrypto_a61aeb35a24c1329 = function (arg0) {
|
|
4663
4828
|
const ret = getObject(arg0).msCrypto;
|
|
4664
4829
|
return addHeapObject(ret);
|
|
4665
4830
|
};
|
|
4666
4831
|
|
|
4667
|
-
|
|
4832
|
+
exports.__wbg_name_3a33ad25b892b2dd = function (arg0, arg1) {
|
|
4668
4833
|
const ret = getObject(arg1).name;
|
|
4669
4834
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4670
4835
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -4672,26 +4837,36 @@ module.exports.__wbg_name_f2d27098bfd843e7 = function (arg0, arg1) {
|
|
|
4672
4837
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4673
4838
|
};
|
|
4674
4839
|
|
|
4675
|
-
|
|
4840
|
+
exports.__wbg_new_0_f9740686d739025c = function () {
|
|
4676
4841
|
const ret = new Date();
|
|
4677
4842
|
return addHeapObject(ret);
|
|
4678
4843
|
};
|
|
4679
4844
|
|
|
4680
|
-
|
|
4845
|
+
exports.__wbg_new_1acc0b6eea89d040 = function () {
|
|
4846
|
+
const ret = new Object();
|
|
4847
|
+
return addHeapObject(ret);
|
|
4848
|
+
};
|
|
4849
|
+
|
|
4850
|
+
exports.__wbg_new_2531773dac38ebb3 = function () {
|
|
4681
4851
|
return handleError(function () {
|
|
4682
|
-
const ret = new
|
|
4852
|
+
const ret = new AbortController();
|
|
4683
4853
|
return addHeapObject(ret);
|
|
4684
4854
|
}, arguments);
|
|
4685
4855
|
};
|
|
4686
4856
|
|
|
4687
|
-
|
|
4857
|
+
exports.__wbg_new_3c3d849046688a66 = function (arg0, arg1) {
|
|
4688
4858
|
try {
|
|
4689
4859
|
var state0 = { a: arg0, b: arg1 };
|
|
4690
4860
|
var cb0 = (arg0, arg1) => {
|
|
4691
4861
|
const a = state0.a;
|
|
4692
4862
|
state0.a = 0;
|
|
4693
4863
|
try {
|
|
4694
|
-
return
|
|
4864
|
+
return wasm_bindgen__convert__closures_____invoke__h4096c3b930b983e7(
|
|
4865
|
+
a,
|
|
4866
|
+
state0.b,
|
|
4867
|
+
arg0,
|
|
4868
|
+
arg1,
|
|
4869
|
+
);
|
|
4695
4870
|
} finally {
|
|
4696
4871
|
state0.a = a;
|
|
4697
4872
|
}
|
|
@@ -4703,51 +4878,46 @@ module.exports.__wbg_new_23a2665fac83c611 = function (arg0, arg1) {
|
|
|
4703
4878
|
}
|
|
4704
4879
|
};
|
|
4705
4880
|
|
|
4706
|
-
|
|
4707
|
-
const ret = new
|
|
4881
|
+
exports.__wbg_new_5a79be3ab53b8aa5 = function (arg0) {
|
|
4882
|
+
const ret = new Uint8Array(getObject(arg0));
|
|
4708
4883
|
return addHeapObject(ret);
|
|
4709
4884
|
};
|
|
4710
4885
|
|
|
4711
|
-
|
|
4886
|
+
exports.__wbg_new_68651c719dcda04e = function () {
|
|
4712
4887
|
const ret = new Map();
|
|
4713
4888
|
return addHeapObject(ret);
|
|
4714
4889
|
};
|
|
4715
4890
|
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4891
|
+
exports.__wbg_new_6f694bb0585846e0 = function () {
|
|
4892
|
+
return handleError(function () {
|
|
4893
|
+
const ret = new FormData();
|
|
4894
|
+
return addHeapObject(ret);
|
|
4895
|
+
}, arguments);
|
|
4719
4896
|
};
|
|
4720
4897
|
|
|
4721
|
-
|
|
4898
|
+
exports.__wbg_new_8a6f238a6ece86ea = function () {
|
|
4722
4899
|
const ret = new Error();
|
|
4723
4900
|
return addHeapObject(ret);
|
|
4724
4901
|
};
|
|
4725
4902
|
|
|
4726
|
-
|
|
4903
|
+
exports.__wbg_new_9edf9838a2def39c = function () {
|
|
4727
4904
|
return handleError(function () {
|
|
4728
|
-
const ret = new
|
|
4905
|
+
const ret = new Headers();
|
|
4729
4906
|
return addHeapObject(ret);
|
|
4730
4907
|
}, arguments);
|
|
4731
4908
|
};
|
|
4732
4909
|
|
|
4733
|
-
|
|
4734
|
-
const ret = new Uint8Array(getObject(arg0));
|
|
4735
|
-
return addHeapObject(ret);
|
|
4736
|
-
};
|
|
4737
|
-
|
|
4738
|
-
module.exports.__wbg_new_c68d7209be747379 = function (arg0, arg1) {
|
|
4910
|
+
exports.__wbg_new_a7442b4b19c1a356 = function (arg0, arg1) {
|
|
4739
4911
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
4740
4912
|
return addHeapObject(ret);
|
|
4741
4913
|
};
|
|
4742
4914
|
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
return addHeapObject(ret);
|
|
4747
|
-
}, arguments);
|
|
4915
|
+
exports.__wbg_new_e17d9f43105b08be = function () {
|
|
4916
|
+
const ret = new Array();
|
|
4917
|
+
return addHeapObject(ret);
|
|
4748
4918
|
};
|
|
4749
4919
|
|
|
4750
|
-
|
|
4920
|
+
exports.__wbg_new_f24b6d53abe5bc82 = function (arg0, arg1) {
|
|
4751
4921
|
let deferred0_0;
|
|
4752
4922
|
let deferred0_1;
|
|
4753
4923
|
try {
|
|
@@ -4760,101 +4930,105 @@ module.exports.__wbg_new_f24b6d53abe5bc82 = function (arg0, arg1) {
|
|
|
4760
4930
|
}
|
|
4761
4931
|
};
|
|
4762
4932
|
|
|
4763
|
-
|
|
4764
|
-
const ret = new
|
|
4933
|
+
exports.__wbg_new_from_slice_92f4d78ca282a2d2 = function (arg0, arg1) {
|
|
4934
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
4765
4935
|
return addHeapObject(ret);
|
|
4766
4936
|
};
|
|
4767
4937
|
|
|
4768
|
-
|
|
4769
|
-
const ret = new
|
|
4938
|
+
exports.__wbg_new_no_args_ee98eee5275000a4 = function (arg0, arg1) {
|
|
4939
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
4770
4940
|
return addHeapObject(ret);
|
|
4771
4941
|
};
|
|
4772
4942
|
|
|
4773
|
-
|
|
4943
|
+
exports.__wbg_new_with_length_01aa0dc35aa13543 = function (arg0) {
|
|
4774
4944
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
4775
4945
|
return addHeapObject(ret);
|
|
4776
4946
|
};
|
|
4777
4947
|
|
|
4778
|
-
|
|
4948
|
+
exports.__wbg_new_with_str_and_init_0ae7728b6ec367b1 = function () {
|
|
4779
4949
|
return handleError(function (arg0, arg1, arg2) {
|
|
4780
4950
|
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
4781
4951
|
return addHeapObject(ret);
|
|
4782
4952
|
}, arguments);
|
|
4783
4953
|
};
|
|
4784
4954
|
|
|
4785
|
-
|
|
4955
|
+
exports.__wbg_new_with_u8_array_sequence_and_options_0c1d0bd56d93d25a = function () {
|
|
4786
4956
|
return handleError(function (arg0, arg1) {
|
|
4787
4957
|
const ret = new Blob(getObject(arg0), getObject(arg1));
|
|
4788
4958
|
return addHeapObject(ret);
|
|
4789
4959
|
}, arguments);
|
|
4790
4960
|
};
|
|
4791
4961
|
|
|
4792
|
-
|
|
4793
|
-
const ret = getObject(arg0).next;
|
|
4794
|
-
return addHeapObject(ret);
|
|
4795
|
-
};
|
|
4796
|
-
|
|
4797
|
-
module.exports.__wbg_next_6574e1a8a62d1055 = function () {
|
|
4962
|
+
exports.__wbg_next_020810e0ae8ebcb0 = function () {
|
|
4798
4963
|
return handleError(function (arg0) {
|
|
4799
4964
|
const ret = getObject(arg0).next();
|
|
4800
4965
|
return addHeapObject(ret);
|
|
4801
4966
|
}, arguments);
|
|
4802
4967
|
};
|
|
4803
4968
|
|
|
4804
|
-
|
|
4969
|
+
exports.__wbg_next_2c826fe5dfec6b6a = function (arg0) {
|
|
4970
|
+
const ret = getObject(arg0).next;
|
|
4971
|
+
return addHeapObject(ret);
|
|
4972
|
+
};
|
|
4973
|
+
|
|
4974
|
+
exports.__wbg_node_905d3e251edff8a2 = function (arg0) {
|
|
4805
4975
|
const ret = getObject(arg0).node;
|
|
4806
4976
|
return addHeapObject(ret);
|
|
4807
4977
|
};
|
|
4808
4978
|
|
|
4809
|
-
|
|
4979
|
+
exports.__wbg_now_f5ba683d8ce2c571 = function (arg0) {
|
|
4810
4980
|
const ret = getObject(arg0).now();
|
|
4811
4981
|
return ret;
|
|
4812
4982
|
};
|
|
4813
4983
|
|
|
4814
|
-
|
|
4984
|
+
exports.__wbg_open_9d8c51d122a5a6ea = function () {
|
|
4815
4985
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4816
4986
|
const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
|
|
4817
4987
|
return addHeapObject(ret);
|
|
4818
4988
|
}, arguments);
|
|
4819
4989
|
};
|
|
4820
4990
|
|
|
4821
|
-
|
|
4991
|
+
exports.__wbg_parse_2a704d6b78abb2b8 = function () {
|
|
4822
4992
|
return handleError(function (arg0, arg1) {
|
|
4823
4993
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
4824
4994
|
return addHeapObject(ret);
|
|
4825
4995
|
}, arguments);
|
|
4826
4996
|
};
|
|
4827
4997
|
|
|
4828
|
-
|
|
4998
|
+
exports.__wbg_preventDefault_1f362670ce7ef430 = function (arg0) {
|
|
4829
4999
|
getObject(arg0).preventDefault();
|
|
4830
5000
|
};
|
|
4831
5001
|
|
|
4832
|
-
|
|
5002
|
+
exports.__wbg_process_dc0fbacc7c1c06f7 = function (arg0) {
|
|
4833
5003
|
const ret = getObject(arg0).process;
|
|
4834
5004
|
return addHeapObject(ret);
|
|
4835
5005
|
};
|
|
4836
5006
|
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
return ret;
|
|
5007
|
+
exports.__wbg_prototypesetcall_2a6620b6922694b2 = function (arg0, arg1, arg2) {
|
|
5008
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
4840
5009
|
};
|
|
4841
5010
|
|
|
4842
|
-
|
|
4843
|
-
|
|
5011
|
+
exports.__wbg_push_df81a39d04db858c = function (arg0, arg1) {
|
|
5012
|
+
const ret = getObject(arg0).push(getObject(arg1));
|
|
5013
|
+
return ret;
|
|
4844
5014
|
};
|
|
4845
5015
|
|
|
4846
|
-
|
|
5016
|
+
exports.__wbg_queueMicrotask_34d692c25c47d05b = function (arg0) {
|
|
4847
5017
|
const ret = getObject(arg0).queueMicrotask;
|
|
4848
5018
|
return addHeapObject(ret);
|
|
4849
5019
|
};
|
|
4850
5020
|
|
|
4851
|
-
|
|
5021
|
+
exports.__wbg_queueMicrotask_9d76cacb20c84d58 = function (arg0) {
|
|
5022
|
+
queueMicrotask(getObject(arg0));
|
|
5023
|
+
};
|
|
5024
|
+
|
|
5025
|
+
exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
4852
5026
|
return handleError(function (arg0, arg1) {
|
|
4853
5027
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
4854
5028
|
}, arguments);
|
|
4855
5029
|
};
|
|
4856
5030
|
|
|
4857
|
-
|
|
5031
|
+
exports.__wbg_remove_3bf97e854da9e7c3 = function () {
|
|
4858
5032
|
return handleError(function (arg0, arg1, arg2) {
|
|
4859
5033
|
let deferred0_0;
|
|
4860
5034
|
let deferred0_1;
|
|
@@ -4869,7 +5043,7 @@ module.exports.__wbg_remove_956f7c593f896a01 = function () {
|
|
|
4869
5043
|
}, arguments);
|
|
4870
5044
|
};
|
|
4871
5045
|
|
|
4872
|
-
|
|
5046
|
+
exports.__wbg_remove_be4a47406b9a0def = function () {
|
|
4873
5047
|
return handleError(function (arg0, arg1, arg2) {
|
|
4874
5048
|
let deferred0_0;
|
|
4875
5049
|
let deferred0_1;
|
|
@@ -4884,50 +5058,38 @@ module.exports.__wbg_remove_e3a32c8e47e778c1 = function () {
|
|
|
4884
5058
|
}, arguments);
|
|
4885
5059
|
};
|
|
4886
5060
|
|
|
4887
|
-
|
|
5061
|
+
exports.__wbg_require_60cc747a6bc5215a = function () {
|
|
4888
5062
|
return handleError(function () {
|
|
4889
5063
|
const ret = module.require;
|
|
4890
5064
|
return addHeapObject(ret);
|
|
4891
5065
|
}, arguments);
|
|
4892
5066
|
};
|
|
4893
5067
|
|
|
4894
|
-
|
|
5068
|
+
exports.__wbg_resolve_caf97c30b83f7053 = function (arg0) {
|
|
4895
5069
|
const ret = Promise.resolve(getObject(arg0));
|
|
4896
5070
|
return addHeapObject(ret);
|
|
4897
5071
|
};
|
|
4898
5072
|
|
|
4899
|
-
|
|
5073
|
+
exports.__wbg_result_25e75004b82b9830 = function () {
|
|
4900
5074
|
return handleError(function (arg0) {
|
|
4901
5075
|
const ret = getObject(arg0).result;
|
|
4902
5076
|
return addHeapObject(ret);
|
|
4903
5077
|
}, arguments);
|
|
4904
5078
|
};
|
|
4905
5079
|
|
|
4906
|
-
|
|
5080
|
+
exports.__wbg_send_9b8fc6bb517867dd = function () {
|
|
4907
5081
|
return handleError(function (arg0, arg1) {
|
|
4908
5082
|
const ret = getObject(arg0).send(OutgoingMessage.__wrap(arg1));
|
|
4909
5083
|
return addHeapObject(ret);
|
|
4910
5084
|
}, arguments);
|
|
4911
5085
|
};
|
|
4912
5086
|
|
|
4913
|
-
|
|
5087
|
+
exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
|
|
4914
5088
|
const ret = setTimeout(getObject(arg0), arg1);
|
|
4915
5089
|
return addHeapObject(ret);
|
|
4916
5090
|
};
|
|
4917
5091
|
|
|
4918
|
-
|
|
4919
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
4920
|
-
};
|
|
4921
|
-
|
|
4922
|
-
module.exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
4923
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
4924
|
-
};
|
|
4925
|
-
|
|
4926
|
-
module.exports.__wbg_set_65595bdd868b3009 = function (arg0, arg1, arg2) {
|
|
4927
|
-
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
4928
|
-
};
|
|
4929
|
-
|
|
4930
|
-
module.exports.__wbg_set_89104a657df0b114 = function () {
|
|
5092
|
+
exports.__wbg_set_10039b2e1149cb0c = function () {
|
|
4931
5093
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4932
5094
|
let deferred0_0;
|
|
4933
5095
|
let deferred0_1;
|
|
@@ -4942,12 +5104,28 @@ module.exports.__wbg_set_89104a657df0b114 = function () {
|
|
|
4942
5104
|
}, arguments);
|
|
4943
5105
|
};
|
|
4944
5106
|
|
|
4945
|
-
|
|
5107
|
+
exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
5108
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5109
|
+
};
|
|
5110
|
+
|
|
5111
|
+
exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
|
|
4946
5112
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
4947
5113
|
return addHeapObject(ret);
|
|
4948
5114
|
};
|
|
4949
5115
|
|
|
4950
|
-
|
|
5116
|
+
exports.__wbg_set_body_3c365989753d61f4 = function (arg0, arg1) {
|
|
5117
|
+
getObject(arg0).body = getObject(arg1);
|
|
5118
|
+
};
|
|
5119
|
+
|
|
5120
|
+
exports.__wbg_set_c213c871859d6500 = function (arg0, arg1, arg2) {
|
|
5121
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
5122
|
+
};
|
|
5123
|
+
|
|
5124
|
+
exports.__wbg_set_credentials_f621cd2d85c0c228 = function (arg0, arg1) {
|
|
5125
|
+
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5126
|
+
};
|
|
5127
|
+
|
|
5128
|
+
exports.__wbg_set_f2f0abdffceab618 = function () {
|
|
4951
5129
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4952
5130
|
let deferred0_0;
|
|
4953
5131
|
let deferred0_1;
|
|
@@ -4962,27 +5140,19 @@ module.exports.__wbg_set_d46a2477f493c1aa = function () {
|
|
|
4962
5140
|
}, arguments);
|
|
4963
5141
|
};
|
|
4964
5142
|
|
|
4965
|
-
|
|
4966
|
-
getObject(arg0).body = getObject(arg1);
|
|
4967
|
-
};
|
|
4968
|
-
|
|
4969
|
-
module.exports.__wbg_setcredentials_c3a22f1cd105a2c6 = function (arg0, arg1) {
|
|
4970
|
-
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
4971
|
-
};
|
|
4972
|
-
|
|
4973
|
-
module.exports.__wbg_setheaders_834c0bdb6a8949ad = function (arg0, arg1) {
|
|
5143
|
+
exports.__wbg_set_headers_6926da238cd32ee4 = function (arg0, arg1) {
|
|
4974
5144
|
getObject(arg0).headers = getObject(arg1);
|
|
4975
5145
|
};
|
|
4976
5146
|
|
|
4977
|
-
|
|
5147
|
+
exports.__wbg_set_method_c02d8cbbe204ac2d = function (arg0, arg1, arg2) {
|
|
4978
5148
|
getObject(arg0).method = getStringFromWasm0(arg1, arg2);
|
|
4979
5149
|
};
|
|
4980
5150
|
|
|
4981
|
-
|
|
5151
|
+
exports.__wbg_set_mode_52ef73cfa79639cb = function (arg0, arg1) {
|
|
4982
5152
|
getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
|
|
4983
5153
|
};
|
|
4984
5154
|
|
|
4985
|
-
|
|
5155
|
+
exports.__wbg_set_name_c0e2d6f348c746f4 = function (arg0, arg1, arg2) {
|
|
4986
5156
|
let deferred0_0;
|
|
4987
5157
|
let deferred0_1;
|
|
4988
5158
|
try {
|
|
@@ -4994,27 +5164,27 @@ module.exports.__wbg_setname_c0e2d6f348c746f4 = function (arg0, arg1, arg2) {
|
|
|
4994
5164
|
}
|
|
4995
5165
|
};
|
|
4996
5166
|
|
|
4997
|
-
|
|
5167
|
+
exports.__wbg_set_onerror_dc82fea584ffccaa = function (arg0, arg1) {
|
|
4998
5168
|
getObject(arg0).onerror = getObject(arg1);
|
|
4999
5169
|
};
|
|
5000
5170
|
|
|
5001
|
-
|
|
5171
|
+
exports.__wbg_set_onsuccess_f367d002b462109e = function (arg0, arg1) {
|
|
5002
5172
|
getObject(arg0).onsuccess = getObject(arg1);
|
|
5003
5173
|
};
|
|
5004
5174
|
|
|
5005
|
-
|
|
5175
|
+
exports.__wbg_set_onupgradeneeded_0a519a73284a1418 = function (arg0, arg1) {
|
|
5006
5176
|
getObject(arg0).onupgradeneeded = getObject(arg1);
|
|
5007
5177
|
};
|
|
5008
5178
|
|
|
5009
|
-
|
|
5179
|
+
exports.__wbg_set_signal_dda2cf7ccb6bee0f = function (arg0, arg1) {
|
|
5010
5180
|
getObject(arg0).signal = getObject(arg1);
|
|
5011
5181
|
};
|
|
5012
5182
|
|
|
5013
|
-
|
|
5183
|
+
exports.__wbg_set_type_63fa4c18251f6545 = function (arg0, arg1, arg2) {
|
|
5014
5184
|
getObject(arg0).type = getStringFromWasm0(arg1, arg2);
|
|
5015
5185
|
};
|
|
5016
5186
|
|
|
5017
|
-
|
|
5187
|
+
exports.__wbg_set_variant_d1d41b778dfe9c17 = function (arg0, arg1, arg2) {
|
|
5018
5188
|
let deferred0_0;
|
|
5019
5189
|
let deferred0_1;
|
|
5020
5190
|
try {
|
|
@@ -5026,12 +5196,12 @@ module.exports.__wbg_setvariant_d1d41b778dfe9c17 = function (arg0, arg1, arg2) {
|
|
|
5026
5196
|
}
|
|
5027
5197
|
};
|
|
5028
5198
|
|
|
5029
|
-
|
|
5199
|
+
exports.__wbg_signal_4db5aa055bf9eb9a = function (arg0) {
|
|
5030
5200
|
const ret = getObject(arg0).signal;
|
|
5031
5201
|
return addHeapObject(ret);
|
|
5032
5202
|
};
|
|
5033
5203
|
|
|
5034
|
-
|
|
5204
|
+
exports.__wbg_stack_0ed75d68575b0f3c = function (arg0, arg1) {
|
|
5035
5205
|
const ret = getObject(arg1).stack;
|
|
5036
5206
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5037
5207
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -5039,76 +5209,76 @@ module.exports.__wbg_stack_0ed75d68575b0f3c = function (arg0, arg1) {
|
|
|
5039
5209
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5040
5210
|
};
|
|
5041
5211
|
|
|
5042
|
-
|
|
5212
|
+
exports.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function () {
|
|
5043
5213
|
const ret = typeof global === "undefined" ? null : global;
|
|
5044
5214
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5045
5215
|
};
|
|
5046
5216
|
|
|
5047
|
-
|
|
5217
|
+
exports.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function () {
|
|
5048
5218
|
const ret = typeof globalThis === "undefined" ? null : globalThis;
|
|
5049
5219
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5050
5220
|
};
|
|
5051
5221
|
|
|
5052
|
-
|
|
5222
|
+
exports.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function () {
|
|
5053
5223
|
const ret = typeof self === "undefined" ? null : self;
|
|
5054
5224
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5055
5225
|
};
|
|
5056
5226
|
|
|
5057
|
-
|
|
5227
|
+
exports.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function () {
|
|
5058
5228
|
const ret = typeof window === "undefined" ? null : window;
|
|
5059
5229
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5060
5230
|
};
|
|
5061
5231
|
|
|
5062
|
-
|
|
5232
|
+
exports.__wbg_static_accessor_performance_da77b3a901a72934 = function () {
|
|
5063
5233
|
const ret = performance;
|
|
5064
5234
|
return addHeapObject(ret);
|
|
5065
5235
|
};
|
|
5066
5236
|
|
|
5067
|
-
|
|
5237
|
+
exports.__wbg_status_de7eed5a7a5bfd5d = function (arg0) {
|
|
5068
5238
|
const ret = getObject(arg0).status;
|
|
5069
5239
|
return ret;
|
|
5070
5240
|
};
|
|
5071
5241
|
|
|
5072
|
-
|
|
5242
|
+
exports.__wbg_stringify_b5fb28f6465d9c3e = function () {
|
|
5073
5243
|
return handleError(function (arg0) {
|
|
5074
5244
|
const ret = JSON.stringify(getObject(arg0));
|
|
5075
5245
|
return addHeapObject(ret);
|
|
5076
5246
|
}, arguments);
|
|
5077
5247
|
};
|
|
5078
5248
|
|
|
5079
|
-
|
|
5249
|
+
exports.__wbg_subarray_480600f3d6a9f26c = function (arg0, arg1, arg2) {
|
|
5080
5250
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
5081
5251
|
return addHeapObject(ret);
|
|
5082
5252
|
};
|
|
5083
5253
|
|
|
5084
|
-
|
|
5254
|
+
exports.__wbg_target_1447f5d3a6fa6fe0 = function (arg0) {
|
|
5085
5255
|
const ret = getObject(arg0).target;
|
|
5086
5256
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5087
5257
|
};
|
|
5088
5258
|
|
|
5089
|
-
|
|
5259
|
+
exports.__wbg_text_dc33c15c17bdfb52 = function () {
|
|
5090
5260
|
return handleError(function (arg0) {
|
|
5091
5261
|
const ret = getObject(arg0).text();
|
|
5092
5262
|
return addHeapObject(ret);
|
|
5093
5263
|
}, arguments);
|
|
5094
5264
|
};
|
|
5095
5265
|
|
|
5096
|
-
|
|
5266
|
+
exports.__wbg_then_4f46f6544e6b4a28 = function (arg0, arg1) {
|
|
5097
5267
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
5098
5268
|
return addHeapObject(ret);
|
|
5099
5269
|
};
|
|
5100
5270
|
|
|
5101
|
-
|
|
5271
|
+
exports.__wbg_then_70d05cf780a18d77 = function (arg0, arg1, arg2) {
|
|
5102
5272
|
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
5103
5273
|
return addHeapObject(ret);
|
|
5104
5274
|
};
|
|
5105
5275
|
|
|
5106
|
-
|
|
5276
|
+
exports.__wbg_transaction_9fb8349a0a81725c = function (arg0) {
|
|
5107
5277
|
const ret = getObject(arg0).transaction;
|
|
5108
5278
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5109
5279
|
};
|
|
5110
5280
|
|
|
5111
|
-
|
|
5281
|
+
exports.__wbg_url_b36d2a5008eb056f = function (arg0, arg1) {
|
|
5112
5282
|
const ret = getObject(arg1).url;
|
|
5113
5283
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5114
5284
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -5116,196 +5286,139 @@ module.exports.__wbg_url_ae10c34ca209681d = function (arg0, arg1) {
|
|
|
5116
5286
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5117
5287
|
};
|
|
5118
5288
|
|
|
5119
|
-
|
|
5289
|
+
exports.__wbg_value_692627309814bb8c = function (arg0) {
|
|
5120
5290
|
const ret = getObject(arg0).value;
|
|
5121
5291
|
return addHeapObject(ret);
|
|
5122
5292
|
};
|
|
5123
5293
|
|
|
5124
|
-
|
|
5294
|
+
exports.__wbg_versions_c01dfd4722a88165 = function (arg0) {
|
|
5125
5295
|
const ret = getObject(arg0).versions;
|
|
5126
5296
|
return addHeapObject(ret);
|
|
5127
5297
|
};
|
|
5128
5298
|
|
|
5129
|
-
|
|
5299
|
+
exports.__wbg_warn_8f5b5437666d0885 = function (arg0, arg1, arg2, arg3) {
|
|
5130
5300
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5131
5301
|
};
|
|
5132
5302
|
|
|
5133
|
-
|
|
5134
|
-
|
|
5303
|
+
exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
|
|
5304
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5305
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
5135
5306
|
return addHeapObject(ret);
|
|
5136
5307
|
};
|
|
5137
5308
|
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
module.exports.__wbindgen_bigint_from_i64 = function (arg0) {
|
|
5148
|
-
const ret = arg0;
|
|
5309
|
+
exports.__wbindgen_cast_36265b4dca1d434b = function (arg0, arg1) {
|
|
5310
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 268, function: Function { arguments: [], shim_idx: 269, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5311
|
+
const ret = makeMutClosure(
|
|
5312
|
+
arg0,
|
|
5313
|
+
arg1,
|
|
5314
|
+
wasm.wasm_bindgen__closure__destroy__h04ff7fddf688fec6,
|
|
5315
|
+
wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01,
|
|
5316
|
+
);
|
|
5149
5317
|
return addHeapObject(ret);
|
|
5150
5318
|
};
|
|
5151
5319
|
|
|
5152
|
-
|
|
5320
|
+
exports.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
|
|
5321
|
+
// Cast intrinsic for `U64 -> Externref`.
|
|
5153
5322
|
const ret = BigInt.asUintN(64, arg0);
|
|
5154
5323
|
return addHeapObject(ret);
|
|
5155
5324
|
};
|
|
5156
5325
|
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
};
|
|
5163
|
-
|
|
5164
|
-
module.exports.__wbindgen_boolean_get = function (arg0) {
|
|
5165
|
-
const v = getObject(arg0);
|
|
5166
|
-
const ret = typeof v === "boolean" ? (v ? 1 : 0) : 2;
|
|
5167
|
-
return ret;
|
|
5168
|
-
};
|
|
5169
|
-
|
|
5170
|
-
module.exports.__wbindgen_cb_drop = function (arg0) {
|
|
5171
|
-
const obj = takeObject(arg0).original;
|
|
5172
|
-
if (obj.cnt-- == 1) {
|
|
5173
|
-
obj.a = 0;
|
|
5174
|
-
return true;
|
|
5175
|
-
}
|
|
5176
|
-
const ret = false;
|
|
5177
|
-
return ret;
|
|
5178
|
-
};
|
|
5179
|
-
|
|
5180
|
-
module.exports.__wbindgen_closure_wrapper198 = function (arg0, arg1, arg2) {
|
|
5181
|
-
const ret = makeMutClosure(arg0, arg1, 7, __wbg_adapter_54);
|
|
5326
|
+
exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
|
|
5327
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5328
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5329
|
+
// Cast intrinsic for `Vector(NamedExternref("CipherRiskResult")) -> Externref`.
|
|
5330
|
+
const ret = v0;
|
|
5182
5331
|
return addHeapObject(ret);
|
|
5183
5332
|
};
|
|
5184
5333
|
|
|
5185
|
-
|
|
5186
|
-
|
|
5334
|
+
exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
|
|
5335
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5336
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5337
|
+
// Cast intrinsic for `Vector(NamedExternref("Cipher")) -> Externref`.
|
|
5338
|
+
const ret = v0;
|
|
5187
5339
|
return addHeapObject(ret);
|
|
5188
5340
|
};
|
|
5189
5341
|
|
|
5190
|
-
|
|
5191
|
-
|
|
5342
|
+
exports.__wbindgen_cast_91244c1b651c8ba8 = function (arg0, arg1) {
|
|
5343
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 5, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 6, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5344
|
+
const ret = makeMutClosure(
|
|
5345
|
+
arg0,
|
|
5346
|
+
arg1,
|
|
5347
|
+
wasm.wasm_bindgen__closure__destroy__h7a400a8c6869e00b,
|
|
5348
|
+
wasm_bindgen__convert__closures_____invoke__h142f80da75ccedf5,
|
|
5349
|
+
);
|
|
5192
5350
|
return addHeapObject(ret);
|
|
5193
5351
|
};
|
|
5194
5352
|
|
|
5195
|
-
|
|
5196
|
-
|
|
5353
|
+
exports.__wbindgen_cast_98de615b9dbdc064 = function (arg0, arg1) {
|
|
5354
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 268, function: Function { arguments: [Externref], shim_idx: 6, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5355
|
+
const ret = makeMutClosure(
|
|
5356
|
+
arg0,
|
|
5357
|
+
arg1,
|
|
5358
|
+
wasm.wasm_bindgen__closure__destroy__h04ff7fddf688fec6,
|
|
5359
|
+
wasm_bindgen__convert__closures_____invoke__h142f80da75ccedf5,
|
|
5360
|
+
);
|
|
5197
5361
|
return addHeapObject(ret);
|
|
5198
5362
|
};
|
|
5199
5363
|
|
|
5200
|
-
|
|
5201
|
-
|
|
5364
|
+
exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
|
|
5365
|
+
// Cast intrinsic for `I64 -> Externref`.
|
|
5366
|
+
const ret = arg0;
|
|
5202
5367
|
return addHeapObject(ret);
|
|
5203
5368
|
};
|
|
5204
5369
|
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
const
|
|
5208
|
-
const len1 = WASM_VECTOR_LEN;
|
|
5209
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
5210
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5211
|
-
};
|
|
5212
|
-
|
|
5213
|
-
module.exports.__wbindgen_error_new = function (arg0, arg1) {
|
|
5214
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
5370
|
+
exports.__wbindgen_cast_cb9088102bce6b30 = function (arg0, arg1) {
|
|
5371
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
5372
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
5215
5373
|
return addHeapObject(ret);
|
|
5216
5374
|
};
|
|
5217
5375
|
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
module.exports.__wbindgen_is_bigint = function (arg0) {
|
|
5224
|
-
const ret = typeof getObject(arg0) === "bigint";
|
|
5225
|
-
return ret;
|
|
5226
|
-
};
|
|
5227
|
-
|
|
5228
|
-
module.exports.__wbindgen_is_function = function (arg0) {
|
|
5229
|
-
const ret = typeof getObject(arg0) === "function";
|
|
5230
|
-
return ret;
|
|
5231
|
-
};
|
|
5232
|
-
|
|
5233
|
-
module.exports.__wbindgen_is_object = function (arg0) {
|
|
5234
|
-
const val = getObject(arg0);
|
|
5235
|
-
const ret = typeof val === "object" && val !== null;
|
|
5236
|
-
return ret;
|
|
5237
|
-
};
|
|
5238
|
-
|
|
5239
|
-
module.exports.__wbindgen_is_string = function (arg0) {
|
|
5240
|
-
const ret = typeof getObject(arg0) === "string";
|
|
5241
|
-
return ret;
|
|
5242
|
-
};
|
|
5243
|
-
|
|
5244
|
-
module.exports.__wbindgen_is_undefined = function (arg0) {
|
|
5245
|
-
const ret = getObject(arg0) === undefined;
|
|
5246
|
-
return ret;
|
|
5247
|
-
};
|
|
5248
|
-
|
|
5249
|
-
module.exports.__wbindgen_jsval_eq = function (arg0, arg1) {
|
|
5250
|
-
const ret = getObject(arg0) === getObject(arg1);
|
|
5251
|
-
return ret;
|
|
5252
|
-
};
|
|
5253
|
-
|
|
5254
|
-
module.exports.__wbindgen_jsval_loose_eq = function (arg0, arg1) {
|
|
5255
|
-
const ret = getObject(arg0) == getObject(arg1);
|
|
5256
|
-
return ret;
|
|
5376
|
+
exports.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
|
|
5377
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
5378
|
+
const ret = arg0;
|
|
5379
|
+
return addHeapObject(ret);
|
|
5257
5380
|
};
|
|
5258
5381
|
|
|
5259
|
-
|
|
5260
|
-
|
|
5382
|
+
exports.__wbindgen_cast_e904f2c9fda6146b = function (arg0, arg1) {
|
|
5383
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 5, function: Function { arguments: [NamedExternref("Event")], shim_idx: 8, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5384
|
+
const ret = makeMutClosure(
|
|
5385
|
+
arg0,
|
|
5386
|
+
arg1,
|
|
5387
|
+
wasm.wasm_bindgen__closure__destroy__h7a400a8c6869e00b,
|
|
5388
|
+
wasm_bindgen__convert__closures_____invoke__he84e41ce162f03b8,
|
|
5389
|
+
);
|
|
5261
5390
|
return addHeapObject(ret);
|
|
5262
5391
|
};
|
|
5263
5392
|
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5393
|
+
exports.__wbindgen_cast_ef90a087adb7475d = function (arg0, arg1) {
|
|
5394
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5395
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5396
|
+
// Cast intrinsic for `Vector(NamedExternref("FolderView")) -> Externref`.
|
|
5397
|
+
const ret = v0;
|
|
5398
|
+
return addHeapObject(ret);
|
|
5269
5399
|
};
|
|
5270
5400
|
|
|
5271
|
-
|
|
5272
|
-
|
|
5401
|
+
exports.__wbindgen_cast_f31034722c398fdb = function (arg0, arg1) {
|
|
5402
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 520, function: Function { arguments: [], shim_idx: 269, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5403
|
+
const ret = makeMutClosure(
|
|
5404
|
+
arg0,
|
|
5405
|
+
arg1,
|
|
5406
|
+
wasm.wasm_bindgen__closure__destroy__h1cce7ce4a094839d,
|
|
5407
|
+
wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01,
|
|
5408
|
+
);
|
|
5273
5409
|
return addHeapObject(ret);
|
|
5274
5410
|
};
|
|
5275
5411
|
|
|
5276
|
-
|
|
5412
|
+
exports.__wbindgen_object_clone_ref = function (arg0) {
|
|
5277
5413
|
const ret = getObject(arg0);
|
|
5278
5414
|
return addHeapObject(ret);
|
|
5279
5415
|
};
|
|
5280
5416
|
|
|
5281
|
-
|
|
5417
|
+
exports.__wbindgen_object_drop_ref = function (arg0) {
|
|
5282
5418
|
takeObject(arg0);
|
|
5283
5419
|
};
|
|
5284
5420
|
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
? 0
|
|
5290
|
-
: passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5291
|
-
var len1 = WASM_VECTOR_LEN;
|
|
5292
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
5293
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5294
|
-
};
|
|
5295
|
-
|
|
5296
|
-
module.exports.__wbindgen_string_new = function (arg0, arg1) {
|
|
5297
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
5298
|
-
return addHeapObject(ret);
|
|
5299
|
-
};
|
|
5300
|
-
|
|
5301
|
-
module.exports.__wbindgen_throw = function (arg0, arg1) {
|
|
5302
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
5303
|
-
};
|
|
5304
|
-
|
|
5305
|
-
const path = require("path").join(__dirname, "bitwarden_wasm_internal_bg.wasm");
|
|
5306
|
-
const bytes = require("fs").readFileSync(path);
|
|
5307
|
-
|
|
5308
|
-
const wasmModule = new WebAssembly.Module(bytes);
|
|
5309
|
-
const wasmInstance = new WebAssembly.Instance(wasmModule, imports);
|
|
5310
|
-
wasm = wasmInstance.exports;
|
|
5311
|
-
module.exports.__wasm = wasm;
|
|
5421
|
+
const wasmPath = `${__dirname}/bitwarden_wasm_internal_bg.wasm`;
|
|
5422
|
+
const wasmBytes = require("fs").readFileSync(wasmPath);
|
|
5423
|
+
const wasmModule = new WebAssembly.Module(wasmBytes);
|
|
5424
|
+
const wasm = (exports.__wasm = new WebAssembly.Instance(wasmModule, imports).exports);
|