@trpc/client
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -1,2 +0,2 @@ | ||
import type { AnyRouter, DataTransformer, HTTPResponseEnvelope, HTTPSuccessResponseEnvelope, inferHandlerFn, inferRouteInput, Maybe } from '@trpc/server'; | ||
import type { AnyRouter, DataTransformer, HTTPResponseEnvelope, HTTPSuccessResponseEnvelope, inferHandlerFn, inferRouteInput, inferSubscriptionOutput, Maybe } from '@trpc/server'; | ||
declare type CancelFn = () => void; | ||
@@ -40,3 +40,3 @@ declare type CancellablePromise<T = unknown> = Promise<T> & { | ||
mutate: inferHandlerFn<TRouter["_def"]["mutations"]>; | ||
subscriptionOnce: <TPath extends keyof TRouter["_def"]["subscriptions"] & string, TInput extends inferRouteInput<TRouter["_def"]["subscriptions"][TPath]>>(path: TPath, input: TInput) => CancellablePromise<import("@trpc/server").ThenArg<ReturnType<import("@trpc/server").ThenArg<ReturnType<TRouter["_def"]["subscriptions"][TPath]["resolve"]>>["onceOutputAndStop"]>>>; | ||
subscriptionOnce: <TPath extends keyof TRouter["_def"]["subscriptions"] & string, TInput extends inferRouteInput<TRouter["_def"]["subscriptions"][TPath]>>(path: TPath, input: TInput) => CancellablePromise<inferSubscriptionOutput<TRouter, TPath>[]>; | ||
transformer: DataTransformer; | ||
@@ -43,0 +43,0 @@ }; |
{ | ||
"name": "@trpc/client", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "TRPC Client lib", | ||
@@ -30,3 +30,3 @@ "author": "KATT", | ||
"devDependencies": { | ||
"@trpc/server": "^1.4.0" | ||
"@trpc/server": "^1.4.1" | ||
}, | ||
@@ -36,3 +36,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "f55262c2bbb60769e509fd351f5ef5d1cf7f0ea1" | ||
"gitHead": "6c17f0dba789204be6386a2632f6073440e8604a" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44
255297
2144