@orpc/react 0.53.0 → 0.54.0

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.
@@ -60,4 +60,5 @@ interface UseServerActionErrorResult<TInput, TOutput, TError> extends UseServerA
60
60
  }
61
61
  declare function useServerAction<TInput, TOutput, TError extends ORPCErrorJSON<any, any>>(action: ActionableClient<TInput, TOutput, TError>, options?: NoInfer<UseServerActionOptions<TInput, TOutput, UnactionableError<TError>>>): UseServerActionIdleResult<TInput, TOutput, UnactionableError<TError>> | UseServerActionSuccessResult<TInput, TOutput, UnactionableError<TError>> | UseServerActionErrorResult<TInput, TOutput, UnactionableError<TError>> | UseServerActionPendingResult<TInput, TOutput, UnactionableError<TError>>;
62
62
 
63
- export { type UseServerActionErrorResult, type UseServerActionExecuteOptions, type UseServerActionExecuteRest, type UseServerActionIdleResult, type UseServerActionOptions, type UseServerActionPendingResult, type UseServerActionResultBase, type UseServerActionSuccessResult, useServerAction };
63
+ export { useServerAction };
64
+ export type { UseServerActionErrorResult, UseServerActionExecuteOptions, UseServerActionExecuteRest, UseServerActionIdleResult, UseServerActionOptions, UseServerActionPendingResult, UseServerActionResultBase, UseServerActionSuccessResult };
@@ -60,4 +60,5 @@ interface UseServerActionErrorResult<TInput, TOutput, TError> extends UseServerA
60
60
  }
61
61
  declare function useServerAction<TInput, TOutput, TError extends ORPCErrorJSON<any, any>>(action: ActionableClient<TInput, TOutput, TError>, options?: NoInfer<UseServerActionOptions<TInput, TOutput, UnactionableError<TError>>>): UseServerActionIdleResult<TInput, TOutput, UnactionableError<TError>> | UseServerActionSuccessResult<TInput, TOutput, UnactionableError<TError>> | UseServerActionErrorResult<TInput, TOutput, UnactionableError<TError>> | UseServerActionPendingResult<TInput, TOutput, UnactionableError<TError>>;
62
62
 
63
- export { type UseServerActionErrorResult, type UseServerActionExecuteOptions, type UseServerActionExecuteRest, type UseServerActionIdleResult, type UseServerActionOptions, type UseServerActionPendingResult, type UseServerActionResultBase, type UseServerActionSuccessResult, useServerAction };
63
+ export { useServerAction };
64
+ export type { UseServerActionErrorResult, UseServerActionExecuteOptions, UseServerActionExecuteRest, UseServerActionIdleResult, UseServerActionOptions, UseServerActionPendingResult, UseServerActionResultBase, UseServerActionSuccessResult };
package/dist/index.d.mts CHANGED
@@ -8,4 +8,5 @@ interface FormAction {
8
8
  declare const orpcErrorToNextHttpFallbackInterceptor: Interceptor<any, any, any>;
9
9
  declare function createFormAction<TInitialContext extends Context, TInputSchema extends AnySchema, TOutputSchema extends AnySchema, TErrorMap extends ErrorMap, TMeta extends Meta>(lazyableProcedure: Lazyable<Procedure<TInitialContext, any, TInputSchema, TOutputSchema, TErrorMap, TMeta>>, ...rest: MaybeOptionalOptions<CreateProcedureClientOptions<TInitialContext, TOutputSchema, TErrorMap, TMeta, Record<never, never>>>): FormAction;
10
10
 
11
- export { type FormAction, createFormAction, orpcErrorToNextHttpFallbackInterceptor };
11
+ export { createFormAction, orpcErrorToNextHttpFallbackInterceptor };
12
+ export type { FormAction };
package/dist/index.d.ts CHANGED
@@ -8,4 +8,5 @@ interface FormAction {
8
8
  declare const orpcErrorToNextHttpFallbackInterceptor: Interceptor<any, any, any>;
9
9
  declare function createFormAction<TInitialContext extends Context, TInputSchema extends AnySchema, TOutputSchema extends AnySchema, TErrorMap extends ErrorMap, TMeta extends Meta>(lazyableProcedure: Lazyable<Procedure<TInitialContext, any, TInputSchema, TOutputSchema, TErrorMap, TMeta>>, ...rest: MaybeOptionalOptions<CreateProcedureClientOptions<TInitialContext, TOutputSchema, TErrorMap, TMeta, Record<never, never>>>): FormAction;
10
10
 
11
- export { type FormAction, createFormAction, orpcErrorToNextHttpFallbackInterceptor };
11
+ export { createFormAction, orpcErrorToNextHttpFallbackInterceptor };
12
+ export type { FormAction };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orpc/react",
3
3
  "type": "module",
4
- "version": "0.53.0",
4
+ "version": "0.54.0",
5
5
  "license": "MIT",
6
6
  "homepage": "https://orpc.unnoq.com",
7
7
  "repository": {
@@ -34,11 +34,11 @@
34
34
  "react": ">=18.0.0"
35
35
  },
36
36
  "dependencies": {
37
- "@orpc/client": "0.53.0",
38
- "@orpc/contract": "0.53.0",
39
- "@orpc/openapi-client": "0.53.0",
40
- "@orpc/shared": "0.53.0",
41
- "@orpc/server": "0.53.0"
37
+ "@orpc/client": "0.54.0",
38
+ "@orpc/contract": "0.54.0",
39
+ "@orpc/openapi-client": "0.54.0",
40
+ "@orpc/shared": "0.54.0",
41
+ "@orpc/server": "0.54.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "react": "^19.1.0",