@trpc/server 10.45.1-canary.13 → 10.45.1-canary.17
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/{TRPCError-2bb6a7d0.js → TRPCError-213cd8c9.js} +1 -1
- package/dist/{TRPCError-7e8e2a1b.mjs → TRPCError-98d44758.mjs} +1 -1
- package/dist/{TRPCError-0b220715.js → TRPCError-ca37bf1a.js} +1 -1
- package/dist/adapters/aws-lambda/index.js +4 -4
- package/dist/adapters/aws-lambda/index.mjs +4 -4
- package/dist/adapters/express.js +5 -5
- package/dist/adapters/express.mjs +5 -5
- package/dist/adapters/fastify/index.js +4 -4
- package/dist/adapters/fastify/index.mjs +4 -4
- package/dist/adapters/fetch/index.js +4 -4
- package/dist/adapters/fetch/index.mjs +4 -4
- package/dist/adapters/next.js +5 -5
- package/dist/adapters/next.mjs +5 -5
- package/dist/adapters/node-http/content-type/json/index.js +2 -2
- package/dist/adapters/node-http/content-type/json/index.mjs +2 -2
- package/dist/adapters/node-http/index.js +5 -5
- package/dist/adapters/node-http/index.mjs +5 -5
- package/dist/adapters/standalone.js +5 -5
- package/dist/adapters/standalone.mjs +5 -5
- package/dist/adapters/ws.js +2 -2
- package/dist/adapters/ws.mjs +2 -2
- package/dist/bundle-analysis.json +8 -8
- package/dist/{config-930036df.js → config-194bdd43.js} +1 -1
- package/dist/{config-efa2782d.js → config-61497ca3.js} +1 -1
- package/dist/{config-e3143f14.mjs → config-d5fdbd39.mjs} +1 -1
- package/dist/{contentType-a229790b.js → contentType-1de645c8.js} +1 -1
- package/dist/{contentType-31223e57.mjs → contentType-9fd995d3.mjs} +1 -1
- package/dist/{contentType-0447b256.js → contentType-fb720add.js} +1 -1
- package/dist/http/index.js +4 -4
- package/dist/http/index.mjs +4 -4
- package/dist/index.js +2 -2
- package/dist/index.mjs +4 -4
- package/dist/{nodeHTTPRequestHandler-f5efadf5.mjs → nodeHTTPRequestHandler-97af83bc.mjs} +1 -1
- package/dist/{nodeHTTPRequestHandler-60853005.js → nodeHTTPRequestHandler-ad3e4860.js} +1 -1
- package/dist/{nodeHTTPRequestHandler-cd03d007.js → nodeHTTPRequestHandler-bd7d0ca5.js} +1 -1
- package/dist/{resolveHTTPResponse-37afa02e.mjs → resolveHTTPResponse-2fc435bb.mjs} +3 -3
- package/dist/{resolveHTTPResponse-268da4ac.js → resolveHTTPResponse-9f105277.js} +3 -3
- package/dist/{resolveHTTPResponse-b2ba9325.js → resolveHTTPResponse-b7a8a1c9.js} +3 -3
- package/dist/subscription.js +1 -1
- package/dist/subscription.mjs +1 -1
- package/package.json +2 -2
- package/src/error/TRPCError.ts +1 -1
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var TRPCError = require('../../TRPCError-
|
|
5
|
+
var TRPCError = require('../../TRPCError-ca37bf1a.js');
|
|
6
6
|
require('../../index-784ff647.js');
|
|
7
7
|
require('../../codes-87f6824b.js');
|
|
8
|
-
require('../../config-
|
|
9
|
-
var resolveHTTPResponse = require('../../resolveHTTPResponse-
|
|
8
|
+
require('../../config-194bdd43.js');
|
|
9
|
+
var resolveHTTPResponse = require('../../resolveHTTPResponse-b7a8a1c9.js');
|
|
10
10
|
require('../../getCauseFromUnknown-d535264a.js');
|
|
11
11
|
require('../../transformTRPCResponse-e65f34e9.js');
|
|
12
|
-
require('../../contentType-
|
|
12
|
+
require('../../contentType-1de645c8.js');
|
|
13
13
|
|
|
14
14
|
function isPayloadV1(event) {
|
|
15
15
|
return determinePayloadFormat(event) == '1.0';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { T as TRPCError } from '../../TRPCError-
|
|
1
|
+
import { T as TRPCError } from '../../TRPCError-98d44758.mjs';
|
|
2
2
|
import '../../index-f91d720c.mjs';
|
|
3
3
|
import '../../codes-c924c3db.mjs';
|
|
4
|
-
import '../../config-
|
|
5
|
-
import { r as resolveHTTPResponse } from '../../resolveHTTPResponse-
|
|
4
|
+
import '../../config-d5fdbd39.mjs';
|
|
5
|
+
import { r as resolveHTTPResponse } from '../../resolveHTTPResponse-2fc435bb.mjs';
|
|
6
6
|
import '../../getCauseFromUnknown-2d66414a.mjs';
|
|
7
7
|
import '../../transformTRPCResponse-1153b421.mjs';
|
|
8
|
-
import '../../contentType-
|
|
8
|
+
import '../../contentType-9fd995d3.mjs';
|
|
9
9
|
|
|
10
10
|
function isPayloadV1(event) {
|
|
11
11
|
return determinePayloadFormat(event) == '1.0';
|
package/dist/adapters/express.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var nodeHTTPRequestHandler = require('../nodeHTTPRequestHandler-
|
|
5
|
+
var nodeHTTPRequestHandler = require('../nodeHTTPRequestHandler-ad3e4860.js');
|
|
6
6
|
require('../index-784ff647.js');
|
|
7
7
|
require('../codes-87f6824b.js');
|
|
8
|
-
require('../resolveHTTPResponse-
|
|
9
|
-
require('../config-
|
|
10
|
-
require('../TRPCError-
|
|
8
|
+
require('../resolveHTTPResponse-b7a8a1c9.js');
|
|
9
|
+
require('../config-194bdd43.js');
|
|
10
|
+
require('../TRPCError-ca37bf1a.js');
|
|
11
11
|
require('../getCauseFromUnknown-d535264a.js');
|
|
12
12
|
require('../transformTRPCResponse-e65f34e9.js');
|
|
13
|
-
require('../contentType-
|
|
13
|
+
require('../contentType-1de645c8.js');
|
|
14
14
|
require('../batchStreamFormatter-93cdcdd4.js');
|
|
15
15
|
require('./node-http/content-type/json/index.js');
|
|
16
16
|
require('../contentType-8c16408e.js');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as nodeHTTPRequestHandler } from '../nodeHTTPRequestHandler-
|
|
1
|
+
import { n as nodeHTTPRequestHandler } from '../nodeHTTPRequestHandler-97af83bc.mjs';
|
|
2
2
|
import '../index-f91d720c.mjs';
|
|
3
3
|
import '../codes-c924c3db.mjs';
|
|
4
|
-
import '../resolveHTTPResponse-
|
|
5
|
-
import '../config-
|
|
6
|
-
import '../TRPCError-
|
|
4
|
+
import '../resolveHTTPResponse-2fc435bb.mjs';
|
|
5
|
+
import '../config-d5fdbd39.mjs';
|
|
6
|
+
import '../TRPCError-98d44758.mjs';
|
|
7
7
|
import '../getCauseFromUnknown-2d66414a.mjs';
|
|
8
8
|
import '../transformTRPCResponse-1153b421.mjs';
|
|
9
|
-
import '../contentType-
|
|
9
|
+
import '../contentType-9fd995d3.mjs';
|
|
10
10
|
import '../batchStreamFormatter-fc1ffb26.mjs';
|
|
11
11
|
import './node-http/content-type/json/index.mjs';
|
|
12
12
|
import '../contentType-3194ed5f.mjs';
|
|
@@ -4,15 +4,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var node_stream = require('node:stream');
|
|
6
6
|
require('../../index-784ff647.js');
|
|
7
|
-
var resolveHTTPResponse = require('../../resolveHTTPResponse-
|
|
7
|
+
var resolveHTTPResponse = require('../../resolveHTTPResponse-b7a8a1c9.js');
|
|
8
8
|
var batchStreamFormatter = require('../../batchStreamFormatter-93cdcdd4.js');
|
|
9
9
|
var adapters_ws = require('../ws.js');
|
|
10
10
|
require('../../codes-87f6824b.js');
|
|
11
|
-
require('../../config-
|
|
12
|
-
require('../../TRPCError-
|
|
11
|
+
require('../../config-194bdd43.js');
|
|
12
|
+
require('../../TRPCError-ca37bf1a.js');
|
|
13
13
|
require('../../getCauseFromUnknown-d535264a.js');
|
|
14
14
|
require('../../transformTRPCResponse-e65f34e9.js');
|
|
15
|
-
require('../../contentType-
|
|
15
|
+
require('../../contentType-1de645c8.js');
|
|
16
16
|
require('../../observable-464116ac.js');
|
|
17
17
|
require('../../parseTRPCMessage-1377f305.js');
|
|
18
18
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Readable } from 'node:stream';
|
|
2
2
|
import '../../index-f91d720c.mjs';
|
|
3
|
-
import { r as resolveHTTPResponse } from '../../resolveHTTPResponse-
|
|
3
|
+
import { r as resolveHTTPResponse } from '../../resolveHTTPResponse-2fc435bb.mjs';
|
|
4
4
|
import { g as getBatchStreamFormatter } from '../../batchStreamFormatter-fc1ffb26.mjs';
|
|
5
5
|
import { applyWSSHandler } from '../ws.mjs';
|
|
6
6
|
import '../../codes-c924c3db.mjs';
|
|
7
|
-
import '../../config-
|
|
8
|
-
import '../../TRPCError-
|
|
7
|
+
import '../../config-d5fdbd39.mjs';
|
|
8
|
+
import '../../TRPCError-98d44758.mjs';
|
|
9
9
|
import '../../getCauseFromUnknown-2d66414a.mjs';
|
|
10
10
|
import '../../transformTRPCResponse-1153b421.mjs';
|
|
11
|
-
import '../../contentType-
|
|
11
|
+
import '../../contentType-9fd995d3.mjs';
|
|
12
12
|
import '../../observable-ade1bad8.mjs';
|
|
13
13
|
import '../../parseTRPCMessage-a0f17853.mjs';
|
|
14
14
|
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
require('../../index-784ff647.js');
|
|
6
|
-
var resolveHTTPResponse = require('../../resolveHTTPResponse-
|
|
6
|
+
var resolveHTTPResponse = require('../../resolveHTTPResponse-b7a8a1c9.js');
|
|
7
7
|
var batchStreamFormatter = require('../../batchStreamFormatter-93cdcdd4.js');
|
|
8
8
|
require('../../codes-87f6824b.js');
|
|
9
|
-
require('../../config-
|
|
10
|
-
require('../../TRPCError-
|
|
9
|
+
require('../../config-194bdd43.js');
|
|
10
|
+
require('../../TRPCError-ca37bf1a.js');
|
|
11
11
|
require('../../getCauseFromUnknown-d535264a.js');
|
|
12
12
|
require('../../transformTRPCResponse-e65f34e9.js');
|
|
13
|
-
require('../../contentType-
|
|
13
|
+
require('../../contentType-1de645c8.js');
|
|
14
14
|
|
|
15
15
|
const trimSlashes = (path)=>{
|
|
16
16
|
path = path.startsWith('/') ? path.slice(1) : path;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import '../../index-f91d720c.mjs';
|
|
2
|
-
import { r as resolveHTTPResponse } from '../../resolveHTTPResponse-
|
|
2
|
+
import { r as resolveHTTPResponse } from '../../resolveHTTPResponse-2fc435bb.mjs';
|
|
3
3
|
import { g as getBatchStreamFormatter } from '../../batchStreamFormatter-fc1ffb26.mjs';
|
|
4
4
|
import '../../codes-c924c3db.mjs';
|
|
5
|
-
import '../../config-
|
|
6
|
-
import '../../TRPCError-
|
|
5
|
+
import '../../config-d5fdbd39.mjs';
|
|
6
|
+
import '../../TRPCError-98d44758.mjs';
|
|
7
7
|
import '../../getCauseFromUnknown-2d66414a.mjs';
|
|
8
8
|
import '../../transformTRPCResponse-1153b421.mjs';
|
|
9
|
-
import '../../contentType-
|
|
9
|
+
import '../../contentType-9fd995d3.mjs';
|
|
10
10
|
|
|
11
11
|
const trimSlashes = (path)=>{
|
|
12
12
|
path = path.startsWith('/') ? path.slice(1) : path;
|
package/dist/adapters/next.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var TRPCError = require('../TRPCError-
|
|
5
|
+
var TRPCError = require('../TRPCError-ca37bf1a.js');
|
|
6
6
|
var transformTRPCResponse = require('../transformTRPCResponse-e65f34e9.js');
|
|
7
|
-
var nodeHTTPRequestHandler = require('../nodeHTTPRequestHandler-
|
|
7
|
+
var nodeHTTPRequestHandler = require('../nodeHTTPRequestHandler-ad3e4860.js');
|
|
8
8
|
require('../getCauseFromUnknown-d535264a.js');
|
|
9
9
|
require('../index-784ff647.js');
|
|
10
10
|
require('../codes-87f6824b.js');
|
|
11
|
-
require('../resolveHTTPResponse-
|
|
12
|
-
require('../config-
|
|
13
|
-
require('../contentType-
|
|
11
|
+
require('../resolveHTTPResponse-b7a8a1c9.js');
|
|
12
|
+
require('../config-194bdd43.js');
|
|
13
|
+
require('../contentType-1de645c8.js');
|
|
14
14
|
require('../batchStreamFormatter-93cdcdd4.js');
|
|
15
15
|
require('./node-http/content-type/json/index.js');
|
|
16
16
|
require('../contentType-8c16408e.js');
|
package/dist/adapters/next.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { T as TRPCError } from '../TRPCError-
|
|
1
|
+
import { T as TRPCError } from '../TRPCError-98d44758.mjs';
|
|
2
2
|
import { g as getErrorShape } from '../transformTRPCResponse-1153b421.mjs';
|
|
3
|
-
import { n as nodeHTTPRequestHandler } from '../nodeHTTPRequestHandler-
|
|
3
|
+
import { n as nodeHTTPRequestHandler } from '../nodeHTTPRequestHandler-97af83bc.mjs';
|
|
4
4
|
import '../getCauseFromUnknown-2d66414a.mjs';
|
|
5
5
|
import '../index-f91d720c.mjs';
|
|
6
6
|
import '../codes-c924c3db.mjs';
|
|
7
|
-
import '../resolveHTTPResponse-
|
|
8
|
-
import '../config-
|
|
9
|
-
import '../contentType-
|
|
7
|
+
import '../resolveHTTPResponse-2fc435bb.mjs';
|
|
8
|
+
import '../config-d5fdbd39.mjs';
|
|
9
|
+
import '../contentType-9fd995d3.mjs';
|
|
10
10
|
import '../batchStreamFormatter-fc1ffb26.mjs';
|
|
11
11
|
import './node-http/content-type/json/index.mjs';
|
|
12
12
|
import '../contentType-3194ed5f.mjs';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var contentType$1 = require('../../../../contentType-
|
|
5
|
+
var contentType$1 = require('../../../../contentType-1de645c8.js');
|
|
6
6
|
var contentType = require('../../../../contentType-8c16408e.js');
|
|
7
|
-
var TRPCError = require('../../../../TRPCError-
|
|
7
|
+
var TRPCError = require('../../../../TRPCError-ca37bf1a.js');
|
|
8
8
|
require('../../../../getCauseFromUnknown-d535264a.js');
|
|
9
9
|
|
|
10
10
|
async function getPostBody(opts) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as getJsonContentTypeInputs } from '../../../../contentType-
|
|
1
|
+
import { g as getJsonContentTypeInputs } from '../../../../contentType-9fd995d3.mjs';
|
|
2
2
|
import { c as createNodeHTTPContentTypeHandler } from '../../../../contentType-3194ed5f.mjs';
|
|
3
|
-
import { T as TRPCError } from '../../../../TRPCError-
|
|
3
|
+
import { T as TRPCError } from '../../../../TRPCError-98d44758.mjs';
|
|
4
4
|
import '../../../../getCauseFromUnknown-2d66414a.mjs';
|
|
5
5
|
|
|
6
6
|
async function getPostBody(opts) {
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var nodeHTTPRequestHandler = require('../../nodeHTTPRequestHandler-
|
|
5
|
+
var nodeHTTPRequestHandler = require('../../nodeHTTPRequestHandler-ad3e4860.js');
|
|
6
6
|
require('../../index-784ff647.js');
|
|
7
7
|
require('../../codes-87f6824b.js');
|
|
8
|
-
require('../../resolveHTTPResponse-
|
|
9
|
-
require('../../config-
|
|
10
|
-
require('../../TRPCError-
|
|
8
|
+
require('../../resolveHTTPResponse-b7a8a1c9.js');
|
|
9
|
+
require('../../config-194bdd43.js');
|
|
10
|
+
require('../../TRPCError-ca37bf1a.js');
|
|
11
11
|
require('../../getCauseFromUnknown-d535264a.js');
|
|
12
12
|
require('../../transformTRPCResponse-e65f34e9.js');
|
|
13
|
-
require('../../contentType-
|
|
13
|
+
require('../../contentType-1de645c8.js');
|
|
14
14
|
require('../../batchStreamFormatter-93cdcdd4.js');
|
|
15
15
|
require('./content-type/json/index.js');
|
|
16
16
|
require('../../contentType-8c16408e.js');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { n as nodeHTTPRequestHandler } from '../../nodeHTTPRequestHandler-
|
|
1
|
+
export { n as nodeHTTPRequestHandler } from '../../nodeHTTPRequestHandler-97af83bc.mjs';
|
|
2
2
|
import '../../index-f91d720c.mjs';
|
|
3
3
|
import '../../codes-c924c3db.mjs';
|
|
4
|
-
import '../../resolveHTTPResponse-
|
|
5
|
-
import '../../config-
|
|
6
|
-
import '../../TRPCError-
|
|
4
|
+
import '../../resolveHTTPResponse-2fc435bb.mjs';
|
|
5
|
+
import '../../config-d5fdbd39.mjs';
|
|
6
|
+
import '../../TRPCError-98d44758.mjs';
|
|
7
7
|
import '../../getCauseFromUnknown-2d66414a.mjs';
|
|
8
8
|
import '../../transformTRPCResponse-1153b421.mjs';
|
|
9
|
-
import '../../contentType-
|
|
9
|
+
import '../../contentType-9fd995d3.mjs';
|
|
10
10
|
import '../../batchStreamFormatter-fc1ffb26.mjs';
|
|
11
11
|
import './content-type/json/index.mjs';
|
|
12
12
|
import '../../contentType-3194ed5f.mjs';
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var http = require('node:http');
|
|
6
|
-
var nodeHTTPRequestHandler = require('../nodeHTTPRequestHandler-
|
|
6
|
+
var nodeHTTPRequestHandler = require('../nodeHTTPRequestHandler-ad3e4860.js');
|
|
7
7
|
require('../index-784ff647.js');
|
|
8
8
|
require('../codes-87f6824b.js');
|
|
9
|
-
require('../resolveHTTPResponse-
|
|
10
|
-
require('../config-
|
|
11
|
-
require('../TRPCError-
|
|
9
|
+
require('../resolveHTTPResponse-b7a8a1c9.js');
|
|
10
|
+
require('../config-194bdd43.js');
|
|
11
|
+
require('../TRPCError-ca37bf1a.js');
|
|
12
12
|
require('../getCauseFromUnknown-d535264a.js');
|
|
13
13
|
require('../transformTRPCResponse-e65f34e9.js');
|
|
14
|
-
require('../contentType-
|
|
14
|
+
require('../contentType-1de645c8.js');
|
|
15
15
|
require('../batchStreamFormatter-93cdcdd4.js');
|
|
16
16
|
require('./node-http/content-type/json/index.js');
|
|
17
17
|
require('../contentType-8c16408e.js');
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import http from 'node:http';
|
|
2
|
-
import { n as nodeHTTPRequestHandler } from '../nodeHTTPRequestHandler-
|
|
2
|
+
import { n as nodeHTTPRequestHandler } from '../nodeHTTPRequestHandler-97af83bc.mjs';
|
|
3
3
|
import '../index-f91d720c.mjs';
|
|
4
4
|
import '../codes-c924c3db.mjs';
|
|
5
|
-
import '../resolveHTTPResponse-
|
|
6
|
-
import '../config-
|
|
7
|
-
import '../TRPCError-
|
|
5
|
+
import '../resolveHTTPResponse-2fc435bb.mjs';
|
|
6
|
+
import '../config-d5fdbd39.mjs';
|
|
7
|
+
import '../TRPCError-98d44758.mjs';
|
|
8
8
|
import '../getCauseFromUnknown-2d66414a.mjs';
|
|
9
9
|
import '../transformTRPCResponse-1153b421.mjs';
|
|
10
|
-
import '../contentType-
|
|
10
|
+
import '../contentType-9fd995d3.mjs';
|
|
11
11
|
import '../batchStreamFormatter-fc1ffb26.mjs';
|
|
12
12
|
import './node-http/content-type/json/index.mjs';
|
|
13
13
|
import '../contentType-3194ed5f.mjs';
|
package/dist/adapters/ws.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var config = require('../config-
|
|
6
|
-
var TRPCError = require('../TRPCError-
|
|
5
|
+
var config = require('../config-194bdd43.js');
|
|
6
|
+
var TRPCError = require('../TRPCError-ca37bf1a.js');
|
|
7
7
|
var observable = require('../observable-464116ac.js');
|
|
8
8
|
require('../codes-87f6824b.js');
|
|
9
9
|
var parseTRPCMessage = require('../parseTRPCMessage-1377f305.js');
|
package/dist/adapters/ws.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as callProcedure } from '../config-
|
|
2
|
-
import { T as TRPCError, g as getTRPCErrorFromUnknown } from '../TRPCError-
|
|
1
|
+
import { e as callProcedure } from '../config-d5fdbd39.mjs';
|
|
2
|
+
import { T as TRPCError, g as getTRPCErrorFromUnknown } from '../TRPCError-98d44758.mjs';
|
|
3
3
|
import { i as isObservable } from '../observable-ade1bad8.mjs';
|
|
4
4
|
import '../codes-c924c3db.mjs';
|
|
5
5
|
import { p as parseTRPCMessage } from '../parseTRPCMessage-a0f17853.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"bundleSize":
|
|
3
|
-
"bundleOrigSize":
|
|
2
|
+
"bundleSize": 115235,
|
|
3
|
+
"bundleOrigSize": 195305,
|
|
4
4
|
"bundleReduction": 41,
|
|
5
5
|
"modules": [
|
|
6
6
|
{
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"dependents": [
|
|
15
15
|
"/src/adapters/fastify/fastifyTRPCPlugin.ts"
|
|
16
16
|
],
|
|
17
|
-
"percent": 8.
|
|
17
|
+
"percent": 8.43,
|
|
18
18
|
"reduction": 0
|
|
19
19
|
},
|
|
20
20
|
{
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"dependents": [
|
|
78
78
|
"/src/deprecated/router.ts"
|
|
79
79
|
],
|
|
80
|
-
"percent": 4.
|
|
80
|
+
"percent": 4.88,
|
|
81
81
|
"reduction": 44.8
|
|
82
82
|
},
|
|
83
83
|
{
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
],
|
|
224
224
|
"removedExports": [],
|
|
225
225
|
"dependents": [],
|
|
226
|
-
"percent": 2.
|
|
226
|
+
"percent": 2.24,
|
|
227
227
|
"reduction": 50.05
|
|
228
228
|
},
|
|
229
229
|
{
|
|
@@ -480,8 +480,8 @@
|
|
|
480
480
|
},
|
|
481
481
|
{
|
|
482
482
|
"id": "/src/error/TRPCError.ts",
|
|
483
|
-
"size":
|
|
484
|
-
"origSize":
|
|
483
|
+
"size": 1084,
|
|
484
|
+
"origSize": 1506,
|
|
485
485
|
"renderedExports": [
|
|
486
486
|
"getTRPCErrorFromUnknown",
|
|
487
487
|
"TRPCError"
|
|
@@ -503,7 +503,7 @@
|
|
|
503
503
|
"/src/http/contentType.ts"
|
|
504
504
|
],
|
|
505
505
|
"percent": 0.94,
|
|
506
|
-
"reduction": 28.
|
|
506
|
+
"reduction": 28.02
|
|
507
507
|
},
|
|
508
508
|
{
|
|
509
509
|
"id": "/src/rpc/codes.ts",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TRPCError } from './TRPCError-
|
|
1
|
+
import { T as TRPCError } from './TRPCError-213cd8c9.js';
|
|
2
2
|
import { a as createRecursiveProxy, g as getHTTPStatusCodeFromError } from './index-41f6f0b3.js';
|
|
3
3
|
import { T as TRPC_ERROR_CODES_BY_KEY } from './codes-62b059d2.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TRPCError } from './TRPCError-
|
|
1
|
+
import { T as TRPCError } from './TRPCError-98d44758.mjs';
|
|
2
2
|
import { a as createRecursiveProxy, g as getHTTPStatusCodeFromError } from './index-f91d720c.mjs';
|
|
3
3
|
import { T as TRPC_ERROR_CODES_BY_KEY } from './codes-c924c3db.mjs';
|
|
4
4
|
|
package/dist/http/index.js
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var index = require('../index-784ff647.js');
|
|
6
|
-
var resolveHTTPResponse = require('../resolveHTTPResponse-
|
|
6
|
+
var resolveHTTPResponse = require('../resolveHTTPResponse-b7a8a1c9.js');
|
|
7
7
|
var batchStreamFormatter = require('../batchStreamFormatter-93cdcdd4.js');
|
|
8
8
|
require('../codes-87f6824b.js');
|
|
9
|
-
require('../config-
|
|
10
|
-
require('../TRPCError-
|
|
9
|
+
require('../config-194bdd43.js');
|
|
10
|
+
require('../TRPCError-ca37bf1a.js');
|
|
11
11
|
require('../getCauseFromUnknown-d535264a.js');
|
|
12
12
|
require('../transformTRPCResponse-e65f34e9.js');
|
|
13
|
-
require('../contentType-
|
|
13
|
+
require('../contentType-1de645c8.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
package/dist/http/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { T as TRPC_ERROR_CODES_BY_NUMBER, b as getHTTPStatusCode, g as getHTTPStatusCodeFromError } from '../index-f91d720c.mjs';
|
|
2
|
-
export { r as resolveHTTPResponse } from '../resolveHTTPResponse-
|
|
2
|
+
export { r as resolveHTTPResponse } from '../resolveHTTPResponse-2fc435bb.mjs';
|
|
3
3
|
export { g as getBatchStreamFormatter } from '../batchStreamFormatter-fc1ffb26.mjs';
|
|
4
4
|
import '../codes-c924c3db.mjs';
|
|
5
|
-
import '../config-
|
|
6
|
-
import '../TRPCError-
|
|
5
|
+
import '../config-d5fdbd39.mjs';
|
|
6
|
+
import '../TRPCError-98d44758.mjs';
|
|
7
7
|
import '../getCauseFromUnknown-2d66414a.mjs';
|
|
8
8
|
import '../transformTRPCResponse-1153b421.mjs';
|
|
9
|
-
import '../contentType-
|
|
9
|
+
import '../contentType-9fd995d3.mjs';
|
package/dist/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var config = require('./config-
|
|
6
|
-
var TRPCError = require('./TRPCError-
|
|
5
|
+
var config = require('./config-194bdd43.js');
|
|
6
|
+
var TRPCError = require('./TRPCError-ca37bf1a.js');
|
|
7
7
|
var index = require('./index-784ff647.js');
|
|
8
8
|
var codes = require('./codes-87f6824b.js');
|
|
9
9
|
require('./getCauseFromUnknown-d535264a.js');
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as createRouterFactory, d as defaultFormatter, a as defaultTransformer, g as getDataTransformer$1, i as isServerDefault, b as createCallerFactory } from './config-
|
|
2
|
-
export { e as callProcedure, b as createCallerFactory, a as defaultTransformer, g as getDataTransformer, p as procedureTypes } from './config-
|
|
3
|
-
import { T as TRPCError, g as getTRPCErrorFromUnknown } from './TRPCError-
|
|
4
|
-
export { T as TRPCError, g as getTRPCErrorFromUnknown } from './TRPCError-
|
|
1
|
+
import { c as createRouterFactory, d as defaultFormatter, a as defaultTransformer, g as getDataTransformer$1, i as isServerDefault, b as createCallerFactory } from './config-d5fdbd39.mjs';
|
|
2
|
+
export { e as callProcedure, b as createCallerFactory, a as defaultTransformer, g as getDataTransformer, p as procedureTypes } from './config-d5fdbd39.mjs';
|
|
3
|
+
import { T as TRPCError, g as getTRPCErrorFromUnknown } from './TRPCError-98d44758.mjs';
|
|
4
|
+
export { T as TRPCError, g as getTRPCErrorFromUnknown } from './TRPCError-98d44758.mjs';
|
|
5
5
|
import { g as getHTTPStatusCodeFromError, c as createFlatProxy } from './index-f91d720c.mjs';
|
|
6
6
|
import { T as TRPC_ERROR_CODES_BY_KEY } from './codes-c924c3db.mjs';
|
|
7
7
|
import './getCauseFromUnknown-2d66414a.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './index-f91d720c.mjs';
|
|
2
|
-
import { r as resolveHTTPResponse } from './resolveHTTPResponse-
|
|
2
|
+
import { r as resolveHTTPResponse } from './resolveHTTPResponse-2fc435bb.mjs';
|
|
3
3
|
import { g as getBatchStreamFormatter } from './batchStreamFormatter-fc1ffb26.mjs';
|
|
4
4
|
import { nodeHTTPJSONContentTypeHandler } from './adapters/node-http/content-type/json/index.mjs';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./index-784ff647.js');
|
|
4
|
-
var resolveHTTPResponse = require('./resolveHTTPResponse-
|
|
4
|
+
var resolveHTTPResponse = require('./resolveHTTPResponse-b7a8a1c9.js');
|
|
5
5
|
var batchStreamFormatter = require('./batchStreamFormatter-93cdcdd4.js');
|
|
6
6
|
var adapters_nodeHttp_contentType_json_index = require('./adapters/node-http/content-type/json/index.js');
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './index-41f6f0b3.js';
|
|
2
|
-
import { r as resolveHTTPResponse } from './resolveHTTPResponse-
|
|
2
|
+
import { r as resolveHTTPResponse } from './resolveHTTPResponse-9f105277.js';
|
|
3
3
|
import { g as getBatchStreamFormatter } from './batchStreamFormatter-2c1405a1.js';
|
|
4
4
|
import { nodeHTTPJSONContentTypeHandler } from './adapters/node-http/content-type/json/index.js';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { e as callProcedure } from './config-
|
|
2
|
-
import { T as TRPCError, g as getTRPCErrorFromUnknown } from './TRPCError-
|
|
1
|
+
import { e as callProcedure } from './config-d5fdbd39.mjs';
|
|
2
|
+
import { T as TRPCError, g as getTRPCErrorFromUnknown } from './TRPCError-98d44758.mjs';
|
|
3
3
|
import { t as transformTRPCResponse, g as getErrorShape } from './transformTRPCResponse-1153b421.mjs';
|
|
4
|
-
import { g as getJsonContentTypeInputs } from './contentType-
|
|
4
|
+
import { g as getJsonContentTypeInputs } from './contentType-9fd995d3.mjs';
|
|
5
5
|
import { b as getHTTPStatusCode } from './index-f91d720c.mjs';
|
|
6
6
|
|
|
7
7
|
const HTTP_METHOD_PROCEDURE_TYPE_MAP = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { e as callProcedure } from './config-
|
|
2
|
-
import { T as TRPCError, g as getTRPCErrorFromUnknown } from './TRPCError-
|
|
1
|
+
import { e as callProcedure } from './config-61497ca3.js';
|
|
2
|
+
import { T as TRPCError, g as getTRPCErrorFromUnknown } from './TRPCError-213cd8c9.js';
|
|
3
3
|
import { t as transformTRPCResponse, g as getErrorShape } from './transformTRPCResponse-23bdf37c.js';
|
|
4
|
-
import { g as getJsonContentTypeInputs } from './contentType-
|
|
4
|
+
import { g as getJsonContentTypeInputs } from './contentType-fb720add.js';
|
|
5
5
|
import { b as getHTTPStatusCode } from './index-41f6f0b3.js';
|
|
6
6
|
|
|
7
7
|
const HTTP_METHOD_PROCEDURE_TYPE_MAP = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var config = require('./config-
|
|
4
|
-
var TRPCError = require('./TRPCError-
|
|
3
|
+
var config = require('./config-194bdd43.js');
|
|
4
|
+
var TRPCError = require('./TRPCError-ca37bf1a.js');
|
|
5
5
|
var transformTRPCResponse = require('./transformTRPCResponse-e65f34e9.js');
|
|
6
|
-
var contentType = require('./contentType-
|
|
6
|
+
var contentType = require('./contentType-1de645c8.js');
|
|
7
7
|
var index = require('./index-784ff647.js');
|
|
8
8
|
|
|
9
9
|
const HTTP_METHOD_PROCEDURE_TYPE_MAP = {
|
package/dist/subscription.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var TRPCError = require('./TRPCError-
|
|
5
|
+
var TRPCError = require('./TRPCError-ca37bf1a.js');
|
|
6
6
|
var observable = require('./observable-464116ac.js');
|
|
7
7
|
require('./getCauseFromUnknown-d535264a.js');
|
|
8
8
|
|
package/dist/subscription.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trpc/server",
|
|
3
|
-
"version": "10.45.1-canary.
|
|
3
|
+
"version": "10.45.1-canary.17+444b08a4f",
|
|
4
4
|
"description": "The tRPC server library",
|
|
5
5
|
"author": "KATT",
|
|
6
6
|
"license": "MIT",
|
|
@@ -173,5 +173,5 @@
|
|
|
173
173
|
"funding": [
|
|
174
174
|
"https://trpc.io/sponsor"
|
|
175
175
|
],
|
|
176
|
-
"gitHead": "
|
|
176
|
+
"gitHead": "444b08a4f6b1234f158671131bd22c9d9bc97568"
|
|
177
177
|
}
|