@rest-rpc/next 0.1.0-beta.10 → 0.1.0-beta.11
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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +22 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { type ClearCookieOptions,
|
|
1
|
+
export { type ClearCookieOptions, clearCookie, type RouteErrors, type RouteRequestData, RouteResponseError, type RouteResponseShorthand, type SetCookieOptions, setCookie, } from "@rest-rpc/web";
|
|
2
2
|
export { type CreateRouteHandlerOptions, createRouteHandler, type NextRouteMiddleware, type RouteRequest, type RouteResponse, route, router, } from "./server.ts";
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { clearCookie, RouteResponseError, setCookie, } from "@rest-rpc/web";
|
|
2
2
|
export { createRouteHandler, route, router, } from "./server.js";
|
package/package.json
CHANGED
|
@@ -1,11 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rest-rpc/next",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"description": "Next.js adapter for serving and consuming rest-rpc contracts in App Router projects.",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"rest-rpc",
|
|
9
|
+
"typescript",
|
|
10
|
+
"rpc",
|
|
11
|
+
"rest",
|
|
12
|
+
"api-contract",
|
|
13
|
+
"contract-first",
|
|
14
|
+
"type-safe-api",
|
|
15
|
+
"next",
|
|
16
|
+
"nextjs",
|
|
17
|
+
"app-router",
|
|
18
|
+
"route-handler",
|
|
19
|
+
"fetch",
|
|
20
|
+
"react",
|
|
21
|
+
"server-components"
|
|
22
|
+
],
|
|
6
23
|
"repository": {
|
|
7
24
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/rest-rpc/rest-rpc.git"
|
|
25
|
+
"url": "git+https://github.com/rest-rpc/rest-rpc.git",
|
|
26
|
+
"directory": "packages/next"
|
|
9
27
|
},
|
|
10
28
|
"main": "./dist/index.js",
|
|
11
29
|
"types": "./dist/index.d.ts",
|
|
@@ -22,8 +40,8 @@
|
|
|
22
40
|
"directory": "test-d"
|
|
23
41
|
},
|
|
24
42
|
"dependencies": {
|
|
25
|
-
"@rest-rpc/
|
|
26
|
-
"@rest-rpc/
|
|
43
|
+
"@rest-rpc/web": "0.1.0-beta.11",
|
|
44
|
+
"@rest-rpc/core": "0.1.0-beta.11"
|
|
27
45
|
},
|
|
28
46
|
"peerDependencies": {
|
|
29
47
|
"next": ">=15"
|