@trpc/server 11.0.0-alpha-tmp.179 → 11.0.0-alpha-tmp.180

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,7 +1,7 @@
1
1
  {
2
2
  "bundleSize": 52022,
3
- "bundleOrigSize": 71792,
4
- "bundleReduction": 27.54,
3
+ "bundleOrigSize": 71825,
4
+ "bundleReduction": 27.57,
5
5
  "modules": [
6
6
  {
7
7
  "id": "/src/adapters/ws.ts",
@@ -355,6 +355,22 @@
355
355
  "percent": 0,
356
356
  "reduction": 100
357
357
  },
358
+ {
359
+ "id": "/src/http.ts",
360
+ "size": 0,
361
+ "origSize": 33,
362
+ "renderedExports": [],
363
+ "removedExports": [],
364
+ "dependents": [
365
+ "/src/adapters/aws-lambda/index.ts",
366
+ "/src/adapters/node-http/content-type/json/index.ts",
367
+ "/src/adapters/fastify/fastifyRequestHandler.ts",
368
+ "/src/adapters/fetch/fetchRequestHandler.ts",
369
+ "/src/adapters/node-http/nodeHTTPRequestHandler.ts"
370
+ ],
371
+ "percent": 0,
372
+ "reduction": 100
373
+ },
358
374
  {
359
375
  "id": "/src/index.ts",
360
376
  "size": 0,
@@ -396,5 +412,5 @@
396
412
  "reduction": 100
397
413
  }
398
414
  ],
399
- "moduleCount": 28
415
+ "moduleCount": 29
400
416
  }
package/dist/http.js ADDED
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var http = require('@trpc/core/http');
6
+
7
+
8
+
9
+ Object.keys(http).forEach(function (k) {
10
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
11
+ enumerable: true,
12
+ get: function () { return http[k]; }
13
+ });
14
+ });
package/dist/http.mjs ADDED
@@ -0,0 +1 @@
1
+ export * from '@trpc/core/http';
@@ -0,0 +1 @@
1
+ export * from '../dist/http';
package/http/index.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('../dist/http');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/server",
3
- "version": "11.0.0-alpha-tmp.179+d1cd50814",
3
+ "version": "11.0.0-alpha-tmp.180+1ae77450a",
4
4
  "description": "The tRPC server library",
5
5
  "author": "KATT",
6
6
  "license": "MIT",
@@ -94,6 +94,11 @@
94
94
  "require": "./dist/adapters/ws.js",
95
95
  "default": "./dist/adapters/ws.js"
96
96
  },
97
+ "./http": {
98
+ "import": "./dist/http.mjs",
99
+ "require": "./dist/http.js",
100
+ "default": "./dist/http.js"
101
+ },
97
102
  "./observable": {
98
103
  "import": "./dist/observable.mjs",
99
104
  "require": "./dist/observable.js",
@@ -116,6 +121,7 @@
116
121
  "README.md",
117
122
  "package.json",
118
123
  "adapters",
124
+ "http",
119
125
  "observable",
120
126
  "rpc",
121
127
  "shared",
@@ -125,7 +131,7 @@
125
131
  "access": "public"
126
132
  },
127
133
  "dependencies": {
128
- "@trpc/core": "11.0.0-alpha-tmp.179+d1cd50814"
134
+ "@trpc/core": "11.0.0-alpha-tmp.180+1ae77450a"
129
135
  },
130
136
  "devDependencies": {
131
137
  "@fastify/websocket": "^7.1.2",
@@ -164,5 +170,5 @@
164
170
  "funding": [
165
171
  "https://trpc.io/sponsor"
166
172
  ],
167
- "gitHead": "d1cd50814f10f4a3245de841064e00e9fe180b2f"
173
+ "gitHead": "1ae77450ab18e75bc9d9c34d8b8130ffc4ddd249"
168
174
  }