@bitwarden/sdk-internal 0.2.0-main.155 → 0.2.0-main.157

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.
@@ -930,7 +930,11 @@ export class AttachmentsClient {
930
930
  /**
931
931
  * Decrypts an attachment's encrypted content
932
932
  */
933
- decrypt_buffer(cipher: Cipher, attachment: Attachment, encrypted_buffer: Uint8Array): Uint8Array;
933
+ decrypt_buffer(
934
+ cipher: Cipher,
935
+ attachment: AttachmentView,
936
+ encrypted_buffer: Uint8Array,
937
+ ): Uint8Array;
934
938
  }
935
939
  export class BitwardenClient {
936
940
  free(): void;
@@ -768,7 +768,7 @@ class AttachmentsClient {
768
768
  /**
769
769
  * Decrypts an attachment's encrypted content
770
770
  * @param {Cipher} cipher
771
- * @param {Attachment} attachment
771
+ * @param {AttachmentView} attachment
772
772
  * @param {Uint8Array} encrypted_buffer
773
773
  * @returns {Uint8Array}
774
774
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/sdk-internal",
3
- "version": "0.2.0-main.155",
3
+ "version": "0.2.0-main.157",
4
4
  "license": "GPL-3.0",
5
5
  "files": [
6
6
  "bitwarden_wasm_internal_bg.js",