lean-s3 0.7.0 → 0.7.1

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1600,7 +1600,9 @@ var S3File = class _S3File {
1600
1600
  return new Response(this.stream()).text();
1601
1601
  }
1602
1602
  blob() {
1603
- return new Response(this.stream()).blob();
1603
+ return new Response(this.stream(), {
1604
+ headers: { "Content-Type": this.#contentType }
1605
+ }).blob();
1604
1606
  }
1605
1607
  /** @returns {ReadableStream<Uint8Array>} */
1606
1608
  stream() {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "lean-s3",
3
3
  "author": "Niklas Mollenhauer",
4
4
  "license": "MIT",
5
- "version": "0.7.0",
5
+ "version": "0.7.1",
6
6
  "description": "A server-side S3 API for the regular user.",
7
7
  "keywords": [
8
8
  "s3",