@bitwarden/sdk-internal 0.2.0-main.224 → 0.2.0-main.226
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 +2 -2
- package/bitwarden_wasm_internal_bg.js +13 -13
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +2 -2
- package/node/bitwarden_wasm_internal.js +13 -13
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/package.json +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
52116674dae8f72b3bcf688058db0c6cd012e4ac
|
|
@@ -1244,7 +1244,7 @@ export interface Repository<T> {
|
|
|
1244
1244
|
}
|
|
1245
1245
|
|
|
1246
1246
|
export interface TokenProvider {
|
|
1247
|
-
get_access_token(): Promise<string>;
|
|
1247
|
+
get_access_token(): Promise<string | undefined>;
|
|
1248
1248
|
}
|
|
1249
1249
|
|
|
1250
1250
|
export interface TestError extends Error {
|
|
@@ -1264,7 +1264,7 @@ export class AttachmentsClient {
|
|
|
1264
1264
|
}
|
|
1265
1265
|
export class BitwardenClient {
|
|
1266
1266
|
free(): void;
|
|
1267
|
-
constructor(
|
|
1267
|
+
constructor(token_provider: any, settings?: ClientSettings | null);
|
|
1268
1268
|
/**
|
|
1269
1269
|
* Test method, echoes back the input
|
|
1270
1270
|
*/
|
|
@@ -990,13 +990,13 @@ export class BitwardenClient {
|
|
|
990
990
|
wasm.__wbg_bitwardenclient_free(ptr, 0);
|
|
991
991
|
}
|
|
992
992
|
/**
|
|
993
|
-
* @param {ClientSettings | null | undefined} settings
|
|
994
993
|
* @param {any} token_provider
|
|
994
|
+
* @param {ClientSettings | null} [settings]
|
|
995
995
|
*/
|
|
996
|
-
constructor(
|
|
996
|
+
constructor(token_provider, settings) {
|
|
997
997
|
const ret = wasm.bitwardenclient_new(
|
|
998
|
-
isLikeNone(settings) ? 0 : addHeapObject(settings),
|
|
999
998
|
addHeapObject(token_provider),
|
|
999
|
+
isLikeNone(settings) ? 0 : addHeapObject(settings),
|
|
1000
1000
|
);
|
|
1001
1001
|
this.__wbg_ptr = ret >>> 0;
|
|
1002
1002
|
BitwardenClientFinalization.register(this, this.__wbg_ptr, this);
|
|
@@ -3383,7 +3383,12 @@ export function __wbg_get_67b2ba62fc30de12() {
|
|
|
3383
3383
|
}, arguments);
|
|
3384
3384
|
}
|
|
3385
3385
|
|
|
3386
|
-
export function
|
|
3386
|
+
export function __wbg_get_b9b93047fe3cf45b(arg0, arg1) {
|
|
3387
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
3388
|
+
return addHeapObject(ret);
|
|
3389
|
+
}
|
|
3390
|
+
|
|
3391
|
+
export function __wbg_get_d8ed5b5d3b3615a2() {
|
|
3387
3392
|
return handleError(function (arg0, arg1, arg2) {
|
|
3388
3393
|
let deferred0_0;
|
|
3389
3394
|
let deferred0_1;
|
|
@@ -3398,12 +3403,7 @@ export function __wbg_get_890e4177717f9ef6() {
|
|
|
3398
3403
|
}, arguments);
|
|
3399
3404
|
}
|
|
3400
3405
|
|
|
3401
|
-
export function
|
|
3402
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
3403
|
-
return addHeapObject(ret);
|
|
3404
|
-
}
|
|
3405
|
-
|
|
3406
|
-
export function __wbg_getaccesstoken_0e9ad4049aeafc04(arg0) {
|
|
3406
|
+
export function __wbg_getaccesstoken_7760db37646be844(arg0) {
|
|
3407
3407
|
const ret = getObject(arg0).get_access_token();
|
|
3408
3408
|
return addHeapObject(ret);
|
|
3409
3409
|
}
|
|
@@ -3508,7 +3508,7 @@ export function __wbg_length_e2d2a49132c1b256(arg0) {
|
|
|
3508
3508
|
return ret;
|
|
3509
3509
|
}
|
|
3510
3510
|
|
|
3511
|
-
export function
|
|
3511
|
+
export function __wbg_list_851392eddef0ac3b() {
|
|
3512
3512
|
return handleError(function (arg0) {
|
|
3513
3513
|
const ret = getObject(arg0).list();
|
|
3514
3514
|
return addHeapObject(ret);
|
|
@@ -3685,7 +3685,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
|
|
|
3685
3685
|
}, arguments);
|
|
3686
3686
|
}
|
|
3687
3687
|
|
|
3688
|
-
export function
|
|
3688
|
+
export function __wbg_remove_9fd882e31e2b7ebc() {
|
|
3689
3689
|
return handleError(function (arg0, arg1, arg2) {
|
|
3690
3690
|
let deferred0_0;
|
|
3691
3691
|
let deferred0_1;
|
|
@@ -3736,7 +3736,7 @@ export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
|
|
|
3736
3736
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
3737
3737
|
}
|
|
3738
3738
|
|
|
3739
|
-
export function
|
|
3739
|
+
export function __wbg_set_6b2801b1c2b2fcf3() {
|
|
3740
3740
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3741
3741
|
let deferred0_0;
|
|
3742
3742
|
let deferred0_1;
|
|
Binary file
|