@trpc/react-query
Advanced tools
Comparing version 11.0.0-rc.761 to 11.0.0-rc.764
import type { DefinedUseQueryResult, FetchInfiniteQueryOptions, FetchQueryOptions, InfiniteData, InfiniteQueryObserverSuccessResult, InitialDataFunction, QueryObserverSuccessResult, QueryOptions, UseBaseQueryOptions, UseInfiniteQueryOptions, UseInfiniteQueryResult, UseMutationOptions, UseMutationResult, UseQueryResult, UseSuspenseInfiniteQueryOptions, UseSuspenseInfiniteQueryResult, UseSuspenseQueryOptions, UseSuspenseQueryResult } from '@tanstack/react-query'; | ||
import type { CreateTRPCClientOptions, inferRouterClient, TRPCRequestOptions, TRPCUntypedClient } from '@trpc/client'; | ||
import type { AnyRouter, DistributiveOmit } from '@trpc/server/unstable-core-do-not-import'; | ||
import type { AnyRouter, coerceAsyncIterableToArray, DistributiveOmit } from '@trpc/server/unstable-core-do-not-import'; | ||
import type { JSX, ReactNode } from 'react'; | ||
@@ -114,3 +114,2 @@ import type { TRPCContextProps } from '../../internals/context'; | ||
export type CreateClient<TRouter extends AnyRouter> = (opts: CreateTRPCClientOptions<TRouter>) => TRPCUntypedClient<TRouter>; | ||
export type coerceAsyncIterableToArray<TValue> = TValue extends AsyncIterable<infer $Inferred> ? $Inferred[] : TValue; | ||
/** | ||
@@ -117,0 +116,0 @@ * @internal |
import type { DataTag, DefinedInitialDataInfiniteOptions, DefinedInitialDataOptions, InfiniteData, QueryClient, UndefinedInitialDataInfiniteOptions, UndefinedInitialDataOptions, UnusedSkipTokenInfiniteOptions, UnusedSkipTokenOptions } from '@tanstack/react-query'; | ||
import type { AnyRouter, DistributiveOmit, MaybePromise } from '@trpc/server/unstable-core-do-not-import'; | ||
import type { AnyRouter, coerceAsyncIterableToArray, DistributiveOmit, MaybePromise } from '@trpc/server/unstable-core-do-not-import'; | ||
import type { TRPCQueryKey } from '../internals/getQueryKey'; | ||
import type { coerceAsyncIterableToArray, ExtractCursorType, TRPCReactRequestOptions } from './hooks/types'; | ||
import type { ExtractCursorType, TRPCReactRequestOptions } from './hooks/types'; | ||
export interface TRPCQueryBaseOptions { | ||
@@ -6,0 +6,0 @@ /** |
{ | ||
"name": "@trpc/react-query", | ||
"version": "11.0.0-rc.761+b7174a4f2", | ||
"version": "11.0.0-rc.764+71c7ccc49", | ||
"description": "The tRPC React library", | ||
@@ -68,4 +68,4 @@ "author": "KATT", | ||
"@tanstack/react-query": "^5.62.8", | ||
"@trpc/client": "11.0.0-rc.761+b7174a4f2", | ||
"@trpc/server": "11.0.0-rc.761+b7174a4f2", | ||
"@trpc/client": "11.0.0-rc.764+71c7ccc49", | ||
"@trpc/server": "11.0.0-rc.764+71c7ccc49", | ||
"react": ">=18.2.0", | ||
@@ -77,4 +77,4 @@ "react-dom": ">=18.2.0", | ||
"@tanstack/react-query": "^5.66.0", | ||
"@trpc/client": "11.0.0-rc.761+b7174a4f2", | ||
"@trpc/server": "11.0.0-rc.761+b7174a4f2", | ||
"@trpc/client": "11.0.0-rc.764+71c7ccc49", | ||
"@trpc/server": "11.0.0-rc.764+71c7ccc49", | ||
"@types/express": "^5.0.0", | ||
@@ -100,3 +100,3 @@ "@types/node": "^22.9.0", | ||
], | ||
"gitHead": "b7174a4f24e93ca1fc733ae56e534d45960b41ca" | ||
"gitHead": "71c7ccc4915f8689d4d974d983d1c69ebce74aef" | ||
} |
@@ -29,2 +29,3 @@ import type { | ||
AnyRouter, | ||
coerceAsyncIterableToArray, | ||
DistributiveOmit, | ||
@@ -247,5 +248,2 @@ } from '@trpc/server/unstable-core-do-not-import'; | ||
export type coerceAsyncIterableToArray<TValue> = | ||
TValue extends AsyncIterable<infer $Inferred> ? $Inferred[] : TValue; | ||
/** | ||
@@ -252,0 +250,0 @@ * @internal |
@@ -14,2 +14,3 @@ import type { | ||
AnyRouter, | ||
coerceAsyncIterableToArray, | ||
DistributiveOmit, | ||
@@ -19,7 +20,3 @@ MaybePromise, | ||
import type { TRPCQueryKey } from '../internals/getQueryKey'; | ||
import type { | ||
coerceAsyncIterableToArray, | ||
ExtractCursorType, | ||
TRPCReactRequestOptions, | ||
} from './hooks/types'; | ||
import type { ExtractCursorType, TRPCReactRequestOptions } from './hooks/types'; | ||
@@ -26,0 +23,0 @@ export interface TRPCQueryBaseOptions { |
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
362177
8148