@trpc/client 11.0.0-alpha-tmp-export-from-main-nuke-core.240 → 11.0.0-alpha-tmp-export-from-main.222

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.
Files changed (82) hide show
  1. package/dist/TRPCClientError.d.ts +2 -2
  2. package/dist/TRPCClientError.d.ts.map +1 -1
  3. package/dist/TRPCClientError.js +3 -3
  4. package/dist/TRPCClientError.mjs +1 -1
  5. package/dist/createTRPCClient.d.ts +1 -2
  6. package/dist/createTRPCClient.d.ts.map +1 -1
  7. package/dist/createTRPCClient.js +3 -3
  8. package/dist/createTRPCClient.mjs +1 -1
  9. package/dist/createTRPCUntypedClient.d.ts +1 -1
  10. package/dist/createTRPCUntypedClient.d.ts.map +1 -1
  11. package/dist/internals/TRPCUntypedClient.d.ts +1 -3
  12. package/dist/internals/TRPCUntypedClient.d.ts.map +1 -1
  13. package/dist/internals/TRPCUntypedClient.js +3 -4
  14. package/dist/internals/TRPCUntypedClient.mjs +1 -2
  15. package/dist/internals/getAbortController.d.ts +1 -1
  16. package/dist/internals/getAbortController.d.ts.map +1 -1
  17. package/dist/links/httpBatchLink.d.ts +1 -1
  18. package/dist/links/httpBatchLink.d.ts.map +1 -1
  19. package/dist/links/httpBatchStreamLink.d.ts +1 -1
  20. package/dist/links/httpBatchStreamLink.d.ts.map +1 -1
  21. package/dist/links/httpFormDataLink.d.ts +1 -1
  22. package/dist/links/httpFormDataLink.d.ts.map +1 -1
  23. package/dist/links/httpLink.d.ts +1 -1
  24. package/dist/links/httpLink.d.ts.map +1 -1
  25. package/dist/links/httpLink.js +3 -4
  26. package/dist/links/httpLink.mjs +1 -2
  27. package/dist/links/internals/createChain.d.ts +1 -1
  28. package/dist/links/internals/createChain.d.ts.map +1 -1
  29. package/dist/links/internals/createChain.js +2 -2
  30. package/dist/links/internals/createChain.mjs +1 -1
  31. package/dist/links/internals/createHTTPBatchLink.d.ts +1 -1
  32. package/dist/links/internals/createHTTPBatchLink.d.ts.map +1 -1
  33. package/dist/links/internals/createHTTPBatchLink.js +3 -4
  34. package/dist/links/internals/createHTTPBatchLink.mjs +1 -2
  35. package/dist/links/internals/dedupeLink.d.ts +1 -1
  36. package/dist/links/internals/dedupeLink.d.ts.map +1 -1
  37. package/dist/links/internals/httpUtils.d.ts +1 -1
  38. package/dist/links/internals/httpUtils.d.ts.map +1 -1
  39. package/dist/links/internals/retryLink.d.ts +1 -1
  40. package/dist/links/internals/retryLink.d.ts.map +1 -1
  41. package/dist/links/loggerLink.d.ts +1 -1
  42. package/dist/links/loggerLink.d.ts.map +1 -1
  43. package/dist/links/loggerLink.js +3 -3
  44. package/dist/links/loggerLink.mjs +1 -1
  45. package/dist/links/splitLink.d.ts +1 -1
  46. package/dist/links/splitLink.d.ts.map +1 -1
  47. package/dist/links/splitLink.js +2 -2
  48. package/dist/links/splitLink.mjs +1 -1
  49. package/dist/links/types.d.ts +1 -2
  50. package/dist/links/types.d.ts.map +1 -1
  51. package/dist/links/wsLink.d.ts +1 -2
  52. package/dist/links/wsLink.d.ts.map +1 -1
  53. package/dist/links/wsLink.js +3 -4
  54. package/dist/links/wsLink.mjs +1 -2
  55. package/links/httpBatchLink/index.d.ts +1 -0
  56. package/links/httpBatchLink/index.js +1 -0
  57. package/links/httpLink/index.d.ts +1 -0
  58. package/links/httpLink/index.js +1 -0
  59. package/links/loggerLink/index.d.ts +1 -0
  60. package/links/loggerLink/index.js +1 -0
  61. package/links/splitLink/index.d.ts +1 -0
  62. package/links/splitLink/index.js +1 -0
  63. package/links/wsLink/index.d.ts +1 -0
  64. package/links/wsLink/index.js +1 -0
  65. package/package.json +63 -8
  66. package/src/TRPCClientError.ts +2 -2
  67. package/src/createTRPCClient.ts +3 -6
  68. package/src/createTRPCUntypedClient.ts +1 -1
  69. package/src/internals/TRPCUntypedClient.ts +5 -8
  70. package/src/internals/getAbortController.ts +1 -1
  71. package/src/links/httpLink.ts +2 -3
  72. package/src/links/internals/createChain.ts +2 -2
  73. package/src/links/internals/createHTTPBatchLink.ts +2 -6
  74. package/src/links/internals/dedupeLink.ts +2 -3
  75. package/src/links/internals/httpUtils.ts +1 -4
  76. package/src/links/internals/parseJSONStream.ts +1 -1
  77. package/src/links/internals/retryLink.ts +2 -3
  78. package/src/links/loggerLink.ts +2 -2
  79. package/src/links/splitLink.ts +2 -2
  80. package/src/links/types.ts +3 -2
  81. package/src/links/wsLink.ts +4 -4
  82. package/dist/bundle-analysis.json +0 -296
