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.
- package/dist/index.js +3 -1
- 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()
|
|
1603
|
+
return new Response(this.stream(), {
|
|
1604
|
+
headers: { "Content-Type": this.#contentType }
|
|
1605
|
+
}).blob();
|
|
1604
1606
|
}
|
|
1605
1607
|
/** @returns {ReadableStream<Uint8Array>} */
|
|
1606
1608
|
stream() {
|