@bitwarden/sdk-internal 0.2.0-main.320 → 0.2.0-main.322
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 +6 -2
- package/bitwarden_wasm_internal_bg.js +38 -38
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +1 -1
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +6 -2
- package/node/bitwarden_wasm_internal.js +38 -38
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +1 -1
- package/package.json +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
9574bd0025ea675ac572e65df33f82e40b6c9d92
|
|
@@ -1369,6 +1369,10 @@ export interface FolderView {
|
|
|
1369
1369
|
revisionDate: DateTime<Utc>;
|
|
1370
1370
|
}
|
|
1371
1371
|
|
|
1372
|
+
export interface AncestorMap {
|
|
1373
|
+
ancestors: Map<CollectionId, string>;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1372
1376
|
export interface DecryptError extends Error {
|
|
1373
1377
|
name: "DecryptError";
|
|
1374
1378
|
variant: "Crypto";
|
|
@@ -1724,12 +1728,12 @@ export class CollectionViewNodeItem {
|
|
|
1724
1728
|
get_item(): CollectionView;
|
|
1725
1729
|
get_parent(): CollectionView | undefined;
|
|
1726
1730
|
get_children(): CollectionView[];
|
|
1727
|
-
get_ancestors():
|
|
1731
|
+
get_ancestors(): AncestorMap;
|
|
1728
1732
|
}
|
|
1729
1733
|
export class CollectionViewTree {
|
|
1730
1734
|
private constructor();
|
|
1731
1735
|
free(): void;
|
|
1732
|
-
|
|
1736
|
+
get_item_for_view(collection_view: CollectionView): CollectionViewNodeItem | undefined;
|
|
1733
1737
|
get_root_items(): CollectionViewNodeItem[];
|
|
1734
1738
|
get_flat_items(): CollectionViewNodeItem[];
|
|
1735
1739
|
}
|
|
@@ -1588,7 +1588,7 @@ export class CollectionViewNodeItem {
|
|
|
1588
1588
|
}
|
|
1589
1589
|
}
|
|
1590
1590
|
/**
|
|
1591
|
-
* @returns {
|
|
1591
|
+
* @returns {AncestorMap}
|
|
1592
1592
|
*/
|
|
1593
1593
|
get_ancestors() {
|
|
1594
1594
|
const ret = wasm.collectionviewnodeitem_get_ancestors(this.__wbg_ptr);
|
|
@@ -1625,8 +1625,8 @@ export class CollectionViewTree {
|
|
|
1625
1625
|
* @param {CollectionView} collection_view
|
|
1626
1626
|
* @returns {CollectionViewNodeItem | undefined}
|
|
1627
1627
|
*/
|
|
1628
|
-
|
|
1629
|
-
const ret = wasm.
|
|
1628
|
+
get_item_for_view(collection_view) {
|
|
1629
|
+
const ret = wasm.collectionviewtree_get_item_for_view(
|
|
1630
1630
|
this.__wbg_ptr,
|
|
1631
1631
|
addHeapObject(collection_view),
|
|
1632
1632
|
);
|
|
@@ -4128,7 +4128,7 @@ export function __wbg_getTime_46267b1c24877e30(arg0) {
|
|
|
4128
4128
|
return ret;
|
|
4129
4129
|
}
|
|
4130
4130
|
|
|
4131
|
-
export function
|
|
4131
|
+
export function __wbg_get_3ba4bb995012514b() {
|
|
4132
4132
|
return handleError(function (arg0, arg1, arg2) {
|
|
4133
4133
|
let deferred0_0;
|
|
4134
4134
|
let deferred0_1;
|
|
@@ -4143,7 +4143,19 @@ export function __wbg_get_331a0bc62ad67269() {
|
|
|
4143
4143
|
}, arguments);
|
|
4144
4144
|
}
|
|
4145
4145
|
|
|
4146
|
-
export function
|
|
4146
|
+
export function __wbg_get_67b2ba62fc30de12() {
|
|
4147
|
+
return handleError(function (arg0, arg1) {
|
|
4148
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4149
|
+
return addHeapObject(ret);
|
|
4150
|
+
}, arguments);
|
|
4151
|
+
}
|
|
4152
|
+
|
|
4153
|
+
export function __wbg_get_b9b93047fe3cf45b(arg0, arg1) {
|
|
4154
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4155
|
+
return addHeapObject(ret);
|
|
4156
|
+
}
|
|
4157
|
+
|
|
4158
|
+
export function __wbg_get_cb1a2fcde59e6452() {
|
|
4147
4159
|
return handleError(function (arg0, arg1, arg2) {
|
|
4148
4160
|
let deferred0_0;
|
|
4149
4161
|
let deferred0_1;
|
|
@@ -4158,19 +4170,7 @@ export function __wbg_get_5cc60d51693809d5() {
|
|
|
4158
4170
|
}, arguments);
|
|
4159
4171
|
}
|
|
4160
4172
|
|
|
4161
|
-
export function
|
|
4162
|
-
return handleError(function (arg0, arg1) {
|
|
4163
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4164
|
-
return addHeapObject(ret);
|
|
4165
|
-
}, arguments);
|
|
4166
|
-
}
|
|
4167
|
-
|
|
4168
|
-
export function __wbg_get_b9b93047fe3cf45b(arg0, arg1) {
|
|
4169
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4170
|
-
return addHeapObject(ret);
|
|
4171
|
-
}
|
|
4172
|
-
|
|
4173
|
-
export function __wbg_getaccesstoken_86134279b9493799(arg0) {
|
|
4173
|
+
export function __wbg_getaccesstoken_4deb24f9ed6f1d7a(arg0) {
|
|
4174
4174
|
const ret = getObject(arg0).get_access_token();
|
|
4175
4175
|
return addHeapObject(ret);
|
|
4176
4176
|
}
|
|
@@ -4355,14 +4355,14 @@ export function __wbg_length_e2d2a49132c1b256(arg0) {
|
|
|
4355
4355
|
return ret;
|
|
4356
4356
|
}
|
|
4357
4357
|
|
|
4358
|
-
export function
|
|
4358
|
+
export function __wbg_list_432edaab8d451581() {
|
|
4359
4359
|
return handleError(function (arg0) {
|
|
4360
4360
|
const ret = getObject(arg0).list();
|
|
4361
4361
|
return addHeapObject(ret);
|
|
4362
4362
|
}, arguments);
|
|
4363
4363
|
}
|
|
4364
4364
|
|
|
4365
|
-
export function
|
|
4365
|
+
export function __wbg_list_b147d4ed87819296() {
|
|
4366
4366
|
return handleError(function (arg0) {
|
|
4367
4367
|
const ret = getObject(arg0).list();
|
|
4368
4368
|
return addHeapObject(ret);
|
|
@@ -4563,7 +4563,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
|
|
|
4563
4563
|
}, arguments);
|
|
4564
4564
|
}
|
|
4565
4565
|
|
|
4566
|
-
export function
|
|
4566
|
+
export function __wbg_remove_bbbd3f66f99cccfe() {
|
|
4567
4567
|
return handleError(function (arg0, arg1, arg2) {
|
|
4568
4568
|
let deferred0_0;
|
|
4569
4569
|
let deferred0_1;
|
|
@@ -4578,7 +4578,7 @@ export function __wbg_remove_88e9ea4eb6dd7478() {
|
|
|
4578
4578
|
}, arguments);
|
|
4579
4579
|
}
|
|
4580
4580
|
|
|
4581
|
-
export function
|
|
4581
|
+
export function __wbg_remove_db8978b74308fd8b() {
|
|
4582
4582
|
return handleError(function (arg0, arg1, arg2) {
|
|
4583
4583
|
let deferred0_0;
|
|
4584
4584
|
let deferred0_1;
|
|
@@ -4632,7 +4632,7 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
|
4632
4632
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
4633
4633
|
}
|
|
4634
4634
|
|
|
4635
|
-
export function
|
|
4635
|
+
export function __wbg_set_5266cb7b833829c6() {
|
|
4636
4636
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4637
4637
|
let deferred0_0;
|
|
4638
4638
|
let deferred0_1;
|
|
@@ -4647,7 +4647,16 @@ export function __wbg_set_4949d4cfd64eccce() {
|
|
|
4647
4647
|
}, arguments);
|
|
4648
4648
|
}
|
|
4649
4649
|
|
|
4650
|
-
export function
|
|
4650
|
+
export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
|
|
4651
|
+
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
4652
|
+
}
|
|
4653
|
+
|
|
4654
|
+
export function __wbg_set_8fc6bf8a5b1071d1(arg0, arg1, arg2) {
|
|
4655
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
4656
|
+
return addHeapObject(ret);
|
|
4657
|
+
}
|
|
4658
|
+
|
|
4659
|
+
export function __wbg_set_a053bae3934c0198() {
|
|
4651
4660
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4652
4661
|
let deferred0_0;
|
|
4653
4662
|
let deferred0_1;
|
|
@@ -4662,15 +4671,6 @@ export function __wbg_set_5d3466af125030c1() {
|
|
|
4662
4671
|
}, arguments);
|
|
4663
4672
|
}
|
|
4664
4673
|
|
|
4665
|
-
export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
|
|
4666
|
-
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
4667
|
-
}
|
|
4668
|
-
|
|
4669
|
-
export function __wbg_set_8fc6bf8a5b1071d1(arg0, arg1, arg2) {
|
|
4670
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
4671
|
-
return addHeapObject(ret);
|
|
4672
|
-
}
|
|
4673
|
-
|
|
4674
4674
|
export function __wbg_setbody_5923b78a95eedf29(arg0, arg1) {
|
|
4675
4675
|
getObject(arg0).body = getObject(arg1);
|
|
4676
4676
|
}
|
|
@@ -4892,17 +4892,17 @@ export function __wbindgen_closure_wrapper193(arg0, arg1, arg2) {
|
|
|
4892
4892
|
}
|
|
4893
4893
|
|
|
4894
4894
|
export function __wbindgen_closure_wrapper3845(arg0, arg1, arg2) {
|
|
4895
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4895
|
+
const ret = makeMutClosure(arg0, arg1, 294, __wbg_adapter_60);
|
|
4896
4896
|
return addHeapObject(ret);
|
|
4897
4897
|
}
|
|
4898
4898
|
|
|
4899
|
-
export function
|
|
4900
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4899
|
+
export function __wbindgen_closure_wrapper6175(arg0, arg1, arg2) {
|
|
4900
|
+
const ret = makeMutClosure(arg0, arg1, 319, __wbg_adapter_60);
|
|
4901
4901
|
return addHeapObject(ret);
|
|
4902
4902
|
}
|
|
4903
4903
|
|
|
4904
|
-
export function
|
|
4905
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4904
|
+
export function __wbindgen_closure_wrapper6554(arg0, arg1, arg2) {
|
|
4905
|
+
const ret = makeMutClosure(arg0, arg1, 342, __wbg_adapter_54);
|
|
4906
4906
|
return addHeapObject(ret);
|
|
4907
4907
|
}
|
|
4908
4908
|
|
|
Binary file
|
|
@@ -358,7 +358,7 @@ export const collectionviewnodeitem_get_item: (a: number) => number;
|
|
|
358
358
|
export const collectionviewnodeitem_get_parent: (a: number) => number;
|
|
359
359
|
export const collectionviewnodeitem_get_children: (a: number, b: number) => void;
|
|
360
360
|
export const collectionviewnodeitem_get_ancestors: (a: number) => number;
|
|
361
|
-
export const
|
|
361
|
+
export const collectionviewtree_get_item_for_view: (a: number, b: number) => number;
|
|
362
362
|
export const collectionviewtree_get_root_items: (a: number, b: number) => void;
|
|
363
363
|
export const collectionviewtree_get_flat_items: (a: number, b: number) => void;
|
|
364
364
|
export const totpclient_generate_totp: (
|