@@ -0,0 +1 @@
1
+ module.exports = require('../../dist/links/loggerLink');
@@ -0,0 +1 @@
1
+ export * from '../../dist/links/splitLink';
@@ -0,0 +1 @@
1
+ module.exports = require('../../dist/links/splitLink');
@@ -0,0 +1 @@
1
+ export * from '../../dist/links/wsLink';
@@ -0,0 +1 @@
1
+ module.exports = require('../../dist/links/wsLink');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/client",
3
- "version": "11.0.0-alpha-tmp-export-from-main-nuke-core.240+d53651d70",
3
+ "version": "11.0.0-alpha-tmp-export-from-main.222+af7867f57",
4
4
  "description": "The tRPC client library",
5
5
  "author": "KATT",
6
6
  "license": "MIT",
@@ -31,9 +31,64 @@
31
31
  "exports": {
32
32
  "./package.json": "./package.json",
33
33
  ".": {
34
- "import": "./dist/index.mjs",
35
- "require": "./dist/index.js",
36
- "default": "./dist/index.js"
34
+ "import": {
35
+ "types": "./dist/index.d.ts",
36
+ "default": "./dist/index.mjs"
37
+ },
38
+ "require": {
39
+ "types": "./dist/index.d.ts",
40
+ "default": "./dist/index.js"
41
+ }
42
+ },
43
+ "./links/httpBatchLink": {
44
+ "import": {
45
+ "types": "./dist/links/httpBatchLink.d.ts",
46
+ "default": "./dist/links/httpBatchLink.mjs"
47
+ },
48
+ "require": {
49
+ "types": "./dist/links/httpBatchLink.d.ts",
50
+ "default": "./dist/links/httpBatchLink.js"
51
+ }
52
+ },
53
+ "./links/httpLink": {
54
+ "import": {
55
+ "types": "./dist/links/httpLink.d.ts",
56
+ "default": "./dist/links/httpLink.mjs"
57
+ },
58
+ "require": {
59
+ "types": "./dist/links/httpLink.d.ts",
60
+ "default": "./dist/links/httpLink.js"
61
+ }
62
+ },
63
+ "./links/loggerLink": {
64
+ "import": {
65
+ "types": "./dist/links/loggerLink.d.ts",
66
+ "default": "./dist/links/loggerLink.mjs"
67
+ },
68
+ "require": {
69
+ "types": "./dist/links/loggerLink.d.ts",
70
+ "default": "./dist/links/loggerLink.js"
71
+ }
72
+ },
73
+ "./links/splitLink": {
74
+ "import": {
75
+ "types": "./dist/links/splitLink.d.ts",
76
+ "default": "./dist/links/splitLink.mjs"
77
+ },
78
+ "require": {
79
+ "types": "./dist/links/splitLink.d.ts",
80
+ "default": "./dist/links/splitLink.js"
81
+ }
82
+ },
83
+ "./links/wsLink": {
84
+ "import": {
85
+ "types": "./dist/links/wsLink.d.ts",
86
+ "default": "./dist/links/wsLink.mjs"
87
+ },
88
+ "require": {
89
+ "types": "./dist/links/wsLink.d.ts",
90
+ "default": "./dist/links/wsLink.js"
91
+ }
37
92
  }
38
93
  },
