@interopio/gateway-server 0.9.0-beta.1 → 0.10.0-beta.0
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/changelog.md +9 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +2 -0
- package/dist/index.js.map +2 -2
- package/dist/web/test.js.map +2 -2
- package/package.json +12 -5
- package/types/web/http.d.ts +2 -2
package/changelog.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
# Change Log
|
|
4
4
|
|
|
5
|
+
## 0.10.0-beta.0 (Unreleased)
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- http body stream now uses BodyChunk (which is now alias for BlobPart) instead of Uint8Array
|
|
9
|
+
- upgraded @interopio/gateway to 0.13.0-beta.0
|
|
10
|
+
- upgraded tough-cookie to 6.0.0
|
|
11
|
+
- upgraded http-cookie-agent to 7.0.2
|
|
12
|
+
- undici is now a peer dependency
|
|
13
|
+
|
|
5
14
|
## 0.9.0-beta.1 (2025-09-03)
|
|
6
15
|
|
|
7
16
|
### Changed
|
package/dist/index.cjs
CHANGED
|
@@ -834,6 +834,8 @@ var HttpServerResponse = class extends AbstractServerHttpResponse {
|
|
|
834
834
|
if (!this.headers.has("content-length")) {
|
|
835
835
|
if (typeof chunk === "string") {
|
|
836
836
|
this.headers.set("content-length", Buffer.byteLength(chunk));
|
|
837
|
+
} else if (chunk instanceof Blob) {
|
|
838
|
+
this.headers.set("content-length", chunk.size);
|
|
837
839
|
} else {
|
|
838
840
|
this.headers.set("content-length", chunk.byteLength);
|
|
839
841
|
}
|