@trpc/server 11.0.0-rc.637 → 11.0.0-rc.638
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.js +1 -1
- package/dist/adapters/aws-lambda/index.mjs +1 -1
- package/dist/adapters/express.js +1 -1
- package/dist/adapters/express.mjs +1 -1
- package/dist/adapters/fastify/fastifyRequestHandler.js +1 -1
- package/dist/adapters/fastify/fastifyRequestHandler.mjs +1 -1
- package/dist/adapters/fetch/fetchRequestHandler.js +1 -1
- package/dist/adapters/fetch/fetchRequestHandler.mjs +1 -1
- package/dist/adapters/next-app-dir/nextAppDirCaller.js +1 -1
- package/dist/adapters/next-app-dir/nextAppDirCaller.mjs +1 -1
- package/dist/adapters/next-app-dir/notFound.js +1 -1
- package/dist/adapters/next-app-dir/notFound.mjs +1 -1
- package/dist/adapters/next-app-dir/redirect.js +1 -1
- package/dist/adapters/next-app-dir/redirect.mjs +1 -1
- package/dist/adapters/next.js +1 -1
- package/dist/adapters/next.mjs +1 -1
- package/dist/adapters/node-http/incomingMessageToRequest.js +1 -1
- package/dist/adapters/node-http/incomingMessageToRequest.mjs +1 -1
- package/dist/adapters/node-http/nodeHTTPRequestHandler.js +1 -1
- package/dist/adapters/node-http/nodeHTTPRequestHandler.mjs +1 -1
- package/dist/adapters/node-http/writeResponse.js +1 -1
- package/dist/adapters/node-http/writeResponse.mjs +1 -1
- package/dist/adapters/standalone.js +1 -1
- package/dist/adapters/standalone.mjs +1 -1
- package/dist/adapters/ws.js +1 -1
- package/dist/adapters/ws.mjs +1 -1
- package/dist/bundle-analysis.json +61 -61
- package/dist/http.js +1 -1
- package/dist/http.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/rpc.js +1 -1
- package/dist/rpc.mjs +1 -1
- package/dist/shared.js +1 -1
- package/dist/shared.mjs +1 -1
- package/dist/unstable-core-do-not-import/http/resolveResponse.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/http/resolveResponse.js +0 -1
- package/dist/unstable-core-do-not-import/http/resolveResponse.mjs +0 -1
- package/dist/unstable-core-do-not-import/stream/jsonl.d.ts +1 -1
- package/dist/unstable-core-do-not-import/stream/jsonl.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/stream/jsonl.js +73 -47
- package/dist/unstable-core-do-not-import/stream/jsonl.mjs +73 -47
- package/dist/unstable-core-do-not-import/stream/sse.d.ts +0 -1
- package/dist/unstable-core-do-not-import/stream/sse.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/stream/sse.js +2 -4
- package/dist/unstable-core-do-not-import/stream/sse.mjs +2 -4
- package/dist/unstable-core-do-not-import/stream/utils/asyncIterable.d.ts +0 -2
- package/dist/unstable-core-do-not-import/stream/utils/asyncIterable.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/stream/utils/asyncIterable.js +5 -8
- package/dist/unstable-core-do-not-import/stream/utils/asyncIterable.mjs +3 -6
- package/dist/unstable-core-do-not-import/stream/utils/{disposablePromiseTimer.d.ts → timerResource.d.ts} +2 -2
- package/dist/unstable-core-do-not-import/stream/utils/timerResource.d.ts.map +1 -0
- package/dist/unstable-core-do-not-import/stream/utils/{disposablePromiseTimer.js → timerResource.js} +2 -2
- package/dist/unstable-core-do-not-import/stream/utils/{disposablePromiseTimer.mjs → timerResource.mjs} +2 -2
- package/dist/unstable-core-do-not-import/stream/utils/withPing.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/stream/utils/withPing.js +3 -3
- package/dist/unstable-core-do-not-import/stream/utils/withPing.mjs +2 -2
- package/package.json +4 -3
- package/src/unstable-core-do-not-import/http/resolveResponse.ts +0 -1
- package/src/unstable-core-do-not-import/stream/jsonl.ts +81 -51
- package/src/unstable-core-do-not-import/stream/sse.ts +1 -3
- package/src/unstable-core-do-not-import/stream/utils/asyncIterable.ts +5 -11
- package/src/unstable-core-do-not-import/stream/utils/{disposablePromiseTimer.ts → timerResource.ts} +1 -1
- package/src/unstable-core-do-not-import/stream/utils/withPing.ts +2 -5
- package/dist/unstable-core-do-not-import/stream/utils/createServer.d.ts +0 -7
- package/dist/unstable-core-do-not-import/stream/utils/createServer.d.ts.map +0 -1
- package/dist/unstable-core-do-not-import/stream/utils/disposablePromiseTimer.d.ts.map +0 -1
- package/src/unstable-core-do-not-import/stream/utils/createServer.ts +0 -44
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var resolveResponse = require('../../unstable-core-do-not-import/http/resolveResponse.js');
|
|
4
4
|
require('../../unstable-core-do-not-import/rootConfig.js');
|
|
5
5
|
require('../../vendor/unpromise/unpromise.js');
|
|
6
|
-
require('../../unstable-core-do-not-import/stream/utils/
|
|
6
|
+
require('../../unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
7
7
|
var getPlanner = require('./getPlanner.js');
|
|
8
8
|
|
|
9
9
|
function awsLambdaRequestHandler(opts) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveResponse } from '../../unstable-core-do-not-import/http/resolveResponse.mjs';
|
|
2
2
|
import '../../unstable-core-do-not-import/rootConfig.mjs';
|
|
3
3
|
import '../../vendor/unpromise/unpromise.mjs';
|
|
4
|
-
import '../../unstable-core-do-not-import/stream/utils/
|
|
4
|
+
import '../../unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
|
5
5
|
import { getPlanner } from './getPlanner.mjs';
|
|
6
6
|
|
|
7
7
|
function awsLambdaRequestHandler(opts) {
|
package/dist/adapters/express.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var utils = require('../unstable-core-do-not-import/utils.js');
|
|
4
4
|
require('../vendor/unpromise/unpromise.js');
|
|
5
|
-
require('../unstable-core-do-not-import/stream/utils/
|
|
5
|
+
require('../unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
6
6
|
require('../unstable-core-do-not-import/rootConfig.js');
|
|
7
7
|
var nodeHTTPRequestHandler = require('./node-http/nodeHTTPRequestHandler.js');
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { run } from '../unstable-core-do-not-import/utils.mjs';
|
|
2
2
|
import '../vendor/unpromise/unpromise.mjs';
|
|
3
|
-
import '../unstable-core-do-not-import/stream/utils/
|
|
3
|
+
import '../unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
|
4
4
|
import '../unstable-core-do-not-import/rootConfig.mjs';
|
|
5
5
|
import { nodeHTTPRequestHandler, internal_exceptionHandler } from './node-http/nodeHTTPRequestHandler.mjs';
|
|
6
6
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var resolveResponse = require('../../unstable-core-do-not-import/http/resolveResponse.js');
|
|
4
4
|
require('../../unstable-core-do-not-import/rootConfig.js');
|
|
5
5
|
require('../../vendor/unpromise/unpromise.js');
|
|
6
|
-
require('../../unstable-core-do-not-import/stream/utils/
|
|
6
|
+
require('../../unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
7
7
|
var incomingMessageToRequest = require('../node-http/incomingMessageToRequest.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveResponse } from '../../unstable-core-do-not-import/http/resolveResponse.mjs';
|
|
2
2
|
import '../../unstable-core-do-not-import/rootConfig.mjs';
|
|
3
3
|
import '../../vendor/unpromise/unpromise.mjs';
|
|
4
|
-
import '../../unstable-core-do-not-import/stream/utils/
|
|
4
|
+
import '../../unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
|
5
5
|
import { incomingMessageToRequest } from '../node-http/incomingMessageToRequest.mjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var resolveResponse = require('../../unstable-core-do-not-import/http/resolveResponse.js');
|
|
4
4
|
require('../../unstable-core-do-not-import/rootConfig.js');
|
|
5
5
|
require('../../vendor/unpromise/unpromise.js');
|
|
6
|
-
require('../../unstable-core-do-not-import/stream/utils/
|
|
6
|
+
require('../../unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* If you're making an adapter for tRPC and looking at this file for reference, you should import types and functions from `@trpc/server` and `@trpc/server/http`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveResponse } from '../../unstable-core-do-not-import/http/resolveResponse.mjs';
|
|
2
2
|
import '../../unstable-core-do-not-import/rootConfig.mjs';
|
|
3
3
|
import '../../vendor/unpromise/unpromise.mjs';
|
|
4
|
-
import '../../unstable-core-do-not-import/stream/utils/
|
|
4
|
+
import '../../unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* If you're making an adapter for tRPC and looking at this file for reference, you should import types and functions from `@trpc/server` and `@trpc/server/http`
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var TRPCError = require('../../unstable-core-do-not-import/error/TRPCError.js');
|
|
4
4
|
var formDataToObject = require('../../unstable-core-do-not-import/http/formDataToObject.js');
|
|
5
5
|
require('../../vendor/unpromise/unpromise.js');
|
|
6
|
-
require('../../unstable-core-do-not-import/stream/utils/
|
|
6
|
+
require('../../unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
7
7
|
require('../../unstable-core-do-not-import/rootConfig.js');
|
|
8
8
|
var redirect = require('./redirect.js');
|
|
9
9
|
var rethrowNextErrors = require('./rethrowNextErrors.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TRPCError, getTRPCErrorFromUnknown } from '../../unstable-core-do-not-import/error/TRPCError.mjs';
|
|
2
2
|
import { formDataToObject } from '../../unstable-core-do-not-import/http/formDataToObject.mjs';
|
|
3
3
|
import '../../vendor/unpromise/unpromise.mjs';
|
|
4
|
-
import '../../unstable-core-do-not-import/stream/utils/
|
|
4
|
+
import '../../unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
|
5
5
|
import '../../unstable-core-do-not-import/rootConfig.mjs';
|
|
6
6
|
import { TRPCRedirectError } from './redirect.mjs';
|
|
7
7
|
import { rethrowNextErrors } from './rethrowNextErrors.mjs';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var TRPCError = require('../../unstable-core-do-not-import/error/TRPCError.js');
|
|
4
4
|
require('../../vendor/unpromise/unpromise.js');
|
|
5
|
-
require('../../unstable-core-do-not-import/stream/utils/
|
|
5
|
+
require('../../unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
6
6
|
require('../../unstable-core-do-not-import/rootConfig.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TRPCError } from '../../unstable-core-do-not-import/error/TRPCError.mjs';
|
|
2
2
|
import '../../vendor/unpromise/unpromise.mjs';
|
|
3
|
-
import '../../unstable-core-do-not-import/stream/utils/
|
|
3
|
+
import '../../unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
|
4
4
|
import '../../unstable-core-do-not-import/rootConfig.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _define_property = require('../../node_modules/.pnpm/@swc_helpers@0.5.13/node_modules/@swc/helpers/esm/_define_property.js');
|
|
4
4
|
var TRPCError = require('../../unstable-core-do-not-import/error/TRPCError.js');
|
|
5
5
|
require('../../vendor/unpromise/unpromise.js');
|
|
6
|
-
require('../../unstable-core-do-not-import/stream/utils/
|
|
6
|
+
require('../../unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
7
7
|
require('../../unstable-core-do-not-import/rootConfig.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _define_property } from '../../node_modules/.pnpm/@swc_helpers@0.5.13/node_modules/@swc/helpers/esm/_define_property.mjs';
|
|
2
2
|
import { TRPCError } from '../../unstable-core-do-not-import/error/TRPCError.mjs';
|
|
3
3
|
import '../../vendor/unpromise/unpromise.mjs';
|
|
4
|
-
import '../../unstable-core-do-not-import/stream/utils/
|
|
4
|
+
import '../../unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
|
5
5
|
import '../../unstable-core-do-not-import/rootConfig.mjs';
|
|
6
6
|
|
|
7
7
|
/**
|
package/dist/adapters/next.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var utils = require('../unstable-core-do-not-import/utils.js');
|
|
4
4
|
var TRPCError = require('../unstable-core-do-not-import/error/TRPCError.js');
|
|
5
5
|
require('../vendor/unpromise/unpromise.js');
|
|
6
|
-
require('../unstable-core-do-not-import/stream/utils/
|
|
6
|
+
require('../unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
7
7
|
require('../unstable-core-do-not-import/rootConfig.js');
|
|
8
8
|
var nodeHTTPRequestHandler = require('./node-http/nodeHTTPRequestHandler.js');
|
|
9
9
|
|
package/dist/adapters/next.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { run } from '../unstable-core-do-not-import/utils.mjs';
|
|
2
2
|
import { TRPCError } from '../unstable-core-do-not-import/error/TRPCError.mjs';
|
|
3
3
|
import '../vendor/unpromise/unpromise.mjs';
|
|
4
|
-
import '../unstable-core-do-not-import/stream/utils/
|
|
4
|
+
import '../unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
|
5
5
|
import '../unstable-core-do-not-import/rootConfig.mjs';
|
|
6
6
|
import { nodeHTTPRequestHandler, internal_exceptionHandler } from './node-http/nodeHTTPRequestHandler.mjs';
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var TRPCError = require('../../unstable-core-do-not-import/error/TRPCError.js');
|
|
4
4
|
require('../../vendor/unpromise/unpromise.js');
|
|
5
|
-
require('../../unstable-core-do-not-import/stream/utils/
|
|
5
|
+
require('../../unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
6
6
|
require('../../unstable-core-do-not-import/rootConfig.js');
|
|
7
7
|
|
|
8
8
|
function createBody(req, opts) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TRPCError } from '../../unstable-core-do-not-import/error/TRPCError.mjs';
|
|
2
2
|
import '../../vendor/unpromise/unpromise.mjs';
|
|
3
|
-
import '../../unstable-core-do-not-import/stream/utils/
|
|
3
|
+
import '../../unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
|
4
4
|
import '../../unstable-core-do-not-import/rootConfig.mjs';
|
|
5
5
|
|
|
6
6
|
function createBody(req, opts) {
|
|
@@ -7,7 +7,7 @@ var resolveResponse = require('../../unstable-core-do-not-import/http/resolveRes
|
|
|
7
7
|
require('../../unstable-core-do-not-import/rootConfig.js');
|
|
8
8
|
var transformer = require('../../unstable-core-do-not-import/transformer.js');
|
|
9
9
|
require('../../vendor/unpromise/unpromise.js');
|
|
10
|
-
require('../../unstable-core-do-not-import/stream/utils/
|
|
10
|
+
require('../../unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
11
11
|
var incomingMessageToRequest = require('./incomingMessageToRequest.js');
|
|
12
12
|
var writeResponse = require('./writeResponse.js');
|
|
13
13
|
|
|
@@ -5,7 +5,7 @@ import { resolveResponse } from '../../unstable-core-do-not-import/http/resolveR
|
|
|
5
5
|
import '../../unstable-core-do-not-import/rootConfig.mjs';
|
|
6
6
|
import { transformTRPCResponse } from '../../unstable-core-do-not-import/transformer.mjs';
|
|
7
7
|
import '../../vendor/unpromise/unpromise.mjs';
|
|
8
|
-
import '../../unstable-core-do-not-import/stream/utils/
|
|
8
|
+
import '../../unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
|
9
9
|
import { incomingMessageToRequest } from './incomingMessageToRequest.mjs';
|
|
10
10
|
import { writeResponse } from './writeResponse.mjs';
|
|
11
11
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var isAbortError = require('../../unstable-core-do-not-import/http/isAbortError.js');
|
|
4
4
|
require('../../vendor/unpromise/unpromise.js');
|
|
5
|
-
require('../../unstable-core-do-not-import/stream/utils/
|
|
5
|
+
require('../../unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
6
6
|
require('../../unstable-core-do-not-import/rootConfig.js');
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line no-restricted-imports
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isAbortError } from '../../unstable-core-do-not-import/http/isAbortError.mjs';
|
|
2
2
|
import '../../vendor/unpromise/unpromise.mjs';
|
|
3
|
-
import '../../unstable-core-do-not-import/stream/utils/
|
|
3
|
+
import '../../unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
|
4
4
|
import '../../unstable-core-do-not-import/rootConfig.mjs';
|
|
5
5
|
|
|
6
6
|
// eslint-disable-next-line no-restricted-imports
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var http = require('node:http');
|
|
4
4
|
var utils = require('../unstable-core-do-not-import/utils.js');
|
|
5
5
|
require('../vendor/unpromise/unpromise.js');
|
|
6
|
-
require('../unstable-core-do-not-import/stream/utils/
|
|
6
|
+
require('../unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
7
7
|
require('../unstable-core-do-not-import/rootConfig.js');
|
|
8
8
|
var nodeHTTPRequestHandler = require('./node-http/nodeHTTPRequestHandler.js');
|
|
9
9
|
var incomingMessageToRequest = require('./node-http/incomingMessageToRequest.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import http from 'node:http';
|
|
2
2
|
import { run } from '../unstable-core-do-not-import/utils.mjs';
|
|
3
3
|
import '../vendor/unpromise/unpromise.mjs';
|
|
4
|
-
import '../unstable-core-do-not-import/stream/utils/
|
|
4
|
+
import '../unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
|
5
5
|
import '../unstable-core-do-not-import/rootConfig.mjs';
|
|
6
6
|
import { nodeHTTPRequestHandler, internal_exceptionHandler } from './node-http/nodeHTTPRequestHandler.mjs';
|
|
7
7
|
import { createURL } from './node-http/incomingMessageToRequest.mjs';
|
package/dist/adapters/ws.js
CHANGED
|
@@ -8,7 +8,7 @@ var parseTRPCMessage = require('../unstable-core-do-not-import/rpc/parseTRPCMess
|
|
|
8
8
|
var observable = require('../observable/observable.js');
|
|
9
9
|
var unpromise = require('../vendor/unpromise/unpromise.js');
|
|
10
10
|
var tracked = require('../unstable-core-do-not-import/stream/tracked.js');
|
|
11
|
-
require('../unstable-core-do-not-import/stream/utils/
|
|
11
|
+
require('../unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
12
12
|
var transformer = require('../unstable-core-do-not-import/transformer.js');
|
|
13
13
|
require('../unstable-core-do-not-import/rootConfig.js');
|
|
14
14
|
var router = require('../unstable-core-do-not-import/router.js');
|
package/dist/adapters/ws.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { parseTRPCMessage } from '../unstable-core-do-not-import/rpc/parseTRPCMe
|
|
|
6
6
|
import { isObservable, observableToAsyncIterable } from '../observable/observable.mjs';
|
|
7
7
|
import { Unpromise } from '../vendor/unpromise/unpromise.mjs';
|
|
8
8
|
import { isTrackedEnvelope } from '../unstable-core-do-not-import/stream/tracked.mjs';
|
|
9
|
-
import '../unstable-core-do-not-import/stream/utils/
|
|
9
|
+
import '../unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
|
10
10
|
import { transformTRPCResponse } from '../unstable-core-do-not-import/transformer.mjs';
|
|
11
11
|
import '../unstable-core-do-not-import/rootConfig.mjs';
|
|
12
12
|
import { callProcedure } from '../unstable-core-do-not-import/router.mjs';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"bundleSize":
|
|
3
|
-
"bundleOrigSize":
|
|
4
|
-
"bundleReduction": 23.
|
|
2
|
+
"bundleSize": 167858,
|
|
3
|
+
"bundleOrigSize": 219046,
|
|
4
|
+
"bundleReduction": 23.37,
|
|
5
5
|
"modules": [
|
|
6
6
|
{
|
|
7
7
|
"id": "/src/unstable-core-do-not-import/http/resolveResponse.ts",
|
|
8
|
-
"size":
|
|
9
|
-
"origSize":
|
|
8
|
+
"size": 21420,
|
|
9
|
+
"origSize": 19724,
|
|
10
10
|
"renderedExports": [
|
|
11
11
|
"resolveResponse"
|
|
12
12
|
],
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"dependents": [
|
|
15
15
|
"/src/unstable-core-do-not-import.ts"
|
|
16
16
|
],
|
|
17
|
-
"percent": 12.
|
|
17
|
+
"percent": 12.76,
|
|
18
18
|
"reduction": 0
|
|
19
19
|
},
|
|
20
20
|
{
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"dependents": [
|
|
31
31
|
"/src/adapters/fastify/fastifyTRPCPlugin.ts"
|
|
32
32
|
],
|
|
33
|
-
"percent":
|
|
33
|
+
"percent": 9.99,
|
|
34
34
|
"reduction": 0
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"id": "/src/unstable-core-do-not-import/stream/jsonl.ts",
|
|
38
|
-
"size":
|
|
39
|
-
"origSize":
|
|
38
|
+
"size": 16412,
|
|
39
|
+
"origSize": 17477,
|
|
40
40
|
"renderedExports": [
|
|
41
41
|
"isPromise",
|
|
42
42
|
"jsonlStreamProducer",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"/src/unstable-core-do-not-import.ts",
|
|
48
48
|
"/src/unstable-core-do-not-import/http/resolveResponse.ts"
|
|
49
49
|
],
|
|
50
|
-
"percent": 9.
|
|
50
|
+
"percent": 9.78,
|
|
51
51
|
"reduction": 6.09
|
|
52
52
|
},
|
|
53
53
|
{
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
],
|
|
61
61
|
"removedExports": [],
|
|
62
62
|
"dependents": [],
|
|
63
|
-
"percent": 7.
|
|
63
|
+
"percent": 7.03,
|
|
64
64
|
"reduction": 14.14
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
"id": "/src/unstable-core-do-not-import/stream/sse.ts",
|
|
68
|
-
"size":
|
|
69
|
-
"origSize":
|
|
68
|
+
"size": 9641,
|
|
69
|
+
"origSize": 11941,
|
|
70
70
|
"renderedExports": [
|
|
71
71
|
"sseStreamProducer",
|
|
72
72
|
"sseStreamConsumer",
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"/src/unstable-core-do-not-import.ts",
|
|
78
78
|
"/src/unstable-core-do-not-import/http/resolveResponse.ts"
|
|
79
79
|
],
|
|
80
|
-
"percent": 5.
|
|
81
|
-
"reduction": 19.
|
|
80
|
+
"percent": 5.74,
|
|
81
|
+
"reduction": 19.26
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
"id": "/src/unstable-core-do-not-import/http/contentType.ts",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"/src/unstable-core-do-not-import.ts",
|
|
93
93
|
"/src/unstable-core-do-not-import/http/resolveResponse.ts"
|
|
94
94
|
],
|
|
95
|
-
"percent": 4.
|
|
95
|
+
"percent": 4.58,
|
|
96
96
|
"reduction": 0
|
|
97
97
|
},
|
|
98
98
|
{
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"/src/unstable-core-do-not-import.ts",
|
|
111
111
|
"/src/unstable-core-do-not-import/initTRPC.ts"
|
|
112
112
|
],
|
|
113
|
-
"percent": 3.
|
|
113
|
+
"percent": 3.82,
|
|
114
114
|
"reduction": 39.89
|
|
115
115
|
},
|
|
116
116
|
{
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"/src/unstable-core-do-not-import.ts",
|
|
126
126
|
"/src/unstable-core-do-not-import/initTRPC.ts"
|
|
127
127
|
],
|
|
128
|
-
"percent": 3.
|
|
128
|
+
"percent": 3.45,
|
|
129
129
|
"reduction": 65.01
|
|
130
130
|
},
|
|
131
131
|
{
|
|
@@ -207,24 +207,9 @@
|
|
|
207
207
|
"dependents": [
|
|
208
208
|
"/src/adapters/next-app-dir.ts"
|
|
209
209
|
],
|
|
210
|
-
"percent": 1.
|
|
210
|
+
"percent": 1.93,
|
|
211
211
|
"reduction": 22.52
|
|
212
212
|
},
|
|
213
|
-
{
|
|
214
|
-
"id": "/src/unstable-core-do-not-import/stream/utils/asyncIterable.ts",
|
|
215
|
-
"size": 2776,
|
|
216
|
-
"origSize": 2876,
|
|
217
|
-
"renderedExports": [
|
|
218
|
-
"withMaxDuration",
|
|
219
|
-
"takeWithGrace"
|
|
220
|
-
],
|
|
221
|
-
"removedExports": [],
|
|
222
|
-
"dependents": [
|
|
223
|
-
"/src/unstable-core-do-not-import/stream/sse.ts"
|
|
224
|
-
],
|
|
225
|
-
"percent": 1.66,
|
|
226
|
-
"reduction": 3.48
|
|
227
|
-
},
|
|
228
213
|
{
|
|
229
214
|
"id": "/src/adapters/node-http/nodeHTTPRequestHandler.ts",
|
|
230
215
|
"size": 2742,
|
|
@@ -237,7 +222,7 @@
|
|
|
237
222
|
"dependents": [
|
|
238
223
|
"/src/adapters/node-http/index.ts"
|
|
239
224
|
],
|
|
240
|
-
"percent": 1.
|
|
225
|
+
"percent": 1.63,
|
|
241
226
|
"reduction": 16.3
|
|
242
227
|
},
|
|
243
228
|
{
|
|
@@ -291,9 +276,24 @@
|
|
|
291
276
|
"/src/unstable-core-do-not-import/initTRPC.ts",
|
|
292
277
|
"/src/unstable-core-do-not-import/procedureBuilder.ts"
|
|
293
278
|
],
|
|
294
|
-
"percent": 1.
|
|
279
|
+
"percent": 1.56,
|
|
295
280
|
"reduction": 55.79
|
|
296
281
|
},
|
|
282
|
+
{
|
|
283
|
+
"id": "/src/unstable-core-do-not-import/stream/utils/asyncIterable.ts",
|
|
284
|
+
"size": 2535,
|
|
285
|
+
"origSize": 2611,
|
|
286
|
+
"renderedExports": [
|
|
287
|
+
"withMaxDuration",
|
|
288
|
+
"takeWithGrace"
|
|
289
|
+
],
|
|
290
|
+
"removedExports": [],
|
|
291
|
+
"dependents": [
|
|
292
|
+
"/src/unstable-core-do-not-import/stream/sse.ts"
|
|
293
|
+
],
|
|
294
|
+
"percent": 1.51,
|
|
295
|
+
"reduction": 2.91
|
|
296
|
+
},
|
|
297
297
|
{
|
|
298
298
|
"id": "/src/unstable-core-do-not-import/utils.ts",
|
|
299
299
|
"size": 2460,
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
"dependents": [
|
|
374
374
|
"/src/adapters/next-app-dir/nextAppDirCaller.ts"
|
|
375
375
|
],
|
|
376
|
-
"percent": 1.
|
|
376
|
+
"percent": 1.26,
|
|
377
377
|
"reduction": 5.53
|
|
378
378
|
},
|
|
379
379
|
{
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
"/src/unstable-core-do-not-import/http/resolveResponse.ts",
|
|
395
395
|
"/src/unstable-core-do-not-import/error/getErrorShape.ts"
|
|
396
396
|
],
|
|
397
|
-
"percent": 1.
|
|
397
|
+
"percent": 1.24,
|
|
398
398
|
"reduction": 18.54
|
|
399
399
|
},
|
|
400
400
|
{
|
|
@@ -517,8 +517,8 @@
|
|
|
517
517
|
},
|
|
518
518
|
{
|
|
519
519
|
"id": "/src/unstable-core-do-not-import/stream/utils/withPing.ts",
|
|
520
|
-
"size":
|
|
521
|
-
"origSize":
|
|
520
|
+
"size": 1165,
|
|
521
|
+
"origSize": 1293,
|
|
522
522
|
"renderedExports": [
|
|
523
523
|
"PING_SYM",
|
|
524
524
|
"withPing"
|
|
@@ -527,8 +527,8 @@
|
|
|
527
527
|
"dependents": [
|
|
528
528
|
"/src/unstable-core-do-not-import/stream/sse.ts"
|
|
529
529
|
],
|
|
530
|
-
"percent": 0.
|
|
531
|
-
"reduction":
|
|
530
|
+
"percent": 0.69,
|
|
531
|
+
"reduction": 9.9
|
|
532
532
|
},
|
|
533
533
|
{
|
|
534
534
|
"id": "/src/adapters/fastify/fastifyRequestHandler.ts",
|
|
@@ -632,7 +632,7 @@
|
|
|
632
632
|
"/src/unstable-core-do-not-import.ts",
|
|
633
633
|
"/src/unstable-core-do-not-import/stream/sse.ts"
|
|
634
634
|
],
|
|
635
|
-
"percent": 0.
|
|
635
|
+
"percent": 0.46,
|
|
636
636
|
"reduction": 44.13
|
|
637
637
|
},
|
|
638
638
|
{
|
|
@@ -661,19 +661,19 @@
|
|
|
661
661
|
"reduction": 66.61
|
|
662
662
|
},
|
|
663
663
|
{
|
|
664
|
-
"id": "/src/unstable-core-do-not-import/stream/utils/
|
|
665
|
-
"size":
|
|
666
|
-
"origSize":
|
|
664
|
+
"id": "/src/unstable-core-do-not-import/stream/utils/timerResource.ts",
|
|
665
|
+
"size": 646,
|
|
666
|
+
"origSize": 642,
|
|
667
667
|
"renderedExports": [
|
|
668
668
|
"disposablePromiseTimerResult",
|
|
669
|
-
"
|
|
669
|
+
"timerResource"
|
|
670
670
|
],
|
|
671
671
|
"removedExports": [],
|
|
672
672
|
"dependents": [
|
|
673
673
|
"/src/unstable-core-do-not-import/stream/utils/asyncIterable.ts",
|
|
674
674
|
"/src/unstable-core-do-not-import/stream/utils/withPing.ts"
|
|
675
675
|
],
|
|
676
|
-
"percent": 0.
|
|
676
|
+
"percent": 0.38,
|
|
677
677
|
"reduction": 0
|
|
678
678
|
},
|
|
679
679
|
{
|
|
@@ -877,11 +877,11 @@
|
|
|
877
877
|
"removedExports": [],
|
|
878
878
|
"dependents": [
|
|
879
879
|
"/src/adapters/express.ts",
|
|
880
|
-
"/src/adapters/standalone.ts",
|
|
881
880
|
"/src/adapters/next.ts",
|
|
881
|
+
"/src/adapters/standalone.ts",
|
|
882
882
|
"/src/adapters/ws.ts",
|
|
883
|
-
"/src/adapters/node-http/nodeHTTPRequestHandler.ts",
|
|
884
883
|
"/src/adapters/next-app-dir/nextAppDirCaller.ts",
|
|
884
|
+
"/src/adapters/node-http/nodeHTTPRequestHandler.ts",
|
|
885
885
|
"/src/adapters/node-http/writeResponse.ts"
|
|
886
886
|
],
|
|
887
887
|
"percent": 0,
|
|
@@ -919,16 +919,6 @@
|
|
|
919
919
|
"percent": 0,
|
|
920
920
|
"reduction": 100
|
|
921
921
|
},
|
|
922
|
-
{
|
|
923
|
-
"id": "/src/adapters/fetch/index.ts",
|
|
924
|
-
"size": 0,
|
|
925
|
-
"origSize": 64,
|
|
926
|
-
"renderedExports": [],
|
|
927
|
-
"removedExports": [],
|
|
928
|
-
"dependents": [],
|
|
929
|
-
"percent": 0,
|
|
930
|
-
"reduction": 100
|
|
931
|
-
},
|
|
932
922
|
{
|
|
933
923
|
"id": "/src/adapters/node-http/index.ts",
|
|
934
924
|
"size": 0,
|
|
@@ -937,13 +927,23 @@
|
|
|
937
927
|
"removedExports": [],
|
|
938
928
|
"dependents": [
|
|
939
929
|
"/src/adapters/express.ts",
|
|
940
|
-
"/src/adapters/standalone.ts",
|
|
941
930
|
"/src/adapters/next.ts",
|
|
931
|
+
"/src/adapters/standalone.ts",
|
|
942
932
|
"/src/adapters/ws.ts",
|
|
943
933
|
"/src/adapters/fastify/fastifyRequestHandler.ts"
|
|
944
934
|
],
|
|
945
935
|
"percent": 0,
|
|
946
936
|
"reduction": 100
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"id": "/src/adapters/fetch/index.ts",
|
|
940
|
+
"size": 0,
|
|
941
|
+
"origSize": 64,
|
|
942
|
+
"renderedExports": [],
|
|
943
|
+
"removedExports": [],
|
|
944
|
+
"dependents": [],
|
|
945
|
+
"percent": 0,
|
|
946
|
+
"reduction": 100
|
|
947
947
|
}
|
|
948
948
|
],
|
|
949
949
|
"moduleCount": 62
|
package/dist/http.js
CHANGED
|
@@ -6,7 +6,7 @@ var contentTypeParsers = require('./unstable-core-do-not-import/http/contentType
|
|
|
6
6
|
var resolveResponse = require('./unstable-core-do-not-import/http/resolveResponse.js');
|
|
7
7
|
require('./unstable-core-do-not-import/rootConfig.js');
|
|
8
8
|
require('./vendor/unpromise/unpromise.js');
|
|
9
|
-
require('./unstable-core-do-not-import/stream/utils/
|
|
9
|
+
require('./unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
package/dist/http.mjs
CHANGED
|
@@ -4,4 +4,4 @@ export { octetInputParser } from './unstable-core-do-not-import/http/contentType
|
|
|
4
4
|
export { resolveResponse } from './unstable-core-do-not-import/http/resolveResponse.mjs';
|
|
5
5
|
import './unstable-core-do-not-import/rootConfig.mjs';
|
|
6
6
|
import './vendor/unpromise/unpromise.mjs';
|
|
7
|
-
import './unstable-core-do-not-import/stream/utils/
|
|
7
|
+
import './unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var getErrorShape = require('./unstable-core-do-not-import/error/getErrorShape.j
|
|
|
5
5
|
var TRPCError = require('./unstable-core-do-not-import/error/TRPCError.js');
|
|
6
6
|
require('./vendor/unpromise/unpromise.js');
|
|
7
7
|
var tracked = require('./unstable-core-do-not-import/stream/tracked.js');
|
|
8
|
-
require('./unstable-core-do-not-import/stream/utils/
|
|
8
|
+
require('./unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
9
9
|
var transformer = require('./unstable-core-do-not-import/transformer.js');
|
|
10
10
|
var initTRPC = require('./unstable-core-do-not-import/initTRPC.js');
|
|
11
11
|
var middleware = require('./unstable-core-do-not-import/middleware.js');
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ export { getErrorShape } from './unstable-core-do-not-import/error/getErrorShape
|
|
|
3
3
|
export { TRPCError, getTRPCErrorFromUnknown } from './unstable-core-do-not-import/error/TRPCError.mjs';
|
|
4
4
|
import './vendor/unpromise/unpromise.mjs';
|
|
5
5
|
export { isTrackedEnvelope, sse, tracked } from './unstable-core-do-not-import/stream/tracked.mjs';
|
|
6
|
-
import './unstable-core-do-not-import/stream/utils/
|
|
6
|
+
import './unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
|
7
7
|
export { transformTRPCResponse } from './unstable-core-do-not-import/transformer.mjs';
|
|
8
8
|
export { initTRPC } from './unstable-core-do-not-import/initTRPC.mjs';
|
|
9
9
|
export { experimental_standaloneMiddleware, experimental_standaloneMiddleware as experimental_trpcMiddleware } from './unstable-core-do-not-import/middleware.mjs';
|
package/dist/rpc.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var codes = require('./unstable-core-do-not-import/rpc/codes.js');
|
|
4
4
|
var parseTRPCMessage = require('./unstable-core-do-not-import/rpc/parseTRPCMessage.js');
|
|
5
5
|
require('./vendor/unpromise/unpromise.js');
|
|
6
|
-
require('./unstable-core-do-not-import/stream/utils/
|
|
6
|
+
require('./unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
7
7
|
require('./unstable-core-do-not-import/rootConfig.js');
|
|
8
8
|
|
|
9
9
|
|
package/dist/rpc.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { TRPC_ERROR_CODES_BY_KEY, TRPC_ERROR_CODES_BY_NUMBER } from './unstable-core-do-not-import/rpc/codes.mjs';
|
|
2
2
|
export { parseTRPCMessage } from './unstable-core-do-not-import/rpc/parseTRPCMessage.mjs';
|
|
3
3
|
import './vendor/unpromise/unpromise.mjs';
|
|
4
|
-
import './unstable-core-do-not-import/stream/utils/
|
|
4
|
+
import './unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
|
5
5
|
import './unstable-core-do-not-import/rootConfig.mjs';
|
package/dist/shared.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var createProxy = require('./unstable-core-do-not-import/createProxy.js');
|
|
4
4
|
var getErrorShape = require('./unstable-core-do-not-import/error/getErrorShape.js');
|
|
5
5
|
require('./vendor/unpromise/unpromise.js');
|
|
6
|
-
require('./unstable-core-do-not-import/stream/utils/
|
|
6
|
+
require('./unstable-core-do-not-import/stream/utils/timerResource.js');
|
|
7
7
|
require('./unstable-core-do-not-import/rootConfig.js');
|
|
8
8
|
|
|
9
9
|
|
package/dist/shared.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { createFlatProxy } from './unstable-core-do-not-import/createProxy.mjs';
|
|
2
2
|
export { getErrorShape } from './unstable-core-do-not-import/error/getErrorShape.mjs';
|
|
3
3
|
import './vendor/unpromise/unpromise.mjs';
|
|
4
|
-
import './unstable-core-do-not-import/stream/utils/
|
|
4
|
+
import './unstable-core-do-not-import/stream/utils/timerResource.mjs';
|
|
5
5
|
import './unstable-core-do-not-import/rootConfig.mjs';
|