@orpc/react 1.12.0 → 1.12.2

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.
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <div align="center">
2
- <image align="center" src="https://orpc.unnoq.com/logo.webp" width=280 alt="oRPC logo" />
2
+ <image align="center" src="https://orpc.dev/logo.webp" width=280 alt="oRPC logo" />
3
3
  </div>
4
4
 
5
5
  <h1></h1>
@@ -45,7 +45,7 @@
45
45
 
46
46
  ## Documentation
47
47
 
48
- You can find the full documentation [here](https://orpc.unnoq.com).
48
+ You can find the full documentation [here](https://orpc.dev).
49
49
 
50
50
  ## Packages
51
51
 
@@ -66,7 +66,7 @@ You can find the full documentation [here](https://orpc.unnoq.com).
66
66
 
67
67
  ## `@orpc/react`
68
68
 
69
- Provides utilities for integrating oRPC with React and React Server Actions. Read the [documentation](https://orpc.unnoq.com/docs/server-action) for more information.
69
+ Provides utilities for integrating oRPC with React and React Server Actions. Read the [documentation](https://orpc.dev/docs/server-action) for more information.
70
70
 
71
71
  ### `useServerAction` Hook
72
72
 
@@ -62,7 +62,7 @@ type UseServerActionResult<TInput, TOutput, TError> = UseServerActionIdleResult<
62
62
  /**
63
63
  * Use a Server Action Hook
64
64
  *
65
- * @see {@link https://orpc.unnoq.com/docs/server-action#useserveraction-hook Server Action Hook Docs}
65
+ * @see {@link https://orpc.dev/docs/server-action#useserveraction-hook Server Action Hook Docs}
66
66
  */
67
67
  declare function useServerAction<TInput, TOutput, TError extends ORPCErrorJSON<any, any>>(action: ActionableClient<TInput, TOutput, TError>, options?: UseServerActionOptions<TInput, TOutput, UnactionableError<TError>>): UseServerActionResult<TInput, TOutput, UnactionableError<TError>>;
68
68
 
@@ -62,7 +62,7 @@ type UseServerActionResult<TInput, TOutput, TError> = UseServerActionIdleResult<
62
62
  /**
63
63
  * Use a Server Action Hook
64
64
  *
65
- * @see {@link https://orpc.unnoq.com/docs/server-action#useserveraction-hook Server Action Hook Docs}
65
+ * @see {@link https://orpc.dev/docs/server-action#useserveraction-hook Server Action Hook Docs}
66
66
  */
67
67
  declare function useServerAction<TInput, TOutput, TError extends ORPCErrorJSON<any, any>>(action: ActionableClient<TInput, TOutput, TError>, options?: UseServerActionOptions<TInput, TOutput, UnactionableError<TError>>): UseServerActionResult<TInput, TOutput, UnactionableError<TError>>;
68
68
 
package/dist/index.d.mts CHANGED
@@ -10,8 +10,8 @@ declare const orpcErrorToNextHttpFallbackInterceptor: Interceptor<any, Promise<a
10
10
  /**
11
11
  * Create a server action accept a form data and deserialize with bracket notation.
12
12
  *
13
- * @see {@link https://orpc.unnoq.com/docs/server-action#createformaction-utility Create Form Action Utility Docs}
14
- * @see {@link https://orpc.unnoq.com/docs/openapi/bracket-notation Bracket Notation Docs}
13
+ * @see {@link https://orpc.dev/docs/server-action#createformaction-utility Create Form Action Utility Docs}
14
+ * @see {@link https://orpc.dev/docs/openapi/bracket-notation Bracket Notation Docs}
15
15
  */
16
16
  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;
17
17
 
package/dist/index.d.ts CHANGED
@@ -10,8 +10,8 @@ declare const orpcErrorToNextHttpFallbackInterceptor: Interceptor<any, Promise<a
10
10
  /**
11
11
  * Create a server action accept a form data and deserialize with bracket notation.
12
12
  *
13
- * @see {@link https://orpc.unnoq.com/docs/server-action#createformaction-utility Create Form Action Utility Docs}
14
- * @see {@link https://orpc.unnoq.com/docs/openapi/bracket-notation Bracket Notation Docs}
13
+ * @see {@link https://orpc.dev/docs/server-action#createformaction-utility Create Form Action Utility Docs}
14
+ * @see {@link https://orpc.dev/docs/openapi/bracket-notation Bracket Notation Docs}
15
15
  */
16
16
  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;
17
17
 
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@orpc/react",
3
3
  "type": "module",
4
- "version": "1.12.0",
4
+ "version": "1.12.2",
5
5
  "license": "MIT",
6
- "homepage": "https://orpc.unnoq.com",
6
+ "homepage": "https://orpc.dev",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/unnoq/orpc.git",
@@ -34,11 +34,11 @@
34
34
  "react": ">=18.0.0"
35
35
  },
36
36
  "dependencies": {
37
- "@orpc/client": "1.12.0",
38
- "@orpc/contract": "1.12.0",
39
- "@orpc/shared": "1.12.0",
40
- "@orpc/server": "1.12.0",
41
- "@orpc/openapi-client": "1.12.0"
37
+ "@orpc/contract": "1.12.2",
38
+ "@orpc/shared": "1.12.2",
39
+ "@orpc/client": "1.12.2",
40
+ "@orpc/openapi-client": "1.12.2",
41
+ "@orpc/server": "1.12.2"
42
42
  },
43
43
  "devDependencies": {
44
44
  "react": "^19.2.0",