@bitwarden/commercial-sdk-internal 0.2.0-main.469 → 0.2.0-main.471
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 +14 -1
- package/bitwarden_wasm_internal_bg.js +44 -44
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +6 -6
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +14 -1
- package/node/bitwarden_wasm_internal.js +44 -44
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +6 -6
- package/package.json +1 -1
|
@@ -379,6 +379,15 @@ export interface JitMasterPasswordRegistrationResponse {
|
|
|
379
379
|
* Request parameters for SSO JIT master password registration.
|
|
380
380
|
*/
|
|
381
381
|
export interface JitMasterPasswordRegistrationRequest {
|
|
382
|
+
/**
|
|
383
|
+
* Organization ID to enroll in
|
|
384
|
+
*/
|
|
385
|
+
org_id: OrganizationId;
|
|
386
|
+
/**
|
|
387
|
+
* Organization\'s public key for encrypting the reset password key. This should be verified by
|
|
388
|
+
* the client and not verifying may compromise the security of the user\'s account.
|
|
389
|
+
*/
|
|
390
|
+
org_public_key: B64;
|
|
382
391
|
/**
|
|
383
392
|
* Organization SSO identifier
|
|
384
393
|
*/
|
|
@@ -399,6 +408,10 @@ export interface JitMasterPasswordRegistrationRequest {
|
|
|
399
408
|
* Optional hint for the master password
|
|
400
409
|
*/
|
|
401
410
|
master_password_hint: string | undefined;
|
|
411
|
+
/**
|
|
412
|
+
* Should enroll user into admin password reset
|
|
413
|
+
*/
|
|
414
|
+
reset_password_enroll: boolean;
|
|
402
415
|
}
|
|
403
416
|
|
|
404
417
|
/**
|
|
@@ -998,8 +1011,8 @@ export type PasswordProtectedKeyEnvelope = Tagged<string, "PasswordProtectedKeyE
|
|
|
998
1011
|
export interface CryptoError extends Error {
|
|
999
1012
|
name: "CryptoError";
|
|
1000
1013
|
variant:
|
|
1014
|
+
| "Decrypt"
|
|
1001
1015
|
| "InvalidKey"
|
|
1002
|
-
| "InvalidMac"
|
|
1003
1016
|
| "KeyDecrypt"
|
|
1004
1017
|
| "InvalidKeyLen"
|
|
1005
1018
|
| "InvalidUtf8String"
|
|
@@ -986,10 +986,6 @@ export function isGetFolderError(error) {
|
|
|
986
986
|
}
|
|
987
987
|
}
|
|
988
988
|
|
|
989
|
-
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
990
|
-
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
991
|
-
}
|
|
992
|
-
|
|
993
989
|
function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
|
|
994
990
|
wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
|
|
995
991
|
}
|
|
@@ -1008,6 +1004,10 @@ function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg
|
|
|
1008
1004
|
}
|
|
1009
1005
|
}
|
|
1010
1006
|
|
|
1007
|
+
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
1008
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
1011
|
function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
|
|
1012
1012
|
wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1013
1013
|
}
|
|
@@ -4784,7 +4784,7 @@ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg
|
|
|
4784
4784
|
return addHeapObject(ret);
|
|
4785
4785
|
}, arguments) };
|
|
4786
4786
|
|
|
4787
|
-
export function
|
|
4787
|
+
export function __wbg_cipher_5c9e39c1432064f7(arg0) {
|
|
4788
4788
|
const ret = getObject(arg0).cipher;
|
|
4789
4789
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4790
4790
|
};
|
|
@@ -4876,7 +4876,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
4876
4876
|
return addHeapObject(ret);
|
|
4877
4877
|
};
|
|
4878
4878
|
|
|
4879
|
-
export function
|
|
4879
|
+
export function __wbg_folder_4ebc645236a1002f(arg0) {
|
|
4880
4880
|
const ret = getObject(arg0).folder;
|
|
4881
4881
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4882
4882
|
};
|
|
@@ -4908,7 +4908,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
4908
4908
|
return ret;
|
|
4909
4909
|
};
|
|
4910
4910
|
|
|
4911
|
-
export function
|
|
4911
|
+
export function __wbg_get_350e2792874c2b01() { return handleError(function (arg0, arg1, arg2) {
|
|
4912
4912
|
let deferred0_0;
|
|
4913
4913
|
let deferred0_1;
|
|
4914
4914
|
try {
|
|
@@ -4921,7 +4921,12 @@ export function __wbg_get_0cc6bb3949df4ac2() { return handleError(function (arg0
|
|
|
4921
4921
|
}
|
|
4922
4922
|
}, arguments) };
|
|
4923
4923
|
|
|
4924
|
-
export function
|
|
4924
|
+
export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
4925
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4926
|
+
return addHeapObject(ret);
|
|
4927
|
+
};
|
|
4928
|
+
|
|
4929
|
+
export function __wbg_get_8dd113a93566cae8() { return handleError(function (arg0, arg1, arg2) {
|
|
4925
4930
|
let deferred0_0;
|
|
4926
4931
|
let deferred0_1;
|
|
4927
4932
|
try {
|
|
@@ -4934,12 +4939,7 @@ export function __wbg_get_79c4822ce7ab6745() { return handleError(function (arg0
|
|
|
4934
4939
|
}
|
|
4935
4940
|
}, arguments) };
|
|
4936
4941
|
|
|
4937
|
-
export function
|
|
4938
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4939
|
-
return addHeapObject(ret);
|
|
4940
|
-
};
|
|
4941
|
-
|
|
4942
|
-
export function __wbg_get_access_token_2d94948131a21b38(arg0) {
|
|
4942
|
+
export function __wbg_get_access_token_d0f2776f07a9d525(arg0) {
|
|
4943
4943
|
const ret = getObject(arg0).get_access_token();
|
|
4944
4944
|
return addHeapObject(ret);
|
|
4945
4945
|
};
|
|
@@ -5132,12 +5132,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
5132
5132
|
return ret;
|
|
5133
5133
|
};
|
|
5134
5134
|
|
|
5135
|
-
export function
|
|
5135
|
+
export function __wbg_list_50efee149f7de26c() { return handleError(function (arg0) {
|
|
5136
5136
|
const ret = getObject(arg0).list();
|
|
5137
5137
|
return addHeapObject(ret);
|
|
5138
5138
|
}, arguments) };
|
|
5139
5139
|
|
|
5140
|
-
export function
|
|
5140
|
+
export function __wbg_list_61ba38bb7fe60a1a() { return handleError(function (arg0) {
|
|
5141
5141
|
const ret = getObject(arg0).list();
|
|
5142
5142
|
return addHeapObject(ret);
|
|
5143
5143
|
}, arguments) };
|
|
@@ -5359,7 +5359,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(fun
|
|
|
5359
5359
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
5360
5360
|
}, arguments) };
|
|
5361
5361
|
|
|
5362
|
-
export function
|
|
5362
|
+
export function __wbg_remove_82c3dba8a1612f3c() { return handleError(function (arg0, arg1, arg2) {
|
|
5363
5363
|
let deferred0_0;
|
|
5364
5364
|
let deferred0_1;
|
|
5365
5365
|
try {
|
|
@@ -5372,7 +5372,7 @@ export function __wbg_remove_50fe1edb8d8c56fb() { return handleError(function (a
|
|
|
5372
5372
|
}
|
|
5373
5373
|
}, arguments) };
|
|
5374
5374
|
|
|
5375
|
-
export function
|
|
5375
|
+
export function __wbg_remove_927c17e7c01dbb2f() { return handleError(function (arg0, arg1, arg2) {
|
|
5376
5376
|
let deferred0_0;
|
|
5377
5377
|
let deferred0_1;
|
|
5378
5378
|
try {
|
|
@@ -5410,36 +5410,10 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
|
|
|
5410
5410
|
return addHeapObject(ret);
|
|
5411
5411
|
};
|
|
5412
5412
|
|
|
5413
|
-
export function __wbg_set_0fbe9e381bec3aaa() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5414
|
-
let deferred0_0;
|
|
5415
|
-
let deferred0_1;
|
|
5416
|
-
try {
|
|
5417
|
-
deferred0_0 = arg1;
|
|
5418
|
-
deferred0_1 = arg2;
|
|
5419
|
-
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5420
|
-
return addHeapObject(ret);
|
|
5421
|
-
} finally {
|
|
5422
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5423
|
-
}
|
|
5424
|
-
}, arguments) };
|
|
5425
|
-
|
|
5426
5413
|
export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
5427
5414
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5428
5415
|
};
|
|
5429
5416
|
|
|
5430
|
-
export function __wbg_set_7a95f793cbf6b234() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5431
|
-
let deferred0_0;
|
|
5432
|
-
let deferred0_1;
|
|
5433
|
-
try {
|
|
5434
|
-
deferred0_0 = arg1;
|
|
5435
|
-
deferred0_1 = arg2;
|
|
5436
|
-
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5437
|
-
return addHeapObject(ret);
|
|
5438
|
-
} finally {
|
|
5439
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5440
|
-
}
|
|
5441
|
-
}, arguments) };
|
|
5442
|
-
|
|
5443
5417
|
export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
|
|
5444
5418
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5445
5419
|
return addHeapObject(ret);
|
|
@@ -5458,10 +5432,36 @@ export function __wbg_set_c2abbebe8b9ebee1() { return handleError(function (arg0
|
|
|
5458
5432
|
return ret;
|
|
5459
5433
|
}, arguments) };
|
|
5460
5434
|
|
|
5435
|
+
export function __wbg_set_cebdb9f8a1e66108() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5436
|
+
let deferred0_0;
|
|
5437
|
+
let deferred0_1;
|
|
5438
|
+
try {
|
|
5439
|
+
deferred0_0 = arg1;
|
|
5440
|
+
deferred0_1 = arg2;
|
|
5441
|
+
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5442
|
+
return addHeapObject(ret);
|
|
5443
|
+
} finally {
|
|
5444
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5445
|
+
}
|
|
5446
|
+
}, arguments) };
|
|
5447
|
+
|
|
5461
5448
|
export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
|
|
5462
5449
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5463
5450
|
};
|
|
5464
5451
|
|
|
5452
|
+
export function __wbg_set_fab346b938dc92c1() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5453
|
+
let deferred0_0;
|
|
5454
|
+
let deferred0_1;
|
|
5455
|
+
try {
|
|
5456
|
+
deferred0_0 = arg1;
|
|
5457
|
+
deferred0_1 = arg2;
|
|
5458
|
+
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5459
|
+
return addHeapObject(ret);
|
|
5460
|
+
} finally {
|
|
5461
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5462
|
+
}
|
|
5463
|
+
}, arguments) };
|
|
5464
|
+
|
|
5465
5465
|
export function __wbg_set_headers_6926da238cd32ee4(arg0, arg1) {
|
|
5466
5466
|
getObject(arg0).headers = getObject(arg1);
|
|
5467
5467
|
};
|
|
Binary file
|
|
@@ -513,18 +513,12 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
|
513
513
|
export const vaultclient_attachments: (a: number) => number;
|
|
514
514
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
515
515
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
516
|
-
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
517
|
-
a: number,
|
|
518
|
-
b: number,
|
|
519
|
-
) => void;
|
|
520
|
-
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
521
516
|
export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
|
|
522
517
|
a: number,
|
|
523
518
|
b: number,
|
|
524
519
|
c: number,
|
|
525
520
|
) => void;
|
|
526
521
|
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
527
|
-
export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
|
|
528
522
|
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
529
523
|
export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
|
|
530
524
|
a: number,
|
|
@@ -532,6 +526,12 @@ export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
|
|
|
532
526
|
c: number,
|
|
533
527
|
d: number,
|
|
534
528
|
) => void;
|
|
529
|
+
export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
|
|
530
|
+
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
531
|
+
a: number,
|
|
532
|
+
b: number,
|
|
533
|
+
) => void;
|
|
534
|
+
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
535
535
|
export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
|
|
536
536
|
a: number,
|
|
537
537
|
b: number,
|