@trpc/react-query
Advanced tools
Comparing version 11.0.0-rc.747 to 11.0.0-rc.748
{ | ||
"bundleSize": 43968, | ||
"bundleOrigSize": 92089, | ||
"bundleReduction": 52.25, | ||
"bundleSize": 43951, | ||
"bundleOrigSize": 92072, | ||
"bundleReduction": 52.26, | ||
"modules": [ | ||
@@ -17,3 +17,3 @@ { | ||
], | ||
"percent": 43.85, | ||
"percent": 43.86, | ||
"reduction": 9.31 | ||
@@ -33,3 +33,3 @@ }, | ||
], | ||
"percent": 16.43, | ||
"percent": 16.44, | ||
"reduction": 0 | ||
@@ -39,4 +39,4 @@ }, | ||
"id": "/src/server/ssgProxy.ts", | ||
"size": 3969, | ||
"origSize": 6087, | ||
"size": 3952, | ||
"origSize": 6070, | ||
"renderedExports": [ | ||
@@ -49,4 +49,4 @@ "createServerSideHelpers" | ||
], | ||
"percent": 9.03, | ||
"reduction": 34.8 | ||
"percent": 8.99, | ||
"reduction": 34.89 | ||
}, | ||
@@ -53,0 +53,0 @@ { |
@@ -26,3 +26,3 @@ 'use strict'; | ||
return unstableCoreDoNotImport.callProcedure({ | ||
procedures: router._def.procedures, | ||
_def: router._def, | ||
path: queryOpts.path, | ||
@@ -29,0 +29,0 @@ getRawInput: async ()=>queryOpts.input, |
@@ -7,3 +7,3 @@ import type { AnyMutationProcedure, AnyQueryProcedure, AnyRootTypes, AnyRouter, RouterRecord } from '@trpc/server/unstable-core-do-not-import'; | ||
*/ | ||
export type RouterLike<TRouter extends AnyRouter> = RouterLikeInner<TRouter['_def']['_config']['$types'], TRouter['_def']['procedures']>; | ||
export type RouterLike<TRouter extends AnyRouter> = RouterLikeInner<TRouter['_def']['_config']['$types'], TRouter['_def']['record']>; | ||
export type RouterLikeInner<TRoot extends AnyRootTypes, TRecord extends RouterRecord> = { | ||
@@ -10,0 +10,0 @@ [TKey in keyof TRecord]: TRecord[TKey] extends infer $Value ? $Value extends AnyQueryProcedure ? QueryLike<TRoot, $Value> : $Value extends AnyMutationProcedure ? MutationLike<TRoot, $Value> : $Value extends RouterRecord ? RouterLikeInner<TRoot, $Value> : never : never; |
{ | ||
"name": "@trpc/react-query", | ||
"version": "11.0.0-rc.747+64714681c", | ||
"version": "11.0.0-rc.748+b19e7e9a6", | ||
"description": "The tRPC React library", | ||
@@ -68,4 +68,4 @@ "author": "KATT", | ||
"@tanstack/react-query": "^5.62.8", | ||
"@trpc/client": "11.0.0-rc.747+64714681c", | ||
"@trpc/server": "11.0.0-rc.747+64714681c", | ||
"@trpc/client": "11.0.0-rc.748+b19e7e9a6", | ||
"@trpc/server": "11.0.0-rc.748+b19e7e9a6", | ||
"react": ">=18.2.0", | ||
@@ -77,4 +77,4 @@ "react-dom": ">=18.2.0", | ||
"@tanstack/react-query": "^5.62.8", | ||
"@trpc/client": "11.0.0-rc.747+64714681c", | ||
"@trpc/server": "11.0.0-rc.747+64714681c", | ||
"@trpc/client": "11.0.0-rc.748+b19e7e9a6", | ||
"@trpc/server": "11.0.0-rc.748+b19e7e9a6", | ||
"@types/express": "^5.0.0", | ||
@@ -100,3 +100,3 @@ "@types/node": "^22.9.0", | ||
], | ||
"gitHead": "64714681ca127cd859a819d61ce8a990b928baf9" | ||
"gitHead": "b19e7e9a640511f49de05bcd4436dc0a514f5e0f" | ||
} |
@@ -99,3 +99,3 @@ import type { | ||
return callProcedure({ | ||
procedures: router._def.procedures, | ||
_def: router._def, | ||
path: queryOpts.path, | ||
@@ -102,0 +102,0 @@ getRawInput: async () => queryOpts.input, |
@@ -16,3 +16,3 @@ import type { | ||
TRouter['_def']['_config']['$types'], | ||
TRouter['_def']['procedures'] | ||
TRouter['_def']['record'] | ||
>; | ||
@@ -19,0 +19,0 @@ export type RouterLikeInner< |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
359413