rpc4next 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +1 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -45,8 +45,7 @@ export async function GET(
45
45
  }
46
46
  ```
47
47
 
48
- - `GET`、`POST` などのハンドラを定義
49
- - **RPCとして利用するには、`NextResponse.json()` によるレスポンス返却が必須です**
48
+ - **RPCとしてresponseの戻り値の推論が機能するのは、対象となる `route.ts` の HTTPメソッドハンドラ内で`NextResponse.json()` をしている物のみになります**
50
49
 
51
50
  ---
52
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rpc4next",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Inspired by Hono RPC and Pathpida, rpc4next brings a lightweight and intuitive RPC solution to Next.js, making server-client communication seamless",
5
5
  "author": "watanabe-1",
6
6
  "license": "MIT",