@bitwarden/commercial-sdk-internal 0.2.0-main.448 → 0.2.0-main.450
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 +472 -441
- package/bitwarden_wasm_internal_bg.js +129 -98
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +12 -4
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +472 -441
- package/node/bitwarden_wasm_internal.js +119 -88
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +11 -3
- package/package.json +1 -1
|
@@ -254,33 +254,21 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
254
254
|
return ptr;
|
|
255
255
|
}
|
|
256
256
|
/**
|
|
257
|
-
*
|
|
258
|
-
* to an OpenSSH private key with public key and fingerprint
|
|
257
|
+
* Generate a new SSH key pair
|
|
259
258
|
*
|
|
260
259
|
* # Arguments
|
|
261
|
-
* - `
|
|
262
|
-
* - `password` - The password to use for decrypting the key
|
|
260
|
+
* - `key_algorithm` - The algorithm to use for the key pair
|
|
263
261
|
*
|
|
264
262
|
* # Returns
|
|
265
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
266
|
-
* - `Err(
|
|
267
|
-
*
|
|
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]
|
|
263
|
+
* - `Ok(SshKey)` if the key was successfully generated
|
|
264
|
+
* - `Err(KeyGenerationError)` if the key could not be generated
|
|
265
|
+
* @param {KeyAlgorithm} key_algorithm
|
|
272
266
|
* @returns {SshKeyView}
|
|
273
267
|
*/
|
|
274
|
-
exports.
|
|
268
|
+
exports.generate_ssh_key = function (key_algorithm) {
|
|
275
269
|
try {
|
|
276
270
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
277
|
-
|
|
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);
|
|
271
|
+
wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
|
|
284
272
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
285
273
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
286
274
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -294,21 +282,33 @@ exports.import_ssh_key = function (imported_key, password) {
|
|
|
294
282
|
};
|
|
295
283
|
|
|
296
284
|
/**
|
|
297
|
-
*
|
|
285
|
+
* Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
|
|
286
|
+
* to an OpenSSH private key with public key and fingerprint
|
|
298
287
|
*
|
|
299
288
|
* # Arguments
|
|
300
|
-
* - `
|
|
289
|
+
* - `imported_key` - The private key to convert
|
|
290
|
+
* - `password` - The password to use for decrypting the key
|
|
301
291
|
*
|
|
302
292
|
* # Returns
|
|
303
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
304
|
-
* - `Err(
|
|
305
|
-
*
|
|
293
|
+
* - `Ok(SshKey)` if the key was successfully coneverted
|
|
294
|
+
* - `Err(PasswordRequired)` if the key is encrypted and no password was provided
|
|
295
|
+
* - `Err(WrongPassword)` if the password provided is incorrect
|
|
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]
|
|
306
300
|
* @returns {SshKeyView}
|
|
307
301
|
*/
|
|
308
|
-
exports.
|
|
302
|
+
exports.import_ssh_key = function (imported_key, password) {
|
|
309
303
|
try {
|
|
310
304
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
311
|
-
wasm.
|
|
305
|
+
const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
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);
|
|
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.isAccountCryptographyInitializationError = function (error) {
|
|
|
404
404
|
* @param {any} error
|
|
405
405
|
* @returns {boolean}
|
|
406
406
|
*/
|
|
407
|
-
exports.
|
|
407
|
+
exports.isCryptoClientError = function (error) {
|
|
408
408
|
try {
|
|
409
|
-
const ret = wasm.
|
|
409
|
+
const ret = wasm.isCryptoClientError(addBorrowedObject(error));
|
|
410
410
|
return ret !== 0;
|
|
411
411
|
} finally {
|
|
412
412
|
heap[stack_pointer++] = undefined;
|
|
@@ -430,9 +430,9 @@ exports.isEnrollAdminPasswordResetError = function (error) {
|
|
|
430
430
|
* @param {any} error
|
|
431
431
|
* @returns {boolean}
|
|
432
432
|
*/
|
|
433
|
-
exports.
|
|
433
|
+
exports.isMakeKeysError = function (error) {
|
|
434
434
|
try {
|
|
435
|
-
const ret = wasm.
|
|
435
|
+
const ret = wasm.isMakeKeysError(addBorrowedObject(error));
|
|
436
436
|
return ret !== 0;
|
|
437
437
|
} finally {
|
|
438
438
|
heap[stack_pointer++] = undefined;
|
|
@@ -443,9 +443,9 @@ exports.isDeriveKeyConnectorError = function (error) {
|
|
|
443
443
|
* @param {any} error
|
|
444
444
|
* @returns {boolean}
|
|
445
445
|
*/
|
|
446
|
-
exports.
|
|
446
|
+
exports.isDeriveKeyConnectorError = function (error) {
|
|
447
447
|
try {
|
|
448
|
-
const ret = wasm.
|
|
448
|
+
const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
|
|
449
449
|
return ret !== 0;
|
|
450
450
|
} finally {
|
|
451
451
|
heap[stack_pointer++] = undefined;
|
|
@@ -902,9 +902,9 @@ exports.isRestoreCipherError = function (error) {
|
|
|
902
902
|
* @param {any} error
|
|
903
903
|
* @returns {boolean}
|
|
904
904
|
*/
|
|
905
|
-
exports.
|
|
905
|
+
exports.isDecryptFileError = function (error) {
|
|
906
906
|
try {
|
|
907
|
-
const ret = wasm.
|
|
907
|
+
const ret = wasm.isDecryptFileError(addBorrowedObject(error));
|
|
908
908
|
return ret !== 0;
|
|
909
909
|
} finally {
|
|
910
910
|
heap[stack_pointer++] = undefined;
|
|
@@ -915,9 +915,9 @@ exports.isEncryptFileError = function (error) {
|
|
|
915
915
|
* @param {any} error
|
|
916
916
|
* @returns {boolean}
|
|
917
917
|
*/
|
|
918
|
-
exports.
|
|
918
|
+
exports.isEncryptFileError = function (error) {
|
|
919
919
|
try {
|
|
920
|
-
const ret = wasm.
|
|
920
|
+
const ret = wasm.isEncryptFileError(addBorrowedObject(error));
|
|
921
921
|
return ret !== 0;
|
|
922
922
|
} finally {
|
|
923
923
|
heap[stack_pointer++] = undefined;
|
|
@@ -980,18 +980,18 @@ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg
|
|
|
980
980
|
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
981
981
|
}
|
|
982
982
|
|
|
983
|
-
function
|
|
984
|
-
wasm.
|
|
983
|
+
function wasm_bindgen__convert__closures_____invoke__he2e170c549b97ed5(arg0, arg1, arg2) {
|
|
984
|
+
wasm.wasm_bindgen__convert__closures_____invoke__he2e170c549b97ed5(
|
|
985
985
|
arg0,
|
|
986
986
|
arg1,
|
|
987
987
|
addHeapObject(arg2),
|
|
988
988
|
);
|
|
989
989
|
}
|
|
990
990
|
|
|
991
|
-
function
|
|
991
|
+
function wasm_bindgen__convert__closures_____invoke__h6fa4a14c2e357000(arg0, arg1, arg2) {
|
|
992
992
|
try {
|
|
993
993
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
994
|
-
wasm.
|
|
994
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h6fa4a14c2e357000(
|
|
995
995
|
retptr,
|
|
996
996
|
arg0,
|
|
997
997
|
arg1,
|
|
@@ -4516,6 +4516,37 @@ class RegistrationClient {
|
|
|
4516
4516
|
);
|
|
4517
4517
|
return takeObject(ret);
|
|
4518
4518
|
}
|
|
4519
|
+
/**
|
|
4520
|
+
* Initializes a new cryptographic state for a user and posts it to the server; enrolls the
|
|
4521
|
+
* user to key connector unlock.
|
|
4522
|
+
* @param {string} key_connector_url
|
|
4523
|
+
* @param {string} sso_org_identifier
|
|
4524
|
+
* @param {UserId} user_id
|
|
4525
|
+
* @returns {Promise<KeyConnectorRegistrationResult>}
|
|
4526
|
+
*/
|
|
4527
|
+
post_keys_for_key_connector_registration(key_connector_url, sso_org_identifier, user_id) {
|
|
4528
|
+
const ptr0 = passStringToWasm0(
|
|
4529
|
+
key_connector_url,
|
|
4530
|
+
wasm.__wbindgen_malloc,
|
|
4531
|
+
wasm.__wbindgen_realloc,
|
|
4532
|
+
);
|
|
4533
|
+
const len0 = WASM_VECTOR_LEN;
|
|
4534
|
+
const ptr1 = passStringToWasm0(
|
|
4535
|
+
sso_org_identifier,
|
|
4536
|
+
wasm.__wbindgen_malloc,
|
|
4537
|
+
wasm.__wbindgen_realloc,
|
|
4538
|
+
);
|
|
4539
|
+
const len1 = WASM_VECTOR_LEN;
|
|
4540
|
+
const ret = wasm.registrationclient_post_keys_for_key_connector_registration(
|
|
4541
|
+
this.__wbg_ptr,
|
|
4542
|
+
ptr0,
|
|
4543
|
+
len0,
|
|
4544
|
+
ptr1,
|
|
4545
|
+
len1,
|
|
4546
|
+
addHeapObject(user_id),
|
|
4547
|
+
);
|
|
4548
|
+
return takeObject(ret);
|
|
4549
|
+
}
|
|
4519
4550
|
}
|
|
4520
4551
|
if (Symbol.dispose)
|
|
4521
4552
|
RegistrationClient.prototype[Symbol.dispose] = RegistrationClient.prototype.free;
|
|
@@ -4944,7 +4975,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
|
|
|
4944
4975
|
}, arguments);
|
|
4945
4976
|
};
|
|
4946
4977
|
|
|
4947
|
-
exports.
|
|
4978
|
+
exports.__wbg_cipher_49b644932c6062aa = function (arg0) {
|
|
4948
4979
|
const ret = getObject(arg0).cipher;
|
|
4949
4980
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4950
4981
|
};
|
|
@@ -5037,7 +5068,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
|
|
|
5037
5068
|
return addHeapObject(ret);
|
|
5038
5069
|
};
|
|
5039
5070
|
|
|
5040
|
-
exports.
|
|
5071
|
+
exports.__wbg_folder_99ab40e1ac06b0ae = function (arg0) {
|
|
5041
5072
|
const ret = getObject(arg0).folder;
|
|
5042
5073
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5043
5074
|
};
|
|
@@ -5070,7 +5101,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
|
|
|
5070
5101
|
return ret;
|
|
5071
5102
|
};
|
|
5072
5103
|
|
|
5073
|
-
exports.
|
|
5104
|
+
exports.__wbg_get_622a532ce4f4f602 = function () {
|
|
5074
5105
|
return handleError(function (arg0, arg1, arg2) {
|
|
5075
5106
|
let deferred0_0;
|
|
5076
5107
|
let deferred0_1;
|
|
@@ -5090,12 +5121,12 @@ exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
|
|
|
5090
5121
|
return addHeapObject(ret);
|
|
5091
5122
|
};
|
|
5092
5123
|
|
|
5093
|
-
exports.
|
|
5124
|
+
exports.__wbg_get_access_token_1bb7cb35ffeaf4b3 = function (arg0) {
|
|
5094
5125
|
const ret = getObject(arg0).get_access_token();
|
|
5095
5126
|
return addHeapObject(ret);
|
|
5096
5127
|
};
|
|
5097
5128
|
|
|
5098
|
-
exports.
|
|
5129
|
+
exports.__wbg_get_e62e426bfe0b1bfe = function () {
|
|
5099
5130
|
return handleError(function (arg0, arg1, arg2) {
|
|
5100
5131
|
let deferred0_0;
|
|
5101
5132
|
let deferred0_1;
|
|
@@ -5301,14 +5332,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
|
|
|
5301
5332
|
return ret;
|
|
5302
5333
|
};
|
|
5303
5334
|
|
|
5304
|
-
exports.
|
|
5335
|
+
exports.__wbg_list_4cce361ccdd59dbd = function () {
|
|
5305
5336
|
return handleError(function (arg0) {
|
|
5306
5337
|
const ret = getObject(arg0).list();
|
|
5307
5338
|
return addHeapObject(ret);
|
|
5308
5339
|
}, arguments);
|
|
5309
5340
|
};
|
|
5310
5341
|
|
|
5311
|
-
exports.
|
|
5342
|
+
exports.__wbg_list_5b272242a43f33b3 = function () {
|
|
5312
5343
|
return handleError(function (arg0) {
|
|
5313
5344
|
const ret = getObject(arg0).list();
|
|
5314
5345
|
return addHeapObject(ret);
|
|
@@ -5552,7 +5583,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
|
5552
5583
|
}, arguments);
|
|
5553
5584
|
};
|
|
5554
5585
|
|
|
5555
|
-
exports.
|
|
5586
|
+
exports.__wbg_remove_305804be05991243 = function () {
|
|
5556
5587
|
return handleError(function (arg0, arg1, arg2) {
|
|
5557
5588
|
let deferred0_0;
|
|
5558
5589
|
let deferred0_1;
|
|
@@ -5567,7 +5598,7 @@ exports.__wbg_remove_4446217459673d72 = function () {
|
|
|
5567
5598
|
}, arguments);
|
|
5568
5599
|
};
|
|
5569
5600
|
|
|
5570
|
-
exports.
|
|
5601
|
+
exports.__wbg_remove_682c7a7874d6c8d2 = function () {
|
|
5571
5602
|
return handleError(function (arg0, arg1, arg2) {
|
|
5572
5603
|
let deferred0_0;
|
|
5573
5604
|
let deferred0_1;
|
|
@@ -5613,7 +5644,11 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
|
|
|
5613
5644
|
return addHeapObject(ret);
|
|
5614
5645
|
};
|
|
5615
5646
|
|
|
5616
|
-
exports.
|
|
5647
|
+
exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
5648
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5649
|
+
};
|
|
5650
|
+
|
|
5651
|
+
exports.__wbg_set_5886f1f4d2c9db0e = function () {
|
|
5617
5652
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5618
5653
|
let deferred0_0;
|
|
5619
5654
|
let deferred0_1;
|
|
@@ -5628,7 +5663,7 @@ exports.__wbg_set_198ef2b517248ac4 = function () {
|
|
|
5628
5663
|
}, arguments);
|
|
5629
5664
|
};
|
|
5630
5665
|
|
|
5631
|
-
exports.
|
|
5666
|
+
exports.__wbg_set_6fd579c79c799c7b = function () {
|
|
5632
5667
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5633
5668
|
let deferred0_0;
|
|
5634
5669
|
let deferred0_1;
|
|
@@ -5643,10 +5678,6 @@ exports.__wbg_set_3238db24d5bcd49f = function () {
|
|
|
5643
5678
|
}, arguments);
|
|
5644
5679
|
};
|
|
5645
5680
|
|
|
5646
|
-
exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
5647
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5648
|
-
};
|
|
5649
|
-
|
|
5650
5681
|
exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
|
|
5651
5682
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5652
5683
|
return addHeapObject(ret);
|
|
@@ -5835,36 +5866,36 @@ exports.__wbg_warn_8f5b5437666d0885 = function (arg0, arg1, arg2, arg3) {
|
|
|
5835
5866
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5836
5867
|
};
|
|
5837
5868
|
|
|
5838
|
-
exports.
|
|
5839
|
-
// Cast intrinsic for `
|
|
5869
|
+
exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
|
|
5870
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5871
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
5872
|
+
return addHeapObject(ret);
|
|
5873
|
+
};
|
|
5874
|
+
|
|
5875
|
+
exports.__wbindgen_cast_3a10e1a5d733093a = function (arg0, arg1) {
|
|
5876
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 324, function: Function { arguments: [Externref], shim_idx: 46, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5840
5877
|
const ret = makeMutClosure(
|
|
5841
5878
|
arg0,
|
|
5842
5879
|
arg1,
|
|
5843
|
-
wasm.
|
|
5844
|
-
|
|
5880
|
+
wasm.wasm_bindgen__closure__destroy__hc71695a401114797,
|
|
5881
|
+
wasm_bindgen__convert__closures_____invoke__he2e170c549b97ed5,
|
|
5845
5882
|
);
|
|
5846
5883
|
return addHeapObject(ret);
|
|
5847
5884
|
};
|
|
5848
5885
|
|
|
5849
|
-
exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
|
|
5850
|
-
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5851
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
5852
|
-
return addHeapObject(ret);
|
|
5853
|
-
};
|
|
5854
|
-
|
|
5855
5886
|
exports.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
|
|
5856
5887
|
// Cast intrinsic for `U64 -> Externref`.
|
|
5857
5888
|
const ret = BigInt.asUintN(64, arg0);
|
|
5858
5889
|
return addHeapObject(ret);
|
|
5859
5890
|
};
|
|
5860
5891
|
|
|
5861
|
-
exports.
|
|
5862
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5892
|
+
exports.__wbindgen_cast_4d264fdb14fbe142 = function (arg0, arg1) {
|
|
5893
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 324, function: Function { arguments: [], shim_idx: 325, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5863
5894
|
const ret = makeMutClosure(
|
|
5864
5895
|
arg0,
|
|
5865
5896
|
arg1,
|
|
5866
|
-
wasm.
|
|
5867
|
-
|
|
5897
|
+
wasm.wasm_bindgen__closure__destroy__hc71695a401114797,
|
|
5898
|
+
wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d,
|
|
5868
5899
|
);
|
|
5869
5900
|
return addHeapObject(ret);
|
|
5870
5901
|
};
|
|
@@ -5885,30 +5916,19 @@ exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
|
|
|
5885
5916
|
return addHeapObject(ret);
|
|
5886
5917
|
};
|
|
5887
5918
|
|
|
5888
|
-
exports.__wbindgen_cast_999c2e74f2a852c3 = function (arg0, arg1) {
|
|
5889
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 562, function: Function { arguments: [], shim_idx: 314, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5890
|
-
const ret = makeMutClosure(
|
|
5891
|
-
arg0,
|
|
5892
|
-
arg1,
|
|
5893
|
-
wasm.wasm_bindgen__closure__destroy__h666c8569a46b7e11,
|
|
5894
|
-
wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d,
|
|
5895
|
-
);
|
|
5896
|
-
return addHeapObject(ret);
|
|
5897
|
-
};
|
|
5898
|
-
|
|
5899
5919
|
exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
|
|
5900
5920
|
// Cast intrinsic for `I64 -> Externref`.
|
|
5901
5921
|
const ret = arg0;
|
|
5902
5922
|
return addHeapObject(ret);
|
|
5903
5923
|
};
|
|
5904
5924
|
|
|
5905
|
-
exports.
|
|
5906
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5925
|
+
exports.__wbindgen_cast_bf18027ee84acd62 = function (arg0, arg1) {
|
|
5926
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 573, function: Function { arguments: [], shim_idx: 325, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5907
5927
|
const ret = makeMutClosure(
|
|
5908
5928
|
arg0,
|
|
5909
5929
|
arg1,
|
|
5910
|
-
wasm.
|
|
5911
|
-
|
|
5930
|
+
wasm.wasm_bindgen__closure__destroy__h666c8569a46b7e11,
|
|
5931
|
+
wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d,
|
|
5912
5932
|
);
|
|
5913
5933
|
return addHeapObject(ret);
|
|
5914
5934
|
};
|
|
@@ -5919,19 +5939,30 @@ exports.__wbindgen_cast_cb9088102bce6b30 = function (arg0, arg1) {
|
|
|
5919
5939
|
return addHeapObject(ret);
|
|
5920
5940
|
};
|
|
5921
5941
|
|
|
5942
|
+
exports.__wbindgen_cast_d3c442d81884e8e4 = function (arg0, arg1) {
|
|
5943
|
+
// 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`.
|
|
5944
|
+
const ret = makeMutClosure(
|
|
5945
|
+
arg0,
|
|
5946
|
+
arg1,
|
|
5947
|
+
wasm.wasm_bindgen__closure__destroy__h7a79e3df9e7c7848,
|
|
5948
|
+
wasm_bindgen__convert__closures_____invoke__h6fa4a14c2e357000,
|
|
5949
|
+
);
|
|
5950
|
+
return addHeapObject(ret);
|
|
5951
|
+
};
|
|
5952
|
+
|
|
5922
5953
|
exports.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
|
|
5923
5954
|
// Cast intrinsic for `F64 -> Externref`.
|
|
5924
5955
|
const ret = arg0;
|
|
5925
5956
|
return addHeapObject(ret);
|
|
5926
5957
|
};
|
|
5927
5958
|
|
|
5928
|
-
exports.
|
|
5929
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5959
|
+
exports.__wbindgen_cast_d9da8617cf4d65f6 = function (arg0, arg1) {
|
|
5960
|
+
// 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`.
|
|
5930
5961
|
const ret = makeMutClosure(
|
|
5931
5962
|
arg0,
|
|
5932
5963
|
arg1,
|
|
5933
|
-
wasm.
|
|
5934
|
-
|
|
5964
|
+
wasm.wasm_bindgen__closure__destroy__h7a79e3df9e7c7848,
|
|
5965
|
+
wasm_bindgen__convert__closures_____invoke__he2e170c549b97ed5,
|
|
5935
5966
|
);
|
|
5936
5967
|
return addHeapObject(ret);
|
|
5937
5968
|
};
|
|
Binary file
|
|
@@ -201,6 +201,14 @@ export const __wbg_authclient_free: (a: number, b: number) => void;
|
|
|
201
201
|
export const __wbg_identityclient_free: (a: number, b: number) => void;
|
|
202
202
|
export const authclient_identity: (a: number) => number;
|
|
203
203
|
export const isRegistrationError: (a: number) => number;
|
|
204
|
+
export const registrationclient_post_keys_for_key_connector_registration: (
|
|
205
|
+
a: number,
|
|
206
|
+
b: number,
|
|
207
|
+
c: number,
|
|
208
|
+
d: number,
|
|
209
|
+
e: number,
|
|
210
|
+
f: number,
|
|
211
|
+
) => number;
|
|
204
212
|
export const registrationclient_post_keys_for_tde_registration: (a: number, b: number) => number;
|
|
205
213
|
export const sendaccessclient_request_send_access_token: (a: number, b: number) => number;
|
|
206
214
|
export const isCollectionDecryptError: (a: number) => number;
|
|
@@ -485,19 +493,19 @@ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
|
485
493
|
b: number,
|
|
486
494
|
) => void;
|
|
487
495
|
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
488
|
-
export const
|
|
496
|
+
export const wasm_bindgen__convert__closures_____invoke__he2e170c549b97ed5: (
|
|
489
497
|
a: number,
|
|
490
498
|
b: number,
|
|
491
499
|
c: number,
|
|
492
500
|
) => void;
|
|
493
501
|
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
494
|
-
export const
|
|
502
|
+
export const wasm_bindgen__closure__destroy__h7a79e3df9e7c7848: (a: number, b: number) => void;
|
|
503
|
+
export const wasm_bindgen__convert__closures_____invoke__h6fa4a14c2e357000: (
|
|
495
504
|
a: number,
|
|
496
505
|
b: number,
|
|
497
506
|
c: number,
|
|
498
507
|
d: number,
|
|
499
508
|
) => void;
|
|
500
|
-
export const wasm_bindgen__closure__destroy__hb9785c609198ba41: (a: number, b: number) => void;
|
|
501
509
|
export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
|
|
502
510
|
a: number,
|
|
503
511
|
b: number,
|