@bitwarden/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/VERSION +1 -1
- package/bitwarden_wasm_internal.d.ts +501 -501
- package/bitwarden_wasm_internal_bg.js +140 -140
- 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 +140 -140
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +8 -8
- 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,22 +882,18 @@ export function isGetFolderError(error) {
|
|
|
882
882
|
}
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
-
function
|
|
886
|
-
wasm.
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
function wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820(arg0, arg1, arg2) {
|
|
890
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820(
|
|
885
|
+
function wasm_bindgen__convert__closures_____invoke__h8043935442c5d178(arg0, arg1, arg2) {
|
|
886
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h8043935442c5d178(
|
|
891
887
|
arg0,
|
|
892
888
|
arg1,
|
|
893
889
|
addHeapObject(arg2),
|
|
894
890
|
);
|
|
895
891
|
}
|
|
896
892
|
|
|
897
|
-
function
|
|
893
|
+
function wasm_bindgen__convert__closures_____invoke__hdcab5206aa3b5a3d(arg0, arg1, arg2) {
|
|
898
894
|
try {
|
|
899
895
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
900
|
-
wasm.
|
|
896
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hdcab5206aa3b5a3d(
|
|
901
897
|
retptr,
|
|
902
898
|
arg0,
|
|
903
899
|
arg1,
|
|
@@ -913,8 +909,12 @@ function wasm_bindgen__convert__closures_____invoke__hea2276c16b64824b(arg0, arg
|
|
|
913
909
|
}
|
|
914
910
|
}
|
|
915
911
|
|
|
916
|
-
function
|
|
917
|
-
wasm.
|
|
912
|
+
function wasm_bindgen__convert__closures_____invoke__h62b881a194105b80(arg0, arg1) {
|
|
913
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h62b881a194105b80(arg0, arg1);
|
|
914
|
+
}
|
|
915
|
+
|
|
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),
|
|
@@ -4602,7 +4602,7 @@ export function __wbg_call_e762c39fa8ea36bf() {
|
|
|
4602
4602
|
}, arguments);
|
|
4603
4603
|
}
|
|
4604
4604
|
|
|
4605
|
-
export function
|
|
4605
|
+
export function __wbg_cipher_b25bc3331874ea6a(arg0) {
|
|
4606
4606
|
const ret = getObject(arg0).cipher;
|
|
4607
4607
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4608
4608
|
}
|
|
@@ -4695,7 +4695,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
4695
4695
|
return addHeapObject(ret);
|
|
4696
4696
|
}
|
|
4697
4697
|
|
|
4698
|
-
export function
|
|
4698
|
+
export function __wbg_folder_5a94a9f4d63cf388(arg0) {
|
|
4699
4699
|
const ret = getObject(arg0).folder;
|
|
4700
4700
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4701
4701
|
}
|
|
@@ -4728,7 +4728,12 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
4728
4728
|
return ret;
|
|
4729
4729
|
}
|
|
4730
4730
|
|
|
4731
|
-
export function
|
|
4731
|
+
export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
4732
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4733
|
+
return addHeapObject(ret);
|
|
4734
|
+
}
|
|
4735
|
+
|
|
4736
|
+
export function __wbg_get_84e1917d80624f6f() {
|
|
4732
4737
|
return handleError(function (arg0, arg1, arg2) {
|
|
4733
4738
|
let deferred0_0;
|
|
4734
4739
|
let deferred0_1;
|
|
@@ -4743,7 +4748,7 @@ export function __wbg_get_13a393faedb3cf36() {
|
|
|
4743
4748
|
}, arguments);
|
|
4744
4749
|
}
|
|
4745
4750
|
|
|
4746
|
-
export function
|
|
4751
|
+
export function __wbg_get_9faf9fc61ce73f24() {
|
|
4747
4752
|
return handleError(function (arg0, arg1, arg2) {
|
|
4748
4753
|
let deferred0_0;
|
|
4749
4754
|
let deferred0_1;
|
|
@@ -4758,12 +4763,7 @@ export function __wbg_get_797f9e0aadc4c6d3() {
|
|
|
4758
4763
|
}, arguments);
|
|
4759
4764
|
}
|
|
4760
4765
|
|
|
4761
|
-
export function
|
|
4762
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4763
|
-
return addHeapObject(ret);
|
|
4764
|
-
}
|
|
4765
|
-
|
|
4766
|
-
export function __wbg_get_access_token_1b7ec778e4bccc00(arg0) {
|
|
4766
|
+
export function __wbg_get_access_token_a894dfc5fe2c1acc(arg0) {
|
|
4767
4767
|
const ret = getObject(arg0).get_access_token();
|
|
4768
4768
|
return addHeapObject(ret);
|
|
4769
4769
|
}
|
|
@@ -4959,14 +4959,14 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
4959
4959
|
return ret;
|
|
4960
4960
|
}
|
|
4961
4961
|
|
|
4962
|
-
export function
|
|
4962
|
+
export function __wbg_list_4d5c331c3a9018b2() {
|
|
4963
4963
|
return handleError(function (arg0) {
|
|
4964
4964
|
const ret = getObject(arg0).list();
|
|
4965
4965
|
return addHeapObject(ret);
|
|
4966
4966
|
}, arguments);
|
|
4967
4967
|
}
|
|
4968
4968
|
|
|
4969
|
-
export function
|
|
4969
|
+
export function __wbg_list_c4e47fe19f53b93e() {
|
|
4970
4970
|
return handleError(function (arg0) {
|
|
4971
4971
|
const ret = getObject(arg0).list();
|
|
4972
4972
|
return addHeapObject(ret);
|
|
@@ -5051,7 +5051,7 @@ export function __wbg_new_3c3d849046688a66(arg0, arg1) {
|
|
|
5051
5051
|
const a = state0.a;
|
|
5052
5052
|
state0.a = 0;
|
|
5053
5053
|
try {
|
|
5054
|
-
return
|
|
5054
|
+
return wasm_bindgen__convert__closures_____invoke__h92667cd2c3a9eee2(
|
|
5055
5055
|
a,
|
|
5056
5056
|
state0.b,
|
|
5057
5057
|
arg0,
|
|
@@ -5210,7 +5210,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
|
|
|
5210
5210
|
}, arguments);
|
|
5211
5211
|
}
|
|
5212
5212
|
|
|
5213
|
-
export function
|
|
5213
|
+
export function __wbg_remove_7321c4e740469081() {
|
|
5214
5214
|
return handleError(function (arg0, arg1, arg2) {
|
|
5215
5215
|
let deferred0_0;
|
|
5216
5216
|
let deferred0_1;
|
|
@@ -5225,7 +5225,7 @@ export function __wbg_remove_3e5f968faf181e9d() {
|
|
|
5225
5225
|
}, arguments);
|
|
5226
5226
|
}
|
|
5227
5227
|
|
|
5228
|
-
export function
|
|
5228
|
+
export function __wbg_remove_b4416a3740ce6060() {
|
|
5229
5229
|
return handleError(function (arg0, arg1, arg2) {
|
|
5230
5230
|
let deferred0_0;
|
|
5231
5231
|
let deferred0_1;
|
|
@@ -5275,7 +5275,7 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
|
5275
5275
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5276
5276
|
}
|
|
5277
5277
|
|
|
5278
|
-
export function
|
|
5278
|
+
export function __wbg_set_448ea5ed2f3a5ac4() {
|
|
5279
5279
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5280
5280
|
let deferred0_0;
|
|
5281
5281
|
let deferred0_1;
|
|
@@ -5290,7 +5290,7 @@ export function __wbg_set_4621df3b84f0bb1c() {
|
|
|
5290
5290
|
}, arguments);
|
|
5291
5291
|
}
|
|
5292
5292
|
|
|
5293
|
-
export function
|
|
5293
|
+
export function __wbg_set_9046335acfb724c6() {
|
|
5294
5294
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5295
5295
|
let deferred0_0;
|
|
5296
5296
|
let deferred0_1;
|
|
@@ -5493,45 +5493,12 @@ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
|
|
|
5493
5493
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5494
5494
|
}
|
|
5495
5495
|
|
|
5496
|
-
export function __wbindgen_cast_18e7d5b03ebc0b46(arg0, arg1) {
|
|
5497
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [Externref], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5498
|
-
const ret = makeMutClosure(
|
|
5499
|
-
arg0,
|
|
5500
|
-
arg1,
|
|
5501
|
-
wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
|
|
5502
|
-
wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820,
|
|
5503
|
-
);
|
|
5504
|
-
return addHeapObject(ret);
|
|
5505
|
-
}
|
|
5506
|
-
|
|
5507
5496
|
export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
|
|
5508
5497
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5509
5498
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
5510
5499
|
return addHeapObject(ret);
|
|
5511
5500
|
}
|
|
5512
5501
|
|
|
5513
|
-
export function __wbindgen_cast_34ef3ce950757bdd(arg0, arg1) {
|
|
5514
|
-
// 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`.
|
|
5515
|
-
const ret = makeMutClosure(
|
|
5516
|
-
arg0,
|
|
5517
|
-
arg1,
|
|
5518
|
-
wasm.wasm_bindgen__closure__destroy__h563da61d09f48819,
|
|
5519
|
-
wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820,
|
|
5520
|
-
);
|
|
5521
|
-
return addHeapObject(ret);
|
|
5522
|
-
}
|
|
5523
|
-
|
|
5524
|
-
export function __wbindgen_cast_397295739b4135cd(arg0, arg1) {
|
|
5525
|
-
// 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`.
|
|
5526
|
-
const ret = makeMutClosure(
|
|
5527
|
-
arg0,
|
|
5528
|
-
arg1,
|
|
5529
|
-
wasm.wasm_bindgen__closure__destroy__h563da61d09f48819,
|
|
5530
|
-
wasm_bindgen__convert__closures_____invoke__hea2276c16b64824b,
|
|
5531
|
-
);
|
|
5532
|
-
return addHeapObject(ret);
|
|
5533
|
-
}
|
|
5534
|
-
|
|
5535
5502
|
export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
|
|
5536
5503
|
// Cast intrinsic for `U64 -> Externref`.
|
|
5537
5504
|
const ret = BigInt.asUintN(64, arg0);
|
|
@@ -5546,13 +5513,13 @@ export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
|
|
|
5546
5513
|
return addHeapObject(ret);
|
|
5547
5514
|
}
|
|
5548
5515
|
|
|
5549
|
-
export function
|
|
5550
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5516
|
+
export function __wbindgen_cast_66b9b6fddd3159a0(arg0, arg1) {
|
|
5517
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 301, function: Function { arguments: [Externref], shim_idx: 46, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5551
5518
|
const ret = makeMutClosure(
|
|
5552
5519
|
arg0,
|
|
5553
5520
|
arg1,
|
|
5554
|
-
wasm.
|
|
5555
|
-
|
|
5521
|
+
wasm.wasm_bindgen__closure__destroy__h4e2596d1eeea1ddd,
|
|
5522
|
+
wasm_bindgen__convert__closures_____invoke__h8043935442c5d178,
|
|
5556
5523
|
);
|
|
5557
5524
|
return addHeapObject(ret);
|
|
5558
5525
|
}
|
|
@@ -5565,35 +5532,68 @@ export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
|
|
|
5565
5532
|
return addHeapObject(ret);
|
|
5566
5533
|
}
|
|
5567
5534
|
|
|
5568
|
-
export function
|
|
5569
|
-
// Cast intrinsic for `
|
|
5535
|
+
export function __wbindgen_cast_9ae0607507abb057(arg0) {
|
|
5536
|
+
// Cast intrinsic for `I64 -> Externref`.
|
|
5537
|
+
const ret = arg0;
|
|
5538
|
+
return addHeapObject(ret);
|
|
5539
|
+
}
|
|
5540
|
+
|
|
5541
|
+
export function __wbindgen_cast_b70019a15f201a96(arg0, arg1) {
|
|
5542
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 552, function: Function { arguments: [], shim_idx: 302, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5570
5543
|
const ret = makeMutClosure(
|
|
5571
5544
|
arg0,
|
|
5572
5545
|
arg1,
|
|
5573
|
-
wasm.
|
|
5574
|
-
|
|
5546
|
+
wasm.wasm_bindgen__closure__destroy__he95e920b8d9de938,
|
|
5547
|
+
wasm_bindgen__convert__closures_____invoke__h62b881a194105b80,
|
|
5575
5548
|
);
|
|
5576
5549
|
return addHeapObject(ret);
|
|
5577
5550
|
}
|
|
5578
5551
|
|
|
5579
|
-
export function __wbindgen_cast_9ae0607507abb057(arg0) {
|
|
5580
|
-
// Cast intrinsic for `I64 -> Externref`.
|
|
5581
|
-
const ret = arg0;
|
|
5582
|
-
return addHeapObject(ret);
|
|
5583
|
-
}
|
|
5584
|
-
|
|
5585
5552
|
export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
|
|
5586
5553
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
5587
5554
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
5588
5555
|
return addHeapObject(ret);
|
|
5589
5556
|
}
|
|
5590
5557
|
|
|
5558
|
+
export function __wbindgen_cast_d3c442d81884e8e4(arg0, arg1) {
|
|
5559
|
+
// 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`.
|
|
5560
|
+
const ret = makeMutClosure(
|
|
5561
|
+
arg0,
|
|
5562
|
+
arg1,
|
|
5563
|
+
wasm.wasm_bindgen__closure__destroy__h119ee11456c43c2a,
|
|
5564
|
+
wasm_bindgen__convert__closures_____invoke__hdcab5206aa3b5a3d,
|
|
5565
|
+
);
|
|
5566
|
+
return addHeapObject(ret);
|
|
5567
|
+
}
|
|
5568
|
+
|
|
5591
5569
|
export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
|
|
5592
5570
|
// Cast intrinsic for `F64 -> Externref`.
|
|
5593
5571
|
const ret = arg0;
|
|
5594
5572
|
return addHeapObject(ret);
|
|
5595
5573
|
}
|
|
5596
5574
|
|
|
5575
|
+
export function __wbindgen_cast_d9da8617cf4d65f6(arg0, arg1) {
|
|
5576
|
+
// 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`.
|
|
5577
|
+
const ret = makeMutClosure(
|
|
5578
|
+
arg0,
|
|
5579
|
+
arg1,
|
|
5580
|
+
wasm.wasm_bindgen__closure__destroy__h119ee11456c43c2a,
|
|
5581
|
+
wasm_bindgen__convert__closures_____invoke__h8043935442c5d178,
|
|
5582
|
+
);
|
|
5583
|
+
return addHeapObject(ret);
|
|
5584
|
+
}
|
|
5585
|
+
|
|
5586
|
+
export function __wbindgen_cast_e1b8613407289e9c(arg0, arg1) {
|
|
5587
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 301, function: Function { arguments: [], shim_idx: 302, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5588
|
+
const ret = makeMutClosure(
|
|
5589
|
+
arg0,
|
|
5590
|
+
arg1,
|
|
5591
|
+
wasm.wasm_bindgen__closure__destroy__h4e2596d1eeea1ddd,
|
|
5592
|
+
wasm_bindgen__convert__closures_____invoke__h62b881a194105b80,
|
|
5593
|
+
);
|
|
5594
|
+
return addHeapObject(ret);
|
|
5595
|
+
}
|
|
5596
|
+
|
|
5597
5597
|
export function __wbindgen_cast_ef90a087adb7475d(arg0, arg1) {
|
|
5598
5598
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5599
5599
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
Binary file
|
|
@@ -450,25 +450,25 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
|
450
450
|
export const __wbg_registrationclient_free: (a: number, b: number) => void;
|
|
451
451
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
452
452
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
453
|
-
export const
|
|
453
|
+
export const wasm_bindgen__convert__closures_____invoke__h8043935442c5d178: (
|
|
454
454
|
a: number,
|
|
455
455
|
b: number,
|
|
456
|
+
c: number,
|
|
456
457
|
) => void;
|
|
457
|
-
export const
|
|
458
|
-
export const
|
|
459
|
-
export const wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820: (
|
|
458
|
+
export const wasm_bindgen__closure__destroy__h4e2596d1eeea1ddd: (a: number, b: number) => void;
|
|
459
|
+
export const wasm_bindgen__convert__closures_____invoke__hdcab5206aa3b5a3d: (
|
|
460
460
|
a: number,
|
|
461
461
|
b: number,
|
|
462
462
|
c: number,
|
|
463
|
+
d: number,
|
|
463
464
|
) => void;
|
|
464
|
-
export const
|
|
465
|
-
export const
|
|
465
|
+
export const wasm_bindgen__closure__destroy__h119ee11456c43c2a: (a: number, b: number) => void;
|
|
466
|
+
export const wasm_bindgen__convert__closures_____invoke__h62b881a194105b80: (
|
|
466
467
|
a: number,
|
|
467
468
|
b: number,
|
|
468
|
-
c: number,
|
|
469
|
-
d: number,
|
|
470
469
|
) => void;
|
|
471
|
-
export const
|
|
470
|
+
export const wasm_bindgen__closure__destroy__he95e920b8d9de938: (a: number, b: number) => void;
|
|
471
|
+
export const wasm_bindgen__convert__closures_____invoke__h92667cd2c3a9eee2: (
|
|
472
472
|
a: number,
|
|
473
473
|
b: number,
|
|
474
474
|
c: number,
|