@trpc/react-query
Advanced tools
Comparing version 11.0.0-alpha-tmp-01-22-fix.719 to 11.0.0-alpha-tmp-01-22-fix.721
{ | ||
"bundleSize": 43968, | ||
"bundleOrigSize": 92111, | ||
"bundleReduction": 52.27, | ||
"bundleOrigSize": 92128, | ||
"bundleReduction": 52.28, | ||
"modules": [ | ||
@@ -68,3 +68,3 @@ { | ||
"size": 3230, | ||
"origSize": 5362, | ||
"origSize": 5395, | ||
"renderedExports": [ | ||
@@ -76,3 +76,3 @@ "createHydrationHelpers" | ||
"percent": 7.35, | ||
"reduction": 39.76 | ||
"reduction": 40.13 | ||
}, | ||
@@ -91,4 +91,4 @@ { | ||
"dependents": [ | ||
"/src/index.ts", | ||
"/src/rsc.tsx", | ||
"/src/index.ts", | ||
"/src/server/ssgProxy.ts", | ||
@@ -105,3 +105,3 @@ "/src/shared/proxy/utilsProxy.ts", | ||
"size": 875, | ||
"origSize": 13853, | ||
"origSize": 13837, | ||
"renderedExports": [ | ||
@@ -108,0 +108,0 @@ "createHooksInternal", |
@@ -118,3 +118,3 @@ import type { DefinedInitialDataInfiniteOptions, DefinedUseInfiniteQueryResult, InfiniteData, SkipToken, UndefinedInitialDataInfiniteOptions, UseInfiniteQueryOptions, UseInfiniteQueryResult, UseSuspenseInfiniteQueryOptions, UseSuspenseInfiniteQueryResult, UseSuspenseQueryResult } from '@tanstack/react-query'; | ||
export type DecorateRouterRecord<TRoot extends AnyRootTypes, TRecord extends RouterRecord> = { | ||
[TKey in keyof TRecord]: TRecord[TKey] extends infer $Value ? $Value extends RouterRecord ? DecorateRouterRecord<TRoot, $Value> : $Value extends AnyProcedure ? DecorateProcedure<$Value['_def']['type'], { | ||
[TKey in keyof TRecord]: TRecord[TKey] extends infer $Value ? $Value extends AnyProcedure ? DecorateProcedure<$Value['_def']['type'], { | ||
input: inferProcedureInput<$Value>; | ||
@@ -124,3 +124,3 @@ output: inferTransformedProcedureOutput<TRoot, $Value>; | ||
errorShape: TRoot['errorShape']; | ||
}> : never : never; | ||
}> : $Value extends RouterRecord ? DecorateRouterRecord<TRoot, $Value> : never : never; | ||
}; | ||
@@ -127,0 +127,0 @@ /** |
@@ -14,3 +14,3 @@ import { type QueryClient } from '@tanstack/react-query'; | ||
type DecorateRouterRecord<TRoot extends AnyRootTypes, TRecord extends RouterRecord> = { | ||
[TKey in keyof TRecord]: TRecord[TKey] extends AnyProcedure ? DecorateProcedure<TRoot, TRecord[TKey]> : TRecord[TKey] extends RouterRecord ? DecorateRouterRecord<TRoot, TRecord[TKey]> : never; | ||
[TKey in keyof TRecord]: TRecord[TKey] extends infer $Value ? $Value extends AnyProcedure ? DecorateProcedure<TRoot, $Value> : $Value extends RouterRecord ? DecorateRouterRecord<TRoot, $Value> : never : never; | ||
}; | ||
@@ -17,0 +17,0 @@ type Caller<TRouter extends AnyRouter> = ReturnType<RouterCaller<inferRouterRootTypes<TRouter>, TRouter['_def']['record']>>; |
{ | ||
"name": "@trpc/react-query", | ||
"version": "11.0.0-alpha-tmp-01-22-fix.719+3aba9dfa0", | ||
"version": "11.0.0-alpha-tmp-01-22-fix.721+5f2b8a36a", | ||
"description": "The tRPC React library", | ||
@@ -68,4 +68,4 @@ "author": "KATT", | ||
"@tanstack/react-query": "^5.62.8", | ||
"@trpc/client": "11.0.0-alpha-tmp-01-22-fix.719+3aba9dfa0", | ||
"@trpc/server": "11.0.0-alpha-tmp-01-22-fix.719+3aba9dfa0", | ||
"@trpc/client": "11.0.0-alpha-tmp-01-22-fix.721+5f2b8a36a", | ||
"@trpc/server": "11.0.0-alpha-tmp-01-22-fix.721+5f2b8a36a", | ||
"react": ">=18.2.0", | ||
@@ -77,4 +77,4 @@ "react-dom": ">=18.2.0", | ||
"@tanstack/react-query": "^5.62.8", | ||
"@trpc/client": "11.0.0-alpha-tmp-01-22-fix.719+3aba9dfa0", | ||
"@trpc/server": "11.0.0-alpha-tmp-01-22-fix.719+3aba9dfa0", | ||
"@trpc/client": "11.0.0-alpha-tmp-01-22-fix.721+5f2b8a36a", | ||
"@trpc/server": "11.0.0-alpha-tmp-01-22-fix.721+5f2b8a36a", | ||
"@types/express": "^4.17.17", | ||
@@ -100,3 +100,3 @@ "@types/node": "^22.9.0", | ||
], | ||
"gitHead": "3aba9dfa047316926e28ad9b8bca5c95bb939812" | ||
"gitHead": "5f2b8a36acd14e41a8f9111c7d5dba167a888bb0" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
359598
8099