@trpc/server 11.8.0 → 11.8.1-canary.10
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/adapters/aws-lambda/index.cjs +4 -4
- package/dist/adapters/aws-lambda/index.d.cts +1 -1
- package/dist/adapters/aws-lambda/index.d.mts +1 -1
- package/dist/adapters/aws-lambda/index.mjs +4 -4
- package/dist/adapters/express.cjs +9 -9
- package/dist/adapters/express.d.cts +2 -2
- package/dist/adapters/express.d.mts +2 -2
- package/dist/adapters/express.mjs +8 -8
- package/dist/adapters/fastify/index.cjs +9 -9
- package/dist/adapters/fastify/index.d.cts +2 -2
- package/dist/adapters/fastify/index.d.mts +2 -2
- package/dist/adapters/fastify/index.mjs +9 -9
- package/dist/adapters/fetch/index.cjs +4 -4
- package/dist/adapters/fetch/index.d.cts +1 -1
- package/dist/adapters/fetch/index.d.mts +1 -1
- package/dist/adapters/fetch/index.mjs +4 -4
- package/dist/adapters/next-app-dir.cjs +7 -7
- package/dist/adapters/next-app-dir.d.cts +1 -1
- package/dist/adapters/next-app-dir.d.mts +1 -1
- package/dist/adapters/next-app-dir.mjs +7 -7
- package/dist/adapters/next.cjs +10 -10
- package/dist/adapters/next.d.cts +2 -2
- package/dist/adapters/next.d.mts +2 -2
- package/dist/adapters/next.mjs +8 -8
- package/dist/adapters/node-http/index.cjs +8 -8
- package/dist/adapters/node-http/index.d.cts +2 -2
- package/dist/adapters/node-http/index.d.mts +2 -2
- package/dist/adapters/node-http/index.mjs +8 -8
- package/dist/adapters/standalone.cjs +9 -9
- package/dist/adapters/standalone.d.cts +2 -2
- package/dist/adapters/standalone.d.mts +2 -2
- package/dist/adapters/standalone.mjs +8 -8
- package/dist/adapters/ws.cjs +9 -9
- package/dist/adapters/ws.d.cts +2 -2
- package/dist/adapters/ws.d.mts +2 -2
- package/dist/adapters/ws.mjs +9 -9
- package/dist/{utils-BqXzm3RP.cjs → codes-BfZsPdy-.cjs} +70 -70
- package/dist/{utils-CLZnJdb_.mjs → codes-DagpWZLc.mjs} +66 -66
- package/dist/codes-DagpWZLc.mjs.map +1 -0
- package/dist/{getErrorShape-BRalpqpM.cjs → getErrorShape-MR4DZeb7.cjs} +5 -5
- package/dist/{getErrorShape-BH60iMC2.mjs → getErrorShape-vC8mUXJD.mjs} +3 -3
- package/dist/getErrorShape-vC8mUXJD.mjs.map +1 -0
- package/dist/http.cjs +4 -4
- package/dist/http.d.cts +1 -1
- package/dist/http.d.mts +1 -1
- package/dist/http.mjs +4 -4
- package/dist/index.cjs +4 -4
- package/dist/{index.d-VIbIrmxd.d.cts → index.d--uNJFzUS.d.cts} +2 -2
- package/dist/{index.d-DJGodwWi.d.mts.map → index.d--uNJFzUS.d.cts.map} +1 -1
- package/dist/{index.d-DJGodwWi.d.mts → index.d-D7vhS0-R.d.mts} +2 -2
- package/dist/{index.d-VIbIrmxd.d.cts.map → index.d-D7vhS0-R.d.mts.map} +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +4 -4
- package/dist/{initTRPC-Bq6NzC7R.cjs → initTRPC--HrEu8sH.cjs} +5 -5
- package/dist/{initTRPC-DGaJyg8t.mjs → initTRPC-T5bbc89W.mjs} +4 -4
- package/dist/{initTRPC-DGaJyg8t.mjs.map → initTRPC-T5bbc89W.mjs.map} +1 -1
- package/dist/{node-http-Cd7-CwtL.mjs → node-http-BEUst3IE.mjs} +5 -5
- package/dist/{node-http-Cd7-CwtL.mjs.map → node-http-BEUst3IE.mjs.map} +1 -1
- package/dist/{node-http-DWoBQ413.cjs → node-http-DR7b1Rn5.cjs} +5 -5
- package/dist/{parseTRPCMessage-Cdw5Sfhh.cjs → parseTRPCMessage-7Ltmq-Fb.cjs} +2 -2
- package/dist/{parseTRPCMessage-BlZeZ60t.mjs → parseTRPCMessage-CTow-umk.mjs} +2 -2
- package/dist/{parseTRPCMessage-BlZeZ60t.mjs.map → parseTRPCMessage-CTow-umk.mjs.map} +1 -1
- package/dist/{resolveResponse-BGrZsJDx.cjs → resolveResponse-ByfQ6olt.cjs} +57 -70
- package/dist/{resolveResponse-D7zvnoIM.mjs → resolveResponse-C7AcnFLN.mjs} +41 -48
- package/dist/resolveResponse-C7AcnFLN.mjs.map +1 -0
- package/dist/rpc.cjs +4 -4
- package/dist/rpc.d.cts +1 -1
- package/dist/rpc.d.mts +1 -1
- package/dist/rpc.mjs +2 -2
- package/dist/shared.cjs +2 -2
- package/dist/shared.d.cts +1 -1
- package/dist/shared.d.mts +1 -1
- package/dist/shared.mjs +2 -2
- package/dist/{tracked-DBSMdVzR.mjs → tracked-D4V22yc5.mjs} +6 -6
- package/dist/tracked-D4V22yc5.mjs.map +1 -0
- package/dist/{tracked-BJKHs06u.cjs → tracked-D4WGA_Z-.cjs} +11 -11
- package/dist/{unstable-core-do-not-import-DQoYSXto.mjs → unstable-core-do-not-import-9NNw8uQM.mjs} +5 -6
- package/dist/unstable-core-do-not-import-9NNw8uQM.mjs.map +1 -0
- package/dist/{unstable-core-do-not-import-Bo1JHRI3.cjs → unstable-core-do-not-import-fsjhEhgh.cjs} +3 -5
- package/dist/unstable-core-do-not-import.cjs +22 -23
- package/dist/{unstable-core-do-not-import.d-BJCeJk5P.d.cts → unstable-core-do-not-import.d-BXekdOPr.d.cts} +3 -9
- package/dist/unstable-core-do-not-import.d-BXekdOPr.d.cts.map +1 -0
- package/dist/{unstable-core-do-not-import.d-1RewV6pM.d.mts → unstable-core-do-not-import.d-CjQPvBRI.d.mts} +3 -9
- package/dist/unstable-core-do-not-import.d-CjQPvBRI.d.mts.map +1 -0
- package/dist/unstable-core-do-not-import.d.cts +2 -2
- package/dist/unstable-core-do-not-import.d.mts +2 -2
- package/dist/unstable-core-do-not-import.mjs +8 -8
- package/dist/{ws-1pBkKP_r.mjs → ws-BrdAS_fq.mjs} +7 -7
- package/dist/{ws-1pBkKP_r.mjs.map → ws-BrdAS_fq.mjs.map} +1 -1
- package/dist/{ws-C3Cua0Ig.cjs → ws-ZD8wclaD.cjs} +13 -13
- package/package.json +3 -3
- package/src/unstable-core-do-not-import/createProxy.ts +3 -1
- package/src/unstable-core-do-not-import/http/contentType.ts +7 -6
- package/src/unstable-core-do-not-import/http/formDataToObject.ts +4 -16
- package/src/unstable-core-do-not-import/http/resolveResponse.ts +28 -2
- package/src/unstable-core-do-not-import/router.ts +4 -4
- package/src/unstable-core-do-not-import/stream/jsonl.ts +9 -3
- package/src/unstable-core-do-not-import/stream/sse.ts +3 -13
- package/src/unstable-core-do-not-import/stream/utils/asyncIterable.ts +0 -30
- package/src/unstable-core-do-not-import/utils.ts +3 -5
- package/dist/getErrorShape-BH60iMC2.mjs.map +0 -1
- package/dist/resolveResponse-D7zvnoIM.mjs.map +0 -1
- package/dist/tracked-DBSMdVzR.mjs.map +0 -1
- package/dist/unstable-core-do-not-import-DQoYSXto.mjs.map +0 -1
- package/dist/unstable-core-do-not-import.d-1RewV6pM.d.mts.map +0 -1
- package/dist/unstable-core-do-not-import.d-BJCeJk5P.d.cts.map +0 -1
- package/dist/utils-CLZnJdb_.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const require_getErrorShape = require('../../getErrorShape-
|
|
2
|
-
require('../../
|
|
3
|
-
require('../../
|
|
4
|
-
const require_resolveResponse = require('../../resolveResponse-
|
|
1
|
+
const require_getErrorShape = require('../../getErrorShape-MR4DZeb7.cjs');
|
|
2
|
+
require('../../codes-BfZsPdy-.cjs');
|
|
3
|
+
require('../../tracked-D4WGA_Z-.cjs');
|
|
4
|
+
const require_resolveResponse = require('../../resolveResponse-ByfQ6olt.cjs');
|
|
5
5
|
require('../../observable-B1Nk6r1H.cjs');
|
|
6
6
|
const node_stream = require_getErrorShape.__toESM(require("node:stream"));
|
|
7
7
|
const node_stream_promises = require_getErrorShape.__toESM(require("node:stream/promises"));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../index.d-BiUz7kM_.cjs";
|
|
2
|
-
import { AnyRouter, CreateContextCallback, HTTPBaseHandlerOptions, TRPCRequestInfo, inferRouterContext } from "../../unstable-core-do-not-import.d-
|
|
2
|
+
import { AnyRouter, CreateContextCallback, HTTPBaseHandlerOptions, TRPCRequestInfo, inferRouterContext } from "../../unstable-core-do-not-import.d-BXekdOPr.cjs";
|
|
3
3
|
import "../../index.d-CvZXeEyR.cjs";
|
|
4
4
|
import { APIGatewayProxyEvent, APIGatewayProxyEventV2, APIGatewayProxyResult, APIGatewayProxyStructuredResultV2, Context, StreamifyHandler } from "aws-lambda";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../index.d-D4qZxQJh.mjs";
|
|
2
|
-
import { AnyRouter, CreateContextCallback, HTTPBaseHandlerOptions, TRPCRequestInfo, inferRouterContext } from "../../unstable-core-do-not-import.d-
|
|
2
|
+
import { AnyRouter, CreateContextCallback, HTTPBaseHandlerOptions, TRPCRequestInfo, inferRouterContext } from "../../unstable-core-do-not-import.d-CjQPvBRI.mjs";
|
|
3
3
|
import "../../index.d-vq_QHko2.mjs";
|
|
4
4
|
import { APIGatewayProxyEvent, APIGatewayProxyEventV2, APIGatewayProxyResult, APIGatewayProxyStructuredResultV2, Context, StreamifyHandler } from "aws-lambda";
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { __toESM, require_objectSpread2 } from "../../getErrorShape-
|
|
2
|
-
import "../../
|
|
3
|
-
import "../../
|
|
4
|
-
import { resolveResponse } from "../../resolveResponse-
|
|
1
|
+
import { __toESM, require_objectSpread2 } from "../../getErrorShape-vC8mUXJD.mjs";
|
|
2
|
+
import "../../codes-DagpWZLc.mjs";
|
|
3
|
+
import "../../tracked-D4V22yc5.mjs";
|
|
4
|
+
import { resolveResponse } from "../../resolveResponse-C7AcnFLN.mjs";
|
|
5
5
|
import "../../observable-UMO3vUa_.mjs";
|
|
6
6
|
import { Readable } from "node:stream";
|
|
7
7
|
import { pipeline } from "node:stream/promises";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
const require_getErrorShape = require('../getErrorShape-
|
|
2
|
-
require('../
|
|
3
|
-
|
|
4
|
-
require('../parseTRPCMessage-
|
|
5
|
-
require('../resolveResponse-
|
|
1
|
+
const require_getErrorShape = require('../getErrorShape-MR4DZeb7.cjs');
|
|
2
|
+
const require_codes = require('../codes-BfZsPdy-.cjs');
|
|
3
|
+
require('../tracked-D4WGA_Z-.cjs');
|
|
4
|
+
require('../parseTRPCMessage-7Ltmq-Fb.cjs');
|
|
5
|
+
require('../resolveResponse-ByfQ6olt.cjs');
|
|
6
6
|
require('../contentTypeParsers-iAFF_pJG.cjs');
|
|
7
|
-
require('../unstable-core-do-not-import-
|
|
7
|
+
require('../unstable-core-do-not-import-fsjhEhgh.cjs');
|
|
8
8
|
require('../observable-B1Nk6r1H.cjs');
|
|
9
|
-
require('../initTRPC
|
|
10
|
-
const require_node_http = require('../node-http-
|
|
9
|
+
require('../initTRPC--HrEu8sH.cjs');
|
|
10
|
+
const require_node_http = require('../node-http-DR7b1Rn5.cjs');
|
|
11
11
|
|
|
12
12
|
//#region src/adapters/express.ts
|
|
13
13
|
var import_objectSpread2 = require_getErrorShape.__toESM(require_getErrorShape.require_objectSpread2(), 1);
|
|
14
14
|
function createExpressMiddleware(opts) {
|
|
15
15
|
return (req, res) => {
|
|
16
16
|
let path = "";
|
|
17
|
-
|
|
17
|
+
require_codes.run(async () => {
|
|
18
18
|
path = req.path.slice(req.path.lastIndexOf("/") + 1);
|
|
19
19
|
await require_node_http.nodeHTTPRequestHandler((0, import_objectSpread2.default)((0, import_objectSpread2.default)({}, opts), {}, {
|
|
20
20
|
req,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../index.d-BiUz7kM_.cjs";
|
|
2
|
-
import { AnyRouter } from "../unstable-core-do-not-import.d-
|
|
2
|
+
import { AnyRouter } from "../unstable-core-do-not-import.d-BXekdOPr.cjs";
|
|
3
3
|
import "../index.d-CvZXeEyR.cjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from "../index.d
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from "../index.d--uNJFzUS.cjs";
|
|
5
5
|
import * as express from "express";
|
|
6
6
|
|
|
7
7
|
//#region src/adapters/express.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../index.d-D4qZxQJh.mjs";
|
|
2
|
-
import { AnyRouter } from "../unstable-core-do-not-import.d-
|
|
2
|
+
import { AnyRouter } from "../unstable-core-do-not-import.d-CjQPvBRI.mjs";
|
|
3
3
|
import "../index.d-vq_QHko2.mjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from "../index.d-
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from "../index.d-D7vhS0-R.mjs";
|
|
5
5
|
import * as express from "express";
|
|
6
6
|
|
|
7
7
|
//#region src/adapters/express.d.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { __toESM, require_objectSpread2 } from "../getErrorShape-
|
|
2
|
-
import "../
|
|
3
|
-
import
|
|
4
|
-
import "../parseTRPCMessage-
|
|
5
|
-
import "../resolveResponse-
|
|
1
|
+
import { __toESM, require_objectSpread2 } from "../getErrorShape-vC8mUXJD.mjs";
|
|
2
|
+
import { run } from "../codes-DagpWZLc.mjs";
|
|
3
|
+
import "../tracked-D4V22yc5.mjs";
|
|
4
|
+
import "../parseTRPCMessage-CTow-umk.mjs";
|
|
5
|
+
import "../resolveResponse-C7AcnFLN.mjs";
|
|
6
6
|
import "../contentTypeParsers-SN4WL9ze.mjs";
|
|
7
|
-
import "../unstable-core-do-not-import-
|
|
7
|
+
import "../unstable-core-do-not-import-9NNw8uQM.mjs";
|
|
8
8
|
import "../observable-UMO3vUa_.mjs";
|
|
9
|
-
import "../initTRPC-
|
|
10
|
-
import { internal_exceptionHandler, nodeHTTPRequestHandler } from "../node-http-
|
|
9
|
+
import "../initTRPC-T5bbc89W.mjs";
|
|
10
|
+
import { internal_exceptionHandler, nodeHTTPRequestHandler } from "../node-http-BEUst3IE.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/adapters/express.ts
|
|
13
13
|
var import_objectSpread2 = __toESM(require_objectSpread2(), 1);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
const require_getErrorShape = require('../../getErrorShape-
|
|
2
|
-
require('../../
|
|
3
|
-
require('../../
|
|
4
|
-
require('../../parseTRPCMessage-
|
|
5
|
-
const require_resolveResponse = require('../../resolveResponse-
|
|
1
|
+
const require_getErrorShape = require('../../getErrorShape-MR4DZeb7.cjs');
|
|
2
|
+
require('../../codes-BfZsPdy-.cjs');
|
|
3
|
+
require('../../tracked-D4WGA_Z-.cjs');
|
|
4
|
+
require('../../parseTRPCMessage-7Ltmq-Fb.cjs');
|
|
5
|
+
const require_resolveResponse = require('../../resolveResponse-ByfQ6olt.cjs');
|
|
6
6
|
require('../../contentTypeParsers-iAFF_pJG.cjs');
|
|
7
|
-
require('../../unstable-core-do-not-import-
|
|
7
|
+
require('../../unstable-core-do-not-import-fsjhEhgh.cjs');
|
|
8
8
|
require('../../observable-B1Nk6r1H.cjs');
|
|
9
|
-
require('../../initTRPC
|
|
9
|
+
require('../../initTRPC--HrEu8sH.cjs');
|
|
10
10
|
require('../../http-DXy3XyhL.cjs');
|
|
11
|
-
const require_node_http = require('../../node-http-
|
|
11
|
+
const require_node_http = require('../../node-http-DR7b1Rn5.cjs');
|
|
12
12
|
require('../../observable-BVzLuBs6.cjs');
|
|
13
|
-
const require_ws = require('../../ws-
|
|
13
|
+
const require_ws = require('../../ws-ZD8wclaD.cjs');
|
|
14
14
|
|
|
15
15
|
//#region src/adapters/fastify/fastifyRequestHandler.ts
|
|
16
16
|
var import_objectSpread2$1 = require_getErrorShape.__toESM(require_getErrorShape.require_objectSpread2(), 1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../index.d-BiUz7kM_.cjs";
|
|
2
|
-
import { AnyRouter, HTTPBaseHandlerOptions } from "../../unstable-core-do-not-import.d-
|
|
2
|
+
import { AnyRouter, HTTPBaseHandlerOptions } from "../../unstable-core-do-not-import.d-BXekdOPr.cjs";
|
|
3
3
|
import "../../index.d-CvZXeEyR.cjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions, NodeHTTPCreateContextOption } from "../../index.d
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions, NodeHTTPCreateContextOption } from "../../index.d--uNJFzUS.cjs";
|
|
5
5
|
import { FastifyInstance, FastifyReply, FastifyRequest } from "fastify";
|
|
6
6
|
|
|
7
7
|
//#region src/adapters/fastify/fastifyRequestHandler.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../index.d-D4qZxQJh.mjs";
|
|
2
|
-
import { AnyRouter, HTTPBaseHandlerOptions } from "../../unstable-core-do-not-import.d-
|
|
2
|
+
import { AnyRouter, HTTPBaseHandlerOptions } from "../../unstable-core-do-not-import.d-CjQPvBRI.mjs";
|
|
3
3
|
import "../../index.d-vq_QHko2.mjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions, NodeHTTPCreateContextOption } from "../../index.d-
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions, NodeHTTPCreateContextOption } from "../../index.d-D7vhS0-R.mjs";
|
|
5
5
|
import { FastifyInstance, FastifyReply, FastifyRequest } from "fastify";
|
|
6
6
|
|
|
7
7
|
//#region src/adapters/fastify/fastifyRequestHandler.d.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { __toESM, require_objectSpread2 } from "../../getErrorShape-
|
|
2
|
-
import "../../
|
|
3
|
-
import "../../
|
|
4
|
-
import "../../parseTRPCMessage-
|
|
5
|
-
import { resolveResponse } from "../../resolveResponse-
|
|
1
|
+
import { __toESM, require_objectSpread2 } from "../../getErrorShape-vC8mUXJD.mjs";
|
|
2
|
+
import "../../codes-DagpWZLc.mjs";
|
|
3
|
+
import "../../tracked-D4V22yc5.mjs";
|
|
4
|
+
import "../../parseTRPCMessage-CTow-umk.mjs";
|
|
5
|
+
import { resolveResponse } from "../../resolveResponse-C7AcnFLN.mjs";
|
|
6
6
|
import "../../contentTypeParsers-SN4WL9ze.mjs";
|
|
7
|
-
import "../../unstable-core-do-not-import-
|
|
7
|
+
import "../../unstable-core-do-not-import-9NNw8uQM.mjs";
|
|
8
8
|
import "../../observable-UMO3vUa_.mjs";
|
|
9
|
-
import "../../initTRPC-
|
|
9
|
+
import "../../initTRPC-T5bbc89W.mjs";
|
|
10
10
|
import "../../http-CWyjOa1l.mjs";
|
|
11
|
-
import { incomingMessageToRequest } from "../../node-http-
|
|
11
|
+
import { incomingMessageToRequest } from "../../node-http-BEUst3IE.mjs";
|
|
12
12
|
import "../../observable-CUiPknO-.mjs";
|
|
13
|
-
import { getWSConnectionHandler, handleKeepAlive } from "../../ws-
|
|
13
|
+
import { getWSConnectionHandler, handleKeepAlive } from "../../ws-BrdAS_fq.mjs";
|
|
14
14
|
|
|
15
15
|
//#region src/adapters/fastify/fastifyRequestHandler.ts
|
|
16
16
|
var import_objectSpread2$1 = __toESM(require_objectSpread2(), 1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const require_getErrorShape = require('../../getErrorShape-
|
|
2
|
-
require('../../
|
|
3
|
-
require('../../
|
|
4
|
-
const require_resolveResponse = require('../../resolveResponse-
|
|
1
|
+
const require_getErrorShape = require('../../getErrorShape-MR4DZeb7.cjs');
|
|
2
|
+
require('../../codes-BfZsPdy-.cjs');
|
|
3
|
+
require('../../tracked-D4WGA_Z-.cjs');
|
|
4
|
+
const require_resolveResponse = require('../../resolveResponse-ByfQ6olt.cjs');
|
|
5
5
|
require('../../observable-B1Nk6r1H.cjs');
|
|
6
6
|
|
|
7
7
|
//#region src/adapters/fetch/fetchRequestHandler.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../index.d-BiUz7kM_.cjs";
|
|
2
|
-
import { AnyRouter, CreateContextCallback, HTTPBaseHandlerOptions, TRPCRequestInfo, inferRouterContext } from "../../unstable-core-do-not-import.d-
|
|
2
|
+
import { AnyRouter, CreateContextCallback, HTTPBaseHandlerOptions, TRPCRequestInfo, inferRouterContext } from "../../unstable-core-do-not-import.d-BXekdOPr.cjs";
|
|
3
3
|
import "../../index.d-CvZXeEyR.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/adapters/fetch/types.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../index.d-D4qZxQJh.mjs";
|
|
2
|
-
import { AnyRouter, CreateContextCallback, HTTPBaseHandlerOptions, TRPCRequestInfo, inferRouterContext } from "../../unstable-core-do-not-import.d-
|
|
2
|
+
import { AnyRouter, CreateContextCallback, HTTPBaseHandlerOptions, TRPCRequestInfo, inferRouterContext } from "../../unstable-core-do-not-import.d-CjQPvBRI.mjs";
|
|
3
3
|
import "../../index.d-vq_QHko2.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/adapters/fetch/types.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { __toESM, require_objectSpread2 } from "../../getErrorShape-
|
|
2
|
-
import "../../
|
|
3
|
-
import "../../
|
|
4
|
-
import { resolveResponse } from "../../resolveResponse-
|
|
1
|
+
import { __toESM, require_objectSpread2 } from "../../getErrorShape-vC8mUXJD.mjs";
|
|
2
|
+
import "../../codes-DagpWZLc.mjs";
|
|
3
|
+
import "../../tracked-D4V22yc5.mjs";
|
|
4
|
+
import { resolveResponse } from "../../resolveResponse-C7AcnFLN.mjs";
|
|
5
5
|
import "../../observable-UMO3vUa_.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/adapters/fetch/fetchRequestHandler.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
const require_getErrorShape = require('../getErrorShape-
|
|
2
|
-
|
|
3
|
-
require('../
|
|
4
|
-
require('../parseTRPCMessage-
|
|
5
|
-
require('../resolveResponse-
|
|
1
|
+
const require_getErrorShape = require('../getErrorShape-MR4DZeb7.cjs');
|
|
2
|
+
require('../codes-BfZsPdy-.cjs');
|
|
3
|
+
const require_tracked = require('../tracked-D4WGA_Z-.cjs');
|
|
4
|
+
require('../parseTRPCMessage-7Ltmq-Fb.cjs');
|
|
5
|
+
require('../resolveResponse-ByfQ6olt.cjs');
|
|
6
6
|
require('../contentTypeParsers-iAFF_pJG.cjs');
|
|
7
|
-
const require_unstable_core_do_not_import = require('../unstable-core-do-not-import-
|
|
7
|
+
const require_unstable_core_do_not_import = require('../unstable-core-do-not-import-fsjhEhgh.cjs');
|
|
8
8
|
require('../observable-B1Nk6r1H.cjs');
|
|
9
|
-
require('../initTRPC
|
|
9
|
+
require('../initTRPC--HrEu8sH.cjs');
|
|
10
10
|
|
|
11
11
|
//#region src/adapters/next-app-dir/redirect.ts
|
|
12
12
|
var import_defineProperty = require_getErrorShape.__toESM(require_getErrorShape.require_defineProperty(), 1);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../index.d-BiUz7kM_.cjs";
|
|
2
|
-
import { CallerOverride, CreateContextCallback, ErrorHandlerOptions, MaybePromise, Simplify, TRPCError } from "../unstable-core-do-not-import.d-
|
|
2
|
+
import { CallerOverride, CreateContextCallback, ErrorHandlerOptions, MaybePromise, Simplify, TRPCError } from "../unstable-core-do-not-import.d-BXekdOPr.cjs";
|
|
3
3
|
import "../index.d-CvZXeEyR.cjs";
|
|
4
4
|
import { RedirectType, notFound as notFound$1 } from "next/navigation";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../index.d-D4qZxQJh.mjs";
|
|
2
|
-
import { CallerOverride, CreateContextCallback, ErrorHandlerOptions, MaybePromise, Simplify, TRPCError } from "../unstable-core-do-not-import.d-
|
|
2
|
+
import { CallerOverride, CreateContextCallback, ErrorHandlerOptions, MaybePromise, Simplify, TRPCError } from "../unstable-core-do-not-import.d-CjQPvBRI.mjs";
|
|
3
3
|
import "../index.d-vq_QHko2.mjs";
|
|
4
4
|
import { RedirectType, notFound as notFound$1 } from "next/navigation";
|
|
5
5
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { __commonJS, __toESM, require_defineProperty } from "../getErrorShape-
|
|
2
|
-
import
|
|
3
|
-
import "../
|
|
4
|
-
import "../parseTRPCMessage-
|
|
5
|
-
import "../resolveResponse-
|
|
1
|
+
import { __commonJS, __toESM, require_defineProperty } from "../getErrorShape-vC8mUXJD.mjs";
|
|
2
|
+
import "../codes-DagpWZLc.mjs";
|
|
3
|
+
import { TRPCError, getTRPCErrorFromUnknown } from "../tracked-D4V22yc5.mjs";
|
|
4
|
+
import "../parseTRPCMessage-CTow-umk.mjs";
|
|
5
|
+
import "../resolveResponse-C7AcnFLN.mjs";
|
|
6
6
|
import "../contentTypeParsers-SN4WL9ze.mjs";
|
|
7
|
-
import { formDataToObject } from "../unstable-core-do-not-import-
|
|
7
|
+
import { formDataToObject } from "../unstable-core-do-not-import-9NNw8uQM.mjs";
|
|
8
8
|
import "../observable-UMO3vUa_.mjs";
|
|
9
|
-
import "../initTRPC-
|
|
9
|
+
import "../initTRPC-T5bbc89W.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/adapters/next-app-dir/redirect.ts
|
|
12
12
|
var import_defineProperty = __toESM(require_defineProperty(), 1);
|
package/dist/adapters/next.cjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
const require_getErrorShape = require('../getErrorShape-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
require('../parseTRPCMessage-
|
|
5
|
-
require('../resolveResponse-
|
|
1
|
+
const require_getErrorShape = require('../getErrorShape-MR4DZeb7.cjs');
|
|
2
|
+
const require_codes = require('../codes-BfZsPdy-.cjs');
|
|
3
|
+
const require_tracked = require('../tracked-D4WGA_Z-.cjs');
|
|
4
|
+
require('../parseTRPCMessage-7Ltmq-Fb.cjs');
|
|
5
|
+
require('../resolveResponse-ByfQ6olt.cjs');
|
|
6
6
|
require('../contentTypeParsers-iAFF_pJG.cjs');
|
|
7
|
-
require('../unstable-core-do-not-import-
|
|
7
|
+
require('../unstable-core-do-not-import-fsjhEhgh.cjs');
|
|
8
8
|
require('../observable-B1Nk6r1H.cjs');
|
|
9
|
-
require('../initTRPC
|
|
10
|
-
const require_node_http = require('../node-http-
|
|
9
|
+
require('../initTRPC--HrEu8sH.cjs');
|
|
10
|
+
const require_node_http = require('../node-http-DR7b1Rn5.cjs');
|
|
11
11
|
|
|
12
12
|
//#region src/adapters/next.ts
|
|
13
13
|
var import_objectSpread2 = require_getErrorShape.__toESM(require_getErrorShape.require_objectSpread2(), 1);
|
|
14
14
|
function createNextApiHandler(opts) {
|
|
15
15
|
return async (req, res) => {
|
|
16
16
|
let path = "";
|
|
17
|
-
await
|
|
18
|
-
path =
|
|
17
|
+
await require_codes.run(async () => {
|
|
18
|
+
path = require_codes.run(() => {
|
|
19
19
|
if (typeof req.query["trpc"] === "string") return req.query["trpc"];
|
|
20
20
|
if (Array.isArray(req.query["trpc"])) return req.query["trpc"].join("/");
|
|
21
21
|
throw new require_tracked.TRPCError({
|
package/dist/adapters/next.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../index.d-BiUz7kM_.cjs";
|
|
2
|
-
import { AnyRouter } from "../unstable-core-do-not-import.d-
|
|
2
|
+
import { AnyRouter } from "../unstable-core-do-not-import.d-BXekdOPr.cjs";
|
|
3
3
|
import "../index.d-CvZXeEyR.cjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from "../index.d
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from "../index.d--uNJFzUS.cjs";
|
|
5
5
|
import { NextApiHandler, NextApiHandler as NextApiHandler$1, NextApiRequest, NextApiRequest as NextApiRequest$1, NextApiResponse, NextApiResponse as NextApiResponse$1 } from "next";
|
|
6
6
|
|
|
7
7
|
//#region src/adapters/next.d.ts
|
package/dist/adapters/next.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../index.d-D4qZxQJh.mjs";
|
|
2
|
-
import { AnyRouter } from "../unstable-core-do-not-import.d-
|
|
2
|
+
import { AnyRouter } from "../unstable-core-do-not-import.d-CjQPvBRI.mjs";
|
|
3
3
|
import "../index.d-vq_QHko2.mjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from "../index.d-
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from "../index.d-D7vhS0-R.mjs";
|
|
5
5
|
import { NextApiHandler, NextApiHandler as NextApiHandler$1, NextApiRequest, NextApiRequest as NextApiRequest$1, NextApiResponse, NextApiResponse as NextApiResponse$1 } from "next";
|
|
6
6
|
|
|
7
7
|
//#region src/adapters/next.d.ts
|
package/dist/adapters/next.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { __toESM, require_objectSpread2 } from "../getErrorShape-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "../parseTRPCMessage-
|
|
5
|
-
import "../resolveResponse-
|
|
1
|
+
import { __toESM, require_objectSpread2 } from "../getErrorShape-vC8mUXJD.mjs";
|
|
2
|
+
import { run } from "../codes-DagpWZLc.mjs";
|
|
3
|
+
import { TRPCError } from "../tracked-D4V22yc5.mjs";
|
|
4
|
+
import "../parseTRPCMessage-CTow-umk.mjs";
|
|
5
|
+
import "../resolveResponse-C7AcnFLN.mjs";
|
|
6
6
|
import "../contentTypeParsers-SN4WL9ze.mjs";
|
|
7
|
-
import "../unstable-core-do-not-import-
|
|
7
|
+
import "../unstable-core-do-not-import-9NNw8uQM.mjs";
|
|
8
8
|
import "../observable-UMO3vUa_.mjs";
|
|
9
|
-
import "../initTRPC-
|
|
10
|
-
import { internal_exceptionHandler, nodeHTTPRequestHandler } from "../node-http-
|
|
9
|
+
import "../initTRPC-T5bbc89W.mjs";
|
|
10
|
+
import { internal_exceptionHandler, nodeHTTPRequestHandler } from "../node-http-BEUst3IE.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/adapters/next.ts
|
|
13
13
|
var import_objectSpread2 = __toESM(require_objectSpread2(), 1);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
require('../../getErrorShape-
|
|
2
|
-
require('../../
|
|
3
|
-
require('../../
|
|
4
|
-
require('../../parseTRPCMessage-
|
|
5
|
-
require('../../resolveResponse-
|
|
1
|
+
require('../../getErrorShape-MR4DZeb7.cjs');
|
|
2
|
+
require('../../codes-BfZsPdy-.cjs');
|
|
3
|
+
require('../../tracked-D4WGA_Z-.cjs');
|
|
4
|
+
require('../../parseTRPCMessage-7Ltmq-Fb.cjs');
|
|
5
|
+
require('../../resolveResponse-ByfQ6olt.cjs');
|
|
6
6
|
require('../../contentTypeParsers-iAFF_pJG.cjs');
|
|
7
|
-
require('../../unstable-core-do-not-import-
|
|
7
|
+
require('../../unstable-core-do-not-import-fsjhEhgh.cjs');
|
|
8
8
|
require('../../observable-B1Nk6r1H.cjs');
|
|
9
|
-
require('../../initTRPC
|
|
10
|
-
const require_node_http = require('../../node-http-
|
|
9
|
+
require('../../initTRPC--HrEu8sH.cjs');
|
|
10
|
+
const require_node_http = require('../../node-http-DR7b1Rn5.cjs');
|
|
11
11
|
|
|
12
12
|
exports.createURL = require_node_http.createURL;
|
|
13
13
|
exports.incomingMessageToRequest = require_node_http.incomingMessageToRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../index.d-BiUz7kM_.cjs";
|
|
2
|
-
import "../../unstable-core-do-not-import.d-
|
|
2
|
+
import "../../unstable-core-do-not-import.d-BXekdOPr.cjs";
|
|
3
3
|
import "../../index.d-CvZXeEyR.cjs";
|
|
4
|
-
import { NodeHTTPCreateContextFn, NodeHTTPCreateContextFnOptions, NodeHTTPCreateContextOption, NodeHTTPHandlerOptions, NodeHTTPRequest, NodeHTTPRequestHandlerOptions, NodeHTTPResponse, createURL, incomingMessageToRequest, internal_exceptionHandler, nodeHTTPRequestHandler } from "../../index.d
|
|
4
|
+
import { NodeHTTPCreateContextFn, NodeHTTPCreateContextFnOptions, NodeHTTPCreateContextOption, NodeHTTPHandlerOptions, NodeHTTPRequest, NodeHTTPRequestHandlerOptions, NodeHTTPResponse, createURL, incomingMessageToRequest, internal_exceptionHandler, nodeHTTPRequestHandler } from "../../index.d--uNJFzUS.cjs";
|
|
5
5
|
export { NodeHTTPCreateContextFn, NodeHTTPCreateContextFnOptions, NodeHTTPCreateContextOption, NodeHTTPHandlerOptions, NodeHTTPRequest, NodeHTTPRequestHandlerOptions, NodeHTTPResponse, createURL, incomingMessageToRequest, internal_exceptionHandler, nodeHTTPRequestHandler };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../index.d-D4qZxQJh.mjs";
|
|
2
|
-
import "../../unstable-core-do-not-import.d-
|
|
2
|
+
import "../../unstable-core-do-not-import.d-CjQPvBRI.mjs";
|
|
3
3
|
import "../../index.d-vq_QHko2.mjs";
|
|
4
|
-
import { NodeHTTPCreateContextFn, NodeHTTPCreateContextFnOptions, NodeHTTPCreateContextOption, NodeHTTPHandlerOptions, NodeHTTPRequest, NodeHTTPRequestHandlerOptions, NodeHTTPResponse, createURL, incomingMessageToRequest, internal_exceptionHandler, nodeHTTPRequestHandler } from "../../index.d-
|
|
4
|
+
import { NodeHTTPCreateContextFn, NodeHTTPCreateContextFnOptions, NodeHTTPCreateContextOption, NodeHTTPHandlerOptions, NodeHTTPRequest, NodeHTTPRequestHandlerOptions, NodeHTTPResponse, createURL, incomingMessageToRequest, internal_exceptionHandler, nodeHTTPRequestHandler } from "../../index.d-D7vhS0-R.mjs";
|
|
5
5
|
export { NodeHTTPCreateContextFn, NodeHTTPCreateContextFnOptions, NodeHTTPCreateContextOption, NodeHTTPHandlerOptions, NodeHTTPRequest, NodeHTTPRequestHandlerOptions, NodeHTTPResponse, createURL, incomingMessageToRequest, internal_exceptionHandler, nodeHTTPRequestHandler };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../../getErrorShape-
|
|
2
|
-
import "../../
|
|
3
|
-
import "../../
|
|
4
|
-
import "../../parseTRPCMessage-
|
|
5
|
-
import "../../resolveResponse-
|
|
1
|
+
import "../../getErrorShape-vC8mUXJD.mjs";
|
|
2
|
+
import "../../codes-DagpWZLc.mjs";
|
|
3
|
+
import "../../tracked-D4V22yc5.mjs";
|
|
4
|
+
import "../../parseTRPCMessage-CTow-umk.mjs";
|
|
5
|
+
import "../../resolveResponse-C7AcnFLN.mjs";
|
|
6
6
|
import "../../contentTypeParsers-SN4WL9ze.mjs";
|
|
7
|
-
import "../../unstable-core-do-not-import-
|
|
7
|
+
import "../../unstable-core-do-not-import-9NNw8uQM.mjs";
|
|
8
8
|
import "../../observable-UMO3vUa_.mjs";
|
|
9
|
-
import "../../initTRPC-
|
|
10
|
-
import { createURL, incomingMessageToRequest, internal_exceptionHandler, nodeHTTPRequestHandler } from "../../node-http-
|
|
9
|
+
import "../../initTRPC-T5bbc89W.mjs";
|
|
10
|
+
import { createURL, incomingMessageToRequest, internal_exceptionHandler, nodeHTTPRequestHandler } from "../../node-http-BEUst3IE.mjs";
|
|
11
11
|
|
|
12
12
|
export { createURL, incomingMessageToRequest, internal_exceptionHandler, nodeHTTPRequestHandler };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
const require_getErrorShape = require('../getErrorShape-
|
|
2
|
-
require('../
|
|
3
|
-
|
|
4
|
-
require('../parseTRPCMessage-
|
|
5
|
-
require('../resolveResponse-
|
|
1
|
+
const require_getErrorShape = require('../getErrorShape-MR4DZeb7.cjs');
|
|
2
|
+
const require_codes = require('../codes-BfZsPdy-.cjs');
|
|
3
|
+
require('../tracked-D4WGA_Z-.cjs');
|
|
4
|
+
require('../parseTRPCMessage-7Ltmq-Fb.cjs');
|
|
5
|
+
require('../resolveResponse-ByfQ6olt.cjs');
|
|
6
6
|
require('../contentTypeParsers-iAFF_pJG.cjs');
|
|
7
|
-
require('../unstable-core-do-not-import-
|
|
7
|
+
require('../unstable-core-do-not-import-fsjhEhgh.cjs');
|
|
8
8
|
require('../observable-B1Nk6r1H.cjs');
|
|
9
|
-
require('../initTRPC
|
|
10
|
-
const require_node_http = require('../node-http-
|
|
9
|
+
require('../initTRPC--HrEu8sH.cjs');
|
|
10
|
+
const require_node_http = require('../node-http-DR7b1Rn5.cjs');
|
|
11
11
|
const http = require_getErrorShape.__toESM(require("http"));
|
|
12
12
|
|
|
13
13
|
//#region src/adapters/standalone.ts
|
|
@@ -18,7 +18,7 @@ function createHandler(opts) {
|
|
|
18
18
|
const sliceLength = basePath.length;
|
|
19
19
|
return (req, res) => {
|
|
20
20
|
let path = "";
|
|
21
|
-
|
|
21
|
+
require_codes.run(async () => {
|
|
22
22
|
const url = require_node_http.createURL(req);
|
|
23
23
|
path = url.pathname.slice(sliceLength);
|
|
24
24
|
await require_node_http.nodeHTTPRequestHandler((0, import_objectSpread2.default)((0, import_objectSpread2.default)({}, opts), {}, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../index.d-BiUz7kM_.cjs";
|
|
2
|
-
import { AnyRouter } from "../unstable-core-do-not-import.d-
|
|
2
|
+
import { AnyRouter } from "../unstable-core-do-not-import.d-BXekdOPr.cjs";
|
|
3
3
|
import "../index.d-CvZXeEyR.cjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions, NodeHTTPRequest, NodeHTTPResponse } from "../index.d
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions, NodeHTTPRequest, NodeHTTPResponse } from "../index.d--uNJFzUS.cjs";
|
|
5
5
|
import http from "http";
|
|
6
6
|
import * as http2 from "http2";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../index.d-D4qZxQJh.mjs";
|
|
2
|
-
import { AnyRouter } from "../unstable-core-do-not-import.d-
|
|
2
|
+
import { AnyRouter } from "../unstable-core-do-not-import.d-CjQPvBRI.mjs";
|
|
3
3
|
import "../index.d-vq_QHko2.mjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions, NodeHTTPRequest, NodeHTTPResponse } from "../index.d-
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions, NodeHTTPRequest, NodeHTTPResponse } from "../index.d-D7vhS0-R.mjs";
|
|
5
5
|
import http from "http";
|
|
6
6
|
import * as http2 from "http2";
|
|
7
7
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { __toESM, require_objectSpread2 } from "../getErrorShape-
|
|
2
|
-
import "../
|
|
3
|
-
import
|
|
4
|
-
import "../parseTRPCMessage-
|
|
5
|
-
import "../resolveResponse-
|
|
1
|
+
import { __toESM, require_objectSpread2 } from "../getErrorShape-vC8mUXJD.mjs";
|
|
2
|
+
import { run } from "../codes-DagpWZLc.mjs";
|
|
3
|
+
import "../tracked-D4V22yc5.mjs";
|
|
4
|
+
import "../parseTRPCMessage-CTow-umk.mjs";
|
|
5
|
+
import "../resolveResponse-C7AcnFLN.mjs";
|
|
6
6
|
import "../contentTypeParsers-SN4WL9ze.mjs";
|
|
7
|
-
import "../unstable-core-do-not-import-
|
|
7
|
+
import "../unstable-core-do-not-import-9NNw8uQM.mjs";
|
|
8
8
|
import "../observable-UMO3vUa_.mjs";
|
|
9
|
-
import "../initTRPC-
|
|
10
|
-
import { createURL, internal_exceptionHandler, nodeHTTPRequestHandler } from "../node-http-
|
|
9
|
+
import "../initTRPC-T5bbc89W.mjs";
|
|
10
|
+
import { createURL, internal_exceptionHandler, nodeHTTPRequestHandler } from "../node-http-BEUst3IE.mjs";
|
|
11
11
|
import http from "http";
|
|
12
12
|
|
|
13
13
|
//#region src/adapters/standalone.ts
|
package/dist/adapters/ws.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
require('../getErrorShape-
|
|
2
|
-
require('../
|
|
3
|
-
require('../
|
|
4
|
-
require('../parseTRPCMessage-
|
|
5
|
-
require('../resolveResponse-
|
|
1
|
+
require('../getErrorShape-MR4DZeb7.cjs');
|
|
2
|
+
require('../codes-BfZsPdy-.cjs');
|
|
3
|
+
require('../tracked-D4WGA_Z-.cjs');
|
|
4
|
+
require('../parseTRPCMessage-7Ltmq-Fb.cjs');
|
|
5
|
+
require('../resolveResponse-ByfQ6olt.cjs');
|
|
6
6
|
require('../contentTypeParsers-iAFF_pJG.cjs');
|
|
7
|
-
require('../unstable-core-do-not-import-
|
|
7
|
+
require('../unstable-core-do-not-import-fsjhEhgh.cjs');
|
|
8
8
|
require('../observable-B1Nk6r1H.cjs');
|
|
9
|
-
require('../initTRPC
|
|
9
|
+
require('../initTRPC--HrEu8sH.cjs');
|
|
10
10
|
require('../http-DXy3XyhL.cjs');
|
|
11
|
-
require('../node-http-
|
|
11
|
+
require('../node-http-DR7b1Rn5.cjs');
|
|
12
12
|
require('../observable-BVzLuBs6.cjs');
|
|
13
|
-
const require_ws = require('../ws-
|
|
13
|
+
const require_ws = require('../ws-ZD8wclaD.cjs');
|
|
14
14
|
|
|
15
15
|
exports.applyWSSHandler = require_ws.applyWSSHandler;
|
|
16
16
|
exports.getWSConnectionHandler = require_ws.getWSConnectionHandler;
|
package/dist/adapters/ws.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../index.d-BiUz7kM_.cjs";
|
|
2
|
-
import { AnyRouter, BaseHandlerOptions, CreateContextCallback, MaybePromise, inferRouterContext } from "../unstable-core-do-not-import.d-
|
|
2
|
+
import { AnyRouter, BaseHandlerOptions, CreateContextCallback, MaybePromise, inferRouterContext } from "../unstable-core-do-not-import.d-BXekdOPr.cjs";
|
|
3
3
|
import "../index.d-CvZXeEyR.cjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions } from "../index.d
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions } from "../index.d--uNJFzUS.cjs";
|
|
5
5
|
import { IncomingMessage } from "http";
|
|
6
6
|
import ws from "ws";
|
|
7
7
|
|
package/dist/adapters/ws.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../index.d-D4qZxQJh.mjs";
|
|
2
|
-
import { AnyRouter, BaseHandlerOptions, CreateContextCallback, MaybePromise, inferRouterContext } from "../unstable-core-do-not-import.d-
|
|
2
|
+
import { AnyRouter, BaseHandlerOptions, CreateContextCallback, MaybePromise, inferRouterContext } from "../unstable-core-do-not-import.d-CjQPvBRI.mjs";
|
|
3
3
|
import "../index.d-vq_QHko2.mjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions } from "../index.d-
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions } from "../index.d-D7vhS0-R.mjs";
|
|
5
5
|
import { IncomingMessage } from "http";
|
|
6
6
|
import ws from "ws";
|
|
7
7
|
|
package/dist/adapters/ws.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "../getErrorShape-
|
|
2
|
-
import "../
|
|
3
|
-
import "../
|
|
4
|
-
import "../parseTRPCMessage-
|
|
5
|
-
import "../resolveResponse-
|
|
1
|
+
import "../getErrorShape-vC8mUXJD.mjs";
|
|
2
|
+
import "../codes-DagpWZLc.mjs";
|
|
3
|
+
import "../tracked-D4V22yc5.mjs";
|
|
4
|
+
import "../parseTRPCMessage-CTow-umk.mjs";
|
|
5
|
+
import "../resolveResponse-C7AcnFLN.mjs";
|
|
6
6
|
import "../contentTypeParsers-SN4WL9ze.mjs";
|
|
7
|
-
import "../unstable-core-do-not-import-
|
|
7
|
+
import "../unstable-core-do-not-import-9NNw8uQM.mjs";
|
|
8
8
|
import "../observable-UMO3vUa_.mjs";
|
|
9
|
-
import "../initTRPC-
|
|
9
|
+
import "../initTRPC-T5bbc89W.mjs";
|
|
10
10
|
import "../http-CWyjOa1l.mjs";
|
|
11
|
-
import "../node-http-
|
|
11
|
+
import "../node-http-BEUst3IE.mjs";
|
|
12
12
|
import "../observable-CUiPknO-.mjs";
|
|
13
|
-
import { applyWSSHandler, getWSConnectionHandler, handleKeepAlive } from "../ws-
|
|
13
|
+
import { applyWSSHandler, getWSConnectionHandler, handleKeepAlive } from "../ws-BrdAS_fq.mjs";
|
|
14
14
|
|
|
15
15
|
export { applyWSSHandler, getWSConnectionHandler, handleKeepAlive };
|