39
94
  "files": [
@@ -41,14 +96,14 @@
41
96
  "src",
42
97
  "README.md",
43
98
  "package.json",
99
+ "links",
44
100
  "!**/*.test.*"
45
101
  ],
46
- "peerDependencies": {
47
- "@trpc/server": "11.0.0-alpha-tmp-export-from-main-nuke-core.240+d53651d70"
102
+ "dependencies": {
103
+ "@trpc/core": "11.0.0-alpha-tmp-export-from-main.222+af7867f57"
48
104
  },
49
105
  "devDependencies": {
50
106
  "@testing-library/dom": "^9.0.0",
51
- "@trpc/server": "11.0.0-alpha-tmp-export-from-main-nuke-core.240+d53651d70",
52
107
  "@types/isomorphic-fetch": "^0.0.39",
53
108
  "@types/node": "^20.10.0",
54
109
  "eslint": "^8.40.0",
@@ -65,5 +120,5 @@
65
120
  "funding": [
66
121
  "https://trpc.io/sponsor"
67
122
  ],
68
- "gitHead": "d53651d7097e731903e1d931b06ab7d24a3115e0"
123
+ "gitHead": "af7867f578c243ea1e10f0a8357094d43756d7d4"
69
124
  }
@@ -3,12 +3,12 @@ import type {
3
3
  Maybe,
4
4
  TRPCErrorResponse,
5
5
  TRPCInferrable,
6
- } from '@trpc/server/unstable-core-do-not-import';
6
+ } from '@trpc/core';
7
7
  import {
8
8
  getCauseFromUnknown,
9
9
  isObject,
10
10
  type DefaultErrorShape,
11
- } from '@trpc/server/unstable-core-do-not-import';
11
+ } from '@trpc/core';
12
12
 
