@bitwarden/commercial-sdk-internal 0.2.0-main.423 → 0.2.0-main.425
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 +447 -447
- package/bitwarden_wasm_internal_bg.js +125 -125
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +5 -5
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +447 -447
- package/node/bitwarden_wasm_internal.js +135 -135
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +7 -7
- package/package.json +1 -1
|
@@ -254,21 +254,33 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
254
254
|
return ptr;
|
|
255
255
|
}
|
|
256
256
|
/**
|
|
257
|
-
*
|
|
257
|
+
* Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
|
|
258
|
+
* to an OpenSSH private key with public key and fingerprint
|
|
258
259
|
*
|
|
259
260
|
* # Arguments
|
|
260
|
-
* - `
|
|
261
|
+
* - `imported_key` - The private key to convert
|
|
262
|
+
* - `password` - The password to use for decrypting the key
|
|
261
263
|
*
|
|
262
264
|
* # Returns
|
|
263
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
264
|
-
* - `Err(
|
|
265
|
-
*
|
|
265
|
+
* - `Ok(SshKey)` if the key was successfully coneverted
|
|
266
|
+
* - `Err(PasswordRequired)` if the key is encrypted and no password was provided
|
|
267
|
+
* - `Err(WrongPassword)` if the password provided is incorrect
|
|
268
|
+
* - `Err(ParsingError)` if the key could not be parsed
|
|
269
|
+
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
270
|
+
* @param {string} imported_key
|
|
271
|
+
* @param {string | null} [password]
|
|
266
272
|
* @returns {SshKeyView}
|
|
267
273
|
*/
|
|
268
|
-
exports.
|
|
274
|
+
exports.import_ssh_key = function (imported_key, password) {
|
|
269
275
|
try {
|
|
270
276
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
271
|
-
wasm.
|
|
277
|
+
const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
278
|
+
const len0 = WASM_VECTOR_LEN;
|
|
279
|
+
var ptr1 = isLikeNone(password)
|
|
280
|
+
? 0
|
|
281
|
+
: passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
282
|
+
var len1 = WASM_VECTOR_LEN;
|
|
283
|
+
wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
|
|
272
284
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
273
285
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
274
286
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -282,33 +294,21 @@ exports.generate_ssh_key = function (key_algorithm) {
|
|
|
282
294
|
};
|
|
283
295
|
|
|
284
296
|
/**
|
|
285
|
-
*
|
|
286
|
-
* to an OpenSSH private key with public key and fingerprint
|
|
297
|
+
* Generate a new SSH key pair
|
|
287
298
|
*
|
|
288
299
|
* # Arguments
|
|
289
|
-
* - `
|
|
290
|
-
* - `password` - The password to use for decrypting the key
|
|
300
|
+
* - `key_algorithm` - The algorithm to use for the key pair
|
|
291
301
|
*
|
|
292
302
|
* # Returns
|
|
293
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
294
|
-
* - `Err(
|
|
295
|
-
*
|
|
296
|
-
* - `Err(ParsingError)` if the key could not be parsed
|
|
297
|
-
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
298
|
-
* @param {string} imported_key
|
|
299
|
-
* @param {string | null} [password]
|
|
303
|
+
* - `Ok(SshKey)` if the key was successfully generated
|
|
304
|
+
* - `Err(KeyGenerationError)` if the key could not be generated
|
|
305
|
+
* @param {KeyAlgorithm} key_algorithm
|
|
300
306
|
* @returns {SshKeyView}
|
|
301
307
|
*/
|
|
302
|
-
exports.
|
|
308
|
+
exports.generate_ssh_key = function (key_algorithm) {
|
|
303
309
|
try {
|
|
304
310
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
305
|
-
|
|
306
|
-
const len0 = WASM_VECTOR_LEN;
|
|
307
|
-
var ptr1 = isLikeNone(password)
|
|
308
|
-
? 0
|
|
309
|
-
: passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
310
|
-
var len1 = WASM_VECTOR_LEN;
|
|
311
|
-
wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
|
|
311
|
+
wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
|
|
312
312
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
313
313
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
314
314
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -404,9 +404,9 @@ exports.isCryptoClientError = function (error) {
|
|
|
404
404
|
* @param {any} error
|
|
405
405
|
* @returns {boolean}
|
|
406
406
|
*/
|
|
407
|
-
exports.
|
|
407
|
+
exports.isEnrollAdminPasswordResetError = function (error) {
|
|
408
408
|
try {
|
|
409
|
-
const ret = wasm.
|
|
409
|
+
const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
|
|
410
410
|
return ret !== 0;
|
|
411
411
|
} finally {
|
|
412
412
|
heap[stack_pointer++] = undefined;
|
|
@@ -417,9 +417,9 @@ exports.isDeriveKeyConnectorError = function (error) {
|
|
|
417
417
|
* @param {any} error
|
|
418
418
|
* @returns {boolean}
|
|
419
419
|
*/
|
|
420
|
-
exports.
|
|
420
|
+
exports.isDeriveKeyConnectorError = function (error) {
|
|
421
421
|
try {
|
|
422
|
-
const ret = wasm.
|
|
422
|
+
const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
|
|
423
423
|
return ret !== 0;
|
|
424
424
|
} finally {
|
|
425
425
|
heap[stack_pointer++] = undefined;
|
|
@@ -629,9 +629,9 @@ exports.ipcRegisterDiscoverHandler = function (ipc_client, response) {
|
|
|
629
629
|
* @param {any} error
|
|
630
630
|
* @returns {boolean}
|
|
631
631
|
*/
|
|
632
|
-
exports.
|
|
632
|
+
exports.isSshKeyImportError = function (error) {
|
|
633
633
|
try {
|
|
634
|
-
const ret = wasm.
|
|
634
|
+
const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
|
|
635
635
|
return ret !== 0;
|
|
636
636
|
} finally {
|
|
637
637
|
heap[stack_pointer++] = undefined;
|
|
@@ -642,9 +642,9 @@ exports.isSshKeyExportError = function (error) {
|
|
|
642
642
|
* @param {any} error
|
|
643
643
|
* @returns {boolean}
|
|
644
644
|
*/
|
|
645
|
-
exports.
|
|
645
|
+
exports.isSshKeyExportError = function (error) {
|
|
646
646
|
try {
|
|
647
|
-
const ret = wasm.
|
|
647
|
+
const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
|
|
648
648
|
return ret !== 0;
|
|
649
649
|
} finally {
|
|
650
650
|
heap[stack_pointer++] = undefined;
|
|
@@ -655,9 +655,9 @@ exports.isKeyGenerationError = function (error) {
|
|
|
655
655
|
* @param {any} error
|
|
656
656
|
* @returns {boolean}
|
|
657
657
|
*/
|
|
658
|
-
exports.
|
|
658
|
+
exports.isKeyGenerationError = function (error) {
|
|
659
659
|
try {
|
|
660
|
-
const ret = wasm.
|
|
660
|
+
const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
|
|
661
661
|
return ret !== 0;
|
|
662
662
|
} finally {
|
|
663
663
|
heap[stack_pointer++] = undefined;
|
|
@@ -733,9 +733,9 @@ exports.isTotpError = function (error) {
|
|
|
733
733
|
* @param {any} error
|
|
734
734
|
* @returns {boolean}
|
|
735
735
|
*/
|
|
736
|
-
exports.
|
|
736
|
+
exports.isDecryptError = function (error) {
|
|
737
737
|
try {
|
|
738
|
-
const ret = wasm.
|
|
738
|
+
const ret = wasm.isDecryptError(addBorrowedObject(error));
|
|
739
739
|
return ret !== 0;
|
|
740
740
|
} finally {
|
|
741
741
|
heap[stack_pointer++] = undefined;
|
|
@@ -746,9 +746,9 @@ exports.isEncryptError = function (error) {
|
|
|
746
746
|
* @param {any} error
|
|
747
747
|
* @returns {boolean}
|
|
748
748
|
*/
|
|
749
|
-
exports.
|
|
749
|
+
exports.isEncryptError = function (error) {
|
|
750
750
|
try {
|
|
751
|
-
const ret = wasm.
|
|
751
|
+
const ret = wasm.isEncryptError(addBorrowedObject(error));
|
|
752
752
|
return ret !== 0;
|
|
753
753
|
} finally {
|
|
754
754
|
heap[stack_pointer++] = undefined;
|
|
@@ -872,22 +872,10 @@ exports.isGetFolderError = function (error) {
|
|
|
872
872
|
}
|
|
873
873
|
};
|
|
874
874
|
|
|
875
|
-
function
|
|
876
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1);
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
function wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62(arg0, arg1, arg2) {
|
|
880
|
-
wasm.wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62(
|
|
881
|
-
arg0,
|
|
882
|
-
arg1,
|
|
883
|
-
addHeapObject(arg2),
|
|
884
|
-
);
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
function wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11(arg0, arg1, arg2) {
|
|
875
|
+
function wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531(arg0, arg1, arg2) {
|
|
888
876
|
try {
|
|
889
877
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
890
|
-
wasm.
|
|
878
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531(
|
|
891
879
|
retptr,
|
|
892
880
|
arg0,
|
|
893
881
|
arg1,
|
|
@@ -903,6 +891,18 @@ function wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11(arg0, arg
|
|
|
903
891
|
}
|
|
904
892
|
}
|
|
905
893
|
|
|
894
|
+
function wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1) {
|
|
895
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1);
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
function wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9(arg0, arg1, arg2) {
|
|
899
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9(
|
|
900
|
+
arg0,
|
|
901
|
+
arg1,
|
|
902
|
+
addHeapObject(arg2),
|
|
903
|
+
);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
906
|
function wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83(arg0, arg1, arg2, arg3) {
|
|
907
907
|
wasm.wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83(
|
|
908
908
|
arg0,
|
|
@@ -4725,7 +4725,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
|
|
|
4725
4725
|
}, arguments);
|
|
4726
4726
|
};
|
|
4727
4727
|
|
|
4728
|
-
exports.
|
|
4728
|
+
exports.__wbg_cipher_4720c11002fc96fd = function (arg0) {
|
|
4729
4729
|
const ret = getObject(arg0).cipher;
|
|
4730
4730
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4731
4731
|
};
|
|
@@ -4818,7 +4818,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
|
|
|
4818
4818
|
return addHeapObject(ret);
|
|
4819
4819
|
};
|
|
4820
4820
|
|
|
4821
|
-
exports.
|
|
4821
|
+
exports.__wbg_folder_d21d8f5a125d055f = function (arg0) {
|
|
4822
4822
|
const ret = getObject(arg0).folder;
|
|
4823
4823
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4824
4824
|
};
|
|
@@ -4851,7 +4851,17 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
|
|
|
4851
4851
|
return ret;
|
|
4852
4852
|
};
|
|
4853
4853
|
|
|
4854
|
-
exports.
|
|
4854
|
+
exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
|
|
4855
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4856
|
+
return addHeapObject(ret);
|
|
4857
|
+
};
|
|
4858
|
+
|
|
4859
|
+
exports.__wbg_get_access_token_e2133519f41a6ac7 = function (arg0) {
|
|
4860
|
+
const ret = getObject(arg0).get_access_token();
|
|
4861
|
+
return addHeapObject(ret);
|
|
4862
|
+
};
|
|
4863
|
+
|
|
4864
|
+
exports.__wbg_get_cd62268d8c087001 = function () {
|
|
4855
4865
|
return handleError(function (arg0, arg1, arg2) {
|
|
4856
4866
|
let deferred0_0;
|
|
4857
4867
|
let deferred0_1;
|
|
@@ -4866,17 +4876,7 @@ exports.__wbg_get_6432ae0367848e1d = function () {
|
|
|
4866
4876
|
}, arguments);
|
|
4867
4877
|
};
|
|
4868
4878
|
|
|
4869
|
-
exports.
|
|
4870
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4871
|
-
return addHeapObject(ret);
|
|
4872
|
-
};
|
|
4873
|
-
|
|
4874
|
-
exports.__wbg_get_access_token_e189464f249968d8 = function (arg0) {
|
|
4875
|
-
const ret = getObject(arg0).get_access_token();
|
|
4876
|
-
return addHeapObject(ret);
|
|
4877
|
-
};
|
|
4878
|
-
|
|
4879
|
-
exports.__wbg_get_bb738be5940cc255 = function () {
|
|
4879
|
+
exports.__wbg_get_d1114999a8ab47d9 = function () {
|
|
4880
4880
|
return handleError(function (arg0, arg1, arg2) {
|
|
4881
4881
|
let deferred0_0;
|
|
4882
4882
|
let deferred0_1;
|
|
@@ -5082,14 +5082,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
|
|
|
5082
5082
|
return ret;
|
|
5083
5083
|
};
|
|
5084
5084
|
|
|
5085
|
-
exports.
|
|
5085
|
+
exports.__wbg_list_7b4bcbc83976604d = function () {
|
|
5086
5086
|
return handleError(function (arg0) {
|
|
5087
5087
|
const ret = getObject(arg0).list();
|
|
5088
5088
|
return addHeapObject(ret);
|
|
5089
5089
|
}, arguments);
|
|
5090
5090
|
};
|
|
5091
5091
|
|
|
5092
|
-
exports.
|
|
5092
|
+
exports.__wbg_list_a7aca25d8822da99 = function () {
|
|
5093
5093
|
return handleError(function (arg0) {
|
|
5094
5094
|
const ret = getObject(arg0).list();
|
|
5095
5095
|
return addHeapObject(ret);
|
|
@@ -5333,7 +5333,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
|
5333
5333
|
}, arguments);
|
|
5334
5334
|
};
|
|
5335
5335
|
|
|
5336
|
-
exports.
|
|
5336
|
+
exports.__wbg_remove_486de06f6037d12d = function () {
|
|
5337
5337
|
return handleError(function (arg0, arg1, arg2) {
|
|
5338
5338
|
let deferred0_0;
|
|
5339
5339
|
let deferred0_1;
|
|
@@ -5348,7 +5348,7 @@ exports.__wbg_remove_4a78a55023f6d60d = function () {
|
|
|
5348
5348
|
}, arguments);
|
|
5349
5349
|
};
|
|
5350
5350
|
|
|
5351
|
-
exports.
|
|
5351
|
+
exports.__wbg_remove_839a2bc7e9bfd311 = function () {
|
|
5352
5352
|
return handleError(function (arg0, arg1, arg2) {
|
|
5353
5353
|
let deferred0_0;
|
|
5354
5354
|
let deferred0_1;
|
|
@@ -5398,7 +5398,31 @@ exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
|
5398
5398
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5399
5399
|
};
|
|
5400
5400
|
|
|
5401
|
-
exports.
|
|
5401
|
+
exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
|
|
5402
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5403
|
+
return addHeapObject(ret);
|
|
5404
|
+
};
|
|
5405
|
+
|
|
5406
|
+
exports.__wbg_set_body_3c365989753d61f4 = function (arg0, arg1) {
|
|
5407
|
+
getObject(arg0).body = getObject(arg1);
|
|
5408
|
+
};
|
|
5409
|
+
|
|
5410
|
+
exports.__wbg_set_c213c871859d6500 = function (arg0, arg1, arg2) {
|
|
5411
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
5412
|
+
};
|
|
5413
|
+
|
|
5414
|
+
exports.__wbg_set_c2abbebe8b9ebee1 = function () {
|
|
5415
|
+
return handleError(function (arg0, arg1, arg2) {
|
|
5416
|
+
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
5417
|
+
return ret;
|
|
5418
|
+
}, arguments);
|
|
5419
|
+
};
|
|
5420
|
+
|
|
5421
|
+
exports.__wbg_set_credentials_f621cd2d85c0c228 = function (arg0, arg1) {
|
|
5422
|
+
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5423
|
+
};
|
|
5424
|
+
|
|
5425
|
+
exports.__wbg_set_d16463df2409068d = function () {
|
|
5402
5426
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5403
5427
|
let deferred0_0;
|
|
5404
5428
|
let deferred0_1;
|
|
@@ -5413,7 +5437,7 @@ exports.__wbg_set_4524c602a04b7d94 = function () {
|
|
|
5413
5437
|
}, arguments);
|
|
5414
5438
|
};
|
|
5415
5439
|
|
|
5416
|
-
exports.
|
|
5440
|
+
exports.__wbg_set_e9bc328257c76201 = function () {
|
|
5417
5441
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5418
5442
|
let deferred0_0;
|
|
5419
5443
|
let deferred0_1;
|
|
@@ -5428,30 +5452,6 @@ exports.__wbg_set_82157cc232dc223e = function () {
|
|
|
5428
5452
|
}, arguments);
|
|
5429
5453
|
};
|
|
5430
5454
|
|
|
5431
|
-
exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
|
|
5432
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5433
|
-
return addHeapObject(ret);
|
|
5434
|
-
};
|
|
5435
|
-
|
|
5436
|
-
exports.__wbg_set_body_3c365989753d61f4 = function (arg0, arg1) {
|
|
5437
|
-
getObject(arg0).body = getObject(arg1);
|
|
5438
|
-
};
|
|
5439
|
-
|
|
5440
|
-
exports.__wbg_set_c213c871859d6500 = function (arg0, arg1, arg2) {
|
|
5441
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
5442
|
-
};
|
|
5443
|
-
|
|
5444
|
-
exports.__wbg_set_c2abbebe8b9ebee1 = function () {
|
|
5445
|
-
return handleError(function (arg0, arg1, arg2) {
|
|
5446
|
-
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
5447
|
-
return ret;
|
|
5448
|
-
}, arguments);
|
|
5449
|
-
};
|
|
5450
|
-
|
|
5451
|
-
exports.__wbg_set_credentials_f621cd2d85c0c228 = function (arg0, arg1) {
|
|
5452
|
-
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5453
|
-
};
|
|
5454
|
-
|
|
5455
5455
|
exports.__wbg_set_headers_6926da238cd32ee4 = function (arg0, arg1) {
|
|
5456
5456
|
getObject(arg0).headers = getObject(arg1);
|
|
5457
5457
|
};
|
|
@@ -5616,42 +5616,20 @@ exports.__wbg_warn_8f5b5437666d0885 = function (arg0, arg1, arg2, arg3) {
|
|
|
5616
5616
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5617
5617
|
};
|
|
5618
5618
|
|
|
5619
|
-
exports.
|
|
5620
|
-
// Cast intrinsic for `
|
|
5621
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
5622
|
-
return addHeapObject(ret);
|
|
5623
|
-
};
|
|
5624
|
-
|
|
5625
|
-
exports.__wbindgen_cast_34ef3ce950757bdd = function (arg0, arg1) {
|
|
5626
|
-
// 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`.
|
|
5619
|
+
exports.__wbindgen_cast_0f3a80f9c6c81c16 = function (arg0, arg1) {
|
|
5620
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 43, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5627
5621
|
const ret = makeMutClosure(
|
|
5628
5622
|
arg0,
|
|
5629
5623
|
arg1,
|
|
5630
|
-
wasm.
|
|
5631
|
-
|
|
5624
|
+
wasm.wasm_bindgen__closure__destroy__h405eed9c319f41ea,
|
|
5625
|
+
wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9,
|
|
5632
5626
|
);
|
|
5633
5627
|
return addHeapObject(ret);
|
|
5634
5628
|
};
|
|
5635
5629
|
|
|
5636
|
-
exports.
|
|
5637
|
-
// Cast intrinsic for `
|
|
5638
|
-
const ret =
|
|
5639
|
-
arg0,
|
|
5640
|
-
arg1,
|
|
5641
|
-
wasm.wasm_bindgen__closure__destroy__h450a29d5adc6ff56,
|
|
5642
|
-
wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11,
|
|
5643
|
-
);
|
|
5644
|
-
return addHeapObject(ret);
|
|
5645
|
-
};
|
|
5646
|
-
|
|
5647
|
-
exports.__wbindgen_cast_3fbb763e21ae0efe = function (arg0, arg1) {
|
|
5648
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 553, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5649
|
-
const ret = makeMutClosure(
|
|
5650
|
-
arg0,
|
|
5651
|
-
arg1,
|
|
5652
|
-
wasm.wasm_bindgen__closure__destroy__he41cbbdbe831f2ac,
|
|
5653
|
-
wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
|
|
5654
|
-
);
|
|
5630
|
+
exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
|
|
5631
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5632
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
5655
5633
|
return addHeapObject(ret);
|
|
5656
5634
|
};
|
|
5657
5635
|
|
|
@@ -5669,25 +5647,36 @@ exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
|
|
|
5669
5647
|
return addHeapObject(ret);
|
|
5670
5648
|
};
|
|
5671
5649
|
|
|
5672
|
-
exports.
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5650
|
+
exports.__wbindgen_cast_630a55545c54fc2a = function (arg0, arg1) {
|
|
5651
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 554, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5652
|
+
const ret = makeMutClosure(
|
|
5653
|
+
arg0,
|
|
5654
|
+
arg1,
|
|
5655
|
+
wasm.wasm_bindgen__closure__destroy__he41cbbdbe831f2ac,
|
|
5656
|
+
wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
|
|
5657
|
+
);
|
|
5677
5658
|
return addHeapObject(ret);
|
|
5678
5659
|
};
|
|
5679
5660
|
|
|
5680
|
-
exports.
|
|
5681
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [Externref], shim_idx:
|
|
5661
|
+
exports.__wbindgen_cast_67d165bf11ca912a = function (arg0, arg1) {
|
|
5662
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [Externref], shim_idx: 43, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5682
5663
|
const ret = makeMutClosure(
|
|
5683
5664
|
arg0,
|
|
5684
5665
|
arg1,
|
|
5685
5666
|
wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
|
|
5686
|
-
|
|
5667
|
+
wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9,
|
|
5687
5668
|
);
|
|
5688
5669
|
return addHeapObject(ret);
|
|
5689
5670
|
};
|
|
5690
5671
|
|
|
5672
|
+
exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
|
|
5673
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5674
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5675
|
+
// Cast intrinsic for `Vector(NamedExternref("Cipher")) -> Externref`.
|
|
5676
|
+
const ret = v0;
|
|
5677
|
+
return addHeapObject(ret);
|
|
5678
|
+
};
|
|
5679
|
+
|
|
5691
5680
|
exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
|
|
5692
5681
|
// Cast intrinsic for `I64 -> Externref`.
|
|
5693
5682
|
const ret = arg0;
|
|
@@ -5717,6 +5706,17 @@ exports.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
|
|
|
5717
5706
|
return addHeapObject(ret);
|
|
5718
5707
|
};
|
|
5719
5708
|
|
|
5709
|
+
exports.__wbindgen_cast_e12aaa4ecde9c999 = function (arg0, arg1) {
|
|
5710
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("Event")], shim_idx: 41, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5711
|
+
const ret = makeMutClosure(
|
|
5712
|
+
arg0,
|
|
5713
|
+
arg1,
|
|
5714
|
+
wasm.wasm_bindgen__closure__destroy__h405eed9c319f41ea,
|
|
5715
|
+
wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531,
|
|
5716
|
+
);
|
|
5717
|
+
return addHeapObject(ret);
|
|
5718
|
+
};
|
|
5719
|
+
|
|
5720
5720
|
exports.__wbindgen_cast_ef90a087adb7475d = function (arg0, arg1) {
|
|
5721
5721
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5722
5722
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
Binary file
|
|
@@ -454,24 +454,24 @@ 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__h2b7fa2bee4bd4531: (
|
|
458
458
|
a: number,
|
|
459
459
|
b: number,
|
|
460
|
+
c: number,
|
|
461
|
+
d: number,
|
|
460
462
|
) => void;
|
|
461
|
-
export const
|
|
462
|
-
export const
|
|
463
|
+
export const wasm_bindgen__closure__destroy__h405eed9c319f41ea: (a: number, b: number) => void;
|
|
464
|
+
export const wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2: (
|
|
463
465
|
a: number,
|
|
464
466
|
b: number,
|
|
465
|
-
c: number,
|
|
466
467
|
) => void;
|
|
467
468
|
export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
|
|
468
|
-
export const
|
|
469
|
-
export const wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11: (
|
|
469
|
+
export const wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9: (
|
|
470
470
|
a: number,
|
|
471
471
|
b: number,
|
|
472
472
|
c: number,
|
|
473
|
-
d: number,
|
|
474
473
|
) => void;
|
|
474
|
+
export const wasm_bindgen__closure__destroy__he41cbbdbe831f2ac: (a: number, b: number) => void;
|
|
475
475
|
export const wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83: (
|
|
476
476
|
a: number,
|
|
477
477
|
b: number,
|