@bitwarden/sdk-internal 0.2.0-main.469 → 0.2.0-main.470
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 +13 -0
- package/bitwarden_wasm_internal_bg.js +27 -27
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +4 -4
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +13 -0
- package/node/bitwarden_wasm_internal.js +31 -31
- 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
|
/**
|
|
@@ -980,6 +980,10 @@ function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg
|
|
|
980
980
|
wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
|
|
981
981
|
}
|
|
982
982
|
|
|
983
|
+
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
984
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
985
|
+
}
|
|
986
|
+
|
|
983
987
|
function wasm_bindgen__convert__closures_____invoke__h693de69d229f304a(arg0, arg1, arg2) {
|
|
984
988
|
try {
|
|
985
989
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -994,10 +998,6 @@ function wasm_bindgen__convert__closures_____invoke__h693de69d229f304a(arg0, arg
|
|
|
994
998
|
}
|
|
995
999
|
}
|
|
996
1000
|
|
|
997
|
-
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
998
|
-
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
1001
|
function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
|
|
1002
1002
|
wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1003
1003
|
}
|
|
@@ -4752,7 +4752,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (
|
|
|
4752
4752
|
return addHeapObject(ret);
|
|
4753
4753
|
}, arguments) };
|
|
4754
4754
|
|
|
4755
|
-
exports.
|
|
4755
|
+
exports.__wbg_cipher_7c9dba354af24b21 = function(arg0) {
|
|
4756
4756
|
const ret = getObject(arg0).cipher;
|
|
4757
4757
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4758
4758
|
};
|
|
@@ -4844,7 +4844,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
|
|
|
4844
4844
|
return addHeapObject(ret);
|
|
4845
4845
|
};
|
|
4846
4846
|
|
|
4847
|
-
exports.
|
|
4847
|
+
exports.__wbg_folder_5eadc2af12436576 = function(arg0) {
|
|
4848
4848
|
const ret = getObject(arg0).folder;
|
|
4849
4849
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4850
4850
|
};
|
|
@@ -4876,7 +4876,12 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
|
|
|
4876
4876
|
return ret;
|
|
4877
4877
|
};
|
|
4878
4878
|
|
|
4879
|
-
exports.
|
|
4879
|
+
exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
|
|
4880
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4881
|
+
return addHeapObject(ret);
|
|
4882
|
+
};
|
|
4883
|
+
|
|
4884
|
+
exports.__wbg_get_8aa8083d78eae2e2 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
4880
4885
|
let deferred0_0;
|
|
4881
4886
|
let deferred0_1;
|
|
4882
4887
|
try {
|
|
@@ -4889,7 +4894,7 @@ exports.__wbg_get_0cc6bb3949df4ac2 = function() { return handleError(function (a
|
|
|
4889
4894
|
}
|
|
4890
4895
|
}, arguments) };
|
|
4891
4896
|
|
|
4892
|
-
exports.
|
|
4897
|
+
exports.__wbg_get_9579fa223e0b4e56 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
4893
4898
|
let deferred0_0;
|
|
4894
4899
|
let deferred0_1;
|
|
4895
4900
|
try {
|
|
@@ -4902,12 +4907,7 @@ exports.__wbg_get_79c4822ce7ab6745 = function() { return handleError(function (a
|
|
|
4902
4907
|
}
|
|
4903
4908
|
}, arguments) };
|
|
4904
4909
|
|
|
4905
|
-
exports.
|
|
4906
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4907
|
-
return addHeapObject(ret);
|
|
4908
|
-
};
|
|
4909
|
-
|
|
4910
|
-
exports.__wbg_get_access_token_2d94948131a21b38 = function(arg0) {
|
|
4910
|
+
exports.__wbg_get_access_token_efdb6dd67bd6722e = function(arg0) {
|
|
4911
4911
|
const ret = getObject(arg0).get_access_token();
|
|
4912
4912
|
return addHeapObject(ret);
|
|
4913
4913
|
};
|
|
@@ -5100,12 +5100,12 @@ exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
|
|
|
5100
5100
|
return ret;
|
|
5101
5101
|
};
|
|
5102
5102
|
|
|
5103
|
-
exports.
|
|
5103
|
+
exports.__wbg_list_da9e5db18da83cf5 = function() { return handleError(function (arg0) {
|
|
5104
5104
|
const ret = getObject(arg0).list();
|
|
5105
5105
|
return addHeapObject(ret);
|
|
5106
5106
|
}, arguments) };
|
|
5107
5107
|
|
|
5108
|
-
exports.
|
|
5108
|
+
exports.__wbg_list_ef03d4269e4d3c46 = function() { return handleError(function (arg0) {
|
|
5109
5109
|
const ret = getObject(arg0).list();
|
|
5110
5110
|
return addHeapObject(ret);
|
|
5111
5111
|
}, arguments) };
|
|
@@ -5327,7 +5327,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(
|
|
|
5327
5327
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
5328
5328
|
}, arguments) };
|
|
5329
5329
|
|
|
5330
|
-
exports.
|
|
5330
|
+
exports.__wbg_remove_7fae5280a1885ff6 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
5331
5331
|
let deferred0_0;
|
|
5332
5332
|
let deferred0_1;
|
|
5333
5333
|
try {
|
|
@@ -5340,7 +5340,7 @@ exports.__wbg_remove_50fe1edb8d8c56fb = function() { return handleError(function
|
|
|
5340
5340
|
}
|
|
5341
5341
|
}, arguments) };
|
|
5342
5342
|
|
|
5343
|
-
exports.
|
|
5343
|
+
exports.__wbg_remove_b043f8c01fa04007 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
5344
5344
|
let deferred0_0;
|
|
5345
5345
|
let deferred0_1;
|
|
5346
5346
|
try {
|
|
@@ -5378,7 +5378,16 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function(arg0, arg1) {
|
|
|
5378
5378
|
return addHeapObject(ret);
|
|
5379
5379
|
};
|
|
5380
5380
|
|
|
5381
|
-
exports.
|
|
5381
|
+
exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
5382
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5383
|
+
};
|
|
5384
|
+
|
|
5385
|
+
exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
|
|
5386
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5387
|
+
return addHeapObject(ret);
|
|
5388
|
+
};
|
|
5389
|
+
|
|
5390
|
+
exports.__wbg_set_95a23f8810c8799a = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5382
5391
|
let deferred0_0;
|
|
5383
5392
|
let deferred0_1;
|
|
5384
5393
|
try {
|
|
@@ -5391,11 +5400,11 @@ exports.__wbg_set_0fbe9e381bec3aaa = function() { return handleError(function (a
|
|
|
5391
5400
|
}
|
|
5392
5401
|
}, arguments) };
|
|
5393
5402
|
|
|
5394
|
-
exports.
|
|
5395
|
-
getObject(arg0)
|
|
5403
|
+
exports.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
|
|
5404
|
+
getObject(arg0).body = getObject(arg1);
|
|
5396
5405
|
};
|
|
5397
5406
|
|
|
5398
|
-
exports.
|
|
5407
|
+
exports.__wbg_set_c17c1b55c187229b = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5399
5408
|
let deferred0_0;
|
|
5400
5409
|
let deferred0_1;
|
|
5401
5410
|
try {
|
|
@@ -5408,15 +5417,6 @@ exports.__wbg_set_7a95f793cbf6b234 = function() { return handleError(function (a
|
|
|
5408
5417
|
}
|
|
5409
5418
|
}, arguments) };
|
|
5410
5419
|
|
|
5411
|
-
exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
|
|
5412
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5413
|
-
return addHeapObject(ret);
|
|
5414
|
-
};
|
|
5415
|
-
|
|
5416
|
-
exports.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
|
|
5417
|
-
getObject(arg0).body = getObject(arg1);
|
|
5418
|
-
};
|
|
5419
|
-
|
|
5420
5420
|
exports.__wbg_set_c213c871859d6500 = function(arg0, arg1, arg2) {
|
|
5421
5421
|
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
5422
5422
|
};
|
|
Binary file
|
|
@@ -514,6 +514,12 @@ export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
|
|
|
514
514
|
b: number,
|
|
515
515
|
c: number,
|
|
516
516
|
) => void;
|
|
517
|
+
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
518
|
+
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
519
|
+
a: number,
|
|
520
|
+
b: number,
|
|
521
|
+
) => void;
|
|
522
|
+
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
517
523
|
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
518
524
|
export const wasm_bindgen__convert__closures_____invoke__h693de69d229f304a: (
|
|
519
525
|
a: number,
|
|
@@ -522,12 +528,6 @@ export const wasm_bindgen__convert__closures_____invoke__h693de69d229f304a: (
|
|
|
522
528
|
d: number,
|
|
523
529
|
) => void;
|
|
524
530
|
export const wasm_bindgen__closure__destroy__h0d4ec2bbb1b6536b: (a: number, b: number) => void;
|
|
525
|
-
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
526
|
-
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
527
|
-
a: number,
|
|
528
|
-
b: number,
|
|
529
|
-
) => void;
|
|
530
|
-
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
531
531
|
export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
|
|
532
532
|
a: number,
|
|
533
533
|
b: number,
|