@trpc/client 11.0.0-rc.745 → 11.0.0-rc.747
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": 66038,
|
|
3
|
+
"bundleOrigSize": 83214,
|
|
4
4
|
"bundleReduction": 20.64,
|
|
5
5
|
"modules": [
|
|
6
6
|
{
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
],
|
|
14
14
|
"removedExports": [],
|
|
15
15
|
"dependents": [],
|
|
16
|
-
"percent": 27.
|
|
16
|
+
"percent": 27.28,
|
|
17
17
|
"reduction": 10.3
|
|
18
18
|
},
|
|
19
19
|
{
|
|
@@ -25,19 +25,19 @@
|
|
|
25
25
|
],
|
|
26
26
|
"removedExports": [],
|
|
27
27
|
"dependents": [],
|
|
28
|
-
"percent": 11.
|
|
28
|
+
"percent": 11.79,
|
|
29
29
|
"reduction": 0
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
"id": "/src/links/httpBatchStreamLink.ts",
|
|
33
|
-
"size":
|
|
34
|
-
"origSize":
|
|
33
|
+
"size": 6017,
|
|
34
|
+
"origSize": 6295,
|
|
35
35
|
"renderedExports": [
|
|
36
36
|
"unstable_httpBatchStreamLink"
|
|
37
37
|
],
|
|
38
38
|
"removedExports": [],
|
|
39
39
|
"dependents": [],
|
|
40
|
-
"percent": 9.
|
|
40
|
+
"percent": 9.11,
|
|
41
41
|
"reduction": 4.42
|
|
42
42
|
},
|
|
43
43
|
{
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
],
|
|
50
50
|
"removedExports": [],
|
|
51
51
|
"dependents": [],
|
|
52
|
-
"percent": 8.
|
|
52
|
+
"percent": 8.47,
|
|
53
53
|
"reduction": 19.44
|
|
54
54
|
},
|
|
55
55
|
{
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"/src/links/httpBatchLink.ts",
|
|
65
65
|
"/src/links/httpBatchStreamLink.ts"
|
|
66
66
|
],
|
|
67
|
-
"percent": 6.
|
|
67
|
+
"percent": 6.18,
|
|
68
68
|
"reduction": 5.64
|
|
69
69
|
},
|
|
70
70
|
{
|
|
@@ -140,8 +140,8 @@
|
|
|
140
140
|
"dependents": [
|
|
141
141
|
"/src/index.ts",
|
|
142
142
|
"/src/links/httpBatchLink.ts",
|
|
143
|
-
"/src/links/wsLink.ts",
|
|
144
143
|
"/src/links/httpLink.ts",
|
|
144
|
+
"/src/links/wsLink.ts",
|
|
145
145
|
"/src/links/httpBatchStreamLink.ts",
|
|
146
146
|
"/src/links/httpSubscriptionLink.ts",
|
|
147
147
|
"/src/internals/TRPCUntypedClient.ts"
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
"/src/links/splitLink.ts",
|
|
208
208
|
"/src/internals/TRPCUntypedClient.ts"
|
|
209
209
|
],
|
|
210
|
-
"percent": 1.
|
|
210
|
+
"percent": 1.04,
|
|
211
211
|
"reduction": 32.75
|
|
212
212
|
},
|
|
213
213
|
{
|
|
@@ -109,7 +109,7 @@ var httpUtils = require('./internals/httpUtils.js');
|
|
|
109
109
|
return ({ op })=>{
|
|
110
110
|
return observable.observable((observer)=>{
|
|
111
111
|
/* istanbul ignore if -- @preserve */ if (op.type === 'subscription') {
|
|
112
|
-
throw new Error('Subscriptions are unsupported by `
|
|
112
|
+
throw new Error('Subscriptions are unsupported by `httpBatchStreamLink` - use `httpSubscriptionLink` or `wsLink`');
|
|
113
113
|
}
|
|
114
114
|
const loader = loaders[op.type];
|
|
115
115
|
const promise = loader.load(op);
|
|
@@ -107,7 +107,7 @@ import { resolveHTTPLinkOptions, getUrl, fetchHTTPResponse, getBody } from './in
|
|
|
107
107
|
return ({ op })=>{
|
|
108
108
|
return observable((observer)=>{
|
|
109
109
|
/* istanbul ignore if -- @preserve */ if (op.type === 'subscription') {
|
|
110
|
-
throw new Error('Subscriptions are unsupported by `
|
|
110
|
+
throw new Error('Subscriptions are unsupported by `httpBatchStreamLink` - use `httpSubscriptionLink` or `wsLink`');
|
|
111
111
|
}
|
|
112
112
|
const loader = loaders[op.type];
|
|
113
113
|
const promise = loader.load(op);
|
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.747+64714681c",
|
|
4
4
|
"description": "The tRPC client library",
|
|
5
5
|
"author": "KATT",
|
|
6
6
|
"license": "MIT",
|
|
@@ -77,11 +77,11 @@
|
|
|
77
77
|
"!**/__tests__"
|
|
78
78
|
],
|
|
79
79
|
"peerDependencies": {
|
|
80
|
-
"@trpc/server": "11.0.0-rc.
|
|
80
|
+
"@trpc/server": "11.0.0-rc.747+64714681c",
|
|
81
81
|
"typescript": ">=5.7.2"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@trpc/server": "11.0.0-rc.
|
|
84
|
+
"@trpc/server": "11.0.0-rc.747+64714681c",
|
|
85
85
|
"@types/isomorphic-fetch": "^0.0.39",
|
|
86
86
|
"@types/node": "^22.9.0",
|
|
87
87
|
"eslint": "^9.13.0",
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
"funding": [
|
|
100
100
|
"https://trpc.io/sponsor"
|
|
101
101
|
],
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "64714681ca127cd859a819d61ce8a990b928baf9"
|
|
103
103
|
}
|
|
@@ -150,7 +150,7 @@ export function unstable_httpBatchStreamLink<TRouter extends AnyRouter>(
|
|
|
150
150
|
/* istanbul ignore if -- @preserve */
|
|
151
151
|
if (op.type === 'subscription') {
|
|
152
152
|
throw new Error(
|
|
153
|
-
'Subscriptions are unsupported by `
|
|
153
|
+
'Subscriptions are unsupported by `httpBatchStreamLink` - use `httpSubscriptionLink` or `wsLink`',
|
|
154
154
|
);
|
|
155
155
|
}
|
|
156
156
|
const loader = loaders[op.type];
|