@trpc/client 11.0.0-rc.460 → 11.0.0-rc.465
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"bundleSize":
|
|
3
|
-
"bundleOrigSize":
|
|
2
|
+
"bundleSize": 51738,
|
|
3
|
+
"bundleOrigSize": 68913,
|
|
4
4
|
"bundleReduction": 24.92,
|
|
5
5
|
"modules": [
|
|
6
6
|
{
|
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
95
|
"id": "/src/links/httpSubscriptionLink.ts",
|
|
96
|
-
"size":
|
|
97
|
-
"origSize":
|
|
96
|
+
"size": 3523,
|
|
97
|
+
"origSize": 3753,
|
|
98
98
|
"renderedExports": [
|
|
99
99
|
"unstable_httpSubscriptionLink"
|
|
100
100
|
],
|
|
@@ -59,7 +59,7 @@ async function urlWithConnectionParams(opts) {
|
|
|
59
59
|
eventSource.addEventListener('open', onStarted);
|
|
60
60
|
const iterable = unstableCoreDoNotImport.sseStreamConsumer({
|
|
61
61
|
from: eventSource,
|
|
62
|
-
deserialize: transformer$1.
|
|
62
|
+
deserialize: transformer$1.output.deserialize
|
|
63
63
|
});
|
|
64
64
|
for await (const chunk of iterable){
|
|
65
65
|
// if the `sse({})`-helper is used, we always have an `id` field
|
|
@@ -57,7 +57,7 @@ async function urlWithConnectionParams(opts) {
|
|
|
57
57
|
eventSource.addEventListener('open', onStarted);
|
|
58
58
|
const iterable = sseStreamConsumer({
|
|
59
59
|
from: eventSource,
|
|
60
|
-
deserialize: transformer.
|
|
60
|
+
deserialize: transformer.output.deserialize
|
|
61
61
|
});
|
|
62
62
|
for await (const chunk of iterable){
|
|
63
63
|
// if the `sse({})`-helper is used, we always have an `id` field
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trpc/client",
|
|
3
|
-
"version": "11.0.0-rc.
|
|
3
|
+
"version": "11.0.0-rc.465+461733492",
|
|
4
4
|
"description": "The tRPC client library",
|
|
5
5
|
"author": "KATT",
|
|
6
6
|
"license": "MIT",
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"!**/*.test.*"
|
|
77
77
|
],
|
|
78
78
|
"peerDependencies": {
|
|
79
|
-
"@trpc/server": "11.0.0-rc.
|
|
79
|
+
"@trpc/server": "11.0.0-rc.465+461733492"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@trpc/server": "11.0.0-rc.
|
|
82
|
+
"@trpc/server": "11.0.0-rc.465+461733492",
|
|
83
83
|
"@types/isomorphic-fetch": "^0.0.39",
|
|
84
84
|
"@types/node": "^20.10.0",
|
|
85
85
|
"eslint": "^8.56.0",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"funding": [
|
|
97
97
|
"https://trpc.io/sponsor"
|
|
98
98
|
],
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "461733492f066c6eea21149c857bf7f7890e55dd"
|
|
100
100
|
}
|
|
@@ -95,7 +95,7 @@ export function unstable_httpSubscriptionLink<
|
|
|
95
95
|
eventSource.addEventListener('open', onStarted);
|
|
96
96
|
const iterable = sseStreamConsumer<Partial<SSEMessage>>({
|
|
97
97
|
from: eventSource,
|
|
98
|
-
deserialize: transformer.
|
|
98
|
+
deserialize: transformer.output.deserialize,
|
|
99
99
|
});
|
|
100
100
|
|
|
101
101
|
for await (const chunk of iterable) {
|