@bitwarden/sdk-internal 0.2.0-main.424 → 0.2.0-main.426
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 +406 -406
- package/bitwarden_wasm_internal_bg.js +120 -120
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +8 -8
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +406 -406
- package/node/bitwarden_wasm_internal.js +120 -120
- 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
|
@@ -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);
|
|
@@ -391,9 +391,9 @@ exports.isAccountCryptographyInitializationError = function (error) {
|
|
|
391
391
|
* @param {any} error
|
|
392
392
|
* @returns {boolean}
|
|
393
393
|
*/
|
|
394
|
-
exports.
|
|
394
|
+
exports.isDeriveKeyConnectorError = function (error) {
|
|
395
395
|
try {
|
|
396
|
-
const ret = wasm.
|
|
396
|
+
const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
|
|
397
397
|
return ret !== 0;
|
|
398
398
|
} finally {
|
|
399
399
|
heap[stack_pointer++] = undefined;
|
|
@@ -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.isCryptoClientError = function (error) {
|
|
421
421
|
try {
|
|
422
|
-
const ret = wasm.
|
|
422
|
+
const ret = wasm.isCryptoClientError(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;
|
|
@@ -655,9 +655,9 @@ exports.isKeyGenerationError = function (error) {
|
|
|
655
655
|
* @param {any} error
|
|
656
656
|
* @returns {boolean}
|
|
657
657
|
*/
|
|
658
|
-
exports.
|
|
658
|
+
exports.isSshKeyExportError = function (error) {
|
|
659
659
|
try {
|
|
660
|
-
const ret = wasm.
|
|
660
|
+
const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
|
|
661
661
|
return ret !== 0;
|
|
662
662
|
} finally {
|
|
663
663
|
heap[stack_pointer++] = undefined;
|
|
@@ -798,9 +798,9 @@ exports.isCreateCipherError = function (error) {
|
|
|
798
798
|
* @param {any} error
|
|
799
799
|
* @returns {boolean}
|
|
800
800
|
*/
|
|
801
|
-
exports.
|
|
801
|
+
exports.isDecryptFileError = function (error) {
|
|
802
802
|
try {
|
|
803
|
-
const ret = wasm.
|
|
803
|
+
const ret = wasm.isDecryptFileError(addBorrowedObject(error));
|
|
804
804
|
return ret !== 0;
|
|
805
805
|
} finally {
|
|
806
806
|
heap[stack_pointer++] = undefined;
|
|
@@ -811,9 +811,9 @@ exports.isEncryptFileError = function (error) {
|
|
|
811
811
|
* @param {any} error
|
|
812
812
|
* @returns {boolean}
|
|
813
813
|
*/
|
|
814
|
-
exports.
|
|
814
|
+
exports.isEncryptFileError = function (error) {
|
|
815
815
|
try {
|
|
816
|
-
const ret = wasm.
|
|
816
|
+
const ret = wasm.isEncryptFileError(addBorrowedObject(error));
|
|
817
817
|
return ret !== 0;
|
|
818
818
|
} finally {
|
|
819
819
|
heap[stack_pointer++] = undefined;
|
|
@@ -872,22 +872,18 @@ exports.isGetFolderError = function (error) {
|
|
|
872
872
|
}
|
|
873
873
|
};
|
|
874
874
|
|
|
875
|
-
function
|
|
876
|
-
wasm.
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
function wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff(arg0, arg1, arg2) {
|
|
880
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff(
|
|
875
|
+
function wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820(arg0, arg1, arg2) {
|
|
876
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820(
|
|
881
877
|
arg0,
|
|
882
878
|
arg1,
|
|
883
879
|
addHeapObject(arg2),
|
|
884
880
|
);
|
|
885
881
|
}
|
|
886
882
|
|
|
887
|
-
function
|
|
883
|
+
function wasm_bindgen__convert__closures_____invoke__hea2276c16b64824b(arg0, arg1, arg2) {
|
|
888
884
|
try {
|
|
889
885
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
890
|
-
wasm.
|
|
886
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hea2276c16b64824b(
|
|
891
887
|
retptr,
|
|
892
888
|
arg0,
|
|
893
889
|
arg1,
|
|
@@ -903,6 +899,10 @@ function wasm_bindgen__convert__closures_____invoke__h280b016db3e219a2(arg0, arg
|
|
|
903
899
|
}
|
|
904
900
|
}
|
|
905
901
|
|
|
902
|
+
function wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373(arg0, arg1) {
|
|
903
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373(arg0, arg1);
|
|
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,
|
|
@@ -4642,7 +4642,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
|
|
|
4642
4642
|
}, arguments);
|
|
4643
4643
|
};
|
|
4644
4644
|
|
|
4645
|
-
exports.
|
|
4645
|
+
exports.__wbg_cipher_dca8572b1d6cb130 = function (arg0) {
|
|
4646
4646
|
const ret = getObject(arg0).cipher;
|
|
4647
4647
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4648
4648
|
};
|
|
@@ -4735,7 +4735,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
|
|
|
4735
4735
|
return addHeapObject(ret);
|
|
4736
4736
|
};
|
|
4737
4737
|
|
|
4738
|
-
exports.
|
|
4738
|
+
exports.__wbg_folder_8c6c22f085c648d5 = function (arg0) {
|
|
4739
4739
|
const ret = getObject(arg0).folder;
|
|
4740
4740
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4741
4741
|
};
|
|
@@ -4768,7 +4768,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
|
|
|
4768
4768
|
return ret;
|
|
4769
4769
|
};
|
|
4770
4770
|
|
|
4771
|
-
exports.
|
|
4771
|
+
exports.__wbg_get_1747ea6e550a3680 = function () {
|
|
4772
4772
|
return handleError(function (arg0, arg1, arg2) {
|
|
4773
4773
|
let deferred0_0;
|
|
4774
4774
|
let deferred0_1;
|
|
@@ -4788,7 +4788,12 @@ exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
|
|
|
4788
4788
|
return addHeapObject(ret);
|
|
4789
4789
|
};
|
|
4790
4790
|
|
|
4791
|
-
exports.
|
|
4791
|
+
exports.__wbg_get_access_token_37b176ffb3668729 = function (arg0) {
|
|
4792
|
+
const ret = getObject(arg0).get_access_token();
|
|
4793
|
+
return addHeapObject(ret);
|
|
4794
|
+
};
|
|
4795
|
+
|
|
4796
|
+
exports.__wbg_get_c0f7e010f25b83b7 = function () {
|
|
4792
4797
|
return handleError(function (arg0, arg1, arg2) {
|
|
4793
4798
|
let deferred0_0;
|
|
4794
4799
|
let deferred0_1;
|
|
@@ -4803,11 +4808,6 @@ exports.__wbg_get_94406e7678e29713 = function () {
|
|
|
4803
4808
|
}, arguments);
|
|
4804
4809
|
};
|
|
4805
4810
|
|
|
4806
|
-
exports.__wbg_get_access_token_88dc7c09a576432c = function (arg0) {
|
|
4807
|
-
const ret = getObject(arg0).get_access_token();
|
|
4808
|
-
return addHeapObject(ret);
|
|
4809
|
-
};
|
|
4810
|
-
|
|
4811
4811
|
exports.__wbg_get_efcb449f58ec27c2 = function () {
|
|
4812
4812
|
return handleError(function (arg0, arg1) {
|
|
4813
4813
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
@@ -4999,14 +4999,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
|
|
|
4999
4999
|
return ret;
|
|
5000
5000
|
};
|
|
5001
5001
|
|
|
5002
|
-
exports.
|
|
5002
|
+
exports.__wbg_list_7cbae88b8c1f2846 = function () {
|
|
5003
5003
|
return handleError(function (arg0) {
|
|
5004
5004
|
const ret = getObject(arg0).list();
|
|
5005
5005
|
return addHeapObject(ret);
|
|
5006
5006
|
}, arguments);
|
|
5007
5007
|
};
|
|
5008
5008
|
|
|
5009
|
-
exports.
|
|
5009
|
+
exports.__wbg_list_cbd6655ebbf2aaaf = function () {
|
|
5010
5010
|
return handleError(function (arg0) {
|
|
5011
5011
|
const ret = getObject(arg0).list();
|
|
5012
5012
|
return addHeapObject(ret);
|
|
@@ -5250,7 +5250,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
|
5250
5250
|
}, arguments);
|
|
5251
5251
|
};
|
|
5252
5252
|
|
|
5253
|
-
exports.
|
|
5253
|
+
exports.__wbg_remove_97eba017d94cfbe1 = function () {
|
|
5254
5254
|
return handleError(function (arg0, arg1, arg2) {
|
|
5255
5255
|
let deferred0_0;
|
|
5256
5256
|
let deferred0_1;
|
|
@@ -5265,7 +5265,7 @@ exports.__wbg_remove_662a447836fc0213 = function () {
|
|
|
5265
5265
|
}, arguments);
|
|
5266
5266
|
};
|
|
5267
5267
|
|
|
5268
|
-
exports.
|
|
5268
|
+
exports.__wbg_remove_e963b2cd3de803fb = function () {
|
|
5269
5269
|
return handleError(function (arg0, arg1, arg2) {
|
|
5270
5270
|
let deferred0_0;
|
|
5271
5271
|
let deferred0_1;
|
|
@@ -5311,40 +5311,10 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
|
|
|
5311
5311
|
return addHeapObject(ret);
|
|
5312
5312
|
};
|
|
5313
5313
|
|
|
5314
|
-
exports.__wbg_set_130fc92ad5bc93cc = function () {
|
|
5315
|
-
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5316
|
-
let deferred0_0;
|
|
5317
|
-
let deferred0_1;
|
|
5318
|
-
try {
|
|
5319
|
-
deferred0_0 = arg1;
|
|
5320
|
-
deferred0_1 = arg2;
|
|
5321
|
-
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5322
|
-
return addHeapObject(ret);
|
|
5323
|
-
} finally {
|
|
5324
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5325
|
-
}
|
|
5326
|
-
}, arguments);
|
|
5327
|
-
};
|
|
5328
|
-
|
|
5329
5314
|
exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
5330
5315
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5331
5316
|
};
|
|
5332
5317
|
|
|
5333
|
-
exports.__wbg_set_8e2af17aad7e3578 = function () {
|
|
5334
|
-
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5335
|
-
let deferred0_0;
|
|
5336
|
-
let deferred0_1;
|
|
5337
|
-
try {
|
|
5338
|
-
deferred0_0 = arg1;
|
|
5339
|
-
deferred0_1 = arg2;
|
|
5340
|
-
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5341
|
-
return addHeapObject(ret);
|
|
5342
|
-
} finally {
|
|
5343
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5344
|
-
}
|
|
5345
|
-
}, arguments);
|
|
5346
|
-
};
|
|
5347
|
-
|
|
5348
5318
|
exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
|
|
5349
5319
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5350
5320
|
return addHeapObject(ret);
|
|
@@ -5369,6 +5339,36 @@ exports.__wbg_set_credentials_f621cd2d85c0c228 = function (arg0, arg1) {
|
|
|
5369
5339
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5370
5340
|
};
|
|
5371
5341
|
|
|
5342
|
+
exports.__wbg_set_d9516e26a6ff5fe9 = function () {
|
|
5343
|
+
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5344
|
+
let deferred0_0;
|
|
5345
|
+
let deferred0_1;
|
|
5346
|
+
try {
|
|
5347
|
+
deferred0_0 = arg1;
|
|
5348
|
+
deferred0_1 = arg2;
|
|
5349
|
+
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5350
|
+
return addHeapObject(ret);
|
|
5351
|
+
} finally {
|
|
5352
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5353
|
+
}
|
|
5354
|
+
}, arguments);
|
|
5355
|
+
};
|
|
5356
|
+
|
|
5357
|
+
exports.__wbg_set_f1e6b0194d67f6ad = function () {
|
|
5358
|
+
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5359
|
+
let deferred0_0;
|
|
5360
|
+
let deferred0_1;
|
|
5361
|
+
try {
|
|
5362
|
+
deferred0_0 = arg1;
|
|
5363
|
+
deferred0_1 = arg2;
|
|
5364
|
+
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5365
|
+
return addHeapObject(ret);
|
|
5366
|
+
} finally {
|
|
5367
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5368
|
+
}
|
|
5369
|
+
}, arguments);
|
|
5370
|
+
};
|
|
5371
|
+
|
|
5372
5372
|
exports.__wbg_set_headers_6926da238cd32ee4 = function (arg0, arg1) {
|
|
5373
5373
|
getObject(arg0).headers = getObject(arg1);
|
|
5374
5374
|
};
|
|
@@ -5533,6 +5533,17 @@ exports.__wbg_warn_8f5b5437666d0885 = function (arg0, arg1, arg2, arg3) {
|
|
|
5533
5533
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5534
5534
|
};
|
|
5535
5535
|
|
|
5536
|
+
exports.__wbindgen_cast_18e7d5b03ebc0b46 = function (arg0, arg1) {
|
|
5537
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [Externref], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5538
|
+
const ret = makeMutClosure(
|
|
5539
|
+
arg0,
|
|
5540
|
+
arg1,
|
|
5541
|
+
wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
|
|
5542
|
+
wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820,
|
|
5543
|
+
);
|
|
5544
|
+
return addHeapObject(ret);
|
|
5545
|
+
};
|
|
5546
|
+
|
|
5536
5547
|
exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
|
|
5537
5548
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5538
5549
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
@@ -5544,8 +5555,8 @@ exports.__wbindgen_cast_34ef3ce950757bdd = function (arg0, arg1) {
|
|
|
5544
5555
|
const ret = makeMutClosure(
|
|
5545
5556
|
arg0,
|
|
5546
5557
|
arg1,
|
|
5547
|
-
wasm.
|
|
5548
|
-
|
|
5558
|
+
wasm.wasm_bindgen__closure__destroy__h563da61d09f48819,
|
|
5559
|
+
wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820,
|
|
5549
5560
|
);
|
|
5550
5561
|
return addHeapObject(ret);
|
|
5551
5562
|
};
|
|
@@ -5555,19 +5566,8 @@ exports.__wbindgen_cast_397295739b4135cd = function (arg0, arg1) {
|
|
|
5555
5566
|
const ret = makeMutClosure(
|
|
5556
5567
|
arg0,
|
|
5557
5568
|
arg1,
|
|
5558
|
-
wasm.
|
|
5559
|
-
|
|
5560
|
-
);
|
|
5561
|
-
return addHeapObject(ret);
|
|
5562
|
-
};
|
|
5563
|
-
|
|
5564
|
-
exports.__wbindgen_cast_3fbb763e21ae0efe = function (arg0, arg1) {
|
|
5565
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 553, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5566
|
-
const ret = makeMutClosure(
|
|
5567
|
-
arg0,
|
|
5568
|
-
arg1,
|
|
5569
|
-
wasm.wasm_bindgen__closure__destroy__he41cbbdbe831f2ac,
|
|
5570
|
-
wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
|
|
5569
|
+
wasm.wasm_bindgen__closure__destroy__h563da61d09f48819,
|
|
5570
|
+
wasm_bindgen__convert__closures_____invoke__hea2276c16b64824b,
|
|
5571
5571
|
);
|
|
5572
5572
|
return addHeapObject(ret);
|
|
5573
5573
|
};
|
|
@@ -5586,6 +5586,17 @@ exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
|
|
|
5586
5586
|
return addHeapObject(ret);
|
|
5587
5587
|
};
|
|
5588
5588
|
|
|
5589
|
+
exports.__wbindgen_cast_6e095a3d144cfbd7 = function (arg0, arg1) {
|
|
5590
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 554, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5591
|
+
const ret = makeMutClosure(
|
|
5592
|
+
arg0,
|
|
5593
|
+
arg1,
|
|
5594
|
+
wasm.wasm_bindgen__closure__destroy__h602c026e8307a31b,
|
|
5595
|
+
wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373,
|
|
5596
|
+
);
|
|
5597
|
+
return addHeapObject(ret);
|
|
5598
|
+
};
|
|
5599
|
+
|
|
5589
5600
|
exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
|
|
5590
5601
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5591
5602
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
@@ -5594,13 +5605,13 @@ exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
|
|
|
5594
5605
|
return addHeapObject(ret);
|
|
5595
5606
|
};
|
|
5596
5607
|
|
|
5597
|
-
exports.
|
|
5598
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5608
|
+
exports.__wbindgen_cast_8340b5b160d85933 = function (arg0, arg1) {
|
|
5609
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5599
5610
|
const ret = makeMutClosure(
|
|
5600
5611
|
arg0,
|
|
5601
5612
|
arg1,
|
|
5602
5613
|
wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
|
|
5603
|
-
|
|
5614
|
+
wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373,
|
|
5604
5615
|
);
|
|
5605
5616
|
return addHeapObject(ret);
|
|
5606
5617
|
};
|
|
@@ -5611,17 +5622,6 @@ exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
|
|
|
5611
5622
|
return addHeapObject(ret);
|
|
5612
5623
|
};
|
|
5613
5624
|
|
|
5614
|
-
exports.__wbindgen_cast_bfa5a190b0f2e981 = function (arg0, arg1) {
|
|
5615
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5616
|
-
const ret = makeMutClosure(
|
|
5617
|
-
arg0,
|
|
5618
|
-
arg1,
|
|
5619
|
-
wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
|
|
5620
|
-
wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
|
|
5621
|
-
);
|
|
5622
|
-
return addHeapObject(ret);
|
|
5623
|
-
};
|
|
5624
|
-
|
|
5625
5625
|
exports.__wbindgen_cast_cb9088102bce6b30 = function (arg0, arg1) {
|
|
5626
5626
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
5627
5627
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
Binary file
|
|
@@ -450,24 +450,24 @@ 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__h4c674a07d62b8820: (
|
|
454
454
|
a: number,
|
|
455
455
|
b: number,
|
|
456
|
+
c: number,
|
|
456
457
|
) => void;
|
|
457
|
-
export const
|
|
458
|
-
export const
|
|
458
|
+
export const wasm_bindgen__closure__destroy__h563da61d09f48819: (a: number, b: number) => void;
|
|
459
|
+
export const wasm_bindgen__convert__closures_____invoke__hea2276c16b64824b: (
|
|
459
460
|
a: number,
|
|
460
461
|
b: number,
|
|
461
462
|
c: number,
|
|
463
|
+
d: number,
|
|
462
464
|
) => void;
|
|
463
|
-
export const
|
|
464
|
-
export const wasm_bindgen__convert__closures_____invoke__h280b016db3e219a2: (
|
|
465
|
+
export const wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373: (
|
|
465
466
|
a: number,
|
|
466
467
|
b: number,
|
|
467
|
-
c: number,
|
|
468
|
-
d: number,
|
|
469
468
|
) => void;
|
|
470
|
-
export const
|
|
469
|
+
export const wasm_bindgen__closure__destroy__h602c026e8307a31b: (a: number, b: number) => void;
|
|
470
|
+
export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
|
|
471
471
|
export const wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83: (
|
|
472
472
|
a: number,
|
|
473
473
|
b: number,
|