@bitwarden/sdk-internal 0.2.0-main.223 → 0.2.0-main.224

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.
@@ -1181,6 +1181,19 @@ export interface AttachmentView {
1181
1181
  sizeName: string | undefined;
1182
1182
  fileName: string | undefined;
1183
1183
  key: EncString | undefined;
1184
+ /**
1185
+ * The decrypted attachmentkey in base64 format.
1186
+ *
1187
+ * **TEMPORARY FIELD**: This field is a temporary workaround to provide
1188
+ * decrypted attachment keys to the TypeScript client during the migration
1189
+ * process. It will be removed once the encryption/decryption logic is
1190
+ * fully migrated to the SDK.
1191
+ *
1192
+ * **Ticket**: <https://bitwarden.atlassian.net/browse/PM-23005>
1193
+ *
1194
+ * Do not rely on this field for long-term use.
1195
+ */
1196
+ decryptedKey: string | undefined;
1184
1197
  }
1185
1198
 
1186
1199
  export interface Attachment {
@@ -3394,12 +3394,7 @@ module.exports.__wbg_get_67b2ba62fc30de12 = function () {
3394
3394
  }, arguments);
3395
3395
  };
3396
3396
 
3397
- module.exports.__wbg_get_b9b93047fe3cf45b = function (arg0, arg1) {
3398
- const ret = getObject(arg0)[arg1 >>> 0];
3399
- return addHeapObject(ret);
3400
- };
3401
-
3402
- module.exports.__wbg_get_d7e08493e14d3073 = function () {
3397
+ module.exports.__wbg_get_890e4177717f9ef6 = function () {
3403
3398
  return handleError(function (arg0, arg1, arg2) {
3404
3399
  let deferred0_0;
3405
3400
  let deferred0_1;
@@ -3414,7 +3409,12 @@ module.exports.__wbg_get_d7e08493e14d3073 = function () {
3414
3409
  }, arguments);
3415
3410
  };
3416
3411
 
3417
- module.exports.__wbg_getaccesstoken_a6776220c768495c = function (arg0) {
3412
+ module.exports.__wbg_get_b9b93047fe3cf45b = function (arg0, arg1) {
3413
+ const ret = getObject(arg0)[arg1 >>> 0];
3414
+ return addHeapObject(ret);
3415
+ };
3416
+
3417
+ module.exports.__wbg_getaccesstoken_0e9ad4049aeafc04 = function (arg0) {
3418
3418
  const ret = getObject(arg0).get_access_token();
3419
3419
  return addHeapObject(ret);
3420
3420
  };
@@ -3519,7 +3519,7 @@ module.exports.__wbg_length_e2d2a49132c1b256 = function (arg0) {
3519
3519
  return ret;
3520
3520
  };
3521
3521
 
3522
- module.exports.__wbg_list_296175588665e03b = function () {
3522
+ module.exports.__wbg_list_34dd2c5c74fa88f6 = function () {
3523
3523
  return handleError(function (arg0) {
3524
3524
  const ret = getObject(arg0).list();
3525
3525
  return addHeapObject(ret);
@@ -3696,7 +3696,7 @@ module.exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
3696
3696
  }, arguments);
3697
3697
  };
3698
3698
 
3699
- module.exports.__wbg_remove_91062ef36398ce81 = function () {
3699
+ module.exports.__wbg_remove_58c93427251a9a40 = function () {
3700
3700
  return handleError(function (arg0, arg1, arg2) {
3701
3701
  let deferred0_0;
3702
3702
  let deferred0_1;
@@ -3747,7 +3747,7 @@ module.exports.__wbg_set_65595bdd868b3009 = function (arg0, arg1, arg2) {
3747
3747
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
3748
3748
  };
3749
3749
 
3750
- module.exports.__wbg_set_e1312fa33b0e0bba = function () {
3750
+ module.exports.__wbg_set_f4ad258b3a9d2119 = function () {
3751
3751
  return handleError(function (arg0, arg1, arg2, arg3) {
3752
3752
  let deferred0_0;
3753
3753
  let deferred0_1;
@@ -3941,17 +3941,17 @@ module.exports.__wbindgen_cb_drop = function (arg0) {
3941
3941
  return ret;
3942
3942
  };
3943
3943
 
3944
- module.exports.__wbindgen_closure_wrapper2908 = function (arg0, arg1, arg2) {
3944
+ module.exports.__wbindgen_closure_wrapper2909 = function (arg0, arg1, arg2) {
3945
3945
  const ret = makeMutClosure(arg0, arg1, 919, __wbg_adapter_50);
3946
3946
  return addHeapObject(ret);
3947
3947
  };
3948
3948
 
3949
- module.exports.__wbindgen_closure_wrapper3748 = function (arg0, arg1, arg2) {
3949
+ module.exports.__wbindgen_closure_wrapper3749 = function (arg0, arg1, arg2) {
3950
3950
  const ret = makeMutClosure(arg0, arg1, 1003, __wbg_adapter_53);
3951
3951
  return addHeapObject(ret);
3952
3952
  };
3953
3953
 
3954
- module.exports.__wbindgen_closure_wrapper4166 = function (arg0, arg1, arg2) {
3954
+ module.exports.__wbindgen_closure_wrapper4167 = function (arg0, arg1, arg2) {
3955
3955
  const ret = makeMutClosure(arg0, arg1, 1126, __wbg_adapter_56);
3956
3956
  return addHeapObject(ret);
3957
3957
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/sdk-internal",
3
- "version": "0.2.0-main.223",
3
+ "version": "0.2.0-main.224",
4
4
  "license": "GPL-3.0",
5
5
  "files": [
6
6
  "bitwarden_wasm_internal_bg.js",