13
13
  export interface TRPCClientErrorBase<TShape extends DefaultErrorShape> {
14
14
  readonly message: string;
@@ -1,5 +1,4 @@
1
1
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
2
- import type { Unsubscribable } from '@trpc/server/observable';
3
2
  import type {
4
3
  AnyMutationProcedure,
5
4
  AnyProcedure,
@@ -13,11 +12,9 @@ import type {
13
12
  ProcedureArgs,
14
13
  ProcedureRouterRecord,
15
14
  ProcedureType,
16
- } from '@trpc/server/unstable-core-do-not-import';
17
- import {
18
- createFlatProxy,
19
- createRecursiveProxy,
20
- } from '@trpc/server/unstable-core-do-not-import';
15
+ Unsubscribable,
16
+ } from '@trpc/core';
17
+ import { createFlatProxy, createRecursiveProxy } from '@trpc/core';
21
18
  import type { CreateTRPCClientOptions } from './createTRPCUntypedClient';
22
19
  import type {
23
20
  TRPCSubscriptionObserver,
@@ -1,4 +1,4 @@
1
- import type { AnyRouter } from '@trpc/server/unstable-core-do-not-import';
1
+ import type { AnyRouter } from '@trpc/core';
2
2
  import type { CreateTRPCClientOptions } from './internals/TRPCUntypedClient';
3
3
  import { TRPCUntypedClient } from './internals/TRPCUntypedClient';
4
4
 
@@ -1,15 +1,12 @@
1
- import type {
2
- inferObservableValue,
3
- Unsubscribable,
4
- } from '@trpc/server/observable';
5
- import { observableToPromise, share } from '@trpc/server/observable';
6
- import '@trpc/server/unstable-core-do-not-import';
7
1
  import type {
8
2
  AnyRouter,
9
3
  CombinedDataTransformer,
10
4
  DataTransformerOptions,
11
5
  DefaultDataTransformer,
12
- } from '@trpc/server/unstable-core-do-not-import';
6
+ inferObservableValue,
7
+ Unsubscribable,
8
+ } from '@trpc/core';
9
+ import { observableToPromise, share } from '@trpc/core';
13
10
  import { createChain } from '../links/internals/createChain';
14
11
  import type {
15
12
  OperationContext,
@@ -219,7 +216,7 @@ export class TRPCUntypedClient<TRouter extends AnyRouter> {
219
216
  } else if (envelope.result.type === 'stopped') {
220
217
  opts.onStopped?.();
221
218
  } else {
222
- opts.onData?.(envelope.result.data);
219
+ opts.onData?.((envelope.result as any).data);
223
220
  }
224
221
  },
225
222
  error(err) {
@@ -1,4 +1,4 @@
1
- import type { Maybe } from '@trpc/server/unstable-core-do-not-import';
1
+ import type { Maybe } from '@trpc/core';
2
2
  import type { AbortControllerEsque } from './types';
3
3
 
4
4
  export function getAbortController(
@@ -1,6 +1,5 @@
1
- import { observable } from '@trpc/server/observable';
2
- import type { AnyRouter } from '@trpc/server/unstable-core-do-not-import';
3
- import { transformResult } from '@trpc/server/unstable-core-do-not-import';
1
+ import type { AnyRouter } from '@trpc/core';
2
+ import { observable, transformResult } from '@trpc/core';
4
3
  import { TRPCClientError } from '../TRPCClientError';
5
4
  import type {
6
5
  HTTPLinkBaseOptions,
@@ -1,5 +1,5 @@
1
- import { observable } from '@trpc/server/observable';
2
- import type { AnyRouter } from '@trpc/server/unstable-core-do-not-import';
1
+ import type { AnyRouter } from '@trpc/core';
2
+ import { observable } from '@trpc/core';
3
3
  import type {
4
4
  Operation,
5
5
  OperationLink,
@@ -1,9 +1,5 @@
1
- import { observable } from '@trpc/server/observable';
2
- import type {
3
- AnyRouter,
4
- ProcedureType,
5
- } from '@trpc/server/unstable-core-do-not-import';
6
- import { transformResult } from '@trpc/server/unstable-core-do-not-import';
1
+ import type { AnyRouter, ProcedureType } from '@trpc/core';
2
+ import { observable, transformResult } from '@trpc/core';
7
3
  import { dataLoader } from '../../internals/dataLoader';
8
4
  import { TRPCClientError } from '../../TRPCClientError';
9
5
  import type { HTTPBatchLinkOptions } from '../HTTPBatchLinkOptions';
@@ -1,8 +1,7 @@
1
1
  /* istanbul ignore file -- @preserve */
2
2
  // We're not actually exporting this link
3
- import type { Observable } from '@trpc/server/observable';
4
- import { observable, share } from '@trpc/server/observable';
5
- import type { AnyRouter } from '@trpc/server/unstable-core-do-not-import';
3
+ import type { AnyRouter, Observable } from '@trpc/core';
4
+ import { observable, share } from '@trpc/core';
6
5
  import type { TRPCLink } from '../types';
7
6
 
8
7
  /**
@@ -1,7 +1,4 @@
1
- import type {
2
- ProcedureType,
3
- TRPCResponse,
4
- } from '@trpc/server/unstable-core-do-not-import';
1
+ import type { ProcedureType, TRPCResponse } from '@trpc/core';
5
2
  import { getFetch } from '../../getFetch';
6
3
  import { getAbortController } from '../../internals/getAbortController';
7
4
  import type {
@@ -1,5 +1,5 @@
1
1
  // Stream parsing adapted from https://www.loginradius.com/blog/engineering/guest-post/http-streaming-with-nodejs-and-fetch-api/
2
- import type { TRPCResponse } from '@trpc/server/unstable-core-do-not-import';
2
+ import type { TRPCResponse } from '@trpc/core';
3
3
  import type { WebReadableStreamEsque } from '../../internals/types';
4
4
  import type { HTTPHeaders } from '../types';
5
5
  import type { HTTPBaseRequestOptions, HTTPResult } from './httpUtils';
@@ -1,8 +1,7 @@
1
1
  /* istanbul ignore file -- @preserve */
2
2
  // We're not actually exporting this link
3
- import type { Unsubscribable } from '@trpc/server/observable';
4
- import { observable } from '@trpc/server/observable';
5
- import type { AnyRouter } from '@trpc/server/unstable-core-do-not-import';
3
+ import type { AnyRouter, Unsubscribable } from '@trpc/core';
4
+ import { observable } from '@trpc/core';
6
5
  import type { TRPCLink } from '../types';
7
6
 
8
7
  /**
@@ -5,8 +5,8 @@
5
5
  // Using triple-slash directive makes sure that it will be available,
6
6
  // even if end-user `tsconfig.json` omits it in the `lib` array.
7
7
 
8
- import { observable, tap } from '@trpc/server/observable';
9
- import type { AnyRouter } from '@trpc/server/unstable-core-do-not-import';
8
+ import type { AnyRouter } from '@trpc/core';
9
+ import { observable, tap } from '@trpc/core';
10
10
  import type { TRPCClientError } from '../TRPCClientError';
11
11
  import type { Operation, OperationResultEnvelope, TRPCLink } from './types';
12
12
 
@@ -1,5 +1,5 @@
1
- import { observable } from '@trpc/server/observable';
2
- import type { AnyRouter } from '@trpc/server/unstable-core-do-not-import';
1
+ import type { AnyRouter } from '@trpc/core';
2
+ import { observable } from '@trpc/core';
3
3
  import { createChain } from './internals/createChain';
4
4
  import type { Operation, TRPCLink } from './types';
5
5
 
@@ -1,11 +1,12 @@
1
- import type { Observable, Observer } from '@trpc/server/observable';
2
1
  import type {
3
2
  AnyRouter,
4
3
  CombinedDataTransformer,
5
4
  DataTransformer,
5
+ Observable,
6
+ Observer,
6
7
  TRPCResultMessage,
7
8
  TRPCSuccessResponse,
8
- } from '@trpc/server/unstable-core-do-not-import';
9
+ } from '@trpc/core';
9
10
  import type { ResponseEsque } from '../internals/types';
10
11
  import type { TRPCClientError } from '../TRPCClientError';
11
12
 
@@ -1,17 +1,17 @@
1
- import type { Observer, UnsubscribeFn } from '@trpc/server/observable';
2
- import { observable } from '@trpc/server/observable';
3
1
  import type {
4
2
  AnyRouter,
5
3
  inferRouterError,
6
4
  MaybePromise,
5
+ Observer,
7
6
  ProcedureType,
8
7
  TRPCClientIncomingMessage,
9
8
  TRPCClientIncomingRequest,
10
9
  TRPCClientOutgoingMessage,
11
10
  TRPCRequestMessage,
12
11
  TRPCResponseMessage,
13
- } from '@trpc/server/unstable-core-do-not-import';
14
- import { transformResult } from '@trpc/server/unstable-core-do-not-import';
12
+ UnsubscribeFn,
13
+ } from '@trpc/core';
14
+ import { observable, transformResult } from '@trpc/core';
15
15
  import { TRPCClientError } from '../TRPCClientError';
16
16
  import type { Operation, TRPCLink } from './types';
17
17
 
@@ -1,296 +0,0 @@
1
- {
2
- "bundleSize": 46875,
3
- "bundleOrigSize": 64706,
4
- "bundleReduction": 27.56,
5
- "modules": [
6
- {
7
- "id": "/src/links/wsLink.ts",
8
- "size": 11992,
9
- "origSize": 13383,
10
- "renderedExports": [
11
- "createWSClient",
12
- "wsLink"
13
- ],
14
- "removedExports": [],
15
- "dependents": [],
16
- "percent": 25.58,
17
- "reduction": 10.39
18
- },
19
- {
20
- "id": "/src/links/loggerLink.ts",
21
- "size": 5545,
22
- "origSize": 6496,
23
- "renderedExports": [
24
- "loggerLink"
25
- ],
26
- "removedExports": [],
27
- "dependents": [],
28
- "percent": 11.83,
29
- "reduction": 14.64
30
- },
31
- {
32
- "id": "/src/internals/dataLoader.ts",
33
- "size": 4409,
34
- "origSize": 4766,
35
- "renderedExports": [
36
- "dataLoader"
37
- ],
38
- "removedExports": [],
39
- "dependents": [
40
- "/src/links/internals/createHTTPBatchLink.ts"
41
- ],
42
- "percent": 9.41,
43
- "reduction": 7.49
44
- },
45
- {
46
- "id": "/src/links/internals/parseJSONStream.ts",
47
- "size": 4007,
48
- "origSize": 4993,
49
- "renderedExports": [
50
- "parseJSONStream",
51
- "streamingJsonHttpRequester"
52
- ],
53
- "removedExports": [],
54
- "dependents": [
55
- "/src/links/httpBatchStreamLink.ts"
56
- ],
57
- "percent": 8.55,
58
- "reduction": 19.75
59
- },
60
- {
61
- "id": "/src/links/internals/httpUtils.ts",
62
- "size": 3271,
63
- "origSize": 5296,
64
- "renderedExports": [
65
- "resolveHTTPLinkOptions",
66
- "getUrl",
67
- "getBody",
68
- "jsonHttpRequester",
69
- "fetchHTTPResponse",
70
- "httpRequest"
71
- ],
72
- "removedExports": [],
73
- "dependents": [
74
- "/src/links/httpBatchLink.ts",
75
- "/src/links/httpLink.ts",
76
- "/src/links/httpFormDataLink.ts",
77
- "/src/links/internals/createHTTPBatchLink.ts",
78
- "/src/links/internals/parseJSONStream.ts"
79
- ],
80
- "percent": 6.98,
81
- "reduction": 38.24
82
- },
83
- {
84
- "id": "/src/internals/TRPCUntypedClient.ts",
85
- "size": 3246,
86
- "origSize": 6264,
87
- "renderedExports": [
88
- "TRPCUntypedClient"
89
- ],
90
- "removedExports": [],
91
- "dependents": [
92
- "/src/createTRPCUntypedClient.ts",
93
- "/src/createTRPCClient.ts"
94
- ],
95
- "percent": 6.92,
96
- "reduction": 48.18
97
- },
98
- {
99
- "id": "/src/links/internals/createHTTPBatchLink.ts",
100
- "size": 2965,
101
- "origSize": 3644,
102
- "renderedExports": [
103
- "createHTTPBatchLink"
104
- ],
105
- "removedExports": [],
106
- "dependents": [
107
- "/src/links/httpBatchLink.ts",
108
- "/src/links/httpBatchStreamLink.ts"
109
- ],
110
- "percent": 6.33,
111
- "reduction": 18.63
112
- },
113
- {
114
- "id": "/src/links/httpLink.ts",
115
- "size": 2197,
116
- "origSize": 2667,
117
- "renderedExports": [
118
- "httpLinkFactory",
119
- "httpLink"
120
- ],
121
- "removedExports": [],
122
- "dependents": [
123
- "/src/links/httpFormDataLink.ts"
124
- ],
125
- "percent": 4.69,
126
- "reduction": 17.62
127
- },
128
- {
129
- "id": "/src/TRPCClientError.ts",
130
- "size": 1866,
131
- "origSize": 3295,
132
- "renderedExports": [
133
- "TRPCClientError"
134
- ],
135
- "removedExports": [],
136
- "dependents": [
137
- "/src/index.ts",
138
- "/src/links/httpLink.ts",
139
- "/src/links/wsLink.ts",
140
- "/src/internals/TRPCUntypedClient.ts",
141
- "/src/links/internals/createHTTPBatchLink.ts",
142
- "/src/links/internals/httpUtils.ts"
143
- ],
144
- "percent": 3.98,
145
- "reduction": 43.37
146
- },
147
- {
148
- "id": "/src/links/httpBatchStreamLink.ts",
149
- "size": 1340,
150
- "origSize": 2041,
151
- "renderedExports": [
152
- "unstable_httpBatchStreamLink"
153
- ],
154
- "removedExports": [],
155
- "dependents": [],
156
- "percent": 2.86,
157
- "reduction": 34.35
158
- },
159
- {
160
- "id": "/src/createTRPCClient.ts",
161
- "size": 1206,
162
- "origSize": 4423,
163
- "renderedExports": [
164
- "clientCallTypeToProcedureType",
165
- "createTRPCClientProxy",
166
- "createTRPCClient",
167
- "getUntypedClient"
168
- ],
169
- "removedExports": [],
170
- "dependents": [
171
- "/src/index.ts"
172
- ],
173
- "percent": 2.57,
174
- "reduction": 72.73
175
- },
176
- {
177
- "id": "/src/links/httpBatchLink.ts",
178
- "size": 1205,
179
- "origSize": 1430,
180
- "renderedExports": [
181
- "httpBatchLink"
182
- ],
183
- "removedExports": [],
184
- "dependents": [],
185
- "percent": 2.57,
186
- "reduction": 15.73
187
- },
188
- {
189
- "id": "/src/links/httpFormDataLink.ts",
190
- "size": 703,
191
- "origSize": 772,
192
- "renderedExports": [
193
- "experimental_formDataLink"
194
- ],
195
- "removedExports": [],
196
- "dependents": [],
197
- "percent": 1.5,
198
- "reduction": 8.94
199
- },
200
- {
201
- "id": "/src/links/internals/createChain.ts",
202
- "size": 690,
203
- "origSize": 1026,
204
- "renderedExports": [
205
- "createChain"
206
- ],
207
- "removedExports": [],
208
- "dependents": [
209
- "/src/links/splitLink.ts",
210
- "/src/internals/TRPCUntypedClient.ts"
211
- ],
212
- "percent": 1.47,
213
- "reduction": 32.75
214
- },
215
- {
216
- "id": "/src/links/splitLink.ts",
217
- "size": 610,
218
- "origSize": 1108,
219
- "renderedExports": [
220
- "splitLink"
221
- ],
222
- "removedExports": [],
223
- "dependents": [],
224
- "percent": 1.3,
225
- "reduction": 44.95
226
- },
227
- {
228
- "id": "/src/links/internals/getTextDecoder.ts",
229
- "size": 553,
230
- "origSize": 634,
231
- "renderedExports": [
232
- "getTextDecoder"
233
- ],
234
- "removedExports": [],
235
- "dependents": [
236
- "/src/links/httpBatchStreamLink.ts"
237
- ],
238
- "percent": 1.18,
239
- "reduction": 12.78
240
- },
241
- {
242
- "id": "/src/internals/getAbortController.ts",
243
- "size": 542,
244
- "origSize": 710,
245
- "renderedExports": [
246
- "getAbortController"
247
- ],
248
- "removedExports": [],
249
- "dependents": [
250
- "/src/links/internals/httpUtils.ts"
251
- ],
252
- "percent": 1.16,
253
- "reduction": 23.66
254
- },
255
- {
256
- "id": "/src/getFetch.ts",
257
- "size": 428,
258
- "origSize": 644,
259
- "renderedExports": [
260
- "getFetch"
261
- ],
262
- "removedExports": [],
263
- "dependents": [
264
- "/src/index.ts",
265
- "/src/links/internals/httpUtils.ts"
266
- ],
267
- "percent": 0.91,
268
- "reduction": 33.54
269
- },
270
- {
271
- "id": "/src/createTRPCUntypedClient.ts",
272
- "size": 100,
273
- "origSize": 574,
274
- "renderedExports": [
275
- "createTRPCUntypedClient"
276
- ],
277
- "removedExports": [],
278
- "dependents": [
279
- "/src/index.ts"
280
- ],
281
- "percent": 0.21,
282
- "reduction": 82.58
283
- },
284
- {
285
- "id": "/src/index.ts",
286
- "size": 0,
287
- "origSize": 540,
288
- "renderedExports": [],
289
- "removedExports": [],
290
- "dependents": [],
291
- "percent": 0,
292
- "reduction": 100
293
- }
294
- ],
295
- "moduleCount": 20
296
- }