@bitwarden/commercial-sdk-internal 0.2.0-main.449 → 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 +148 -117
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +15 -7
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +472 -441
- package/node/bitwarden_wasm_internal.js +148 -117
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +16 -8
- package/package.json +1 -1
|
@@ -264,33 +264,21 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
264
264
|
return ptr;
|
|
265
265
|
}
|
|
266
266
|
/**
|
|
267
|
-
*
|
|
268
|
-
* to an OpenSSH private key with public key and fingerprint
|
|
267
|
+
* Generate a new SSH key pair
|
|
269
268
|
*
|
|
270
269
|
* # Arguments
|
|
271
|
-
* - `
|
|
272
|
-
* - `password` - The password to use for decrypting the key
|
|
270
|
+
* - `key_algorithm` - The algorithm to use for the key pair
|
|
273
271
|
*
|
|
274
272
|
* # Returns
|
|
275
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
276
|
-
* - `Err(
|
|
277
|
-
*
|
|
278
|
-
* - `Err(ParsingError)` if the key could not be parsed
|
|
279
|
-
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
280
|
-
* @param {string} imported_key
|
|
281
|
-
* @param {string | null} [password]
|
|
273
|
+
* - `Ok(SshKey)` if the key was successfully generated
|
|
274
|
+
* - `Err(KeyGenerationError)` if the key could not be generated
|
|
275
|
+
* @param {KeyAlgorithm} key_algorithm
|
|
282
276
|
* @returns {SshKeyView}
|
|
283
277
|
*/
|
|
284
|
-
export function
|
|
278
|
+
export function generate_ssh_key(key_algorithm) {
|
|
285
279
|
try {
|
|
286
280
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
287
|
-
|
|
288
|
-
const len0 = WASM_VECTOR_LEN;
|
|
289
|
-
var ptr1 = isLikeNone(password)
|
|
290
|
-
? 0
|
|
291
|
-
: passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
292
|
-
var len1 = WASM_VECTOR_LEN;
|
|
293
|
-
wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
|
|
281
|
+
wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
|
|
294
282
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
295
283
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
296
284
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -304,21 +292,33 @@ export function import_ssh_key(imported_key, password) {
|
|
|
304
292
|
}
|
|
305
293
|
|
|
306
294
|
/**
|
|
307
|
-
*
|
|
295
|
+
* Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
|
|
296
|
+
* to an OpenSSH private key with public key and fingerprint
|
|
308
297
|
*
|
|
309
298
|
* # Arguments
|
|
310
|
-
* - `
|
|
299
|
+
* - `imported_key` - The private key to convert
|
|
300
|
+
* - `password` - The password to use for decrypting the key
|
|
311
301
|
*
|
|
312
302
|
* # Returns
|
|
313
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
314
|
-
* - `Err(
|
|
315
|
-
*
|
|
303
|
+
* - `Ok(SshKey)` if the key was successfully coneverted
|
|
304
|
+
* - `Err(PasswordRequired)` if the key is encrypted and no password was provided
|
|
305
|
+
* - `Err(WrongPassword)` if the password provided is incorrect
|
|
306
|
+
* - `Err(ParsingError)` if the key could not be parsed
|
|
307
|
+
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
308
|
+
* @param {string} imported_key
|
|
309
|
+
* @param {string | null} [password]
|
|
316
310
|
* @returns {SshKeyView}
|
|
317
311
|
*/
|
|
318
|
-
export function
|
|
312
|
+
export function import_ssh_key(imported_key, password) {
|
|
319
313
|
try {
|
|
320
314
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
321
|
-
wasm.
|
|
315
|
+
const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
316
|
+
const len0 = WASM_VECTOR_LEN;
|
|
317
|
+
var ptr1 = isLikeNone(password)
|
|
318
|
+
? 0
|
|
319
|
+
: passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
320
|
+
var len1 = WASM_VECTOR_LEN;
|
|
321
|
+
wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
|
|
322
322
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
323
323
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
324
324
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -414,9 +414,9 @@ export function isAccountCryptographyInitializationError(error) {
|
|
|
414
414
|
* @param {any} error
|
|
415
415
|
* @returns {boolean}
|
|
416
416
|
*/
|
|
417
|
-
export function
|
|
417
|
+
export function isCryptoClientError(error) {
|
|
418
418
|
try {
|
|
419
|
-
const ret = wasm.
|
|
419
|
+
const ret = wasm.isCryptoClientError(addBorrowedObject(error));
|
|
420
420
|
return ret !== 0;
|
|
421
421
|
} finally {
|
|
422
422
|
heap[stack_pointer++] = undefined;
|
|
@@ -440,9 +440,9 @@ export function isEnrollAdminPasswordResetError(error) {
|
|
|
440
440
|
* @param {any} error
|
|
441
441
|
* @returns {boolean}
|
|
442
442
|
*/
|
|
443
|
-
export function
|
|
443
|
+
export function isMakeKeysError(error) {
|
|
444
444
|
try {
|
|
445
|
-
const ret = wasm.
|
|
445
|
+
const ret = wasm.isMakeKeysError(addBorrowedObject(error));
|
|
446
446
|
return ret !== 0;
|
|
447
447
|
} finally {
|
|
448
448
|
heap[stack_pointer++] = undefined;
|
|
@@ -453,9 +453,9 @@ export function isDeriveKeyConnectorError(error) {
|
|
|
453
453
|
* @param {any} error
|
|
454
454
|
* @returns {boolean}
|
|
455
455
|
*/
|
|
456
|
-
export function
|
|
456
|
+
export function isDeriveKeyConnectorError(error) {
|
|
457
457
|
try {
|
|
458
|
-
const ret = wasm.
|
|
458
|
+
const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
|
|
459
459
|
return ret !== 0;
|
|
460
460
|
} finally {
|
|
461
461
|
heap[stack_pointer++] = undefined;
|
|
@@ -912,9 +912,9 @@ export function isRestoreCipherError(error) {
|
|
|
912
912
|
* @param {any} error
|
|
913
913
|
* @returns {boolean}
|
|
914
914
|
*/
|
|
915
|
-
export function
|
|
915
|
+
export function isDecryptFileError(error) {
|
|
916
916
|
try {
|
|
917
|
-
const ret = wasm.
|
|
917
|
+
const ret = wasm.isDecryptFileError(addBorrowedObject(error));
|
|
918
918
|
return ret !== 0;
|
|
919
919
|
} finally {
|
|
920
920
|
heap[stack_pointer++] = undefined;
|
|
@@ -925,9 +925,9 @@ export function isEncryptFileError(error) {
|
|
|
925
925
|
* @param {any} error
|
|
926
926
|
* @returns {boolean}
|
|
927
927
|
*/
|
|
928
|
-
export function
|
|
928
|
+
export function isEncryptFileError(error) {
|
|
929
929
|
try {
|
|
930
|
-
const ret = wasm.
|
|
930
|
+
const ret = wasm.isEncryptFileError(addBorrowedObject(error));
|
|
931
931
|
return ret !== 0;
|
|
932
932
|
} finally {
|
|
933
933
|
heap[stack_pointer++] = undefined;
|
|
@@ -986,10 +986,22 @@ export function isGetFolderError(error) {
|
|
|
986
986
|
}
|
|
987
987
|
}
|
|
988
988
|
|
|
989
|
-
function
|
|
989
|
+
function wasm_bindgen__convert__closures_____invoke__he2e170c549b97ed5(arg0, arg1, arg2) {
|
|
990
|
+
wasm.wasm_bindgen__convert__closures_____invoke__he2e170c549b97ed5(
|
|
991
|
+
arg0,
|
|
992
|
+
arg1,
|
|
993
|
+
addHeapObject(arg2),
|
|
994
|
+
);
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
998
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
function wasm_bindgen__convert__closures_____invoke__h6fa4a14c2e357000(arg0, arg1, arg2) {
|
|
990
1002
|
try {
|
|
991
1003
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
992
|
-
wasm.
|
|
1004
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h6fa4a14c2e357000(
|
|
993
1005
|
retptr,
|
|
994
1006
|
arg0,
|
|
995
1007
|
arg1,
|
|
@@ -1005,18 +1017,6 @@ function wasm_bindgen__convert__closures_____invoke__he146b106f849f26a(arg0, arg
|
|
|
1005
1017
|
}
|
|
1006
1018
|
}
|
|
1007
1019
|
|
|
1008
|
-
function wasm_bindgen__convert__closures_____invoke__ha40d0e6540b33984(arg0, arg1, arg2) {
|
|
1009
|
-
wasm.wasm_bindgen__convert__closures_____invoke__ha40d0e6540b33984(
|
|
1010
|
-
arg0,
|
|
1011
|
-
arg1,
|
|
1012
|
-
addHeapObject(arg2),
|
|
1013
|
-
);
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
1017
|
-
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
1020
|
function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
|
|
1021
1021
|
wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(
|
|
1022
1022
|
arg0,
|
|
@@ -4480,6 +4480,37 @@ export class RegistrationClient {
|
|
|
4480
4480
|
);
|
|
4481
4481
|
return takeObject(ret);
|
|
4482
4482
|
}
|
|
4483
|
+
/**
|
|
4484
|
+
* Initializes a new cryptographic state for a user and posts it to the server; enrolls the
|
|
4485
|
+
* user to key connector unlock.
|
|
4486
|
+
* @param {string} key_connector_url
|
|
4487
|
+
* @param {string} sso_org_identifier
|
|
4488
|
+
* @param {UserId} user_id
|
|
4489
|
+
* @returns {Promise<KeyConnectorRegistrationResult>}
|
|
4490
|
+
*/
|
|
4491
|
+
post_keys_for_key_connector_registration(key_connector_url, sso_org_identifier, user_id) {
|
|
4492
|
+
const ptr0 = passStringToWasm0(
|
|
4493
|
+
key_connector_url,
|
|
4494
|
+
wasm.__wbindgen_malloc,
|
|
4495
|
+
wasm.__wbindgen_realloc,
|
|
4496
|
+
);
|
|
4497
|
+
const len0 = WASM_VECTOR_LEN;
|
|
4498
|
+
const ptr1 = passStringToWasm0(
|
|
4499
|
+
sso_org_identifier,
|
|
4500
|
+
wasm.__wbindgen_malloc,
|
|
4501
|
+
wasm.__wbindgen_realloc,
|
|
4502
|
+
);
|
|
4503
|
+
const len1 = WASM_VECTOR_LEN;
|
|
4504
|
+
const ret = wasm.registrationclient_post_keys_for_key_connector_registration(
|
|
4505
|
+
this.__wbg_ptr,
|
|
4506
|
+
ptr0,
|
|
4507
|
+
len0,
|
|
4508
|
+
ptr1,
|
|
4509
|
+
len1,
|
|
4510
|
+
addHeapObject(user_id),
|
|
4511
|
+
);
|
|
4512
|
+
return takeObject(ret);
|
|
4513
|
+
}
|
|
4483
4514
|
}
|
|
4484
4515
|
if (Symbol.dispose)
|
|
4485
4516
|
RegistrationClient.prototype[Symbol.dispose] = RegistrationClient.prototype.free;
|
|
@@ -4898,7 +4929,7 @@ export function __wbg_call_e762c39fa8ea36bf() {
|
|
|
4898
4929
|
}, arguments);
|
|
4899
4930
|
}
|
|
4900
4931
|
|
|
4901
|
-
export function
|
|
4932
|
+
export function __wbg_cipher_49b644932c6062aa(arg0) {
|
|
4902
4933
|
const ret = getObject(arg0).cipher;
|
|
4903
4934
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4904
4935
|
}
|
|
@@ -4991,7 +5022,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
4991
5022
|
return addHeapObject(ret);
|
|
4992
5023
|
}
|
|
4993
5024
|
|
|
4994
|
-
export function
|
|
5025
|
+
export function __wbg_folder_99ab40e1ac06b0ae(arg0) {
|
|
4995
5026
|
const ret = getObject(arg0).folder;
|
|
4996
5027
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4997
5028
|
}
|
|
@@ -5024,7 +5055,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
5024
5055
|
return ret;
|
|
5025
5056
|
}
|
|
5026
5057
|
|
|
5027
|
-
export function
|
|
5058
|
+
export function __wbg_get_622a532ce4f4f602() {
|
|
5028
5059
|
return handleError(function (arg0, arg1, arg2) {
|
|
5029
5060
|
let deferred0_0;
|
|
5030
5061
|
let deferred0_1;
|
|
@@ -5039,7 +5070,17 @@ export function __wbg_get_2986ad9f0f45d249() {
|
|
|
5039
5070
|
}, arguments);
|
|
5040
5071
|
}
|
|
5041
5072
|
|
|
5042
|
-
export function
|
|
5073
|
+
export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
5074
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
5075
|
+
return addHeapObject(ret);
|
|
5076
|
+
}
|
|
5077
|
+
|
|
5078
|
+
export function __wbg_get_access_token_1bb7cb35ffeaf4b3(arg0) {
|
|
5079
|
+
const ret = getObject(arg0).get_access_token();
|
|
5080
|
+
return addHeapObject(ret);
|
|
5081
|
+
}
|
|
5082
|
+
|
|
5083
|
+
export function __wbg_get_e62e426bfe0b1bfe() {
|
|
5043
5084
|
return handleError(function (arg0, arg1, arg2) {
|
|
5044
5085
|
let deferred0_0;
|
|
5045
5086
|
let deferred0_1;
|
|
@@ -5054,16 +5095,6 @@ export function __wbg_get_3530ac255f00b422() {
|
|
|
5054
5095
|
}, arguments);
|
|
5055
5096
|
}
|
|
5056
5097
|
|
|
5057
|
-
export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
5058
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
5059
|
-
return addHeapObject(ret);
|
|
5060
|
-
}
|
|
5061
|
-
|
|
5062
|
-
export function __wbg_get_access_token_f92acd5e32e8d8ad(arg0) {
|
|
5063
|
-
const ret = getObject(arg0).get_access_token();
|
|
5064
|
-
return addHeapObject(ret);
|
|
5065
|
-
}
|
|
5066
|
-
|
|
5067
5098
|
export function __wbg_get_efcb449f58ec27c2() {
|
|
5068
5099
|
return handleError(function (arg0, arg1) {
|
|
5069
5100
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
@@ -5255,14 +5286,14 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
5255
5286
|
return ret;
|
|
5256
5287
|
}
|
|
5257
5288
|
|
|
5258
|
-
export function
|
|
5289
|
+
export function __wbg_list_4cce361ccdd59dbd() {
|
|
5259
5290
|
return handleError(function (arg0) {
|
|
5260
5291
|
const ret = getObject(arg0).list();
|
|
5261
5292
|
return addHeapObject(ret);
|
|
5262
5293
|
}, arguments);
|
|
5263
5294
|
}
|
|
5264
5295
|
|
|
5265
|
-
export function
|
|
5296
|
+
export function __wbg_list_5b272242a43f33b3() {
|
|
5266
5297
|
return handleError(function (arg0) {
|
|
5267
5298
|
const ret = getObject(arg0).list();
|
|
5268
5299
|
return addHeapObject(ret);
|
|
@@ -5506,7 +5537,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
|
|
|
5506
5537
|
}, arguments);
|
|
5507
5538
|
}
|
|
5508
5539
|
|
|
5509
|
-
export function
|
|
5540
|
+
export function __wbg_remove_305804be05991243() {
|
|
5510
5541
|
return handleError(function (arg0, arg1, arg2) {
|
|
5511
5542
|
let deferred0_0;
|
|
5512
5543
|
let deferred0_1;
|
|
@@ -5521,7 +5552,7 @@ export function __wbg_remove_2a5dbaf0c8cdf929() {
|
|
|
5521
5552
|
}, arguments);
|
|
5522
5553
|
}
|
|
5523
5554
|
|
|
5524
|
-
export function
|
|
5555
|
+
export function __wbg_remove_682c7a7874d6c8d2() {
|
|
5525
5556
|
return handleError(function (arg0, arg1, arg2) {
|
|
5526
5557
|
let deferred0_0;
|
|
5527
5558
|
let deferred0_1;
|
|
@@ -5571,7 +5602,22 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
|
5571
5602
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5572
5603
|
}
|
|
5573
5604
|
|
|
5574
|
-
export function
|
|
5605
|
+
export function __wbg_set_5886f1f4d2c9db0e() {
|
|
5606
|
+
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5607
|
+
let deferred0_0;
|
|
5608
|
+
let deferred0_1;
|
|
5609
|
+
try {
|
|
5610
|
+
deferred0_0 = arg1;
|
|
5611
|
+
deferred0_1 = arg2;
|
|
5612
|
+
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5613
|
+
return addHeapObject(ret);
|
|
5614
|
+
} finally {
|
|
5615
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5616
|
+
}
|
|
5617
|
+
}, arguments);
|
|
5618
|
+
}
|
|
5619
|
+
|
|
5620
|
+
export function __wbg_set_6fd579c79c799c7b() {
|
|
5575
5621
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5576
5622
|
let deferred0_0;
|
|
5577
5623
|
let deferred0_1;
|
|
@@ -5610,21 +5656,6 @@ export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
|
|
|
5610
5656
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5611
5657
|
}
|
|
5612
5658
|
|
|
5613
|
-
export function __wbg_set_d9e5ca08ad8e99a5() {
|
|
5614
|
-
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5615
|
-
let deferred0_0;
|
|
5616
|
-
let deferred0_1;
|
|
5617
|
-
try {
|
|
5618
|
-
deferred0_0 = arg1;
|
|
5619
|
-
deferred0_1 = arg2;
|
|
5620
|
-
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5621
|
-
return addHeapObject(ret);
|
|
5622
|
-
} finally {
|
|
5623
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5624
|
-
}
|
|
5625
|
-
}, arguments);
|
|
5626
|
-
}
|
|
5627
|
-
|
|
5628
5659
|
export function __wbg_set_headers_6926da238cd32ee4(arg0, arg1) {
|
|
5629
5660
|
getObject(arg0).headers = getObject(arg1);
|
|
5630
5661
|
}
|
|
@@ -5789,36 +5820,36 @@ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
|
|
|
5789
5820
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5790
5821
|
}
|
|
5791
5822
|
|
|
5792
|
-
export function
|
|
5793
|
-
// Cast intrinsic for `
|
|
5823
|
+
export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
|
|
5824
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5825
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
5826
|
+
return addHeapObject(ret);
|
|
5827
|
+
}
|
|
5828
|
+
|
|
5829
|
+
export function __wbindgen_cast_3a10e1a5d733093a(arg0, arg1) {
|
|
5830
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 324, function: Function { arguments: [Externref], shim_idx: 46, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5794
5831
|
const ret = makeMutClosure(
|
|
5795
5832
|
arg0,
|
|
5796
5833
|
arg1,
|
|
5797
|
-
wasm.
|
|
5798
|
-
|
|
5834
|
+
wasm.wasm_bindgen__closure__destroy__hc71695a401114797,
|
|
5835
|
+
wasm_bindgen__convert__closures_____invoke__he2e170c549b97ed5,
|
|
5799
5836
|
);
|
|
5800
5837
|
return addHeapObject(ret);
|
|
5801
5838
|
}
|
|
5802
5839
|
|
|
5803
|
-
export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
|
|
5804
|
-
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5805
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
5806
|
-
return addHeapObject(ret);
|
|
5807
|
-
}
|
|
5808
|
-
|
|
5809
5840
|
export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
|
|
5810
5841
|
// Cast intrinsic for `U64 -> Externref`.
|
|
5811
5842
|
const ret = BigInt.asUintN(64, arg0);
|
|
5812
5843
|
return addHeapObject(ret);
|
|
5813
5844
|
}
|
|
5814
5845
|
|
|
5815
|
-
export function
|
|
5816
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5846
|
+
export function __wbindgen_cast_4d264fdb14fbe142(arg0, arg1) {
|
|
5847
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 324, function: Function { arguments: [], shim_idx: 325, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5817
5848
|
const ret = makeMutClosure(
|
|
5818
5849
|
arg0,
|
|
5819
5850
|
arg1,
|
|
5820
|
-
wasm.
|
|
5821
|
-
|
|
5851
|
+
wasm.wasm_bindgen__closure__destroy__hc71695a401114797,
|
|
5852
|
+
wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d,
|
|
5822
5853
|
);
|
|
5823
5854
|
return addHeapObject(ret);
|
|
5824
5855
|
}
|
|
@@ -5839,30 +5870,19 @@ export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
|
|
|
5839
5870
|
return addHeapObject(ret);
|
|
5840
5871
|
}
|
|
5841
5872
|
|
|
5842
|
-
export function __wbindgen_cast_999c2e74f2a852c3(arg0, arg1) {
|
|
5843
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 562, function: Function { arguments: [], shim_idx: 314, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5844
|
-
const ret = makeMutClosure(
|
|
5845
|
-
arg0,
|
|
5846
|
-
arg1,
|
|
5847
|
-
wasm.wasm_bindgen__closure__destroy__h666c8569a46b7e11,
|
|
5848
|
-
wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d,
|
|
5849
|
-
);
|
|
5850
|
-
return addHeapObject(ret);
|
|
5851
|
-
}
|
|
5852
|
-
|
|
5853
5873
|
export function __wbindgen_cast_9ae0607507abb057(arg0) {
|
|
5854
5874
|
// Cast intrinsic for `I64 -> Externref`.
|
|
5855
5875
|
const ret = arg0;
|
|
5856
5876
|
return addHeapObject(ret);
|
|
5857
5877
|
}
|
|
5858
5878
|
|
|
5859
|
-
export function
|
|
5860
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5879
|
+
export function __wbindgen_cast_bf18027ee84acd62(arg0, arg1) {
|
|
5880
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 573, function: Function { arguments: [], shim_idx: 325, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5861
5881
|
const ret = makeMutClosure(
|
|
5862
5882
|
arg0,
|
|
5863
5883
|
arg1,
|
|
5864
|
-
wasm.
|
|
5865
|
-
|
|
5884
|
+
wasm.wasm_bindgen__closure__destroy__h666c8569a46b7e11,
|
|
5885
|
+
wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d,
|
|
5866
5886
|
);
|
|
5867
5887
|
return addHeapObject(ret);
|
|
5868
5888
|
}
|
|
@@ -5873,19 +5893,30 @@ export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
|
|
|
5873
5893
|
return addHeapObject(ret);
|
|
5874
5894
|
}
|
|
5875
5895
|
|
|
5896
|
+
export function __wbindgen_cast_d3c442d81884e8e4(arg0, arg1) {
|
|
5897
|
+
// 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`.
|
|
5898
|
+
const ret = makeMutClosure(
|
|
5899
|
+
arg0,
|
|
5900
|
+
arg1,
|
|
5901
|
+
wasm.wasm_bindgen__closure__destroy__h7a79e3df9e7c7848,
|
|
5902
|
+
wasm_bindgen__convert__closures_____invoke__h6fa4a14c2e357000,
|
|
5903
|
+
);
|
|
5904
|
+
return addHeapObject(ret);
|
|
5905
|
+
}
|
|
5906
|
+
|
|
5876
5907
|
export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
|
|
5877
5908
|
// Cast intrinsic for `F64 -> Externref`.
|
|
5878
5909
|
const ret = arg0;
|
|
5879
5910
|
return addHeapObject(ret);
|
|
5880
5911
|
}
|
|
5881
5912
|
|
|
5882
|
-
export function
|
|
5883
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5913
|
+
export function __wbindgen_cast_d9da8617cf4d65f6(arg0, arg1) {
|
|
5914
|
+
// 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`.
|
|
5884
5915
|
const ret = makeMutClosure(
|
|
5885
5916
|
arg0,
|
|
5886
5917
|
arg1,
|
|
5887
|
-
wasm.
|
|
5888
|
-
|
|
5918
|
+
wasm.wasm_bindgen__closure__destroy__h7a79e3df9e7c7848,
|
|
5919
|
+
wasm_bindgen__convert__closures_____invoke__he2e170c549b97ed5,
|
|
5889
5920
|
);
|
|
5890
5921
|
return addHeapObject(ret);
|
|
5891
5922
|
}
|
|
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;
|
|
@@ -480,23 +488,23 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
|
480
488
|
export const vaultclient_attachments: (a: number) => number;
|
|
481
489
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
482
490
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
483
|
-
export const
|
|
491
|
+
export const wasm_bindgen__convert__closures_____invoke__he2e170c549b97ed5: (
|
|
484
492
|
a: number,
|
|
485
493
|
b: number,
|
|
486
494
|
c: number,
|
|
487
|
-
d: number,
|
|
488
495
|
) => void;
|
|
489
|
-
export const
|
|
490
|
-
export const
|
|
496
|
+
export const wasm_bindgen__closure__destroy__h7a79e3df9e7c7848: (a: number, b: number) => void;
|
|
497
|
+
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
491
498
|
a: number,
|
|
492
499
|
b: number,
|
|
493
|
-
c: number,
|
|
494
500
|
) => void;
|
|
495
|
-
export const
|
|
501
|
+
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
502
|
+
export const wasm_bindgen__convert__closures_____invoke__h6fa4a14c2e357000: (
|
|
496
503
|
a: number,
|
|
497
504
|
b: number,
|
|
505
|
+
c: number,
|
|
506
|
+
d: number,
|
|
498
507
|
) => void;
|
|
499
|
-
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
500
508
|
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
501
509
|
export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
|
|
502
510
|
a: number,
|