@interopio/gateway-server 0.9.0-beta.1 → 0.10.0-beta.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/changelog.md CHANGED
@@ -2,6 +2,29 @@
2
2
 
3
3
  # Change Log
4
4
 
5
+ ## 0.10.0-beta.1 (2025-09-30)
6
+
7
+ ### Changed
8
+ - bump undici to 7.16.0
9
+ - bump @interopio/gateway to 0.13.1-beta.0
10
+ - bump @glue42/gateway-ent types to 3.1.4
11
+
12
+ ### Added
13
+ - chore: repository field in package.json
14
+ - chore: generate CTRF reports
15
+
16
+ ### Fixed
17
+ - gateway-ent exports for cjs
18
+
19
+ ## 0.10.0-beta.0 (2025-09-04)
20
+
21
+ ### Changed
22
+ - http body stream now uses BodyChunk (which is now alias for BlobPart) instead of Uint8Array
23
+ - upgraded @interopio/gateway to 0.13.0-beta.0
24
+ - upgraded tough-cookie to 6.0.0
25
+ - upgraded http-cookie-agent to 7.0.2
26
+ - undici is now a peer dependency
27
+
5
28
  ## 0.9.0-beta.1 (2025-09-03)
6
29
 
7
30
  ### 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
  }