@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
|
@@ -264,21 +264,33 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
264
264
|
return ptr;
|
|
265
265
|
}
|
|
266
266
|
/**
|
|
267
|
-
*
|
|
267
|
+
* Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
|
|
268
|
+
* to an OpenSSH private key with public key and fingerprint
|
|
268
269
|
*
|
|
269
270
|
* # Arguments
|
|
270
|
-
* - `
|
|
271
|
+
* - `imported_key` - The private key to convert
|
|
272
|
+
* - `password` - The password to use for decrypting the key
|
|
271
273
|
*
|
|
272
274
|
* # Returns
|
|
273
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
274
|
-
* - `Err(
|
|
275
|
-
*
|
|
275
|
+
* - `Ok(SshKey)` if the key was successfully coneverted
|
|
276
|
+
* - `Err(PasswordRequired)` if the key is encrypted and no password was provided
|
|
277
|
+
* - `Err(WrongPassword)` if the password provided is incorrect
|
|
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]
|
|
276
282
|
* @returns {SshKeyView}
|
|
277
283
|
*/
|
|
278
|
-
export function
|
|
284
|
+
export function import_ssh_key(imported_key, password) {
|
|
279
285
|
try {
|
|
280
286
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
281
|
-
wasm.
|
|
287
|
+
const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
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);
|
|
282
294
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
283
295
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
284
296
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -292,33 +304,21 @@ export function generate_ssh_key(key_algorithm) {
|
|
|
292
304
|
}
|
|
293
305
|
|
|
294
306
|
/**
|
|
295
|
-
*
|
|
296
|
-
* to an OpenSSH private key with public key and fingerprint
|
|
307
|
+
* Generate a new SSH key pair
|
|
297
308
|
*
|
|
298
309
|
* # Arguments
|
|
299
|
-
* - `
|
|
300
|
-
* - `password` - The password to use for decrypting the key
|
|
310
|
+
* - `key_algorithm` - The algorithm to use for the key pair
|
|
301
311
|
*
|
|
302
312
|
* # Returns
|
|
303
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
304
|
-
* - `Err(
|
|
305
|
-
*
|
|
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]
|
|
313
|
+
* - `Ok(SshKey)` if the key was successfully generated
|
|
314
|
+
* - `Err(KeyGenerationError)` if the key could not be generated
|
|
315
|
+
* @param {KeyAlgorithm} key_algorithm
|
|
310
316
|
* @returns {SshKeyView}
|
|
311
317
|
*/
|
|
312
|
-
export function
|
|
318
|
+
export function generate_ssh_key(key_algorithm) {
|
|
313
319
|
try {
|
|
314
320
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
315
|
-
|
|
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);
|
|
321
|
+
wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
|
|
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);
|
|
@@ -414,9 +414,9 @@ export function isCryptoClientError(error) {
|
|
|
414
414
|
* @param {any} error
|
|
415
415
|
* @returns {boolean}
|
|
416
416
|
*/
|
|
417
|
-
export function
|
|
417
|
+
export function isEnrollAdminPasswordResetError(error) {
|
|
418
418
|
try {
|
|
419
|
-
const ret = wasm.
|
|
419
|
+
const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
|
|
420
420
|
return ret !== 0;
|
|
421
421
|
} finally {
|
|
422
422
|
heap[stack_pointer++] = undefined;
|
|
@@ -427,9 +427,9 @@ export function isDeriveKeyConnectorError(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;
|
|
@@ -639,9 +639,9 @@ export function ipcRegisterDiscoverHandler(ipc_client, response) {
|
|
|
639
639
|
* @param {any} error
|
|
640
640
|
* @returns {boolean}
|
|
641
641
|
*/
|
|
642
|
-
export function
|
|
642
|
+
export function isSshKeyImportError(error) {
|
|
643
643
|
try {
|
|
644
|
-
const ret = wasm.
|
|
644
|
+
const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
|
|
645
645
|
return ret !== 0;
|
|
646
646
|
} finally {
|
|
647
647
|
heap[stack_pointer++] = undefined;
|
|
@@ -652,9 +652,9 @@ export function isSshKeyExportError(error) {
|
|
|
652
652
|
* @param {any} error
|
|
653
653
|
* @returns {boolean}
|
|
654
654
|
*/
|
|
655
|
-
export function
|
|
655
|
+
export function isSshKeyExportError(error) {
|
|
656
656
|
try {
|
|
657
|
-
const ret = wasm.
|
|
657
|
+
const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
|
|
658
658
|
return ret !== 0;
|
|
659
659
|
} finally {
|
|
660
660
|
heap[stack_pointer++] = undefined;
|
|
@@ -665,9 +665,9 @@ export function isKeyGenerationError(error) {
|
|
|
665
665
|
* @param {any} error
|
|
666
666
|
* @returns {boolean}
|
|
667
667
|
*/
|
|
668
|
-
export function
|
|
668
|
+
export function isKeyGenerationError(error) {
|
|
669
669
|
try {
|
|
670
|
-
const ret = wasm.
|
|
670
|
+
const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
|
|
671
671
|
return ret !== 0;
|
|
672
672
|
} finally {
|
|
673
673
|
heap[stack_pointer++] = undefined;
|
|
@@ -743,9 +743,9 @@ export function isTotpError(error) {
|
|
|
743
743
|
* @param {any} error
|
|
744
744
|
* @returns {boolean}
|
|
745
745
|
*/
|
|
746
|
-
export function
|
|
746
|
+
export function isDecryptError(error) {
|
|
747
747
|
try {
|
|
748
|
-
const ret = wasm.
|
|
748
|
+
const ret = wasm.isDecryptError(addBorrowedObject(error));
|
|
749
749
|
return ret !== 0;
|
|
750
750
|
} finally {
|
|
751
751
|
heap[stack_pointer++] = undefined;
|
|
@@ -756,9 +756,9 @@ export function isEncryptError(error) {
|
|
|
756
756
|
* @param {any} error
|
|
757
757
|
* @returns {boolean}
|
|
758
758
|
*/
|
|
759
|
-
export function
|
|
759
|
+
export function isEncryptError(error) {
|
|
760
760
|
try {
|
|
761
|
-
const ret = wasm.
|
|
761
|
+
const ret = wasm.isEncryptError(addBorrowedObject(error));
|
|
762
762
|
return ret !== 0;
|
|
763
763
|
} finally {
|
|
764
764
|
heap[stack_pointer++] = undefined;
|
|
@@ -882,8 +882,8 @@ export function isGetFolderError(error) {
|
|
|
882
882
|
}
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
-
function
|
|
886
|
-
wasm.
|
|
885
|
+
function wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9(arg0, arg1, arg2) {
|
|
886
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9(
|
|
887
887
|
arg0,
|
|
888
888
|
arg1,
|
|
889
889
|
addHeapObject(arg2),
|
|
@@ -894,10 +894,10 @@ function wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg
|
|
|
894
894
|
wasm.wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1);
|
|
895
895
|
}
|
|
896
896
|
|
|
897
|
-
function
|
|
897
|
+
function wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531(arg0, arg1, arg2) {
|
|
898
898
|
try {
|
|
899
899
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
900
|
-
wasm.
|
|
900
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531(
|
|
901
901
|
retptr,
|
|
902
902
|
arg0,
|
|
903
903
|
arg1,
|
|
@@ -4681,7 +4681,7 @@ export function __wbg_call_e762c39fa8ea36bf() {
|
|
|
4681
4681
|
}, arguments);
|
|
4682
4682
|
}
|
|
4683
4683
|
|
|
4684
|
-
export function
|
|
4684
|
+
export function __wbg_cipher_4720c11002fc96fd(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_d21d8f5a125d055f(arg0) {
|
|
4778
4778
|
const ret = getObject(arg0).folder;
|
|
4779
4779
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4780
4780
|
}
|
|
@@ -4807,7 +4807,17 @@ 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_access_token_e2133519f41a6ac7(arg0) {
|
|
4816
|
+
const ret = getObject(arg0).get_access_token();
|
|
4817
|
+
return addHeapObject(ret);
|
|
4818
|
+
}
|
|
4819
|
+
|
|
4820
|
+
export function __wbg_get_cd62268d8c087001() {
|
|
4811
4821
|
return handleError(function (arg0, arg1, arg2) {
|
|
4812
4822
|
let deferred0_0;
|
|
4813
4823
|
let deferred0_1;
|
|
@@ -4822,17 +4832,7 @@ export function __wbg_get_6432ae0367848e1d() {
|
|
|
4822
4832
|
}, arguments);
|
|
4823
4833
|
}
|
|
4824
4834
|
|
|
4825
|
-
export function
|
|
4826
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4827
|
-
return addHeapObject(ret);
|
|
4828
|
-
}
|
|
4829
|
-
|
|
4830
|
-
export function __wbg_get_access_token_e189464f249968d8(arg0) {
|
|
4831
|
-
const ret = getObject(arg0).get_access_token();
|
|
4832
|
-
return addHeapObject(ret);
|
|
4833
|
-
}
|
|
4834
|
-
|
|
4835
|
-
export function __wbg_get_bb738be5940cc255() {
|
|
4835
|
+
export function __wbg_get_d1114999a8ab47d9() {
|
|
4836
4836
|
return handleError(function (arg0, arg1, arg2) {
|
|
4837
4837
|
let deferred0_0;
|
|
4838
4838
|
let deferred0_1;
|
|
@@ -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_7b4bcbc83976604d() {
|
|
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_a7aca25d8822da99() {
|
|
5049
5049
|
return handleError(function (arg0) {
|
|
5050
5050
|
const ret = getObject(arg0).list();
|
|
5051
5051
|
return addHeapObject(ret);
|
|
@@ -5289,7 +5289,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
|
|
|
5289
5289
|
}, arguments);
|
|
5290
5290
|
}
|
|
5291
5291
|
|
|
5292
|
-
export function
|
|
5292
|
+
export function __wbg_remove_486de06f6037d12d() {
|
|
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_4a78a55023f6d60d() {
|
|
|
5304
5304
|
}, arguments);
|
|
5305
5305
|
}
|
|
5306
5306
|
|
|
5307
|
-
export function
|
|
5307
|
+
export function __wbg_remove_839a2bc7e9bfd311() {
|
|
5308
5308
|
return handleError(function (arg0, arg1, arg2) {
|
|
5309
5309
|
let deferred0_0;
|
|
5310
5310
|
let deferred0_1;
|
|
@@ -5354,7 +5354,31 @@ 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_907fb406c34a251d(arg0, arg1, arg2) {
|
|
5358
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5359
|
+
return addHeapObject(ret);
|
|
5360
|
+
}
|
|
5361
|
+
|
|
5362
|
+
export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
|
|
5363
|
+
getObject(arg0).body = getObject(arg1);
|
|
5364
|
+
}
|
|
5365
|
+
|
|
5366
|
+
export function __wbg_set_c213c871859d6500(arg0, arg1, arg2) {
|
|
5367
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
5368
|
+
}
|
|
5369
|
+
|
|
5370
|
+
export function __wbg_set_c2abbebe8b9ebee1() {
|
|
5371
|
+
return handleError(function (arg0, arg1, arg2) {
|
|
5372
|
+
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
5373
|
+
return ret;
|
|
5374
|
+
}, arguments);
|
|
5375
|
+
}
|
|
5376
|
+
|
|
5377
|
+
export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
|
|
5378
|
+
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5379
|
+
}
|
|
5380
|
+
|
|
5381
|
+
export function __wbg_set_d16463df2409068d() {
|
|
5358
5382
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5359
5383
|
let deferred0_0;
|
|
5360
5384
|
let deferred0_1;
|
|
@@ -5369,7 +5393,7 @@ export function __wbg_set_4524c602a04b7d94() {
|
|
|
5369
5393
|
}, arguments);
|
|
5370
5394
|
}
|
|
5371
5395
|
|
|
5372
|
-
export function
|
|
5396
|
+
export function __wbg_set_e9bc328257c76201() {
|
|
5373
5397
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5374
5398
|
let deferred0_0;
|
|
5375
5399
|
let deferred0_1;
|
|
@@ -5384,30 +5408,6 @@ export function __wbg_set_82157cc232dc223e() {
|
|
|
5384
5408
|
}, arguments);
|
|
5385
5409
|
}
|
|
5386
5410
|
|
|
5387
|
-
export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
|
|
5388
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5389
|
-
return addHeapObject(ret);
|
|
5390
|
-
}
|
|
5391
|
-
|
|
5392
|
-
export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
|
|
5393
|
-
getObject(arg0).body = getObject(arg1);
|
|
5394
|
-
}
|
|
5395
|
-
|
|
5396
|
-
export function __wbg_set_c213c871859d6500(arg0, arg1, arg2) {
|
|
5397
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
5398
|
-
}
|
|
5399
|
-
|
|
5400
|
-
export function __wbg_set_c2abbebe8b9ebee1() {
|
|
5401
|
-
return handleError(function (arg0, arg1, arg2) {
|
|
5402
|
-
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
5403
|
-
return ret;
|
|
5404
|
-
}, arguments);
|
|
5405
|
-
}
|
|
5406
|
-
|
|
5407
|
-
export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
|
|
5408
|
-
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5409
|
-
}
|
|
5410
|
-
|
|
5411
5411
|
export function __wbg_set_headers_6926da238cd32ee4(arg0, arg1) {
|
|
5412
5412
|
getObject(arg0).headers = getObject(arg1);
|
|
5413
5413
|
}
|
|
@@ -5572,42 +5572,20 @@ 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
|
|
5576
|
-
// Cast intrinsic for `
|
|
5577
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
5578
|
-
return addHeapObject(ret);
|
|
5579
|
-
}
|
|
5580
|
-
|
|
5581
|
-
export function __wbindgen_cast_34ef3ce950757bdd(arg0, arg1) {
|
|
5582
|
-
// 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`.
|
|
5583
|
-
const ret = makeMutClosure(
|
|
5584
|
-
arg0,
|
|
5585
|
-
arg1,
|
|
5586
|
-
wasm.wasm_bindgen__closure__destroy__h450a29d5adc6ff56,
|
|
5587
|
-
wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62,
|
|
5588
|
-
);
|
|
5589
|
-
return addHeapObject(ret);
|
|
5590
|
-
}
|
|
5591
|
-
|
|
5592
|
-
export function __wbindgen_cast_397295739b4135cd(arg0, arg1) {
|
|
5593
|
-
// 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`.
|
|
5575
|
+
export function __wbindgen_cast_0f3a80f9c6c81c16(arg0, arg1) {
|
|
5576
|
+
// 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`.
|
|
5594
5577
|
const ret = makeMutClosure(
|
|
5595
5578
|
arg0,
|
|
5596
5579
|
arg1,
|
|
5597
|
-
wasm.
|
|
5598
|
-
|
|
5580
|
+
wasm.wasm_bindgen__closure__destroy__h405eed9c319f41ea,
|
|
5581
|
+
wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9,
|
|
5599
5582
|
);
|
|
5600
5583
|
return addHeapObject(ret);
|
|
5601
5584
|
}
|
|
5602
5585
|
|
|
5603
|
-
export function
|
|
5604
|
-
// Cast intrinsic for `
|
|
5605
|
-
const ret =
|
|
5606
|
-
arg0,
|
|
5607
|
-
arg1,
|
|
5608
|
-
wasm.wasm_bindgen__closure__destroy__he41cbbdbe831f2ac,
|
|
5609
|
-
wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
|
|
5610
|
-
);
|
|
5586
|
+
export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
|
|
5587
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5588
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
5611
5589
|
return addHeapObject(ret);
|
|
5612
5590
|
}
|
|
5613
5591
|
|
|
@@ -5625,25 +5603,36 @@ export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
|
|
|
5625
5603
|
return addHeapObject(ret);
|
|
5626
5604
|
}
|
|
5627
5605
|
|
|
5628
|
-
export function
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5606
|
+
export function __wbindgen_cast_630a55545c54fc2a(arg0, arg1) {
|
|
5607
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 554, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5608
|
+
const ret = makeMutClosure(
|
|
5609
|
+
arg0,
|
|
5610
|
+
arg1,
|
|
5611
|
+
wasm.wasm_bindgen__closure__destroy__he41cbbdbe831f2ac,
|
|
5612
|
+
wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
|
|
5613
|
+
);
|
|
5633
5614
|
return addHeapObject(ret);
|
|
5634
5615
|
}
|
|
5635
5616
|
|
|
5636
|
-
export function
|
|
5637
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [Externref], shim_idx:
|
|
5617
|
+
export function __wbindgen_cast_67d165bf11ca912a(arg0, arg1) {
|
|
5618
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [Externref], shim_idx: 43, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5638
5619
|
const ret = makeMutClosure(
|
|
5639
5620
|
arg0,
|
|
5640
5621
|
arg1,
|
|
5641
5622
|
wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
|
|
5642
|
-
|
|
5623
|
+
wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9,
|
|
5643
5624
|
);
|
|
5644
5625
|
return addHeapObject(ret);
|
|
5645
5626
|
}
|
|
5646
5627
|
|
|
5628
|
+
export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
|
|
5629
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5630
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5631
|
+
// Cast intrinsic for `Vector(NamedExternref("Cipher")) -> Externref`.
|
|
5632
|
+
const ret = v0;
|
|
5633
|
+
return addHeapObject(ret);
|
|
5634
|
+
}
|
|
5635
|
+
|
|
5647
5636
|
export function __wbindgen_cast_9ae0607507abb057(arg0) {
|
|
5648
5637
|
// Cast intrinsic for `I64 -> Externref`.
|
|
5649
5638
|
const ret = arg0;
|
|
@@ -5673,6 +5662,17 @@ export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
|
|
|
5673
5662
|
return addHeapObject(ret);
|
|
5674
5663
|
}
|
|
5675
5664
|
|
|
5665
|
+
export function __wbindgen_cast_e12aaa4ecde9c999(arg0, arg1) {
|
|
5666
|
+
// 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`.
|
|
5667
|
+
const ret = makeMutClosure(
|
|
5668
|
+
arg0,
|
|
5669
|
+
arg1,
|
|
5670
|
+
wasm.wasm_bindgen__closure__destroy__h405eed9c319f41ea,
|
|
5671
|
+
wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531,
|
|
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,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__h3185ceccb6523ad9: (
|
|
458
458
|
a: number,
|
|
459
459
|
b: number,
|
|
460
460
|
c: number,
|
|
461
461
|
) => void;
|
|
462
|
-
export const
|
|
463
|
-
export const wasm_bindgen__closure__destroy__h450a29d5adc6ff56: (a: number, b: number) => void;
|
|
462
|
+
export const wasm_bindgen__closure__destroy__h405eed9c319f41ea: (a: number, b: number) => void;
|
|
464
463
|
export const wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2: (
|
|
465
464
|
a: number,
|
|
466
465
|
b: number,
|
|
467
466
|
) => void;
|
|
468
|
-
export const
|
|
469
|
-
export const
|
|
467
|
+
export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
|
|
468
|
+
export const wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531: (
|
|
470
469
|
a: number,
|
|
471
470
|
b: number,
|
|
472
471
|
c: number,
|
|
473
472
|
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,
|