@orpc/standard-server-fetch 1.3.0 → 1.4.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/dist/index.mjs +0 -2
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -151,8 +151,6 @@ function toFetchBody(body, headers, options = {}) {
|
|
|
151
151
|
}
|
|
152
152
|
if (isAsyncIteratorObject(body)) {
|
|
153
153
|
headers.set("content-type", "text/event-stream");
|
|
154
|
-
headers.set("cache-control", "no-cache");
|
|
155
|
-
headers.set("connection", "keep-alive");
|
|
156
154
|
return toEventStream(body, options);
|
|
157
155
|
}
|
|
158
156
|
headers.set("content-type", "application/json");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orpc/standard-server-fetch",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.4.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://unnoq.com",
|
|
7
7
|
"repository": {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@orpc/shared": "1.
|
|
27
|
-
"@orpc/standard-server": "1.
|
|
26
|
+
"@orpc/shared": "1.4.0",
|
|
27
|
+
"@orpc/standard-server": "1.4.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@hono/node-server": "^1.14.1"
|