@trpc/server 11.5.1 → 11.5.2-alpha-tmp-6955-again.14
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 +7 -7
- package/dist/adapters/express.d.cts +2 -2
- package/dist/adapters/express.d.mts +2 -2
- package/dist/adapters/express.mjs +7 -7
- package/dist/adapters/fastify/index.cjs +8 -8
- package/dist/adapters/fastify/index.d.cts +2 -2
- package/dist/adapters/fastify/index.d.mts +2 -2
- package/dist/adapters/fastify/index.mjs +8 -8
- 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 +6 -6
- 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 +6 -6
- package/dist/adapters/next.cjs +7 -7
- package/dist/adapters/next.d.cts +2 -2
- package/dist/adapters/next.d.mts +2 -2
- package/dist/adapters/next.mjs +7 -7
- package/dist/adapters/node-http/index.cjs +7 -7
- 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 +7 -7
- package/dist/adapters/standalone.cjs +7 -7
- package/dist/adapters/standalone.d.cts +2 -2
- package/dist/adapters/standalone.d.mts +2 -2
- package/dist/adapters/standalone.mjs +7 -7
- package/dist/adapters/ws.cjs +8 -8
- package/dist/adapters/ws.d.cts +2 -2
- package/dist/adapters/ws.d.mts +2 -2
- package/dist/adapters/ws.mjs +8 -8
- package/dist/{getErrorShape-Uhlrl4Bk.mjs → getErrorShape-BH60iMC2.mjs} +4 -2
- package/dist/{getErrorShape-Uhlrl4Bk.mjs.map → getErrorShape-BH60iMC2.mjs.map} +1 -1
- package/dist/{getErrorShape-DKiEF6Zc.cjs → getErrorShape-BRalpqpM.cjs} +3 -1
- 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-B6WM6kGG.d.mts → index.d-CBqBtocm.d.mts} +2 -2
- package/dist/{index.d-B6WM6kGG.d.mts.map → index.d-CBqBtocm.d.mts.map} +1 -1
- package/dist/{index.d-BX0zNedI.d.cts → index.d-rPTPTnj9.d.cts} +2 -2
- package/dist/{index.d-BX0zNedI.d.cts.map → index.d-rPTPTnj9.d.cts.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-Bt3JfYTm.mjs → initTRPC-CB9uBez5.mjs} +4 -4
- package/dist/{initTRPC-Bt3JfYTm.mjs.map → initTRPC-CB9uBez5.mjs.map} +1 -1
- package/dist/{initTRPC-DPn1YifP.cjs → initTRPC-D-fJXPDf.cjs} +3 -3
- package/dist/{node-http-BZ_yn7LC.cjs → node-http-BeA15ZuC.cjs} +4 -4
- package/dist/{node-http-BO3KHITF.mjs → node-http-vHQW8yu7.mjs} +5 -5
- package/dist/{node-http-BO3KHITF.mjs.map → node-http-vHQW8yu7.mjs.map} +1 -1
- package/dist/{parseTRPCMessage-ByIHyFRz.mjs → parseTRPCMessage-BlZeZ60t.mjs} +2 -2
- package/dist/{parseTRPCMessage-ByIHyFRz.mjs.map → parseTRPCMessage-BlZeZ60t.mjs.map} +1 -1
- package/dist/{parseTRPCMessage-snNQop7N.cjs → parseTRPCMessage-Cdw5Sfhh.cjs} +1 -1
- package/dist/{resolveResponse-BIvy2tOI.mjs → resolveResponse-_s-BzuqC.mjs} +11 -6
- package/dist/resolveResponse-_s-BzuqC.mjs.map +1 -0
- package/dist/{resolveResponse-p3dRsVlS.cjs → resolveResponse-p693wWss.cjs} +10 -5
- package/dist/rpc.cjs +2 -2
- 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-BOPN0_Sr.mjs → tracked-Blz8XOf1.mjs} +3 -3
- package/dist/{tracked-BOPN0_Sr.mjs.map → tracked-Blz8XOf1.mjs.map} +1 -1
- package/dist/{tracked-DLBmdanL.cjs → tracked-DkwwsHVk.cjs} +2 -2
- package/dist/unstable-core-do-not-import.cjs +6 -6
- package/dist/{unstable-core-do-not-import.d-x-roAJpB.d.mts → unstable-core-do-not-import.d-CNZGoY8k.d.mts} +3 -2
- package/dist/unstable-core-do-not-import.d-CNZGoY8k.d.mts.map +1 -0
- package/dist/{unstable-core-do-not-import.d-C8vB_hCN.d.cts → unstable-core-do-not-import.d-CoKkT4ud.d.cts} +3 -2
- package/dist/unstable-core-do-not-import.d-CoKkT4ud.d.cts.map +1 -0
- package/dist/unstable-core-do-not-import.d.cts +1 -1
- package/dist/unstable-core-do-not-import.d.mts +1 -1
- package/dist/unstable-core-do-not-import.mjs +6 -6
- package/dist/{utils-BhNVZA-c.cjs → utils-BqXzm3RP.cjs} +2 -0
- package/dist/{utils-DdbbrDku.mjs → utils-CLZnJdb_.mjs} +3 -1
- package/dist/utils-CLZnJdb_.mjs.map +1 -0
- package/dist/{ws-wBP8XZcx.mjs → ws-BFHHHZwM.mjs} +7 -7
- package/dist/{ws-wBP8XZcx.mjs.map → ws-BFHHHZwM.mjs.map} +1 -1
- package/dist/{ws-BDTl8wq8.cjs → ws-DD7GtVtO.cjs} +6 -6
- package/package.json +3 -3
- package/src/unstable-core-do-not-import/http/getHTTPStatusCode.ts +2 -0
- package/src/unstable-core-do-not-import/rpc/codes.ts +2 -0
- package/src/unstable-core-do-not-import/stream/jsonl.ts +16 -2
- package/adapters/aws-lambda/index.d.ts +0 -1
- package/adapters/aws-lambda/index.js +0 -1
- package/adapters/express/index.d.ts +0 -1
- package/adapters/express/index.js +0 -1
- package/adapters/fastify/index.d.ts +0 -1
- package/adapters/fastify/index.js +0 -1
- package/adapters/fetch/index.d.ts +0 -1
- package/adapters/fetch/index.js +0 -1
- package/adapters/next/index.d.ts +0 -1
- package/adapters/next/index.js +0 -1
- package/adapters/next-app-dir/index.d.ts +0 -1
- package/adapters/next-app-dir/index.js +0 -1
- package/adapters/node-http/content-type/form-data/index.d.ts +0 -1
- package/adapters/node-http/content-type/form-data/index.js +0 -1
- package/adapters/node-http/content-type/json/index.d.ts +0 -1
- package/adapters/node-http/content-type/json/index.js +0 -1
- package/adapters/node-http/index.d.ts +0 -1
- package/adapters/node-http/index.js +0 -1
- package/adapters/standalone/index.d.ts +0 -1
- package/adapters/standalone/index.js +0 -1
- package/adapters/ws/index.d.ts +0 -1
- package/adapters/ws/index.js +0 -1
- package/dist/resolveResponse-BIvy2tOI.mjs.map +0 -1
- package/dist/unstable-core-do-not-import.d-C8vB_hCN.d.cts.map +0 -1
- package/dist/unstable-core-do-not-import.d-x-roAJpB.d.mts.map +0 -1
- package/dist/utils-DdbbrDku.mjs.map +0 -1
- package/http/index.d.ts +0 -1
- package/http/index.js +0 -1
- package/observable/index.d.ts +0 -1
- package/observable/index.js +0 -1
- package/rpc/index.d.ts +0 -1
- package/rpc/index.js +0 -1
- package/shared/index.d.ts +0 -1
- package/shared/index.js +0 -1
- package/unstable-core-do-not-import/index.d.ts +0 -1
- package/unstable-core-do-not-import/index.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const require_getErrorShape = require('../../getErrorShape-
|
|
2
|
-
require('../../tracked-
|
|
3
|
-
require('../../utils-
|
|
4
|
-
const require_resolveResponse = require('../../resolveResponse-
|
|
1
|
+
const require_getErrorShape = require('../../getErrorShape-BRalpqpM.cjs');
|
|
2
|
+
require('../../tracked-DkwwsHVk.cjs');
|
|
3
|
+
require('../../utils-BqXzm3RP.cjs');
|
|
4
|
+
const require_resolveResponse = require('../../resolveResponse-p693wWss.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-CoKkT4ud.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-CNZGoY8k.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 "../../tracked-
|
|
3
|
-
import "../../utils-
|
|
4
|
-
import { resolveResponse } from "../../resolveResponse-
|
|
1
|
+
import { __toESM, require_objectSpread2 } from "../../getErrorShape-BH60iMC2.mjs";
|
|
2
|
+
import "../../tracked-Blz8XOf1.mjs";
|
|
3
|
+
import "../../utils-CLZnJdb_.mjs";
|
|
4
|
+
import { resolveResponse } from "../../resolveResponse-_s-BzuqC.mjs";
|
|
5
5
|
import "../../observable-UMO3vUa_.mjs";
|
|
6
6
|
import { Readable } from "node:stream";
|
|
7
7
|
import { pipeline } from "node:stream/promises";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
const require_getErrorShape = require('../getErrorShape-
|
|
2
|
-
require('../tracked-
|
|
3
|
-
const require_utils = require('../utils-
|
|
4
|
-
require('../parseTRPCMessage-
|
|
5
|
-
require('../resolveResponse-
|
|
1
|
+
const require_getErrorShape = require('../getErrorShape-BRalpqpM.cjs');
|
|
2
|
+
require('../tracked-DkwwsHVk.cjs');
|
|
3
|
+
const require_utils = require('../utils-BqXzm3RP.cjs');
|
|
4
|
+
require('../parseTRPCMessage-Cdw5Sfhh.cjs');
|
|
5
|
+
require('../resolveResponse-p693wWss.cjs');
|
|
6
6
|
require('../contentTypeParsers-iAFF_pJG.cjs');
|
|
7
7
|
require('../unstable-core-do-not-import-DFQys1IC.cjs');
|
|
8
8
|
require('../observable-B1Nk6r1H.cjs');
|
|
9
|
-
require('../initTRPC-
|
|
10
|
-
const require_node_http = require('../node-http-
|
|
9
|
+
require('../initTRPC-D-fJXPDf.cjs');
|
|
10
|
+
const require_node_http = require('../node-http-BeA15ZuC.cjs');
|
|
11
11
|
|
|
12
12
|
//#region src/adapters/express.ts
|
|
13
13
|
var import_objectSpread2 = require_getErrorShape.__toESM(require_getErrorShape.require_objectSpread2(), 1);
|
|
@@ -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-CoKkT4ud.cjs";
|
|
3
3
|
import "../index.d-CvZXeEyR.cjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from "../index.d-
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from "../index.d-rPTPTnj9.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-CNZGoY8k.mjs";
|
|
3
3
|
import "../index.d-vq_QHko2.mjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from "../index.d-
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from "../index.d-CBqBtocm.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 "../tracked-
|
|
3
|
-
import { run } from "../utils-
|
|
4
|
-
import "../parseTRPCMessage-
|
|
5
|
-
import "../resolveResponse-
|
|
1
|
+
import { __toESM, require_objectSpread2 } from "../getErrorShape-BH60iMC2.mjs";
|
|
2
|
+
import "../tracked-Blz8XOf1.mjs";
|
|
3
|
+
import { run } from "../utils-CLZnJdb_.mjs";
|
|
4
|
+
import "../parseTRPCMessage-BlZeZ60t.mjs";
|
|
5
|
+
import "../resolveResponse-_s-BzuqC.mjs";
|
|
6
6
|
import "../contentTypeParsers-SN4WL9ze.mjs";
|
|
7
7
|
import "../unstable-core-do-not-import-D89CaGtL.mjs";
|
|
8
8
|
import "../observable-UMO3vUa_.mjs";
|
|
9
|
-
import "../initTRPC-
|
|
10
|
-
import { internal_exceptionHandler, nodeHTTPRequestHandler } from "../node-http-
|
|
9
|
+
import "../initTRPC-CB9uBez5.mjs";
|
|
10
|
+
import { internal_exceptionHandler, nodeHTTPRequestHandler } from "../node-http-vHQW8yu7.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('../../tracked-
|
|
3
|
-
require('../../utils-
|
|
4
|
-
require('../../parseTRPCMessage-
|
|
5
|
-
const require_resolveResponse = require('../../resolveResponse-
|
|
1
|
+
const require_getErrorShape = require('../../getErrorShape-BRalpqpM.cjs');
|
|
2
|
+
require('../../tracked-DkwwsHVk.cjs');
|
|
3
|
+
require('../../utils-BqXzm3RP.cjs');
|
|
4
|
+
require('../../parseTRPCMessage-Cdw5Sfhh.cjs');
|
|
5
|
+
const require_resolveResponse = require('../../resolveResponse-p693wWss.cjs');
|
|
6
6
|
require('../../contentTypeParsers-iAFF_pJG.cjs');
|
|
7
7
|
require('../../unstable-core-do-not-import-DFQys1IC.cjs');
|
|
8
8
|
require('../../observable-B1Nk6r1H.cjs');
|
|
9
|
-
require('../../initTRPC-
|
|
9
|
+
require('../../initTRPC-D-fJXPDf.cjs');
|
|
10
10
|
require('../../http-DXy3XyhL.cjs');
|
|
11
|
-
const require_node_http = require('../../node-http-
|
|
11
|
+
const require_node_http = require('../../node-http-BeA15ZuC.cjs');
|
|
12
12
|
require('../../observable-BVzLuBs6.cjs');
|
|
13
|
-
const require_ws = require('../../ws-
|
|
13
|
+
const require_ws = require('../../ws-DD7GtVtO.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-CoKkT4ud.cjs";
|
|
3
3
|
import "../../index.d-CvZXeEyR.cjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions, NodeHTTPCreateContextOption } from "../../index.d-
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions, NodeHTTPCreateContextOption } from "../../index.d-rPTPTnj9.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-CNZGoY8k.mjs";
|
|
3
3
|
import "../../index.d-vq_QHko2.mjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions, NodeHTTPCreateContextOption } from "../../index.d-
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions, NodeHTTPCreateContextOption } from "../../index.d-CBqBtocm.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 "../../tracked-
|
|
3
|
-
import "../../utils-
|
|
4
|
-
import "../../parseTRPCMessage-
|
|
5
|
-
import { resolveResponse } from "../../resolveResponse-
|
|
1
|
+
import { __toESM, require_objectSpread2 } from "../../getErrorShape-BH60iMC2.mjs";
|
|
2
|
+
import "../../tracked-Blz8XOf1.mjs";
|
|
3
|
+
import "../../utils-CLZnJdb_.mjs";
|
|
4
|
+
import "../../parseTRPCMessage-BlZeZ60t.mjs";
|
|
5
|
+
import { resolveResponse } from "../../resolveResponse-_s-BzuqC.mjs";
|
|
6
6
|
import "../../contentTypeParsers-SN4WL9ze.mjs";
|
|
7
7
|
import "../../unstable-core-do-not-import-D89CaGtL.mjs";
|
|
8
8
|
import "../../observable-UMO3vUa_.mjs";
|
|
9
|
-
import "../../initTRPC-
|
|
9
|
+
import "../../initTRPC-CB9uBez5.mjs";
|
|
10
10
|
import "../../http-CWyjOa1l.mjs";
|
|
11
|
-
import { incomingMessageToRequest } from "../../node-http-
|
|
11
|
+
import { incomingMessageToRequest } from "../../node-http-vHQW8yu7.mjs";
|
|
12
12
|
import "../../observable-CUiPknO-.mjs";
|
|
13
|
-
import { getWSConnectionHandler, handleKeepAlive } from "../../ws-
|
|
13
|
+
import { getWSConnectionHandler, handleKeepAlive } from "../../ws-BFHHHZwM.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('../../tracked-
|
|
3
|
-
require('../../utils-
|
|
4
|
-
const require_resolveResponse = require('../../resolveResponse-
|
|
1
|
+
const require_getErrorShape = require('../../getErrorShape-BRalpqpM.cjs');
|
|
2
|
+
require('../../tracked-DkwwsHVk.cjs');
|
|
3
|
+
require('../../utils-BqXzm3RP.cjs');
|
|
4
|
+
const require_resolveResponse = require('../../resolveResponse-p693wWss.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-CoKkT4ud.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-CNZGoY8k.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 "../../tracked-
|
|
3
|
-
import "../../utils-
|
|
4
|
-
import { resolveResponse } from "../../resolveResponse-
|
|
1
|
+
import { __toESM, require_objectSpread2 } from "../../getErrorShape-BH60iMC2.mjs";
|
|
2
|
+
import "../../tracked-Blz8XOf1.mjs";
|
|
3
|
+
import "../../utils-CLZnJdb_.mjs";
|
|
4
|
+
import { resolveResponse } from "../../resolveResponse-_s-BzuqC.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
|
-
const require_tracked = require('../tracked-
|
|
3
|
-
require('../utils-
|
|
4
|
-
require('../parseTRPCMessage-
|
|
5
|
-
require('../resolveResponse-
|
|
1
|
+
const require_getErrorShape = require('../getErrorShape-BRalpqpM.cjs');
|
|
2
|
+
const require_tracked = require('../tracked-DkwwsHVk.cjs');
|
|
3
|
+
require('../utils-BqXzm3RP.cjs');
|
|
4
|
+
require('../parseTRPCMessage-Cdw5Sfhh.cjs');
|
|
5
|
+
require('../resolveResponse-p693wWss.cjs');
|
|
6
6
|
require('../contentTypeParsers-iAFF_pJG.cjs');
|
|
7
7
|
const require_unstable_core_do_not_import = require('../unstable-core-do-not-import-DFQys1IC.cjs');
|
|
8
8
|
require('../observable-B1Nk6r1H.cjs');
|
|
9
|
-
require('../initTRPC-
|
|
9
|
+
require('../initTRPC-D-fJXPDf.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-CoKkT4ud.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-CNZGoY8k.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 { TRPCError, getTRPCErrorFromUnknown } from "../tracked-
|
|
3
|
-
import "../utils-
|
|
4
|
-
import "../parseTRPCMessage-
|
|
5
|
-
import "../resolveResponse-
|
|
1
|
+
import { __commonJS, __toESM, require_defineProperty } from "../getErrorShape-BH60iMC2.mjs";
|
|
2
|
+
import { TRPCError, getTRPCErrorFromUnknown } from "../tracked-Blz8XOf1.mjs";
|
|
3
|
+
import "../utils-CLZnJdb_.mjs";
|
|
4
|
+
import "../parseTRPCMessage-BlZeZ60t.mjs";
|
|
5
|
+
import "../resolveResponse-_s-BzuqC.mjs";
|
|
6
6
|
import "../contentTypeParsers-SN4WL9ze.mjs";
|
|
7
7
|
import { formDataToObject } from "../unstable-core-do-not-import-D89CaGtL.mjs";
|
|
8
8
|
import "../observable-UMO3vUa_.mjs";
|
|
9
|
-
import "../initTRPC-
|
|
9
|
+
import "../initTRPC-CB9uBez5.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,13 +1,13 @@
|
|
|
1
|
-
const require_getErrorShape = require('../getErrorShape-
|
|
2
|
-
const require_tracked = require('../tracked-
|
|
3
|
-
const require_utils = require('../utils-
|
|
4
|
-
require('../parseTRPCMessage-
|
|
5
|
-
require('../resolveResponse-
|
|
1
|
+
const require_getErrorShape = require('../getErrorShape-BRalpqpM.cjs');
|
|
2
|
+
const require_tracked = require('../tracked-DkwwsHVk.cjs');
|
|
3
|
+
const require_utils = require('../utils-BqXzm3RP.cjs');
|
|
4
|
+
require('../parseTRPCMessage-Cdw5Sfhh.cjs');
|
|
5
|
+
require('../resolveResponse-p693wWss.cjs');
|
|
6
6
|
require('../contentTypeParsers-iAFF_pJG.cjs');
|
|
7
7
|
require('../unstable-core-do-not-import-DFQys1IC.cjs');
|
|
8
8
|
require('../observable-B1Nk6r1H.cjs');
|
|
9
|
-
require('../initTRPC-
|
|
10
|
-
const require_node_http = require('../node-http-
|
|
9
|
+
require('../initTRPC-D-fJXPDf.cjs');
|
|
10
|
+
const require_node_http = require('../node-http-BeA15ZuC.cjs');
|
|
11
11
|
|
|
12
12
|
//#region src/adapters/next.ts
|
|
13
13
|
var import_objectSpread2 = require_getErrorShape.__toESM(require_getErrorShape.require_objectSpread2(), 1);
|
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-CoKkT4ud.cjs";
|
|
3
3
|
import "../index.d-CvZXeEyR.cjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from "../index.d-
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from "../index.d-rPTPTnj9.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-CNZGoY8k.mjs";
|
|
3
3
|
import "../index.d-vq_QHko2.mjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from "../index.d-
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from "../index.d-CBqBtocm.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 { TRPCError } from "../tracked-
|
|
3
|
-
import { run } from "../utils-
|
|
4
|
-
import "../parseTRPCMessage-
|
|
5
|
-
import "../resolveResponse-
|
|
1
|
+
import { __toESM, require_objectSpread2 } from "../getErrorShape-BH60iMC2.mjs";
|
|
2
|
+
import { TRPCError } from "../tracked-Blz8XOf1.mjs";
|
|
3
|
+
import { run } from "../utils-CLZnJdb_.mjs";
|
|
4
|
+
import "../parseTRPCMessage-BlZeZ60t.mjs";
|
|
5
|
+
import "../resolveResponse-_s-BzuqC.mjs";
|
|
6
6
|
import "../contentTypeParsers-SN4WL9ze.mjs";
|
|
7
7
|
import "../unstable-core-do-not-import-D89CaGtL.mjs";
|
|
8
8
|
import "../observable-UMO3vUa_.mjs";
|
|
9
|
-
import "../initTRPC-
|
|
10
|
-
import { internal_exceptionHandler, nodeHTTPRequestHandler } from "../node-http-
|
|
9
|
+
import "../initTRPC-CB9uBez5.mjs";
|
|
10
|
+
import { internal_exceptionHandler, nodeHTTPRequestHandler } from "../node-http-vHQW8yu7.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('../../tracked-
|
|
3
|
-
require('../../utils-
|
|
4
|
-
require('../../parseTRPCMessage-
|
|
5
|
-
require('../../resolveResponse-
|
|
1
|
+
require('../../getErrorShape-BRalpqpM.cjs');
|
|
2
|
+
require('../../tracked-DkwwsHVk.cjs');
|
|
3
|
+
require('../../utils-BqXzm3RP.cjs');
|
|
4
|
+
require('../../parseTRPCMessage-Cdw5Sfhh.cjs');
|
|
5
|
+
require('../../resolveResponse-p693wWss.cjs');
|
|
6
6
|
require('../../contentTypeParsers-iAFF_pJG.cjs');
|
|
7
7
|
require('../../unstable-core-do-not-import-DFQys1IC.cjs');
|
|
8
8
|
require('../../observable-B1Nk6r1H.cjs');
|
|
9
|
-
require('../../initTRPC-
|
|
10
|
-
const require_node_http = require('../../node-http-
|
|
9
|
+
require('../../initTRPC-D-fJXPDf.cjs');
|
|
10
|
+
const require_node_http = require('../../node-http-BeA15ZuC.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-CoKkT4ud.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-rPTPTnj9.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-CNZGoY8k.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-CBqBtocm.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 "../../tracked-
|
|
3
|
-
import "../../utils-
|
|
4
|
-
import "../../parseTRPCMessage-
|
|
5
|
-
import "../../resolveResponse-
|
|
1
|
+
import "../../getErrorShape-BH60iMC2.mjs";
|
|
2
|
+
import "../../tracked-Blz8XOf1.mjs";
|
|
3
|
+
import "../../utils-CLZnJdb_.mjs";
|
|
4
|
+
import "../../parseTRPCMessage-BlZeZ60t.mjs";
|
|
5
|
+
import "../../resolveResponse-_s-BzuqC.mjs";
|
|
6
6
|
import "../../contentTypeParsers-SN4WL9ze.mjs";
|
|
7
7
|
import "../../unstable-core-do-not-import-D89CaGtL.mjs";
|
|
8
8
|
import "../../observable-UMO3vUa_.mjs";
|
|
9
|
-
import "../../initTRPC-
|
|
10
|
-
import { createURL, incomingMessageToRequest, internal_exceptionHandler, nodeHTTPRequestHandler } from "../../node-http-
|
|
9
|
+
import "../../initTRPC-CB9uBez5.mjs";
|
|
10
|
+
import { createURL, incomingMessageToRequest, internal_exceptionHandler, nodeHTTPRequestHandler } from "../../node-http-vHQW8yu7.mjs";
|
|
11
11
|
|
|
12
12
|
export { createURL, incomingMessageToRequest, internal_exceptionHandler, nodeHTTPRequestHandler };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
const require_getErrorShape = require('../getErrorShape-
|
|
2
|
-
require('../tracked-
|
|
3
|
-
const require_utils = require('../utils-
|
|
4
|
-
require('../parseTRPCMessage-
|
|
5
|
-
require('../resolveResponse-
|
|
1
|
+
const require_getErrorShape = require('../getErrorShape-BRalpqpM.cjs');
|
|
2
|
+
require('../tracked-DkwwsHVk.cjs');
|
|
3
|
+
const require_utils = require('../utils-BqXzm3RP.cjs');
|
|
4
|
+
require('../parseTRPCMessage-Cdw5Sfhh.cjs');
|
|
5
|
+
require('../resolveResponse-p693wWss.cjs');
|
|
6
6
|
require('../contentTypeParsers-iAFF_pJG.cjs');
|
|
7
7
|
require('../unstable-core-do-not-import-DFQys1IC.cjs');
|
|
8
8
|
require('../observable-B1Nk6r1H.cjs');
|
|
9
|
-
require('../initTRPC-
|
|
10
|
-
const require_node_http = require('../node-http-
|
|
9
|
+
require('../initTRPC-D-fJXPDf.cjs');
|
|
10
|
+
const require_node_http = require('../node-http-BeA15ZuC.cjs');
|
|
11
11
|
const http = require_getErrorShape.__toESM(require("http"));
|
|
12
12
|
|
|
13
13
|
//#region src/adapters/standalone.ts
|
|
@@ -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-CoKkT4ud.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-rPTPTnj9.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-CNZGoY8k.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-CBqBtocm.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 "../tracked-
|
|
3
|
-
import { run } from "../utils-
|
|
4
|
-
import "../parseTRPCMessage-
|
|
5
|
-
import "../resolveResponse-
|
|
1
|
+
import { __toESM, require_objectSpread2 } from "../getErrorShape-BH60iMC2.mjs";
|
|
2
|
+
import "../tracked-Blz8XOf1.mjs";
|
|
3
|
+
import { run } from "../utils-CLZnJdb_.mjs";
|
|
4
|
+
import "../parseTRPCMessage-BlZeZ60t.mjs";
|
|
5
|
+
import "../resolveResponse-_s-BzuqC.mjs";
|
|
6
6
|
import "../contentTypeParsers-SN4WL9ze.mjs";
|
|
7
7
|
import "../unstable-core-do-not-import-D89CaGtL.mjs";
|
|
8
8
|
import "../observable-UMO3vUa_.mjs";
|
|
9
|
-
import "../initTRPC-
|
|
10
|
-
import { createURL, internal_exceptionHandler, nodeHTTPRequestHandler } from "../node-http-
|
|
9
|
+
import "../initTRPC-CB9uBez5.mjs";
|
|
10
|
+
import { createURL, internal_exceptionHandler, nodeHTTPRequestHandler } from "../node-http-vHQW8yu7.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('../tracked-
|
|
3
|
-
require('../utils-
|
|
4
|
-
require('../parseTRPCMessage-
|
|
5
|
-
require('../resolveResponse-
|
|
1
|
+
require('../getErrorShape-BRalpqpM.cjs');
|
|
2
|
+
require('../tracked-DkwwsHVk.cjs');
|
|
3
|
+
require('../utils-BqXzm3RP.cjs');
|
|
4
|
+
require('../parseTRPCMessage-Cdw5Sfhh.cjs');
|
|
5
|
+
require('../resolveResponse-p693wWss.cjs');
|
|
6
6
|
require('../contentTypeParsers-iAFF_pJG.cjs');
|
|
7
7
|
require('../unstable-core-do-not-import-DFQys1IC.cjs');
|
|
8
8
|
require('../observable-B1Nk6r1H.cjs');
|
|
9
|
-
require('../initTRPC-
|
|
9
|
+
require('../initTRPC-D-fJXPDf.cjs');
|
|
10
10
|
require('../http-DXy3XyhL.cjs');
|
|
11
|
-
require('../node-http-
|
|
11
|
+
require('../node-http-BeA15ZuC.cjs');
|
|
12
12
|
require('../observable-BVzLuBs6.cjs');
|
|
13
|
-
const require_ws = require('../ws-
|
|
13
|
+
const require_ws = require('../ws-DD7GtVtO.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-CoKkT4ud.cjs";
|
|
3
3
|
import "../index.d-CvZXeEyR.cjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions } from "../index.d-
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions } from "../index.d-rPTPTnj9.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-CNZGoY8k.mjs";
|
|
3
3
|
import "../index.d-vq_QHko2.mjs";
|
|
4
|
-
import { NodeHTTPCreateContextFnOptions } from "../index.d-
|
|
4
|
+
import { NodeHTTPCreateContextFnOptions } from "../index.d-CBqBtocm.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 "../tracked-
|
|
3
|
-
import "../utils-
|
|
4
|
-
import "../parseTRPCMessage-
|
|
5
|
-
import "../resolveResponse-
|
|
1
|
+
import "../getErrorShape-BH60iMC2.mjs";
|
|
2
|
+
import "../tracked-Blz8XOf1.mjs";
|
|
3
|
+
import "../utils-CLZnJdb_.mjs";
|
|
4
|
+
import "../parseTRPCMessage-BlZeZ60t.mjs";
|
|
5
|
+
import "../resolveResponse-_s-BzuqC.mjs";
|
|
6
6
|
import "../contentTypeParsers-SN4WL9ze.mjs";
|
|
7
7
|
import "../unstable-core-do-not-import-D89CaGtL.mjs";
|
|
8
8
|
import "../observable-UMO3vUa_.mjs";
|
|
9
|
-
import "../initTRPC-
|
|
9
|
+
import "../initTRPC-CB9uBez5.mjs";
|
|
10
10
|
import "../http-CWyjOa1l.mjs";
|
|
11
|
-
import "../node-http-
|
|
11
|
+
import "../node-http-vHQW8yu7.mjs";
|
|
12
12
|
import "../observable-CUiPknO-.mjs";
|
|
13
|
-
import { applyWSSHandler, getWSConnectionHandler, handleKeepAlive } from "../ws-
|
|
13
|
+
import { applyWSSHandler, getWSConnectionHandler, handleKeepAlive } from "../ws-BFHHHZwM.mjs";
|
|
14
14
|
|
|
15
15
|
export { applyWSSHandler, getWSConnectionHandler, handleKeepAlive };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TRPC_ERROR_CODES_BY_KEY, TRPC_ERROR_CODES_BY_NUMBER, isObject } from "./utils-
|
|
1
|
+
import { TRPC_ERROR_CODES_BY_KEY, TRPC_ERROR_CODES_BY_NUMBER, isObject } from "./utils-CLZnJdb_.mjs";
|
|
2
2
|
|
|
3
3
|
//#region rolldown:runtime
|
|
4
4
|
var __create = Object.create;
|
|
@@ -94,6 +94,7 @@ const JSONRPC2_TO_HTTP_CODE = {
|
|
|
94
94
|
PAYLOAD_TOO_LARGE: 413,
|
|
95
95
|
UNSUPPORTED_MEDIA_TYPE: 415,
|
|
96
96
|
UNPROCESSABLE_CONTENT: 422,
|
|
97
|
+
PRECONDITION_REQUIRED: 428,
|
|
97
98
|
TOO_MANY_REQUESTS: 429,
|
|
98
99
|
CLIENT_CLOSED_REQUEST: 499,
|
|
99
100
|
INTERNAL_SERVER_ERROR: 500,
|
|
@@ -115,6 +116,7 @@ const HTTP_CODE_TO_JSONRPC2 = {
|
|
|
115
116
|
413: "PAYLOAD_TOO_LARGE",
|
|
116
117
|
415: "UNSUPPORTED_MEDIA_TYPE",
|
|
117
118
|
422: "UNPROCESSABLE_CONTENT",
|
|
119
|
+
428: "PRECONDITION_REQUIRED",
|
|
118
120
|
429: "TOO_MANY_REQUESTS",
|
|
119
121
|
499: "CLIENT_CLOSED_REQUEST",
|
|
120
122
|
500: "INTERNAL_SERVER_ERROR",
|
|
@@ -260,4 +262,4 @@ function getErrorShape(opts) {
|
|
|
260
262
|
|
|
261
263
|
//#endregion
|
|
262
264
|
export { HTTP_CODE_TO_JSONRPC2, JSONRPC2_TO_HTTP_CODE, __commonJS, __toESM, createFlatProxy, createRecursiveProxy, getErrorShape, getHTTPStatusCode, getHTTPStatusCodeFromError, getStatusCodeFromKey, getStatusKeyFromCode, require_defineProperty, require_objectSpread2 };
|
|
263
|
-
//# sourceMappingURL=getErrorShape-
|
|
265
|
+
//# sourceMappingURL=getErrorShape-BH60iMC2.mjs.map
|