@bitwarden/commercial-sdk-internal 0.2.0-main.433 → 0.2.0-main.435
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 +501 -501
- package/bitwarden_wasm_internal_bg.js +146 -146
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +9 -9
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +501 -501
- package/node/bitwarden_wasm_internal.js +144 -144
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +9 -9
- package/package.json +1 -1
|
@@ -215,6 +215,16 @@ function getArrayU8FromWasm0(ptr, len) {
|
|
|
215
215
|
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
+
function getArrayJsValueFromWasm0(ptr, len) {
|
|
219
|
+
ptr = ptr >>> 0;
|
|
220
|
+
const mem = getDataViewMemory0();
|
|
221
|
+
const result = [];
|
|
222
|
+
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
223
|
+
result.push(takeObject(mem.getUint32(i, true)));
|
|
224
|
+
}
|
|
225
|
+
return result;
|
|
226
|
+
}
|
|
227
|
+
|
|
218
228
|
const CLOSURE_DTORS =
|
|
219
229
|
typeof FinalizationRegistry === "undefined"
|
|
220
230
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -247,16 +257,6 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
247
257
|
return real;
|
|
248
258
|
}
|
|
249
259
|
|
|
250
|
-
function getArrayJsValueFromWasm0(ptr, len) {
|
|
251
|
-
ptr = ptr >>> 0;
|
|
252
|
-
const mem = getDataViewMemory0();
|
|
253
|
-
const result = [];
|
|
254
|
-
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
255
|
-
result.push(takeObject(mem.getUint32(i, true)));
|
|
256
|
-
}
|
|
257
|
-
return result;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
260
|
function passArray8ToWasm0(arg, malloc) {
|
|
261
261
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
262
262
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -264,33 +264,21 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
264
264
|
return ptr;
|
|
265
265
|
}
|
|
266
266
|
/**
|
|
267
|
-
*
|
|
268
|
-
* to an OpenSSH private key with public key and fingerprint
|
|
267
|
+
* Generate a new SSH key pair
|
|
269
268
|
*
|
|
270
269
|
* # Arguments
|
|
271
|
-
* - `
|
|
272
|
-
* - `password` - The password to use for decrypting the key
|
|
270
|
+
* - `key_algorithm` - The algorithm to use for the key pair
|
|
273
271
|
*
|
|
274
272
|
* # Returns
|
|
275
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
276
|
-
* - `Err(
|
|
277
|
-
*
|
|
278
|
-
* - `Err(ParsingError)` if the key could not be parsed
|
|
279
|
-
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
280
|
-
* @param {string} imported_key
|
|
281
|
-
* @param {string | null} [password]
|
|
273
|
+
* - `Ok(SshKey)` if the key was successfully generated
|
|
274
|
+
* - `Err(KeyGenerationError)` if the key could not be generated
|
|
275
|
+
* @param {KeyAlgorithm} key_algorithm
|
|
282
276
|
* @returns {SshKeyView}
|
|
283
277
|
*/
|
|
284
|
-
export function
|
|
278
|
+
export function generate_ssh_key(key_algorithm) {
|
|
285
279
|
try {
|
|
286
280
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
287
|
-
|
|
288
|
-
const len0 = WASM_VECTOR_LEN;
|
|
289
|
-
var ptr1 = isLikeNone(password)
|
|
290
|
-
? 0
|
|
291
|
-
: passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
292
|
-
var len1 = WASM_VECTOR_LEN;
|
|
293
|
-
wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
|
|
281
|
+
wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
|
|
294
282
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
295
283
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
296
284
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -304,21 +292,33 @@ export function import_ssh_key(imported_key, password) {
|
|
|
304
292
|
}
|
|
305
293
|
|
|
306
294
|
/**
|
|
307
|
-
*
|
|
295
|
+
* Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
|
|
296
|
+
* to an OpenSSH private key with public key and fingerprint
|
|
308
297
|
*
|
|
309
298
|
* # Arguments
|
|
310
|
-
* - `
|
|
299
|
+
* - `imported_key` - The private key to convert
|
|
300
|
+
* - `password` - The password to use for decrypting the key
|
|
311
301
|
*
|
|
312
302
|
* # Returns
|
|
313
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
314
|
-
* - `Err(
|
|
315
|
-
*
|
|
303
|
+
* - `Ok(SshKey)` if the key was successfully coneverted
|
|
304
|
+
* - `Err(PasswordRequired)` if the key is encrypted and no password was provided
|
|
305
|
+
* - `Err(WrongPassword)` if the password provided is incorrect
|
|
306
|
+
* - `Err(ParsingError)` if the key could not be parsed
|
|
307
|
+
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
308
|
+
* @param {string} imported_key
|
|
309
|
+
* @param {string | null} [password]
|
|
316
310
|
* @returns {SshKeyView}
|
|
317
311
|
*/
|
|
318
|
-
export function
|
|
312
|
+
export function import_ssh_key(imported_key, password) {
|
|
319
313
|
try {
|
|
320
314
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
321
|
-
wasm.
|
|
315
|
+
const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
316
|
+
const len0 = WASM_VECTOR_LEN;
|
|
317
|
+
var ptr1 = isLikeNone(password)
|
|
318
|
+
? 0
|
|
319
|
+
: passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
320
|
+
var len1 = WASM_VECTOR_LEN;
|
|
321
|
+
wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
|
|
322
322
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
323
323
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
324
324
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -401,9 +401,9 @@ export function isAccountCryptographyInitializationError(error) {
|
|
|
401
401
|
* @param {any} error
|
|
402
402
|
* @returns {boolean}
|
|
403
403
|
*/
|
|
404
|
-
export function
|
|
404
|
+
export function isEnrollAdminPasswordResetError(error) {
|
|
405
405
|
try {
|
|
406
|
-
const ret = wasm.
|
|
406
|
+
const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
|
|
407
407
|
return ret !== 0;
|
|
408
408
|
} finally {
|
|
409
409
|
heap[stack_pointer++] = undefined;
|
|
@@ -414,9 +414,9 @@ export function isDeriveKeyConnectorError(error) {
|
|
|
414
414
|
* @param {any} error
|
|
415
415
|
* @returns {boolean}
|
|
416
416
|
*/
|
|
417
|
-
export function
|
|
417
|
+
export function isCryptoClientError(error) {
|
|
418
418
|
try {
|
|
419
|
-
const ret = wasm.
|
|
419
|
+
const ret = wasm.isCryptoClientError(addBorrowedObject(error));
|
|
420
420
|
return ret !== 0;
|
|
421
421
|
} finally {
|
|
422
422
|
heap[stack_pointer++] = undefined;
|
|
@@ -427,9 +427,9 @@ export function isEnrollAdminPasswordResetError(error) {
|
|
|
427
427
|
* @param {any} error
|
|
428
428
|
* @returns {boolean}
|
|
429
429
|
*/
|
|
430
|
-
export function
|
|
430
|
+
export function isDeriveKeyConnectorError(error) {
|
|
431
431
|
try {
|
|
432
|
-
const ret = wasm.
|
|
432
|
+
const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
|
|
433
433
|
return ret !== 0;
|
|
434
434
|
} finally {
|
|
435
435
|
heap[stack_pointer++] = undefined;
|
|
@@ -527,9 +527,9 @@ export function isUsernameError(error) {
|
|
|
527
527
|
* @param {any} error
|
|
528
528
|
* @returns {boolean}
|
|
529
529
|
*/
|
|
530
|
-
export function
|
|
530
|
+
export function isSubscribeError(error) {
|
|
531
531
|
try {
|
|
532
|
-
const ret = wasm.
|
|
532
|
+
const ret = wasm.isSubscribeError(addBorrowedObject(error));
|
|
533
533
|
return ret !== 0;
|
|
534
534
|
} finally {
|
|
535
535
|
heap[stack_pointer++] = undefined;
|
|
@@ -540,9 +540,9 @@ export function isRequestError(error) {
|
|
|
540
540
|
* @param {any} error
|
|
541
541
|
* @returns {boolean}
|
|
542
542
|
*/
|
|
543
|
-
export function
|
|
543
|
+
export function isRequestError(error) {
|
|
544
544
|
try {
|
|
545
|
-
const ret = wasm.
|
|
545
|
+
const ret = wasm.isRequestError(addBorrowedObject(error));
|
|
546
546
|
return ret !== 0;
|
|
547
547
|
} finally {
|
|
548
548
|
heap[stack_pointer++] = undefined;
|
|
@@ -553,9 +553,9 @@ export function isTypedReceiveError(error) {
|
|
|
553
553
|
* @param {any} error
|
|
554
554
|
* @returns {boolean}
|
|
555
555
|
*/
|
|
556
|
-
export function
|
|
556
|
+
export function isReceiveError(error) {
|
|
557
557
|
try {
|
|
558
|
-
const ret = wasm.
|
|
558
|
+
const ret = wasm.isReceiveError(addBorrowedObject(error));
|
|
559
559
|
return ret !== 0;
|
|
560
560
|
} finally {
|
|
561
561
|
heap[stack_pointer++] = undefined;
|
|
@@ -566,9 +566,9 @@ export function isSubscribeError(error) {
|
|
|
566
566
|
* @param {any} error
|
|
567
567
|
* @returns {boolean}
|
|
568
568
|
*/
|
|
569
|
-
export function
|
|
569
|
+
export function isTypedReceiveError(error) {
|
|
570
570
|
try {
|
|
571
|
-
const ret = wasm.
|
|
571
|
+
const ret = wasm.isTypedReceiveError(addBorrowedObject(error));
|
|
572
572
|
return ret !== 0;
|
|
573
573
|
} finally {
|
|
574
574
|
heap[stack_pointer++] = undefined;
|
|
@@ -584,9 +584,9 @@ function _assertClass(instance, klass) {
|
|
|
584
584
|
* @param {any} error
|
|
585
585
|
* @returns {boolean}
|
|
586
586
|
*/
|
|
587
|
-
export function
|
|
587
|
+
export function isChannelError(error) {
|
|
588
588
|
try {
|
|
589
|
-
const ret = wasm.
|
|
589
|
+
const ret = wasm.isChannelError(addBorrowedObject(error));
|
|
590
590
|
return ret !== 0;
|
|
591
591
|
} finally {
|
|
592
592
|
heap[stack_pointer++] = undefined;
|
|
@@ -597,15 +597,27 @@ export function isDeserializeError(error) {
|
|
|
597
597
|
* @param {any} error
|
|
598
598
|
* @returns {boolean}
|
|
599
599
|
*/
|
|
600
|
-
export function
|
|
600
|
+
export function isDeserializeError(error) {
|
|
601
601
|
try {
|
|
602
|
-
const ret = wasm.
|
|
602
|
+
const ret = wasm.isDeserializeError(addBorrowedObject(error));
|
|
603
603
|
return ret !== 0;
|
|
604
604
|
} finally {
|
|
605
605
|
heap[stack_pointer++] = undefined;
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
608
|
|
|
609
|
+
/**
|
|
610
|
+
* Registers a DiscoverHandler so that the client can respond to DiscoverRequests.
|
|
611
|
+
* @param {IpcClient} ipc_client
|
|
612
|
+
* @param {DiscoverResponse} response
|
|
613
|
+
* @returns {Promise<void>}
|
|
614
|
+
*/
|
|
615
|
+
export function ipcRegisterDiscoverHandler(ipc_client, response) {
|
|
616
|
+
_assertClass(ipc_client, IpcClient);
|
|
617
|
+
const ret = wasm.ipcRegisterDiscoverHandler(ipc_client.__wbg_ptr, addHeapObject(response));
|
|
618
|
+
return takeObject(ret);
|
|
619
|
+
}
|
|
620
|
+
|
|
609
621
|
/**
|
|
610
622
|
* Sends a DiscoverRequest to the specified destination and returns the response.
|
|
611
623
|
* @param {IpcClient} ipc_client
|
|
@@ -623,18 +635,6 @@ export function ipcRequestDiscover(ipc_client, destination, abort_signal) {
|
|
|
623
635
|
return takeObject(ret);
|
|
624
636
|
}
|
|
625
637
|
|
|
626
|
-
/**
|
|
627
|
-
* Registers a DiscoverHandler so that the client can respond to DiscoverRequests.
|
|
628
|
-
* @param {IpcClient} ipc_client
|
|
629
|
-
* @param {DiscoverResponse} response
|
|
630
|
-
* @returns {Promise<void>}
|
|
631
|
-
*/
|
|
632
|
-
export function ipcRegisterDiscoverHandler(ipc_client, response) {
|
|
633
|
-
_assertClass(ipc_client, IpcClient);
|
|
634
|
-
const ret = wasm.ipcRegisterDiscoverHandler(ipc_client.__wbg_ptr, addHeapObject(response));
|
|
635
|
-
return takeObject(ret);
|
|
636
|
-
}
|
|
637
|
-
|
|
638
638
|
/**
|
|
639
639
|
* @param {any} error
|
|
640
640
|
* @returns {boolean}
|
|
@@ -882,10 +882,22 @@ export function isGetFolderError(error) {
|
|
|
882
882
|
}
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
-
function
|
|
885
|
+
function wasm_bindgen__convert__closures_____invoke__h62b881a194105b80(arg0, arg1) {
|
|
886
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h62b881a194105b80(arg0, arg1);
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
function wasm_bindgen__convert__closures_____invoke__h3ee6e6da36ea79fd(arg0, arg1, arg2) {
|
|
890
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h3ee6e6da36ea79fd(
|
|
891
|
+
arg0,
|
|
892
|
+
arg1,
|
|
893
|
+
addHeapObject(arg2),
|
|
894
|
+
);
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
function wasm_bindgen__convert__closures_____invoke__h4186fc9839e7cab3(arg0, arg1, arg2) {
|
|
886
898
|
try {
|
|
887
899
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
888
|
-
wasm.
|
|
900
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h4186fc9839e7cab3(
|
|
889
901
|
retptr,
|
|
890
902
|
arg0,
|
|
891
903
|
arg1,
|
|
@@ -901,20 +913,8 @@ function wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd(arg0, arg
|
|
|
901
913
|
}
|
|
902
914
|
}
|
|
903
915
|
|
|
904
|
-
function
|
|
905
|
-
wasm.
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
function wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109(arg0, arg1, arg2) {
|
|
909
|
-
wasm.wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109(
|
|
910
|
-
arg0,
|
|
911
|
-
arg1,
|
|
912
|
-
addHeapObject(arg2),
|
|
913
|
-
);
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
function wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83(arg0, arg1, arg2, arg3) {
|
|
917
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83(
|
|
916
|
+
function wasm_bindgen__convert__closures_____invoke__h92667cd2c3a9eee2(arg0, arg1, arg2, arg3) {
|
|
917
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h92667cd2c3a9eee2(
|
|
918
918
|
arg0,
|
|
919
919
|
arg1,
|
|
920
920
|
addHeapObject(arg2),
|
|
@@ -4681,7 +4681,7 @@ export function __wbg_call_e762c39fa8ea36bf() {
|
|
|
4681
4681
|
}, arguments);
|
|
4682
4682
|
}
|
|
4683
4683
|
|
|
4684
|
-
export function
|
|
4684
|
+
export function __wbg_cipher_b25bc3331874ea6a(arg0) {
|
|
4685
4685
|
const ret = getObject(arg0).cipher;
|
|
4686
4686
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4687
4687
|
}
|
|
@@ -4774,7 +4774,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
4774
4774
|
return addHeapObject(ret);
|
|
4775
4775
|
}
|
|
4776
4776
|
|
|
4777
|
-
export function
|
|
4777
|
+
export function __wbg_folder_5a94a9f4d63cf388(arg0) {
|
|
4778
4778
|
const ret = getObject(arg0).folder;
|
|
4779
4779
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4780
4780
|
}
|
|
@@ -4807,7 +4807,12 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
4807
4807
|
return ret;
|
|
4808
4808
|
}
|
|
4809
4809
|
|
|
4810
|
-
export function
|
|
4810
|
+
export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
4811
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4812
|
+
return addHeapObject(ret);
|
|
4813
|
+
}
|
|
4814
|
+
|
|
4815
|
+
export function __wbg_get_84e1917d80624f6f() {
|
|
4811
4816
|
return handleError(function (arg0, arg1, arg2) {
|
|
4812
4817
|
let deferred0_0;
|
|
4813
4818
|
let deferred0_1;
|
|
@@ -4822,7 +4827,7 @@ export function __wbg_get_13a393faedb3cf36() {
|
|
|
4822
4827
|
}, arguments);
|
|
4823
4828
|
}
|
|
4824
4829
|
|
|
4825
|
-
export function
|
|
4830
|
+
export function __wbg_get_9faf9fc61ce73f24() {
|
|
4826
4831
|
return handleError(function (arg0, arg1, arg2) {
|
|
4827
4832
|
let deferred0_0;
|
|
4828
4833
|
let deferred0_1;
|
|
@@ -4837,12 +4842,7 @@ export function __wbg_get_797f9e0aadc4c6d3() {
|
|
|
4837
4842
|
}, arguments);
|
|
4838
4843
|
}
|
|
4839
4844
|
|
|
4840
|
-
export function
|
|
4841
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4842
|
-
return addHeapObject(ret);
|
|
4843
|
-
}
|
|
4844
|
-
|
|
4845
|
-
export function __wbg_get_access_token_1b7ec778e4bccc00(arg0) {
|
|
4845
|
+
export function __wbg_get_access_token_a894dfc5fe2c1acc(arg0) {
|
|
4846
4846
|
const ret = getObject(arg0).get_access_token();
|
|
4847
4847
|
return addHeapObject(ret);
|
|
4848
4848
|
}
|
|
@@ -5038,14 +5038,14 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
5038
5038
|
return ret;
|
|
5039
5039
|
}
|
|
5040
5040
|
|
|
5041
|
-
export function
|
|
5041
|
+
export function __wbg_list_4d5c331c3a9018b2() {
|
|
5042
5042
|
return handleError(function (arg0) {
|
|
5043
5043
|
const ret = getObject(arg0).list();
|
|
5044
5044
|
return addHeapObject(ret);
|
|
5045
5045
|
}, arguments);
|
|
5046
5046
|
}
|
|
5047
5047
|
|
|
5048
|
-
export function
|
|
5048
|
+
export function __wbg_list_c4e47fe19f53b93e() {
|
|
5049
5049
|
return handleError(function (arg0) {
|
|
5050
5050
|
const ret = getObject(arg0).list();
|
|
5051
5051
|
return addHeapObject(ret);
|
|
@@ -5130,7 +5130,7 @@ export function __wbg_new_3c3d849046688a66(arg0, arg1) {
|
|
|
5130
5130
|
const a = state0.a;
|
|
5131
5131
|
state0.a = 0;
|
|
5132
5132
|
try {
|
|
5133
|
-
return
|
|
5133
|
+
return wasm_bindgen__convert__closures_____invoke__h92667cd2c3a9eee2(
|
|
5134
5134
|
a,
|
|
5135
5135
|
state0.b,
|
|
5136
5136
|
arg0,
|
|
@@ -5289,7 +5289,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
|
|
|
5289
5289
|
}, arguments);
|
|
5290
5290
|
}
|
|
5291
5291
|
|
|
5292
|
-
export function
|
|
5292
|
+
export function __wbg_remove_7321c4e740469081() {
|
|
5293
5293
|
return handleError(function (arg0, arg1, arg2) {
|
|
5294
5294
|
let deferred0_0;
|
|
5295
5295
|
let deferred0_1;
|
|
@@ -5304,7 +5304,7 @@ export function __wbg_remove_3e5f968faf181e9d() {
|
|
|
5304
5304
|
}, arguments);
|
|
5305
5305
|
}
|
|
5306
5306
|
|
|
5307
|
-
export function
|
|
5307
|
+
export function __wbg_remove_b4416a3740ce6060() {
|
|
5308
5308
|
return handleError(function (arg0, arg1, arg2) {
|
|
5309
5309
|
let deferred0_0;
|
|
5310
5310
|
let deferred0_1;
|
|
@@ -5354,7 +5354,7 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
|
5354
5354
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5355
5355
|
}
|
|
5356
5356
|
|
|
5357
|
-
export function
|
|
5357
|
+
export function __wbg_set_448ea5ed2f3a5ac4() {
|
|
5358
5358
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5359
5359
|
let deferred0_0;
|
|
5360
5360
|
let deferred0_1;
|
|
@@ -5369,7 +5369,7 @@ export function __wbg_set_4621df3b84f0bb1c() {
|
|
|
5369
5369
|
}, arguments);
|
|
5370
5370
|
}
|
|
5371
5371
|
|
|
5372
|
-
export function
|
|
5372
|
+
export function __wbg_set_9046335acfb724c6() {
|
|
5373
5373
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5374
5374
|
let deferred0_0;
|
|
5375
5375
|
let deferred0_1;
|
|
@@ -5572,45 +5572,12 @@ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
|
|
|
5572
5572
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5573
5573
|
}
|
|
5574
5574
|
|
|
5575
|
-
export function __wbindgen_cast_18e7d5b03ebc0b46(arg0, arg1) {
|
|
5576
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [Externref], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5577
|
-
const ret = makeMutClosure(
|
|
5578
|
-
arg0,
|
|
5579
|
-
arg1,
|
|
5580
|
-
wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
|
|
5581
|
-
wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109,
|
|
5582
|
-
);
|
|
5583
|
-
return addHeapObject(ret);
|
|
5584
|
-
}
|
|
5585
|
-
|
|
5586
5575
|
export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
|
|
5587
5576
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5588
5577
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
5589
5578
|
return addHeapObject(ret);
|
|
5590
5579
|
}
|
|
5591
5580
|
|
|
5592
|
-
export function __wbindgen_cast_34ef3ce950757bdd(arg0, arg1) {
|
|
5593
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5594
|
-
const ret = makeMutClosure(
|
|
5595
|
-
arg0,
|
|
5596
|
-
arg1,
|
|
5597
|
-
wasm.wasm_bindgen__closure__destroy__h96ff2d5ee0ca699c,
|
|
5598
|
-
wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109,
|
|
5599
|
-
);
|
|
5600
|
-
return addHeapObject(ret);
|
|
5601
|
-
}
|
|
5602
|
-
|
|
5603
|
-
export function __wbindgen_cast_397295739b4135cd(arg0, arg1) {
|
|
5604
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("Event")], shim_idx: 43, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5605
|
-
const ret = makeMutClosure(
|
|
5606
|
-
arg0,
|
|
5607
|
-
arg1,
|
|
5608
|
-
wasm.wasm_bindgen__closure__destroy__h96ff2d5ee0ca699c,
|
|
5609
|
-
wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd,
|
|
5610
|
-
);
|
|
5611
|
-
return addHeapObject(ret);
|
|
5612
|
-
}
|
|
5613
|
-
|
|
5614
5581
|
export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
|
|
5615
5582
|
// Cast intrinsic for `U64 -> Externref`.
|
|
5616
5583
|
const ret = BigInt.asUintN(64, arg0);
|
|
@@ -5625,13 +5592,13 @@ export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
|
|
|
5625
5592
|
return addHeapObject(ret);
|
|
5626
5593
|
}
|
|
5627
5594
|
|
|
5628
|
-
export function
|
|
5629
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5595
|
+
export function __wbindgen_cast_66b9b6fddd3159a0(arg0, arg1) {
|
|
5596
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 301, function: Function { arguments: [Externref], shim_idx: 46, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5630
5597
|
const ret = makeMutClosure(
|
|
5631
5598
|
arg0,
|
|
5632
5599
|
arg1,
|
|
5633
|
-
wasm.
|
|
5634
|
-
|
|
5600
|
+
wasm.wasm_bindgen__closure__destroy__h4e2596d1eeea1ddd,
|
|
5601
|
+
wasm_bindgen__convert__closures_____invoke__h3ee6e6da36ea79fd,
|
|
5635
5602
|
);
|
|
5636
5603
|
return addHeapObject(ret);
|
|
5637
5604
|
}
|
|
@@ -5644,35 +5611,68 @@ export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
|
|
|
5644
5611
|
return addHeapObject(ret);
|
|
5645
5612
|
}
|
|
5646
5613
|
|
|
5647
|
-
export function
|
|
5648
|
-
// Cast intrinsic for `
|
|
5614
|
+
export function __wbindgen_cast_9ae0607507abb057(arg0) {
|
|
5615
|
+
// Cast intrinsic for `I64 -> Externref`.
|
|
5616
|
+
const ret = arg0;
|
|
5617
|
+
return addHeapObject(ret);
|
|
5618
|
+
}
|
|
5619
|
+
|
|
5620
|
+
export function __wbindgen_cast_b70019a15f201a96(arg0, arg1) {
|
|
5621
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 552, function: Function { arguments: [], shim_idx: 302, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5649
5622
|
const ret = makeMutClosure(
|
|
5650
5623
|
arg0,
|
|
5651
5624
|
arg1,
|
|
5652
|
-
wasm.
|
|
5653
|
-
|
|
5625
|
+
wasm.wasm_bindgen__closure__destroy__he95e920b8d9de938,
|
|
5626
|
+
wasm_bindgen__convert__closures_____invoke__h62b881a194105b80,
|
|
5654
5627
|
);
|
|
5655
5628
|
return addHeapObject(ret);
|
|
5656
5629
|
}
|
|
5657
5630
|
|
|
5658
|
-
export function __wbindgen_cast_9ae0607507abb057(arg0) {
|
|
5659
|
-
// Cast intrinsic for `I64 -> Externref`.
|
|
5660
|
-
const ret = arg0;
|
|
5661
|
-
return addHeapObject(ret);
|
|
5662
|
-
}
|
|
5663
|
-
|
|
5664
5631
|
export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
|
|
5665
5632
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
5666
5633
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
5667
5634
|
return addHeapObject(ret);
|
|
5668
5635
|
}
|
|
5669
5636
|
|
|
5637
|
+
export function __wbindgen_cast_d3c442d81884e8e4(arg0, arg1) {
|
|
5638
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 43, function: Function { arguments: [NamedExternref("Event")], shim_idx: 44, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5639
|
+
const ret = makeMutClosure(
|
|
5640
|
+
arg0,
|
|
5641
|
+
arg1,
|
|
5642
|
+
wasm.wasm_bindgen__closure__destroy__h03764d3cf8644af3,
|
|
5643
|
+
wasm_bindgen__convert__closures_____invoke__h4186fc9839e7cab3,
|
|
5644
|
+
);
|
|
5645
|
+
return addHeapObject(ret);
|
|
5646
|
+
}
|
|
5647
|
+
|
|
5670
5648
|
export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
|
|
5671
5649
|
// Cast intrinsic for `F64 -> Externref`.
|
|
5672
5650
|
const ret = arg0;
|
|
5673
5651
|
return addHeapObject(ret);
|
|
5674
5652
|
}
|
|
5675
5653
|
|
|
5654
|
+
export function __wbindgen_cast_d9da8617cf4d65f6(arg0, arg1) {
|
|
5655
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 43, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 46, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5656
|
+
const ret = makeMutClosure(
|
|
5657
|
+
arg0,
|
|
5658
|
+
arg1,
|
|
5659
|
+
wasm.wasm_bindgen__closure__destroy__h03764d3cf8644af3,
|
|
5660
|
+
wasm_bindgen__convert__closures_____invoke__h3ee6e6da36ea79fd,
|
|
5661
|
+
);
|
|
5662
|
+
return addHeapObject(ret);
|
|
5663
|
+
}
|
|
5664
|
+
|
|
5665
|
+
export function __wbindgen_cast_e1b8613407289e9c(arg0, arg1) {
|
|
5666
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 301, function: Function { arguments: [], shim_idx: 302, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5667
|
+
const ret = makeMutClosure(
|
|
5668
|
+
arg0,
|
|
5669
|
+
arg1,
|
|
5670
|
+
wasm.wasm_bindgen__closure__destroy__h4e2596d1eeea1ddd,
|
|
5671
|
+
wasm_bindgen__convert__closures_____invoke__h62b881a194105b80,
|
|
5672
|
+
);
|
|
5673
|
+
return addHeapObject(ret);
|
|
5674
|
+
}
|
|
5675
|
+
|
|
5676
5676
|
export function __wbindgen_cast_ef90a087adb7475d(arg0, arg1) {
|
|
5677
5677
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5678
5678
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
Binary file
|
|
@@ -454,25 +454,25 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
|
454
454
|
export const __wbg_registrationclient_free: (a: number, b: number) => void;
|
|
455
455
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
456
456
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
457
|
-
export const
|
|
457
|
+
export const wasm_bindgen__convert__closures_____invoke__h62b881a194105b80: (
|
|
458
458
|
a: number,
|
|
459
459
|
b: number,
|
|
460
|
-
c: number,
|
|
461
|
-
d: number,
|
|
462
460
|
) => void;
|
|
463
|
-
export const
|
|
464
|
-
export const
|
|
461
|
+
export const wasm_bindgen__closure__destroy__he95e920b8d9de938: (a: number, b: number) => void;
|
|
462
|
+
export const wasm_bindgen__closure__destroy__h4e2596d1eeea1ddd: (a: number, b: number) => void;
|
|
463
|
+
export const wasm_bindgen__convert__closures_____invoke__h3ee6e6da36ea79fd: (
|
|
465
464
|
a: number,
|
|
466
465
|
b: number,
|
|
466
|
+
c: number,
|
|
467
467
|
) => void;
|
|
468
|
-
export const
|
|
469
|
-
export const
|
|
468
|
+
export const wasm_bindgen__closure__destroy__h03764d3cf8644af3: (a: number, b: number) => void;
|
|
469
|
+
export const wasm_bindgen__convert__closures_____invoke__h4186fc9839e7cab3: (
|
|
470
470
|
a: number,
|
|
471
471
|
b: number,
|
|
472
472
|
c: number,
|
|
473
|
+
d: number,
|
|
473
474
|
) => void;
|
|
474
|
-
export const
|
|
475
|
-
export const wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83: (
|
|
475
|
+
export const wasm_bindgen__convert__closures_____invoke__h92667cd2c3a9eee2: (
|
|
476
476
|
a: number,
|
|
477
477
|
b: number,
|
|
478
478
|
c: number,
|