@bitwarden/commercial-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/bitwarden_wasm_internal.d.ts +46 -1
- package/bitwarden_wasm_internal_bg.js +566 -465
- 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 +46 -1
- package/node/bitwarden_wasm_internal.js +676 -556
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +14 -11
- 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,10 +865,10 @@ module.exports.isEncryptFileError = function (error) {
|
|
|
866
865
|
}
|
|
867
866
|
};
|
|
868
867
|
|
|
869
|
-
function
|
|
868
|
+
function wasm_bindgen__convert__closures_____invoke__hf869d8564f5adb52(arg0, arg1, arg2) {
|
|
870
869
|
try {
|
|
871
870
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
872
|
-
wasm.
|
|
871
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hf869d8564f5adb52(
|
|
873
872
|
retptr,
|
|
874
873
|
arg0,
|
|
875
874
|
arg1,
|
|
@@ -885,23 +884,20 @@ function __wbg_adapter_54(arg0, arg1, arg2) {
|
|
|
885
884
|
}
|
|
886
885
|
}
|
|
887
886
|
|
|
888
|
-
function
|
|
889
|
-
wasm.
|
|
887
|
+
function wasm_bindgen__convert__closures_____invoke__h4f8d9ba9b5b9a009(arg0, arg1, arg2) {
|
|
888
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h4f8d9ba9b5b9a009(
|
|
890
889
|
arg0,
|
|
891
890
|
arg1,
|
|
892
891
|
addHeapObject(arg2),
|
|
893
892
|
);
|
|
894
893
|
}
|
|
895
894
|
|
|
896
|
-
function
|
|
897
|
-
wasm.
|
|
898
|
-
arg0,
|
|
899
|
-
arg1,
|
|
900
|
-
);
|
|
895
|
+
function wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01(arg0, arg1) {
|
|
896
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01(arg0, arg1);
|
|
901
897
|
}
|
|
902
898
|
|
|
903
|
-
function
|
|
904
|
-
wasm.
|
|
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_357(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"
|
|
@@ -1342,7 +1342,9 @@ class BitwardenClient {
|
|
|
1342
1342
|
return ExporterClient.__wrap(ret);
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
|
-
|
|
1345
|
+
if (Symbol.dispose) BitwardenClient.prototype[Symbol.dispose] = BitwardenClient.prototype.free;
|
|
1346
|
+
|
|
1347
|
+
exports.BitwardenClient = BitwardenClient;
|
|
1346
1348
|
|
|
1347
1349
|
const CipherRiskClientFinalization =
|
|
1348
1350
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1425,7 +1427,9 @@ class CipherRiskClient {
|
|
|
1425
1427
|
return takeObject(ret);
|
|
1426
1428
|
}
|
|
1427
1429
|
}
|
|
1428
|
-
|
|
1430
|
+
if (Symbol.dispose) CipherRiskClient.prototype[Symbol.dispose] = CipherRiskClient.prototype.free;
|
|
1431
|
+
|
|
1432
|
+
exports.CipherRiskClient = CipherRiskClient;
|
|
1429
1433
|
|
|
1430
1434
|
const CiphersClientFinalization =
|
|
1431
1435
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1741,7 +1745,9 @@ class CiphersClient {
|
|
|
1741
1745
|
}
|
|
1742
1746
|
}
|
|
1743
1747
|
}
|
|
1744
|
-
|
|
1748
|
+
if (Symbol.dispose) CiphersClient.prototype[Symbol.dispose] = CiphersClient.prototype.free;
|
|
1749
|
+
|
|
1750
|
+
exports.CiphersClient = CiphersClient;
|
|
1745
1751
|
|
|
1746
1752
|
const CollectionViewNodeItemFinalization =
|
|
1747
1753
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1806,7 +1812,10 @@ class CollectionViewNodeItem {
|
|
|
1806
1812
|
return takeObject(ret);
|
|
1807
1813
|
}
|
|
1808
1814
|
}
|
|
1809
|
-
|
|
1815
|
+
if (Symbol.dispose)
|
|
1816
|
+
CollectionViewNodeItem.prototype[Symbol.dispose] = CollectionViewNodeItem.prototype.free;
|
|
1817
|
+
|
|
1818
|
+
exports.CollectionViewNodeItem = CollectionViewNodeItem;
|
|
1810
1819
|
|
|
1811
1820
|
const CollectionViewTreeFinalization =
|
|
1812
1821
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1877,7 +1886,10 @@ class CollectionViewTree {
|
|
|
1877
1886
|
}
|
|
1878
1887
|
}
|
|
1879
1888
|
}
|
|
1880
|
-
|
|
1889
|
+
if (Symbol.dispose)
|
|
1890
|
+
CollectionViewTree.prototype[Symbol.dispose] = CollectionViewTree.prototype.free;
|
|
1891
|
+
|
|
1892
|
+
exports.CollectionViewTree = CollectionViewTree;
|
|
1881
1893
|
|
|
1882
1894
|
const CollectionsClientFinalization =
|
|
1883
1895
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1961,7 +1973,9 @@ class CollectionsClient {
|
|
|
1961
1973
|
return CollectionViewTree.__wrap(ret);
|
|
1962
1974
|
}
|
|
1963
1975
|
}
|
|
1964
|
-
|
|
1976
|
+
if (Symbol.dispose) CollectionsClient.prototype[Symbol.dispose] = CollectionsClient.prototype.free;
|
|
1977
|
+
|
|
1978
|
+
exports.CollectionsClient = CollectionsClient;
|
|
1965
1979
|
|
|
1966
1980
|
const CommercialPasswordManagerClientFinalization =
|
|
1967
1981
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2001,7 +2015,11 @@ class CommercialPasswordManagerClient {
|
|
|
2001
2015
|
return CommercialVaultClient.__wrap(ret);
|
|
2002
2016
|
}
|
|
2003
2017
|
}
|
|
2004
|
-
|
|
2018
|
+
if (Symbol.dispose)
|
|
2019
|
+
CommercialPasswordManagerClient.prototype[Symbol.dispose] =
|
|
2020
|
+
CommercialPasswordManagerClient.prototype.free;
|
|
2021
|
+
|
|
2022
|
+
exports.CommercialPasswordManagerClient = CommercialPasswordManagerClient;
|
|
2005
2023
|
|
|
2006
2024
|
const CommercialVaultClientFinalization =
|
|
2007
2025
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2029,7 +2047,10 @@ class CommercialVaultClient {
|
|
|
2029
2047
|
wasm.__wbg_commercialvaultclient_free(ptr, 0);
|
|
2030
2048
|
}
|
|
2031
2049
|
}
|
|
2032
|
-
|
|
2050
|
+
if (Symbol.dispose)
|
|
2051
|
+
CommercialVaultClient.prototype[Symbol.dispose] = CommercialVaultClient.prototype.free;
|
|
2052
|
+
|
|
2053
|
+
exports.CommercialVaultClient = CommercialVaultClient;
|
|
2033
2054
|
|
|
2034
2055
|
const CryptoClientFinalization =
|
|
2035
2056
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2273,7 +2294,9 @@ class CryptoClient {
|
|
|
2273
2294
|
}
|
|
2274
2295
|
}
|
|
2275
2296
|
}
|
|
2276
|
-
|
|
2297
|
+
if (Symbol.dispose) CryptoClient.prototype[Symbol.dispose] = CryptoClient.prototype.free;
|
|
2298
|
+
|
|
2299
|
+
exports.CryptoClient = CryptoClient;
|
|
2277
2300
|
|
|
2278
2301
|
const ExporterClientFinalization =
|
|
2279
2302
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2455,7 +2478,9 @@ class ExporterClient {
|
|
|
2455
2478
|
}
|
|
2456
2479
|
}
|
|
2457
2480
|
}
|
|
2458
|
-
|
|
2481
|
+
if (Symbol.dispose) ExporterClient.prototype[Symbol.dispose] = ExporterClient.prototype.free;
|
|
2482
|
+
|
|
2483
|
+
exports.ExporterClient = ExporterClient;
|
|
2459
2484
|
|
|
2460
2485
|
const FoldersClientFinalization =
|
|
2461
2486
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2590,7 +2615,9 @@ class FoldersClient {
|
|
|
2590
2615
|
return takeObject(ret);
|
|
2591
2616
|
}
|
|
2592
2617
|
}
|
|
2593
|
-
|
|
2618
|
+
if (Symbol.dispose) FoldersClient.prototype[Symbol.dispose] = FoldersClient.prototype.free;
|
|
2619
|
+
|
|
2620
|
+
exports.FoldersClient = FoldersClient;
|
|
2594
2621
|
|
|
2595
2622
|
const GeneratorClientFinalization =
|
|
2596
2623
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2722,7 +2749,9 @@ class GeneratorClient {
|
|
|
2722
2749
|
}
|
|
2723
2750
|
}
|
|
2724
2751
|
}
|
|
2725
|
-
|
|
2752
|
+
if (Symbol.dispose) GeneratorClient.prototype[Symbol.dispose] = GeneratorClient.prototype.free;
|
|
2753
|
+
|
|
2754
|
+
exports.GeneratorClient = GeneratorClient;
|
|
2726
2755
|
|
|
2727
2756
|
const IdentityClientFinalization =
|
|
2728
2757
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2752,7 +2781,9 @@ class IdentityClient {
|
|
|
2752
2781
|
wasm.__wbg_identityclient_free(ptr, 0);
|
|
2753
2782
|
}
|
|
2754
2783
|
}
|
|
2755
|
-
|
|
2784
|
+
if (Symbol.dispose) IdentityClient.prototype[Symbol.dispose] = IdentityClient.prototype.free;
|
|
2785
|
+
|
|
2786
|
+
exports.IdentityClient = IdentityClient;
|
|
2756
2787
|
|
|
2757
2788
|
const IncomingMessageFinalization =
|
|
2758
2789
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2892,7 +2923,9 @@ class IncomingMessage {
|
|
|
2892
2923
|
return takeObject(ret);
|
|
2893
2924
|
}
|
|
2894
2925
|
}
|
|
2895
|
-
|
|
2926
|
+
if (Symbol.dispose) IncomingMessage.prototype[Symbol.dispose] = IncomingMessage.prototype.free;
|
|
2927
|
+
|
|
2928
|
+
exports.IncomingMessage = IncomingMessage;
|
|
2896
2929
|
|
|
2897
2930
|
const IpcClientFinalization =
|
|
2898
2931
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2903,6 +2936,14 @@ const IpcClientFinalization =
|
|
|
2903
2936
|
* [IpcClient] documentation.
|
|
2904
2937
|
*/
|
|
2905
2938
|
class IpcClient {
|
|
2939
|
+
static __wrap(ptr) {
|
|
2940
|
+
ptr = ptr >>> 0;
|
|
2941
|
+
const obj = Object.create(IpcClient.prototype);
|
|
2942
|
+
obj.__wbg_ptr = ptr;
|
|
2943
|
+
IpcClientFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
2944
|
+
return obj;
|
|
2945
|
+
}
|
|
2946
|
+
|
|
2906
2947
|
__destroy_into_raw() {
|
|
2907
2948
|
const ptr = this.__wbg_ptr;
|
|
2908
2949
|
this.__wbg_ptr = 0;
|
|
@@ -2915,14 +2956,30 @@ class IpcClient {
|
|
|
2915
2956
|
wasm.__wbg_ipcclient_free(ptr, 0);
|
|
2916
2957
|
}
|
|
2917
2958
|
/**
|
|
2959
|
+
* Create a new `IpcClient` instance with an in-memory session repository for saving
|
|
2960
|
+
* sessions within the SDK.
|
|
2918
2961
|
* @param {IpcCommunicationBackend} communication_provider
|
|
2962
|
+
* @returns {IpcClient}
|
|
2919
2963
|
*/
|
|
2920
|
-
|
|
2964
|
+
static newWithSdkInMemorySessions(communication_provider) {
|
|
2921
2965
|
_assertClass(communication_provider, IpcCommunicationBackend);
|
|
2922
|
-
const ret = wasm.
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2966
|
+
const ret = wasm.ipcclient_newWithSdkInMemorySessions(communication_provider.__wbg_ptr);
|
|
2967
|
+
return IpcClient.__wrap(ret);
|
|
2968
|
+
}
|
|
2969
|
+
/**
|
|
2970
|
+
* Create a new `IpcClient` instance with a client-managed session repository for saving
|
|
2971
|
+
* sessions using State Provider.
|
|
2972
|
+
* @param {IpcCommunicationBackend} communication_provider
|
|
2973
|
+
* @param {IpcSessionRepository} session_repository
|
|
2974
|
+
* @returns {IpcClient}
|
|
2975
|
+
*/
|
|
2976
|
+
static newWithClientManagedSessions(communication_provider, session_repository) {
|
|
2977
|
+
_assertClass(communication_provider, IpcCommunicationBackend);
|
|
2978
|
+
const ret = wasm.ipcclient_newWithClientManagedSessions(
|
|
2979
|
+
communication_provider.__wbg_ptr,
|
|
2980
|
+
addHeapObject(session_repository),
|
|
2981
|
+
);
|
|
2982
|
+
return IpcClient.__wrap(ret);
|
|
2926
2983
|
}
|
|
2927
2984
|
/**
|
|
2928
2985
|
* @returns {Promise<void>}
|
|
@@ -2956,7 +3013,9 @@ class IpcClient {
|
|
|
2956
3013
|
return takeObject(ret);
|
|
2957
3014
|
}
|
|
2958
3015
|
}
|
|
2959
|
-
|
|
3016
|
+
if (Symbol.dispose) IpcClient.prototype[Symbol.dispose] = IpcClient.prototype.free;
|
|
3017
|
+
|
|
3018
|
+
exports.IpcClient = IpcClient;
|
|
2960
3019
|
|
|
2961
3020
|
const IpcClientSubscriptionFinalization =
|
|
2962
3021
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2998,7 +3057,10 @@ class IpcClientSubscription {
|
|
|
2998
3057
|
return takeObject(ret);
|
|
2999
3058
|
}
|
|
3000
3059
|
}
|
|
3001
|
-
|
|
3060
|
+
if (Symbol.dispose)
|
|
3061
|
+
IpcClientSubscription.prototype[Symbol.dispose] = IpcClientSubscription.prototype.free;
|
|
3062
|
+
|
|
3063
|
+
exports.IpcClientSubscription = IpcClientSubscription;
|
|
3002
3064
|
|
|
3003
3065
|
const IpcCommunicationBackendFinalization =
|
|
3004
3066
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -3049,7 +3111,10 @@ class IpcCommunicationBackend {
|
|
|
3049
3111
|
}
|
|
3050
3112
|
}
|
|
3051
3113
|
}
|
|
3052
|
-
|
|
3114
|
+
if (Symbol.dispose)
|
|
3115
|
+
IpcCommunicationBackend.prototype[Symbol.dispose] = IpcCommunicationBackend.prototype.free;
|
|
3116
|
+
|
|
3117
|
+
exports.IpcCommunicationBackend = IpcCommunicationBackend;
|
|
3053
3118
|
|
|
3054
3119
|
const OutgoingMessageFinalization =
|
|
3055
3120
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -3192,7 +3257,9 @@ class OutgoingMessage {
|
|
|
3192
3257
|
}
|
|
3193
3258
|
}
|
|
3194
3259
|
}
|
|
3195
|
-
|
|
3260
|
+
if (Symbol.dispose) OutgoingMessage.prototype[Symbol.dispose] = OutgoingMessage.prototype.free;
|
|
3261
|
+
|
|
3262
|
+
exports.OutgoingMessage = OutgoingMessage;
|
|
3196
3263
|
|
|
3197
3264
|
const PlatformClientFinalization =
|
|
3198
3265
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -3244,7 +3311,9 @@ class PlatformClient {
|
|
|
3244
3311
|
}
|
|
3245
3312
|
}
|
|
3246
3313
|
}
|
|
3247
|
-
|
|
3314
|
+
if (Symbol.dispose) PlatformClient.prototype[Symbol.dispose] = PlatformClient.prototype.free;
|
|
3315
|
+
|
|
3316
|
+
exports.PlatformClient = PlatformClient;
|
|
3248
3317
|
|
|
3249
3318
|
const PureCryptoFinalization =
|
|
3250
3319
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4060,7 +4129,9 @@ class PureCrypto {
|
|
|
4060
4129
|
}
|
|
4061
4130
|
}
|
|
4062
4131
|
}
|
|
4063
|
-
|
|
4132
|
+
if (Symbol.dispose) PureCrypto.prototype[Symbol.dispose] = PureCrypto.prototype.free;
|
|
4133
|
+
|
|
4134
|
+
exports.PureCrypto = PureCrypto;
|
|
4064
4135
|
|
|
4065
4136
|
const SendAccessClientFinalization =
|
|
4066
4137
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4102,7 +4173,9 @@ class SendAccessClient {
|
|
|
4102
4173
|
return takeObject(ret);
|
|
4103
4174
|
}
|
|
4104
4175
|
}
|
|
4105
|
-
|
|
4176
|
+
if (Symbol.dispose) SendAccessClient.prototype[Symbol.dispose] = SendAccessClient.prototype.free;
|
|
4177
|
+
|
|
4178
|
+
exports.SendAccessClient = SendAccessClient;
|
|
4106
4179
|
|
|
4107
4180
|
const StateClientFinalization =
|
|
4108
4181
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4160,7 +4233,9 @@ class StateClient {
|
|
|
4160
4233
|
return takeObject(ret);
|
|
4161
4234
|
}
|
|
4162
4235
|
}
|
|
4163
|
-
|
|
4236
|
+
if (Symbol.dispose) StateClient.prototype[Symbol.dispose] = StateClient.prototype.free;
|
|
4237
|
+
|
|
4238
|
+
exports.StateClient = StateClient;
|
|
4164
4239
|
|
|
4165
4240
|
const TotpClientFinalization =
|
|
4166
4241
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4225,7 +4300,9 @@ class TotpClient {
|
|
|
4225
4300
|
}
|
|
4226
4301
|
}
|
|
4227
4302
|
}
|
|
4228
|
-
|
|
4303
|
+
if (Symbol.dispose) TotpClient.prototype[Symbol.dispose] = TotpClient.prototype.free;
|
|
4304
|
+
|
|
4305
|
+
exports.TotpClient = TotpClient;
|
|
4229
4306
|
|
|
4230
4307
|
const VaultClientFinalization =
|
|
4231
4308
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4301,9 +4378,21 @@ class VaultClient {
|
|
|
4301
4378
|
return CipherRiskClient.__wrap(ret);
|
|
4302
4379
|
}
|
|
4303
4380
|
}
|
|
4304
|
-
|
|
4381
|
+
if (Symbol.dispose) VaultClient.prototype[Symbol.dispose] = VaultClient.prototype.free;
|
|
4382
|
+
|
|
4383
|
+
exports.VaultClient = VaultClient;
|
|
4384
|
+
|
|
4385
|
+
exports.__wbg_Error_e83987f665cf5504 = function (arg0, arg1) {
|
|
4386
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
4387
|
+
return addHeapObject(ret);
|
|
4388
|
+
};
|
|
4389
|
+
|
|
4390
|
+
exports.__wbg_Number_bb48ca12f395cd08 = function (arg0) {
|
|
4391
|
+
const ret = Number(getObject(arg0));
|
|
4392
|
+
return ret;
|
|
4393
|
+
};
|
|
4305
4394
|
|
|
4306
|
-
|
|
4395
|
+
exports.__wbg_String_8f0eb39a4a4c2f66 = function (arg0, arg1) {
|
|
4307
4396
|
const ret = String(getObject(arg1));
|
|
4308
4397
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4309
4398
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -4311,37 +4400,119 @@ module.exports.__wbg_String_8f0eb39a4a4c2f66 = function (arg0, arg1) {
|
|
|
4311
4400
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4312
4401
|
};
|
|
4313
4402
|
|
|
4314
|
-
|
|
4315
|
-
getObject(
|
|
4403
|
+
exports.__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd = function (arg0, arg1) {
|
|
4404
|
+
const v = getObject(arg1);
|
|
4405
|
+
const ret = typeof v === "bigint" ? v : undefined;
|
|
4406
|
+
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
4407
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
4316
4408
|
};
|
|
4317
4409
|
|
|
4318
|
-
|
|
4319
|
-
getObject(arg0)
|
|
4410
|
+
exports.__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68 = function (arg0) {
|
|
4411
|
+
const v = getObject(arg0);
|
|
4412
|
+
const ret = typeof v === "boolean" ? v : undefined;
|
|
4413
|
+
return isLikeNone(ret) ? 0xffffff : ret ? 1 : 0;
|
|
4320
4414
|
};
|
|
4321
4415
|
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4416
|
+
exports.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function (arg0, arg1) {
|
|
4417
|
+
const ret = debugString(getObject(arg1));
|
|
4418
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4419
|
+
const len1 = WASM_VECTOR_LEN;
|
|
4420
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4421
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4326
4422
|
};
|
|
4327
4423
|
|
|
4328
|
-
|
|
4329
|
-
getObject(arg0)
|
|
4424
|
+
exports.__wbg___wbindgen_in_bb933bd9e1b3bc0f = function (arg0, arg1) {
|
|
4425
|
+
const ret = getObject(arg0) in getObject(arg1);
|
|
4426
|
+
return ret;
|
|
4330
4427
|
};
|
|
4331
4428
|
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
}, arguments);
|
|
4429
|
+
exports.__wbg___wbindgen_is_bigint_cb320707dcd35f0b = function (arg0) {
|
|
4430
|
+
const ret = typeof getObject(arg0) === "bigint";
|
|
4431
|
+
return ret;
|
|
4336
4432
|
};
|
|
4337
4433
|
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4434
|
+
exports.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function (arg0) {
|
|
4435
|
+
const ret = typeof getObject(arg0) === "function";
|
|
4436
|
+
return ret;
|
|
4437
|
+
};
|
|
4438
|
+
|
|
4439
|
+
exports.__wbg___wbindgen_is_object_c818261d21f283a4 = function (arg0) {
|
|
4440
|
+
const val = getObject(arg0);
|
|
4441
|
+
const ret = typeof val === "object" && val !== null;
|
|
4442
|
+
return ret;
|
|
4443
|
+
};
|
|
4444
|
+
|
|
4445
|
+
exports.__wbg___wbindgen_is_string_fbb76cb2940daafd = function (arg0) {
|
|
4446
|
+
const ret = typeof getObject(arg0) === "string";
|
|
4447
|
+
return ret;
|
|
4448
|
+
};
|
|
4449
|
+
|
|
4450
|
+
exports.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function (arg0) {
|
|
4451
|
+
const ret = getObject(arg0) === undefined;
|
|
4452
|
+
return ret;
|
|
4453
|
+
};
|
|
4454
|
+
|
|
4455
|
+
exports.__wbg___wbindgen_jsval_eq_6b13ab83478b1c50 = function (arg0, arg1) {
|
|
4456
|
+
const ret = getObject(arg0) === getObject(arg1);
|
|
4457
|
+
return ret;
|
|
4458
|
+
};
|
|
4459
|
+
|
|
4460
|
+
exports.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function (arg0, arg1) {
|
|
4461
|
+
const ret = getObject(arg0) == getObject(arg1);
|
|
4462
|
+
return ret;
|
|
4463
|
+
};
|
|
4464
|
+
|
|
4465
|
+
exports.__wbg___wbindgen_number_get_a20bf9b85341449d = function (arg0, arg1) {
|
|
4466
|
+
const obj = getObject(arg1);
|
|
4467
|
+
const ret = typeof obj === "number" ? obj : undefined;
|
|
4468
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
4469
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
4470
|
+
};
|
|
4471
|
+
|
|
4472
|
+
exports.__wbg___wbindgen_string_get_e4f06c90489ad01b = function (arg0, arg1) {
|
|
4473
|
+
const obj = getObject(arg1);
|
|
4474
|
+
const ret = typeof obj === "string" ? obj : undefined;
|
|
4475
|
+
var ptr1 = isLikeNone(ret)
|
|
4476
|
+
? 0
|
|
4477
|
+
: passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4478
|
+
var len1 = WASM_VECTOR_LEN;
|
|
4479
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4480
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4481
|
+
};
|
|
4482
|
+
|
|
4483
|
+
exports.__wbg___wbindgen_throw_b855445ff6a94295 = function (arg0, arg1) {
|
|
4484
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
4485
|
+
};
|
|
4486
|
+
|
|
4487
|
+
exports.__wbg__wbg_cb_unref_2454a539ea5790d9 = function (arg0) {
|
|
4488
|
+
getObject(arg0)._wbg_cb_unref();
|
|
4489
|
+
};
|
|
4490
|
+
|
|
4491
|
+
exports.__wbg_abort_28ad55c5825b004d = function (arg0, arg1) {
|
|
4492
|
+
getObject(arg0).abort(getObject(arg1));
|
|
4493
|
+
};
|
|
4494
|
+
|
|
4495
|
+
exports.__wbg_abort_3b256cd5ad0ac232 = function () {
|
|
4496
|
+
return handleError(function (arg0) {
|
|
4497
|
+
getObject(arg0).abort();
|
|
4498
|
+
}, arguments);
|
|
4499
|
+
};
|
|
4500
|
+
|
|
4501
|
+
exports.__wbg_abort_e7eb059f72f9ed0c = function (arg0) {
|
|
4502
|
+
getObject(arg0).abort();
|
|
4503
|
+
};
|
|
4504
|
+
|
|
4505
|
+
exports.__wbg_addEventListener_dc3da056b615f634 = function (arg0, arg1, arg2, arg3) {
|
|
4506
|
+
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
4507
|
+
};
|
|
4508
|
+
|
|
4509
|
+
exports.__wbg_append_45ddba58b0706f62 = function () {
|
|
4510
|
+
return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
4511
|
+
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
4512
|
+
}, arguments);
|
|
4513
|
+
};
|
|
4343
4514
|
|
|
4344
|
-
|
|
4515
|
+
exports.__wbg_append_892c5e2d5bdd60ac = function () {
|
|
4345
4516
|
return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4346
4517
|
getObject(arg0).append(
|
|
4347
4518
|
getStringFromWasm0(arg1, arg2),
|
|
@@ -4351,86 +4522,94 @@ module.exports.__wbg_append_b2d1fc16de2a0e81 = function () {
|
|
|
4351
4522
|
}, arguments);
|
|
4352
4523
|
};
|
|
4353
4524
|
|
|
4354
|
-
|
|
4525
|
+
exports.__wbg_append_b577eb3a177bc0fa = function () {
|
|
4526
|
+
return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
4527
|
+
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
4528
|
+
}, arguments);
|
|
4529
|
+
};
|
|
4530
|
+
|
|
4531
|
+
exports.__wbg_append_cb0bba4cf263a60b = function () {
|
|
4355
4532
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4356
4533
|
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
4357
4534
|
}, arguments);
|
|
4358
4535
|
};
|
|
4359
4536
|
|
|
4360
|
-
|
|
4537
|
+
exports.__wbg_arrayBuffer_b375eccb84b4ddf3 = function () {
|
|
4361
4538
|
return handleError(function (arg0) {
|
|
4362
4539
|
const ret = getObject(arg0).arrayBuffer();
|
|
4363
4540
|
return addHeapObject(ret);
|
|
4364
4541
|
}, arguments);
|
|
4365
4542
|
};
|
|
4366
4543
|
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
};
|
|
4371
|
-
|
|
4372
|
-
module.exports.__wbg_call_672a4d21634d4a24 = function () {
|
|
4373
|
-
return handleError(function (arg0, arg1) {
|
|
4374
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
4544
|
+
exports.__wbg_call_525440f72fbfc0ea = function () {
|
|
4545
|
+
return handleError(function (arg0, arg1, arg2) {
|
|
4546
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
4375
4547
|
return addHeapObject(ret);
|
|
4376
4548
|
}, arguments);
|
|
4377
4549
|
};
|
|
4378
4550
|
|
|
4379
|
-
|
|
4380
|
-
return handleError(function (arg0, arg1
|
|
4381
|
-
const ret = getObject(arg0).call(getObject(arg1)
|
|
4551
|
+
exports.__wbg_call_e762c39fa8ea36bf = function () {
|
|
4552
|
+
return handleError(function (arg0, arg1) {
|
|
4553
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
4382
4554
|
return addHeapObject(ret);
|
|
4383
4555
|
}, arguments);
|
|
4384
4556
|
};
|
|
4385
4557
|
|
|
4386
|
-
|
|
4558
|
+
exports.__wbg_cipher_eb520ade5d02e2c8 = function (arg0) {
|
|
4387
4559
|
const ret = getObject(arg0).cipher;
|
|
4388
4560
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4389
4561
|
};
|
|
4390
4562
|
|
|
4391
|
-
|
|
4563
|
+
exports.__wbg_clearTimeout_b1115618e821c3b2 = function (arg0) {
|
|
4392
4564
|
const ret = clearTimeout(takeObject(arg0));
|
|
4393
4565
|
return addHeapObject(ret);
|
|
4394
4566
|
};
|
|
4395
4567
|
|
|
4396
|
-
|
|
4568
|
+
exports.__wbg_collectionviewnodeitem_new = function (arg0) {
|
|
4397
4569
|
const ret = CollectionViewNodeItem.__wrap(arg0);
|
|
4398
4570
|
return addHeapObject(ret);
|
|
4399
4571
|
};
|
|
4400
4572
|
|
|
4401
|
-
|
|
4573
|
+
exports.__wbg_createObjectStore_283a43a822bf49ca = function () {
|
|
4402
4574
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4403
4575
|
const ret = getObject(arg0).createObjectStore(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
4404
4576
|
return addHeapObject(ret);
|
|
4405
4577
|
}, arguments);
|
|
4406
4578
|
};
|
|
4407
4579
|
|
|
4408
|
-
|
|
4580
|
+
exports.__wbg_crypto_574e78ad8b13b65f = function (arg0) {
|
|
4409
4581
|
const ret = getObject(arg0).crypto;
|
|
4410
4582
|
return addHeapObject(ret);
|
|
4411
4583
|
};
|
|
4412
4584
|
|
|
4413
|
-
|
|
4585
|
+
exports.__wbg_debug_e55e1461940eb14d = function (arg0, arg1, arg2, arg3) {
|
|
4414
4586
|
console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
4415
4587
|
};
|
|
4416
4588
|
|
|
4417
|
-
|
|
4589
|
+
exports.__wbg_deleteObjectStore_444a266b213fafcf = function () {
|
|
4418
4590
|
return handleError(function (arg0, arg1, arg2) {
|
|
4419
4591
|
getObject(arg0).deleteObjectStore(getStringFromWasm0(arg1, arg2));
|
|
4420
4592
|
}, arguments);
|
|
4421
4593
|
};
|
|
4422
4594
|
|
|
4423
|
-
|
|
4595
|
+
exports.__wbg_done_2042aa2670fb1db1 = function (arg0) {
|
|
4424
4596
|
const ret = getObject(arg0).done;
|
|
4425
4597
|
return ret;
|
|
4426
4598
|
};
|
|
4427
4599
|
|
|
4428
|
-
|
|
4600
|
+
exports.__wbg_entries_e171b586f8f6bdbf = function (arg0) {
|
|
4429
4601
|
const ret = Object.entries(getObject(arg0));
|
|
4430
4602
|
return addHeapObject(ret);
|
|
4431
4603
|
};
|
|
4432
4604
|
|
|
4433
|
-
|
|
4605
|
+
exports.__wbg_error_3e929987fcd3e155 = function () {
|
|
4606
|
+
return handleError(function (arg0) {
|
|
4607
|
+
const ret = getObject(arg0).error;
|
|
4608
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4609
|
+
}, arguments);
|
|
4610
|
+
};
|
|
4611
|
+
|
|
4612
|
+
exports.__wbg_error_7534b8e9a36f1ab4 = function (arg0, arg1) {
|
|
4434
4613
|
let deferred0_0;
|
|
4435
4614
|
let deferred0_1;
|
|
4436
4615
|
try {
|
|
@@ -4442,55 +4621,58 @@ module.exports.__wbg_error_7534b8e9a36f1ab4 = function (arg0, arg1) {
|
|
|
4442
4621
|
}
|
|
4443
4622
|
};
|
|
4444
4623
|
|
|
4445
|
-
|
|
4624
|
+
exports.__wbg_error_d8b22cf4e59a6791 = function (arg0, arg1, arg2, arg3) {
|
|
4446
4625
|
console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
4447
4626
|
};
|
|
4448
4627
|
|
|
4449
|
-
|
|
4450
|
-
return handleError(function (arg0) {
|
|
4451
|
-
const ret = getObject(arg0).error;
|
|
4452
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4453
|
-
}, arguments);
|
|
4454
|
-
};
|
|
4455
|
-
|
|
4456
|
-
module.exports.__wbg_fetch_3afbdcc7ddbf16fe = function (arg0) {
|
|
4628
|
+
exports.__wbg_fetch_3afbdcc7ddbf16fe = function (arg0) {
|
|
4457
4629
|
const ret = fetch(getObject(arg0));
|
|
4458
4630
|
return addHeapObject(ret);
|
|
4459
4631
|
};
|
|
4460
4632
|
|
|
4461
|
-
|
|
4633
|
+
exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
|
|
4462
4634
|
const ret = getObject(arg0).fetch(getObject(arg1));
|
|
4463
4635
|
return addHeapObject(ret);
|
|
4464
4636
|
};
|
|
4465
4637
|
|
|
4466
|
-
|
|
4638
|
+
exports.__wbg_folder_a9c369db22013424 = function (arg0) {
|
|
4467
4639
|
const ret = getObject(arg0).folder;
|
|
4468
4640
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4469
4641
|
};
|
|
4470
4642
|
|
|
4471
|
-
|
|
4643
|
+
exports.__wbg_getFullYear_8240d5a15191feae = function (arg0) {
|
|
4472
4644
|
const ret = getObject(arg0).getFullYear();
|
|
4473
4645
|
return ret;
|
|
4474
4646
|
};
|
|
4475
4647
|
|
|
4476
|
-
|
|
4648
|
+
exports.__wbg_getRandomValues_38097e921c2494c3 = function () {
|
|
4477
4649
|
return handleError(function (arg0, arg1) {
|
|
4478
4650
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
4479
4651
|
}, arguments);
|
|
4480
4652
|
};
|
|
4481
4653
|
|
|
4482
|
-
|
|
4654
|
+
exports.__wbg_getRandomValues_b8f5dbd5f3995a9e = function () {
|
|
4483
4655
|
return handleError(function (arg0, arg1) {
|
|
4484
4656
|
getObject(arg0).getRandomValues(getObject(arg1));
|
|
4485
4657
|
}, arguments);
|
|
4486
4658
|
};
|
|
4487
4659
|
|
|
4488
|
-
|
|
4660
|
+
exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
|
|
4489
4661
|
const ret = getObject(arg0).getTime();
|
|
4490
4662
|
return ret;
|
|
4491
4663
|
};
|
|
4492
4664
|
|
|
4493
|
-
|
|
4665
|
+
exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
|
|
4666
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4667
|
+
return addHeapObject(ret);
|
|
4668
|
+
};
|
|
4669
|
+
|
|
4670
|
+
exports.__wbg_get_access_token_2a6f3a7572a71513 = function (arg0) {
|
|
4671
|
+
const ret = getObject(arg0).get_access_token();
|
|
4672
|
+
return addHeapObject(ret);
|
|
4673
|
+
};
|
|
4674
|
+
|
|
4675
|
+
exports.__wbg_get_e964441f5ccb3c80 = function () {
|
|
4494
4676
|
return handleError(function (arg0, arg1, arg2) {
|
|
4495
4677
|
let deferred0_0;
|
|
4496
4678
|
let deferred0_1;
|
|
@@ -4505,14 +4687,7 @@ module.exports.__wbg_get_669deafd63743335 = function () {
|
|
|
4505
4687
|
}, arguments);
|
|
4506
4688
|
};
|
|
4507
4689
|
|
|
4508
|
-
|
|
4509
|
-
return handleError(function (arg0, arg1) {
|
|
4510
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4511
|
-
return addHeapObject(ret);
|
|
4512
|
-
}, arguments);
|
|
4513
|
-
};
|
|
4514
|
-
|
|
4515
|
-
module.exports.__wbg_get_ab004b7c5fd98da4 = function () {
|
|
4690
|
+
exports.__wbg_get_ec74c278e7438da5 = function () {
|
|
4516
4691
|
return handleError(function (arg0, arg1, arg2) {
|
|
4517
4692
|
let deferred0_0;
|
|
4518
4693
|
let deferred0_1;
|
|
@@ -4527,57 +4702,54 @@ module.exports.__wbg_get_ab004b7c5fd98da4 = function () {
|
|
|
4527
4702
|
}, arguments);
|
|
4528
4703
|
};
|
|
4529
4704
|
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
module.exports.__wbg_getaccesstoken_005ebb39d33faf4d = function (arg0) {
|
|
4536
|
-
const ret = getObject(arg0).get_access_token();
|
|
4537
|
-
return addHeapObject(ret);
|
|
4705
|
+
exports.__wbg_get_efcb449f58ec27c2 = function () {
|
|
4706
|
+
return handleError(function (arg0, arg1) {
|
|
4707
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4708
|
+
return addHeapObject(ret);
|
|
4709
|
+
}, arguments);
|
|
4538
4710
|
};
|
|
4539
4711
|
|
|
4540
|
-
|
|
4712
|
+
exports.__wbg_get_with_ref_key_1dc361bd10053bfe = function (arg0, arg1) {
|
|
4541
4713
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
4542
4714
|
return addHeapObject(ret);
|
|
4543
4715
|
};
|
|
4544
4716
|
|
|
4545
|
-
|
|
4717
|
+
exports.__wbg_has_787fafc980c3ccdb = function () {
|
|
4546
4718
|
return handleError(function (arg0, arg1) {
|
|
4547
4719
|
const ret = Reflect.has(getObject(arg0), getObject(arg1));
|
|
4548
4720
|
return ret;
|
|
4549
4721
|
}, arguments);
|
|
4550
4722
|
};
|
|
4551
4723
|
|
|
4552
|
-
|
|
4724
|
+
exports.__wbg_headers_b87d7eaba61c3278 = function (arg0) {
|
|
4553
4725
|
const ret = getObject(arg0).headers;
|
|
4554
4726
|
return addHeapObject(ret);
|
|
4555
4727
|
};
|
|
4556
4728
|
|
|
4557
|
-
|
|
4729
|
+
exports.__wbg_incomingmessage_new = function (arg0) {
|
|
4558
4730
|
const ret = IncomingMessage.__wrap(arg0);
|
|
4559
4731
|
return addHeapObject(ret);
|
|
4560
4732
|
};
|
|
4561
4733
|
|
|
4562
|
-
|
|
4734
|
+
exports.__wbg_indexedDB_62bfbbd55ec74b14 = function () {
|
|
4563
4735
|
return handleError(function (arg0) {
|
|
4564
4736
|
const ret = getObject(arg0).indexedDB;
|
|
4565
4737
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4566
4738
|
}, arguments);
|
|
4567
4739
|
};
|
|
4568
4740
|
|
|
4569
|
-
|
|
4741
|
+
exports.__wbg_indexedDB_8b464318fe56681e = function () {
|
|
4570
4742
|
return handleError(function (arg0) {
|
|
4571
4743
|
const ret = getObject(arg0).indexedDB;
|
|
4572
4744
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4573
4745
|
}, arguments);
|
|
4574
4746
|
};
|
|
4575
4747
|
|
|
4576
|
-
|
|
4748
|
+
exports.__wbg_info_68cd5b51ef7e5137 = function (arg0, arg1, arg2, arg3) {
|
|
4577
4749
|
console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
4578
4750
|
};
|
|
4579
4751
|
|
|
4580
|
-
|
|
4752
|
+
exports.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function (arg0) {
|
|
4581
4753
|
let result;
|
|
4582
4754
|
try {
|
|
4583
4755
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -4588,7 +4760,7 @@ module.exports.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function (arg0) {
|
|
|
4588
4760
|
return ret;
|
|
4589
4761
|
};
|
|
4590
4762
|
|
|
4591
|
-
|
|
4763
|
+
exports.__wbg_instanceof_DomException_83b15e7b042a0b1a = function (arg0) {
|
|
4592
4764
|
let result;
|
|
4593
4765
|
try {
|
|
4594
4766
|
result = getObject(arg0) instanceof DOMException;
|
|
@@ -4599,7 +4771,7 @@ module.exports.__wbg_instanceof_DomException_ed1ccb7aaf39034c = function (arg0)
|
|
|
4599
4771
|
return ret;
|
|
4600
4772
|
};
|
|
4601
4773
|
|
|
4602
|
-
|
|
4774
|
+
exports.__wbg_instanceof_IdbDatabase_fcf75ffeeec3ec8c = function (arg0) {
|
|
4603
4775
|
let result;
|
|
4604
4776
|
try {
|
|
4605
4777
|
result = getObject(arg0) instanceof IDBDatabase;
|
|
@@ -4610,7 +4782,7 @@ module.exports.__wbg_instanceof_IdbDatabase_a3ef009ca00059f9 = function (arg0) {
|
|
|
4610
4782
|
return ret;
|
|
4611
4783
|
};
|
|
4612
4784
|
|
|
4613
|
-
|
|
4785
|
+
exports.__wbg_instanceof_IdbOpenDbRequest_08e4929084e51476 = function (arg0) {
|
|
4614
4786
|
let result;
|
|
4615
4787
|
try {
|
|
4616
4788
|
result = getObject(arg0) instanceof IDBOpenDBRequest;
|
|
@@ -4621,7 +4793,7 @@ module.exports.__wbg_instanceof_IdbOpenDbRequest_a3416e156c9db893 = function (ar
|
|
|
4621
4793
|
return ret;
|
|
4622
4794
|
};
|
|
4623
4795
|
|
|
4624
|
-
|
|
4796
|
+
exports.__wbg_instanceof_IdbRequest_26754883a3cc8f81 = function (arg0) {
|
|
4625
4797
|
let result;
|
|
4626
4798
|
try {
|
|
4627
4799
|
result = getObject(arg0) instanceof IDBRequest;
|
|
@@ -4632,7 +4804,7 @@ module.exports.__wbg_instanceof_IdbRequest_4813c3f207666aa4 = function (arg0) {
|
|
|
4632
4804
|
return ret;
|
|
4633
4805
|
};
|
|
4634
4806
|
|
|
4635
|
-
|
|
4807
|
+
exports.__wbg_instanceof_Map_8579b5e2ab5437c7 = function (arg0) {
|
|
4636
4808
|
let result;
|
|
4637
4809
|
try {
|
|
4638
4810
|
result = getObject(arg0) instanceof Map;
|
|
@@ -4643,7 +4815,7 @@ module.exports.__wbg_instanceof_Map_f3469ce2244d2430 = function (arg0) {
|
|
|
4643
4815
|
return ret;
|
|
4644
4816
|
};
|
|
4645
4817
|
|
|
4646
|
-
|
|
4818
|
+
exports.__wbg_instanceof_Response_f4f3e87e07f3135c = function (arg0) {
|
|
4647
4819
|
let result;
|
|
4648
4820
|
try {
|
|
4649
4821
|
result = getObject(arg0) instanceof Response;
|
|
@@ -4654,7 +4826,7 @@ module.exports.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function (arg0) {
|
|
|
4654
4826
|
return ret;
|
|
4655
4827
|
};
|
|
4656
4828
|
|
|
4657
|
-
|
|
4829
|
+
exports.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function (arg0) {
|
|
4658
4830
|
let result;
|
|
4659
4831
|
try {
|
|
4660
4832
|
result = getObject(arg0) instanceof Uint8Array;
|
|
@@ -4665,7 +4837,7 @@ module.exports.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function (arg0) {
|
|
|
4665
4837
|
return ret;
|
|
4666
4838
|
};
|
|
4667
4839
|
|
|
4668
|
-
|
|
4840
|
+
exports.__wbg_instanceof_Window_4846dbb3de56c84c = function (arg0) {
|
|
4669
4841
|
let result;
|
|
4670
4842
|
try {
|
|
4671
4843
|
result = getObject(arg0) instanceof Window;
|
|
@@ -4676,7 +4848,7 @@ module.exports.__wbg_instanceof_Window_def73ea0955fc569 = function (arg0) {
|
|
|
4676
4848
|
return ret;
|
|
4677
4849
|
};
|
|
4678
4850
|
|
|
4679
|
-
|
|
4851
|
+
exports.__wbg_instanceof_WorkerGlobalScope_e31f49b6d33fcadd = function (arg0) {
|
|
4680
4852
|
let result;
|
|
4681
4853
|
try {
|
|
4682
4854
|
result = getObject(arg0) instanceof WorkerGlobalScope;
|
|
@@ -4687,60 +4859,60 @@ module.exports.__wbg_instanceof_WorkerGlobalScope_dbdbdea7e3b56493 = function (a
|
|
|
4687
4859
|
return ret;
|
|
4688
4860
|
};
|
|
4689
4861
|
|
|
4690
|
-
|
|
4862
|
+
exports.__wbg_ipcclientsubscription_new = function (arg0) {
|
|
4691
4863
|
const ret = IpcClientSubscription.__wrap(arg0);
|
|
4692
4864
|
return addHeapObject(ret);
|
|
4693
4865
|
};
|
|
4694
4866
|
|
|
4695
|
-
|
|
4867
|
+
exports.__wbg_isArray_96e0af9891d0945d = function (arg0) {
|
|
4696
4868
|
const ret = Array.isArray(getObject(arg0));
|
|
4697
4869
|
return ret;
|
|
4698
4870
|
};
|
|
4699
4871
|
|
|
4700
|
-
|
|
4872
|
+
exports.__wbg_isSafeInteger_d216eda7911dde36 = function (arg0) {
|
|
4701
4873
|
const ret = Number.isSafeInteger(getObject(arg0));
|
|
4702
4874
|
return ret;
|
|
4703
4875
|
};
|
|
4704
4876
|
|
|
4705
|
-
|
|
4877
|
+
exports.__wbg_iterator_e5822695327a3c39 = function () {
|
|
4706
4878
|
const ret = Symbol.iterator;
|
|
4707
4879
|
return addHeapObject(ret);
|
|
4708
4880
|
};
|
|
4709
4881
|
|
|
4710
|
-
|
|
4882
|
+
exports.__wbg_length_69bca3cb64fc8748 = function (arg0) {
|
|
4711
4883
|
const ret = getObject(arg0).length;
|
|
4712
4884
|
return ret;
|
|
4713
4885
|
};
|
|
4714
4886
|
|
|
4715
|
-
|
|
4887
|
+
exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
|
|
4716
4888
|
const ret = getObject(arg0).length;
|
|
4717
4889
|
return ret;
|
|
4718
4890
|
};
|
|
4719
4891
|
|
|
4720
|
-
|
|
4892
|
+
exports.__wbg_list_b8dfecdd2b65e61e = function () {
|
|
4721
4893
|
return handleError(function (arg0) {
|
|
4722
4894
|
const ret = getObject(arg0).list();
|
|
4723
4895
|
return addHeapObject(ret);
|
|
4724
4896
|
}, arguments);
|
|
4725
4897
|
};
|
|
4726
4898
|
|
|
4727
|
-
|
|
4899
|
+
exports.__wbg_list_daa32c63b02d85cb = function () {
|
|
4728
4900
|
return handleError(function (arg0) {
|
|
4729
4901
|
const ret = getObject(arg0).list();
|
|
4730
4902
|
return addHeapObject(ret);
|
|
4731
4903
|
}, arguments);
|
|
4732
4904
|
};
|
|
4733
4905
|
|
|
4734
|
-
|
|
4906
|
+
exports.__wbg_log_45eb3a49e7cdcb64 = function (arg0, arg1, arg2, arg3) {
|
|
4735
4907
|
console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
4736
4908
|
};
|
|
4737
4909
|
|
|
4738
|
-
|
|
4910
|
+
exports.__wbg_msCrypto_a61aeb35a24c1329 = function (arg0) {
|
|
4739
4911
|
const ret = getObject(arg0).msCrypto;
|
|
4740
4912
|
return addHeapObject(ret);
|
|
4741
4913
|
};
|
|
4742
4914
|
|
|
4743
|
-
|
|
4915
|
+
exports.__wbg_name_3a33ad25b892b2dd = function (arg0, arg1) {
|
|
4744
4916
|
const ret = getObject(arg1).name;
|
|
4745
4917
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4746
4918
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -4748,26 +4920,36 @@ module.exports.__wbg_name_f2d27098bfd843e7 = function (arg0, arg1) {
|
|
|
4748
4920
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4749
4921
|
};
|
|
4750
4922
|
|
|
4751
|
-
|
|
4923
|
+
exports.__wbg_new_0_f9740686d739025c = function () {
|
|
4752
4924
|
const ret = new Date();
|
|
4753
4925
|
return addHeapObject(ret);
|
|
4754
4926
|
};
|
|
4755
4927
|
|
|
4756
|
-
|
|
4928
|
+
exports.__wbg_new_1acc0b6eea89d040 = function () {
|
|
4929
|
+
const ret = new Object();
|
|
4930
|
+
return addHeapObject(ret);
|
|
4931
|
+
};
|
|
4932
|
+
|
|
4933
|
+
exports.__wbg_new_2531773dac38ebb3 = function () {
|
|
4757
4934
|
return handleError(function () {
|
|
4758
|
-
const ret = new
|
|
4935
|
+
const ret = new AbortController();
|
|
4759
4936
|
return addHeapObject(ret);
|
|
4760
4937
|
}, arguments);
|
|
4761
4938
|
};
|
|
4762
4939
|
|
|
4763
|
-
|
|
4940
|
+
exports.__wbg_new_3c3d849046688a66 = function (arg0, arg1) {
|
|
4764
4941
|
try {
|
|
4765
4942
|
var state0 = { a: arg0, b: arg1 };
|
|
4766
4943
|
var cb0 = (arg0, arg1) => {
|
|
4767
4944
|
const a = state0.a;
|
|
4768
4945
|
state0.a = 0;
|
|
4769
4946
|
try {
|
|
4770
|
-
return
|
|
4947
|
+
return wasm_bindgen__convert__closures_____invoke__h4096c3b930b983e7(
|
|
4948
|
+
a,
|
|
4949
|
+
state0.b,
|
|
4950
|
+
arg0,
|
|
4951
|
+
arg1,
|
|
4952
|
+
);
|
|
4771
4953
|
} finally {
|
|
4772
4954
|
state0.a = a;
|
|
4773
4955
|
}
|
|
@@ -4779,51 +4961,46 @@ module.exports.__wbg_new_23a2665fac83c611 = function (arg0, arg1) {
|
|
|
4779
4961
|
}
|
|
4780
4962
|
};
|
|
4781
4963
|
|
|
4782
|
-
|
|
4783
|
-
const ret = new
|
|
4964
|
+
exports.__wbg_new_5a79be3ab53b8aa5 = function (arg0) {
|
|
4965
|
+
const ret = new Uint8Array(getObject(arg0));
|
|
4784
4966
|
return addHeapObject(ret);
|
|
4785
4967
|
};
|
|
4786
4968
|
|
|
4787
|
-
|
|
4969
|
+
exports.__wbg_new_68651c719dcda04e = function () {
|
|
4788
4970
|
const ret = new Map();
|
|
4789
4971
|
return addHeapObject(ret);
|
|
4790
4972
|
};
|
|
4791
4973
|
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4974
|
+
exports.__wbg_new_6f694bb0585846e0 = function () {
|
|
4975
|
+
return handleError(function () {
|
|
4976
|
+
const ret = new FormData();
|
|
4977
|
+
return addHeapObject(ret);
|
|
4978
|
+
}, arguments);
|
|
4795
4979
|
};
|
|
4796
4980
|
|
|
4797
|
-
|
|
4981
|
+
exports.__wbg_new_8a6f238a6ece86ea = function () {
|
|
4798
4982
|
const ret = new Error();
|
|
4799
4983
|
return addHeapObject(ret);
|
|
4800
4984
|
};
|
|
4801
4985
|
|
|
4802
|
-
|
|
4986
|
+
exports.__wbg_new_9edf9838a2def39c = function () {
|
|
4803
4987
|
return handleError(function () {
|
|
4804
|
-
const ret = new
|
|
4988
|
+
const ret = new Headers();
|
|
4805
4989
|
return addHeapObject(ret);
|
|
4806
4990
|
}, arguments);
|
|
4807
4991
|
};
|
|
4808
4992
|
|
|
4809
|
-
|
|
4810
|
-
const ret = new Uint8Array(getObject(arg0));
|
|
4811
|
-
return addHeapObject(ret);
|
|
4812
|
-
};
|
|
4813
|
-
|
|
4814
|
-
module.exports.__wbg_new_c68d7209be747379 = function (arg0, arg1) {
|
|
4993
|
+
exports.__wbg_new_a7442b4b19c1a356 = function (arg0, arg1) {
|
|
4815
4994
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
4816
4995
|
return addHeapObject(ret);
|
|
4817
4996
|
};
|
|
4818
4997
|
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
return addHeapObject(ret);
|
|
4823
|
-
}, arguments);
|
|
4998
|
+
exports.__wbg_new_e17d9f43105b08be = function () {
|
|
4999
|
+
const ret = new Array();
|
|
5000
|
+
return addHeapObject(ret);
|
|
4824
5001
|
};
|
|
4825
5002
|
|
|
4826
|
-
|
|
5003
|
+
exports.__wbg_new_f24b6d53abe5bc82 = function (arg0, arg1) {
|
|
4827
5004
|
let deferred0_0;
|
|
4828
5005
|
let deferred0_1;
|
|
4829
5006
|
try {
|
|
@@ -4836,101 +5013,105 @@ module.exports.__wbg_new_f24b6d53abe5bc82 = function (arg0, arg1) {
|
|
|
4836
5013
|
}
|
|
4837
5014
|
};
|
|
4838
5015
|
|
|
4839
|
-
|
|
4840
|
-
const ret = new
|
|
5016
|
+
exports.__wbg_new_from_slice_92f4d78ca282a2d2 = function (arg0, arg1) {
|
|
5017
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
4841
5018
|
return addHeapObject(ret);
|
|
4842
5019
|
};
|
|
4843
5020
|
|
|
4844
|
-
|
|
4845
|
-
const ret = new
|
|
5021
|
+
exports.__wbg_new_no_args_ee98eee5275000a4 = function (arg0, arg1) {
|
|
5022
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
4846
5023
|
return addHeapObject(ret);
|
|
4847
5024
|
};
|
|
4848
5025
|
|
|
4849
|
-
|
|
5026
|
+
exports.__wbg_new_with_length_01aa0dc35aa13543 = function (arg0) {
|
|
4850
5027
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
4851
5028
|
return addHeapObject(ret);
|
|
4852
5029
|
};
|
|
4853
5030
|
|
|
4854
|
-
|
|
5031
|
+
exports.__wbg_new_with_str_and_init_0ae7728b6ec367b1 = function () {
|
|
4855
5032
|
return handleError(function (arg0, arg1, arg2) {
|
|
4856
5033
|
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
4857
5034
|
return addHeapObject(ret);
|
|
4858
5035
|
}, arguments);
|
|
4859
5036
|
};
|
|
4860
5037
|
|
|
4861
|
-
|
|
5038
|
+
exports.__wbg_new_with_u8_array_sequence_and_options_0c1d0bd56d93d25a = function () {
|
|
4862
5039
|
return handleError(function (arg0, arg1) {
|
|
4863
5040
|
const ret = new Blob(getObject(arg0), getObject(arg1));
|
|
4864
5041
|
return addHeapObject(ret);
|
|
4865
5042
|
}, arguments);
|
|
4866
5043
|
};
|
|
4867
5044
|
|
|
4868
|
-
|
|
4869
|
-
const ret = getObject(arg0).next;
|
|
4870
|
-
return addHeapObject(ret);
|
|
4871
|
-
};
|
|
4872
|
-
|
|
4873
|
-
module.exports.__wbg_next_6574e1a8a62d1055 = function () {
|
|
5045
|
+
exports.__wbg_next_020810e0ae8ebcb0 = function () {
|
|
4874
5046
|
return handleError(function (arg0) {
|
|
4875
5047
|
const ret = getObject(arg0).next();
|
|
4876
5048
|
return addHeapObject(ret);
|
|
4877
5049
|
}, arguments);
|
|
4878
5050
|
};
|
|
4879
5051
|
|
|
4880
|
-
|
|
5052
|
+
exports.__wbg_next_2c826fe5dfec6b6a = function (arg0) {
|
|
5053
|
+
const ret = getObject(arg0).next;
|
|
5054
|
+
return addHeapObject(ret);
|
|
5055
|
+
};
|
|
5056
|
+
|
|
5057
|
+
exports.__wbg_node_905d3e251edff8a2 = function (arg0) {
|
|
4881
5058
|
const ret = getObject(arg0).node;
|
|
4882
5059
|
return addHeapObject(ret);
|
|
4883
5060
|
};
|
|
4884
5061
|
|
|
4885
|
-
|
|
5062
|
+
exports.__wbg_now_f5ba683d8ce2c571 = function (arg0) {
|
|
4886
5063
|
const ret = getObject(arg0).now();
|
|
4887
5064
|
return ret;
|
|
4888
5065
|
};
|
|
4889
5066
|
|
|
4890
|
-
|
|
5067
|
+
exports.__wbg_open_9d8c51d122a5a6ea = function () {
|
|
4891
5068
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4892
5069
|
const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
|
|
4893
5070
|
return addHeapObject(ret);
|
|
4894
5071
|
}, arguments);
|
|
4895
5072
|
};
|
|
4896
5073
|
|
|
4897
|
-
|
|
5074
|
+
exports.__wbg_parse_2a704d6b78abb2b8 = function () {
|
|
4898
5075
|
return handleError(function (arg0, arg1) {
|
|
4899
5076
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
4900
5077
|
return addHeapObject(ret);
|
|
4901
5078
|
}, arguments);
|
|
4902
5079
|
};
|
|
4903
5080
|
|
|
4904
|
-
|
|
5081
|
+
exports.__wbg_preventDefault_1f362670ce7ef430 = function (arg0) {
|
|
4905
5082
|
getObject(arg0).preventDefault();
|
|
4906
5083
|
};
|
|
4907
5084
|
|
|
4908
|
-
|
|
5085
|
+
exports.__wbg_process_dc0fbacc7c1c06f7 = function (arg0) {
|
|
4909
5086
|
const ret = getObject(arg0).process;
|
|
4910
5087
|
return addHeapObject(ret);
|
|
4911
5088
|
};
|
|
4912
5089
|
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
return ret;
|
|
5090
|
+
exports.__wbg_prototypesetcall_2a6620b6922694b2 = function (arg0, arg1, arg2) {
|
|
5091
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
4916
5092
|
};
|
|
4917
5093
|
|
|
4918
|
-
|
|
4919
|
-
|
|
5094
|
+
exports.__wbg_push_df81a39d04db858c = function (arg0, arg1) {
|
|
5095
|
+
const ret = getObject(arg0).push(getObject(arg1));
|
|
5096
|
+
return ret;
|
|
4920
5097
|
};
|
|
4921
5098
|
|
|
4922
|
-
|
|
5099
|
+
exports.__wbg_queueMicrotask_34d692c25c47d05b = function (arg0) {
|
|
4923
5100
|
const ret = getObject(arg0).queueMicrotask;
|
|
4924
5101
|
return addHeapObject(ret);
|
|
4925
5102
|
};
|
|
4926
5103
|
|
|
4927
|
-
|
|
5104
|
+
exports.__wbg_queueMicrotask_9d76cacb20c84d58 = function (arg0) {
|
|
5105
|
+
queueMicrotask(getObject(arg0));
|
|
5106
|
+
};
|
|
5107
|
+
|
|
5108
|
+
exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
4928
5109
|
return handleError(function (arg0, arg1) {
|
|
4929
5110
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
4930
5111
|
}, arguments);
|
|
4931
5112
|
};
|
|
4932
5113
|
|
|
4933
|
-
|
|
5114
|
+
exports.__wbg_remove_3bf97e854da9e7c3 = function () {
|
|
4934
5115
|
return handleError(function (arg0, arg1, arg2) {
|
|
4935
5116
|
let deferred0_0;
|
|
4936
5117
|
let deferred0_1;
|
|
@@ -4945,7 +5126,7 @@ module.exports.__wbg_remove_956f7c593f896a01 = function () {
|
|
|
4945
5126
|
}, arguments);
|
|
4946
5127
|
};
|
|
4947
5128
|
|
|
4948
|
-
|
|
5129
|
+
exports.__wbg_remove_be4a47406b9a0def = function () {
|
|
4949
5130
|
return handleError(function (arg0, arg1, arg2) {
|
|
4950
5131
|
let deferred0_0;
|
|
4951
5132
|
let deferred0_1;
|
|
@@ -4960,50 +5141,38 @@ module.exports.__wbg_remove_e3a32c8e47e778c1 = function () {
|
|
|
4960
5141
|
}, arguments);
|
|
4961
5142
|
};
|
|
4962
5143
|
|
|
4963
|
-
|
|
5144
|
+
exports.__wbg_require_60cc747a6bc5215a = function () {
|
|
4964
5145
|
return handleError(function () {
|
|
4965
5146
|
const ret = module.require;
|
|
4966
5147
|
return addHeapObject(ret);
|
|
4967
5148
|
}, arguments);
|
|
4968
5149
|
};
|
|
4969
5150
|
|
|
4970
|
-
|
|
5151
|
+
exports.__wbg_resolve_caf97c30b83f7053 = function (arg0) {
|
|
4971
5152
|
const ret = Promise.resolve(getObject(arg0));
|
|
4972
5153
|
return addHeapObject(ret);
|
|
4973
5154
|
};
|
|
4974
5155
|
|
|
4975
|
-
|
|
5156
|
+
exports.__wbg_result_25e75004b82b9830 = function () {
|
|
4976
5157
|
return handleError(function (arg0) {
|
|
4977
5158
|
const ret = getObject(arg0).result;
|
|
4978
5159
|
return addHeapObject(ret);
|
|
4979
5160
|
}, arguments);
|
|
4980
5161
|
};
|
|
4981
5162
|
|
|
4982
|
-
|
|
5163
|
+
exports.__wbg_send_9b8fc6bb517867dd = function () {
|
|
4983
5164
|
return handleError(function (arg0, arg1) {
|
|
4984
5165
|
const ret = getObject(arg0).send(OutgoingMessage.__wrap(arg1));
|
|
4985
5166
|
return addHeapObject(ret);
|
|
4986
5167
|
}, arguments);
|
|
4987
5168
|
};
|
|
4988
5169
|
|
|
4989
|
-
|
|
5170
|
+
exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
|
|
4990
5171
|
const ret = setTimeout(getObject(arg0), arg1);
|
|
4991
5172
|
return addHeapObject(ret);
|
|
4992
5173
|
};
|
|
4993
5174
|
|
|
4994
|
-
|
|
4995
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
4996
|
-
};
|
|
4997
|
-
|
|
4998
|
-
module.exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
4999
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5000
|
-
};
|
|
5001
|
-
|
|
5002
|
-
module.exports.__wbg_set_65595bdd868b3009 = function (arg0, arg1, arg2) {
|
|
5003
|
-
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
5004
|
-
};
|
|
5005
|
-
|
|
5006
|
-
module.exports.__wbg_set_89104a657df0b114 = function () {
|
|
5175
|
+
exports.__wbg_set_10039b2e1149cb0c = function () {
|
|
5007
5176
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5008
5177
|
let deferred0_0;
|
|
5009
5178
|
let deferred0_1;
|
|
@@ -5018,12 +5187,28 @@ module.exports.__wbg_set_89104a657df0b114 = function () {
|
|
|
5018
5187
|
}, arguments);
|
|
5019
5188
|
};
|
|
5020
5189
|
|
|
5021
|
-
|
|
5190
|
+
exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
5191
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5192
|
+
};
|
|
5193
|
+
|
|
5194
|
+
exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
|
|
5022
5195
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5023
5196
|
return addHeapObject(ret);
|
|
5024
5197
|
};
|
|
5025
5198
|
|
|
5026
|
-
|
|
5199
|
+
exports.__wbg_set_body_3c365989753d61f4 = function (arg0, arg1) {
|
|
5200
|
+
getObject(arg0).body = getObject(arg1);
|
|
5201
|
+
};
|
|
5202
|
+
|
|
5203
|
+
exports.__wbg_set_c213c871859d6500 = function (arg0, arg1, arg2) {
|
|
5204
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
5205
|
+
};
|
|
5206
|
+
|
|
5207
|
+
exports.__wbg_set_credentials_f621cd2d85c0c228 = function (arg0, arg1) {
|
|
5208
|
+
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5209
|
+
};
|
|
5210
|
+
|
|
5211
|
+
exports.__wbg_set_f2f0abdffceab618 = function () {
|
|
5027
5212
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5028
5213
|
let deferred0_0;
|
|
5029
5214
|
let deferred0_1;
|
|
@@ -5038,27 +5223,19 @@ module.exports.__wbg_set_d46a2477f493c1aa = function () {
|
|
|
5038
5223
|
}, arguments);
|
|
5039
5224
|
};
|
|
5040
5225
|
|
|
5041
|
-
|
|
5042
|
-
getObject(arg0).body = getObject(arg1);
|
|
5043
|
-
};
|
|
5044
|
-
|
|
5045
|
-
module.exports.__wbg_setcredentials_c3a22f1cd105a2c6 = function (arg0, arg1) {
|
|
5046
|
-
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5047
|
-
};
|
|
5048
|
-
|
|
5049
|
-
module.exports.__wbg_setheaders_834c0bdb6a8949ad = function (arg0, arg1) {
|
|
5226
|
+
exports.__wbg_set_headers_6926da238cd32ee4 = function (arg0, arg1) {
|
|
5050
5227
|
getObject(arg0).headers = getObject(arg1);
|
|
5051
5228
|
};
|
|
5052
5229
|
|
|
5053
|
-
|
|
5230
|
+
exports.__wbg_set_method_c02d8cbbe204ac2d = function (arg0, arg1, arg2) {
|
|
5054
5231
|
getObject(arg0).method = getStringFromWasm0(arg1, arg2);
|
|
5055
5232
|
};
|
|
5056
5233
|
|
|
5057
|
-
|
|
5234
|
+
exports.__wbg_set_mode_52ef73cfa79639cb = function (arg0, arg1) {
|
|
5058
5235
|
getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
|
|
5059
5236
|
};
|
|
5060
5237
|
|
|
5061
|
-
|
|
5238
|
+
exports.__wbg_set_name_c0e2d6f348c746f4 = function (arg0, arg1, arg2) {
|
|
5062
5239
|
let deferred0_0;
|
|
5063
5240
|
let deferred0_1;
|
|
5064
5241
|
try {
|
|
@@ -5070,27 +5247,27 @@ module.exports.__wbg_setname_c0e2d6f348c746f4 = function (arg0, arg1, arg2) {
|
|
|
5070
5247
|
}
|
|
5071
5248
|
};
|
|
5072
5249
|
|
|
5073
|
-
|
|
5250
|
+
exports.__wbg_set_onerror_dc82fea584ffccaa = function (arg0, arg1) {
|
|
5074
5251
|
getObject(arg0).onerror = getObject(arg1);
|
|
5075
5252
|
};
|
|
5076
5253
|
|
|
5077
|
-
|
|
5254
|
+
exports.__wbg_set_onsuccess_f367d002b462109e = function (arg0, arg1) {
|
|
5078
5255
|
getObject(arg0).onsuccess = getObject(arg1);
|
|
5079
5256
|
};
|
|
5080
5257
|
|
|
5081
|
-
|
|
5258
|
+
exports.__wbg_set_onupgradeneeded_0a519a73284a1418 = function (arg0, arg1) {
|
|
5082
5259
|
getObject(arg0).onupgradeneeded = getObject(arg1);
|
|
5083
5260
|
};
|
|
5084
5261
|
|
|
5085
|
-
|
|
5262
|
+
exports.__wbg_set_signal_dda2cf7ccb6bee0f = function (arg0, arg1) {
|
|
5086
5263
|
getObject(arg0).signal = getObject(arg1);
|
|
5087
5264
|
};
|
|
5088
5265
|
|
|
5089
|
-
|
|
5266
|
+
exports.__wbg_set_type_63fa4c18251f6545 = function (arg0, arg1, arg2) {
|
|
5090
5267
|
getObject(arg0).type = getStringFromWasm0(arg1, arg2);
|
|
5091
5268
|
};
|
|
5092
5269
|
|
|
5093
|
-
|
|
5270
|
+
exports.__wbg_set_variant_d1d41b778dfe9c17 = function (arg0, arg1, arg2) {
|
|
5094
5271
|
let deferred0_0;
|
|
5095
5272
|
let deferred0_1;
|
|
5096
5273
|
try {
|
|
@@ -5102,12 +5279,12 @@ module.exports.__wbg_setvariant_d1d41b778dfe9c17 = function (arg0, arg1, arg2) {
|
|
|
5102
5279
|
}
|
|
5103
5280
|
};
|
|
5104
5281
|
|
|
5105
|
-
|
|
5282
|
+
exports.__wbg_signal_4db5aa055bf9eb9a = function (arg0) {
|
|
5106
5283
|
const ret = getObject(arg0).signal;
|
|
5107
5284
|
return addHeapObject(ret);
|
|
5108
5285
|
};
|
|
5109
5286
|
|
|
5110
|
-
|
|
5287
|
+
exports.__wbg_stack_0ed75d68575b0f3c = function (arg0, arg1) {
|
|
5111
5288
|
const ret = getObject(arg1).stack;
|
|
5112
5289
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5113
5290
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -5115,76 +5292,76 @@ module.exports.__wbg_stack_0ed75d68575b0f3c = function (arg0, arg1) {
|
|
|
5115
5292
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5116
5293
|
};
|
|
5117
5294
|
|
|
5118
|
-
|
|
5295
|
+
exports.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function () {
|
|
5119
5296
|
const ret = typeof global === "undefined" ? null : global;
|
|
5120
5297
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5121
5298
|
};
|
|
5122
5299
|
|
|
5123
|
-
|
|
5300
|
+
exports.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function () {
|
|
5124
5301
|
const ret = typeof globalThis === "undefined" ? null : globalThis;
|
|
5125
5302
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5126
5303
|
};
|
|
5127
5304
|
|
|
5128
|
-
|
|
5305
|
+
exports.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function () {
|
|
5129
5306
|
const ret = typeof self === "undefined" ? null : self;
|
|
5130
5307
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5131
5308
|
};
|
|
5132
5309
|
|
|
5133
|
-
|
|
5310
|
+
exports.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function () {
|
|
5134
5311
|
const ret = typeof window === "undefined" ? null : window;
|
|
5135
5312
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5136
5313
|
};
|
|
5137
5314
|
|
|
5138
|
-
|
|
5315
|
+
exports.__wbg_static_accessor_performance_da77b3a901a72934 = function () {
|
|
5139
5316
|
const ret = performance;
|
|
5140
5317
|
return addHeapObject(ret);
|
|
5141
5318
|
};
|
|
5142
5319
|
|
|
5143
|
-
|
|
5320
|
+
exports.__wbg_status_de7eed5a7a5bfd5d = function (arg0) {
|
|
5144
5321
|
const ret = getObject(arg0).status;
|
|
5145
5322
|
return ret;
|
|
5146
5323
|
};
|
|
5147
5324
|
|
|
5148
|
-
|
|
5325
|
+
exports.__wbg_stringify_b5fb28f6465d9c3e = function () {
|
|
5149
5326
|
return handleError(function (arg0) {
|
|
5150
5327
|
const ret = JSON.stringify(getObject(arg0));
|
|
5151
5328
|
return addHeapObject(ret);
|
|
5152
5329
|
}, arguments);
|
|
5153
5330
|
};
|
|
5154
5331
|
|
|
5155
|
-
|
|
5332
|
+
exports.__wbg_subarray_480600f3d6a9f26c = function (arg0, arg1, arg2) {
|
|
5156
5333
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
5157
5334
|
return addHeapObject(ret);
|
|
5158
5335
|
};
|
|
5159
5336
|
|
|
5160
|
-
|
|
5337
|
+
exports.__wbg_target_1447f5d3a6fa6fe0 = function (arg0) {
|
|
5161
5338
|
const ret = getObject(arg0).target;
|
|
5162
5339
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5163
5340
|
};
|
|
5164
5341
|
|
|
5165
|
-
|
|
5342
|
+
exports.__wbg_text_dc33c15c17bdfb52 = function () {
|
|
5166
5343
|
return handleError(function (arg0) {
|
|
5167
5344
|
const ret = getObject(arg0).text();
|
|
5168
5345
|
return addHeapObject(ret);
|
|
5169
5346
|
}, arguments);
|
|
5170
5347
|
};
|
|
5171
5348
|
|
|
5172
|
-
|
|
5349
|
+
exports.__wbg_then_4f46f6544e6b4a28 = function (arg0, arg1) {
|
|
5173
5350
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
5174
5351
|
return addHeapObject(ret);
|
|
5175
5352
|
};
|
|
5176
5353
|
|
|
5177
|
-
|
|
5354
|
+
exports.__wbg_then_70d05cf780a18d77 = function (arg0, arg1, arg2) {
|
|
5178
5355
|
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
5179
5356
|
return addHeapObject(ret);
|
|
5180
5357
|
};
|
|
5181
5358
|
|
|
5182
|
-
|
|
5359
|
+
exports.__wbg_transaction_9fb8349a0a81725c = function (arg0) {
|
|
5183
5360
|
const ret = getObject(arg0).transaction;
|
|
5184
5361
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5185
5362
|
};
|
|
5186
5363
|
|
|
5187
|
-
|
|
5364
|
+
exports.__wbg_url_b36d2a5008eb056f = function (arg0, arg1) {
|
|
5188
5365
|
const ret = getObject(arg1).url;
|
|
5189
5366
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5190
5367
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -5192,196 +5369,139 @@ module.exports.__wbg_url_ae10c34ca209681d = function (arg0, arg1) {
|
|
|
5192
5369
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5193
5370
|
};
|
|
5194
5371
|
|
|
5195
|
-
|
|
5372
|
+
exports.__wbg_value_692627309814bb8c = function (arg0) {
|
|
5196
5373
|
const ret = getObject(arg0).value;
|
|
5197
5374
|
return addHeapObject(ret);
|
|
5198
5375
|
};
|
|
5199
5376
|
|
|
5200
|
-
|
|
5377
|
+
exports.__wbg_versions_c01dfd4722a88165 = function (arg0) {
|
|
5201
5378
|
const ret = getObject(arg0).versions;
|
|
5202
5379
|
return addHeapObject(ret);
|
|
5203
5380
|
};
|
|
5204
5381
|
|
|
5205
|
-
|
|
5382
|
+
exports.__wbg_warn_8f5b5437666d0885 = function (arg0, arg1, arg2, arg3) {
|
|
5206
5383
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5207
5384
|
};
|
|
5208
5385
|
|
|
5209
|
-
|
|
5210
|
-
|
|
5386
|
+
exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
|
|
5387
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5388
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
5211
5389
|
return addHeapObject(ret);
|
|
5212
5390
|
};
|
|
5213
5391
|
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
module.exports.__wbindgen_bigint_from_i64 = function (arg0) {
|
|
5224
|
-
const ret = arg0;
|
|
5392
|
+
exports.__wbindgen_cast_36265b4dca1d434b = function (arg0, arg1) {
|
|
5393
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 268, function: Function { arguments: [], shim_idx: 269, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5394
|
+
const ret = makeMutClosure(
|
|
5395
|
+
arg0,
|
|
5396
|
+
arg1,
|
|
5397
|
+
wasm.wasm_bindgen__closure__destroy__h04ff7fddf688fec6,
|
|
5398
|
+
wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01,
|
|
5399
|
+
);
|
|
5225
5400
|
return addHeapObject(ret);
|
|
5226
5401
|
};
|
|
5227
5402
|
|
|
5228
|
-
|
|
5403
|
+
exports.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
|
|
5404
|
+
// Cast intrinsic for `U64 -> Externref`.
|
|
5229
5405
|
const ret = BigInt.asUintN(64, arg0);
|
|
5230
5406
|
return addHeapObject(ret);
|
|
5231
5407
|
};
|
|
5232
5408
|
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
};
|
|
5239
|
-
|
|
5240
|
-
module.exports.__wbindgen_boolean_get = function (arg0) {
|
|
5241
|
-
const v = getObject(arg0);
|
|
5242
|
-
const ret = typeof v === "boolean" ? (v ? 1 : 0) : 2;
|
|
5243
|
-
return ret;
|
|
5244
|
-
};
|
|
5245
|
-
|
|
5246
|
-
module.exports.__wbindgen_cb_drop = function (arg0) {
|
|
5247
|
-
const obj = takeObject(arg0).original;
|
|
5248
|
-
if (obj.cnt-- == 1) {
|
|
5249
|
-
obj.a = 0;
|
|
5250
|
-
return true;
|
|
5251
|
-
}
|
|
5252
|
-
const ret = false;
|
|
5253
|
-
return ret;
|
|
5254
|
-
};
|
|
5255
|
-
|
|
5256
|
-
module.exports.__wbindgen_closure_wrapper196 = function (arg0, arg1, arg2) {
|
|
5257
|
-
const ret = makeMutClosure(arg0, arg1, 7, __wbg_adapter_54);
|
|
5409
|
+
exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
|
|
5410
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5411
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5412
|
+
// Cast intrinsic for `Vector(NamedExternref("CipherRiskResult")) -> Externref`.
|
|
5413
|
+
const ret = v0;
|
|
5258
5414
|
return addHeapObject(ret);
|
|
5259
5415
|
};
|
|
5260
5416
|
|
|
5261
|
-
|
|
5262
|
-
|
|
5417
|
+
exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
|
|
5418
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5419
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5420
|
+
// Cast intrinsic for `Vector(NamedExternref("Cipher")) -> Externref`.
|
|
5421
|
+
const ret = v0;
|
|
5263
5422
|
return addHeapObject(ret);
|
|
5264
5423
|
};
|
|
5265
5424
|
|
|
5266
|
-
|
|
5267
|
-
|
|
5425
|
+
exports.__wbindgen_cast_91244c1b651c8ba8 = function (arg0, arg1) {
|
|
5426
|
+
// 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`.
|
|
5427
|
+
const ret = makeMutClosure(
|
|
5428
|
+
arg0,
|
|
5429
|
+
arg1,
|
|
5430
|
+
wasm.wasm_bindgen__closure__destroy__h7b7f88151484c167,
|
|
5431
|
+
wasm_bindgen__convert__closures_____invoke__h4f8d9ba9b5b9a009,
|
|
5432
|
+
);
|
|
5268
5433
|
return addHeapObject(ret);
|
|
5269
5434
|
};
|
|
5270
5435
|
|
|
5271
|
-
|
|
5272
|
-
|
|
5436
|
+
exports.__wbindgen_cast_98de615b9dbdc064 = function (arg0, arg1) {
|
|
5437
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 268, function: Function { arguments: [Externref], shim_idx: 6, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5438
|
+
const ret = makeMutClosure(
|
|
5439
|
+
arg0,
|
|
5440
|
+
arg1,
|
|
5441
|
+
wasm.wasm_bindgen__closure__destroy__h04ff7fddf688fec6,
|
|
5442
|
+
wasm_bindgen__convert__closures_____invoke__h4f8d9ba9b5b9a009,
|
|
5443
|
+
);
|
|
5273
5444
|
return addHeapObject(ret);
|
|
5274
5445
|
};
|
|
5275
5446
|
|
|
5276
|
-
|
|
5277
|
-
|
|
5447
|
+
exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
|
|
5448
|
+
// Cast intrinsic for `I64 -> Externref`.
|
|
5449
|
+
const ret = arg0;
|
|
5278
5450
|
return addHeapObject(ret);
|
|
5279
5451
|
};
|
|
5280
5452
|
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
const
|
|
5284
|
-
const len1 = WASM_VECTOR_LEN;
|
|
5285
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
5286
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5287
|
-
};
|
|
5288
|
-
|
|
5289
|
-
module.exports.__wbindgen_error_new = function (arg0, arg1) {
|
|
5290
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
5453
|
+
exports.__wbindgen_cast_cb9088102bce6b30 = function (arg0, arg1) {
|
|
5454
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
5455
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
5291
5456
|
return addHeapObject(ret);
|
|
5292
5457
|
};
|
|
5293
5458
|
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
module.exports.__wbindgen_is_bigint = function (arg0) {
|
|
5300
|
-
const ret = typeof getObject(arg0) === "bigint";
|
|
5301
|
-
return ret;
|
|
5302
|
-
};
|
|
5303
|
-
|
|
5304
|
-
module.exports.__wbindgen_is_function = function (arg0) {
|
|
5305
|
-
const ret = typeof getObject(arg0) === "function";
|
|
5306
|
-
return ret;
|
|
5307
|
-
};
|
|
5308
|
-
|
|
5309
|
-
module.exports.__wbindgen_is_object = function (arg0) {
|
|
5310
|
-
const val = getObject(arg0);
|
|
5311
|
-
const ret = typeof val === "object" && val !== null;
|
|
5312
|
-
return ret;
|
|
5313
|
-
};
|
|
5314
|
-
|
|
5315
|
-
module.exports.__wbindgen_is_string = function (arg0) {
|
|
5316
|
-
const ret = typeof getObject(arg0) === "string";
|
|
5317
|
-
return ret;
|
|
5318
|
-
};
|
|
5319
|
-
|
|
5320
|
-
module.exports.__wbindgen_is_undefined = function (arg0) {
|
|
5321
|
-
const ret = getObject(arg0) === undefined;
|
|
5322
|
-
return ret;
|
|
5323
|
-
};
|
|
5324
|
-
|
|
5325
|
-
module.exports.__wbindgen_jsval_eq = function (arg0, arg1) {
|
|
5326
|
-
const ret = getObject(arg0) === getObject(arg1);
|
|
5327
|
-
return ret;
|
|
5328
|
-
};
|
|
5329
|
-
|
|
5330
|
-
module.exports.__wbindgen_jsval_loose_eq = function (arg0, arg1) {
|
|
5331
|
-
const ret = getObject(arg0) == getObject(arg1);
|
|
5332
|
-
return ret;
|
|
5459
|
+
exports.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
|
|
5460
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
5461
|
+
const ret = arg0;
|
|
5462
|
+
return addHeapObject(ret);
|
|
5333
5463
|
};
|
|
5334
5464
|
|
|
5335
|
-
|
|
5336
|
-
|
|
5465
|
+
exports.__wbindgen_cast_e904f2c9fda6146b = function (arg0, arg1) {
|
|
5466
|
+
// 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`.
|
|
5467
|
+
const ret = makeMutClosure(
|
|
5468
|
+
arg0,
|
|
5469
|
+
arg1,
|
|
5470
|
+
wasm.wasm_bindgen__closure__destroy__h7b7f88151484c167,
|
|
5471
|
+
wasm_bindgen__convert__closures_____invoke__hf869d8564f5adb52,
|
|
5472
|
+
);
|
|
5337
5473
|
return addHeapObject(ret);
|
|
5338
5474
|
};
|
|
5339
5475
|
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5476
|
+
exports.__wbindgen_cast_ef90a087adb7475d = function (arg0, arg1) {
|
|
5477
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5478
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5479
|
+
// Cast intrinsic for `Vector(NamedExternref("FolderView")) -> Externref`.
|
|
5480
|
+
const ret = v0;
|
|
5481
|
+
return addHeapObject(ret);
|
|
5345
5482
|
};
|
|
5346
5483
|
|
|
5347
|
-
|
|
5348
|
-
|
|
5484
|
+
exports.__wbindgen_cast_f31034722c398fdb = function (arg0, arg1) {
|
|
5485
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 520, function: Function { arguments: [], shim_idx: 269, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5486
|
+
const ret = makeMutClosure(
|
|
5487
|
+
arg0,
|
|
5488
|
+
arg1,
|
|
5489
|
+
wasm.wasm_bindgen__closure__destroy__h1cce7ce4a094839d,
|
|
5490
|
+
wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01,
|
|
5491
|
+
);
|
|
5349
5492
|
return addHeapObject(ret);
|
|
5350
5493
|
};
|
|
5351
5494
|
|
|
5352
|
-
|
|
5495
|
+
exports.__wbindgen_object_clone_ref = function (arg0) {
|
|
5353
5496
|
const ret = getObject(arg0);
|
|
5354
5497
|
return addHeapObject(ret);
|
|
5355
5498
|
};
|
|
5356
5499
|
|
|
5357
|
-
|
|
5500
|
+
exports.__wbindgen_object_drop_ref = function (arg0) {
|
|
5358
5501
|
takeObject(arg0);
|
|
5359
5502
|
};
|
|
5360
5503
|
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
? 0
|
|
5366
|
-
: passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5367
|
-
var len1 = WASM_VECTOR_LEN;
|
|
5368
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
5369
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5370
|
-
};
|
|
5371
|
-
|
|
5372
|
-
module.exports.__wbindgen_string_new = function (arg0, arg1) {
|
|
5373
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
5374
|
-
return addHeapObject(ret);
|
|
5375
|
-
};
|
|
5376
|
-
|
|
5377
|
-
module.exports.__wbindgen_throw = function (arg0, arg1) {
|
|
5378
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
5379
|
-
};
|
|
5380
|
-
|
|
5381
|
-
const path = require("path").join(__dirname, "bitwarden_wasm_internal_bg.wasm");
|
|
5382
|
-
const bytes = require("fs").readFileSync(path);
|
|
5383
|
-
|
|
5384
|
-
const wasmModule = new WebAssembly.Module(bytes);
|
|
5385
|
-
const wasmInstance = new WebAssembly.Instance(wasmModule, imports);
|
|
5386
|
-
wasm = wasmInstance.exports;
|
|
5387
|
-
module.exports.__wasm = wasm;
|
|
5504
|
+
const wasmPath = `${__dirname}/bitwarden_wasm_internal_bg.wasm`;
|
|
5505
|
+
const wasmBytes = require("fs").readFileSync(wasmPath);
|
|
5506
|
+
const wasmModule = new WebAssembly.Module(wasmBytes);
|
|
5507
|
+
const wasm = (exports.__wasm = new WebAssembly.Instance(wasmModule, imports).exports);
|