@aglyn/shared-util-rest-api 1.6.0 → 1.8.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.
- package/README.md +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Helpers for writing JSON API routes in Next.js: one response envelope for both the Pages Router (`NextApiResponse`) and the App Router (Web `Response`), plus small middleware and cookie utilities. Published mainly as a building block for Aglyn's own apps; usable in any Next.js project that wants the same envelope.
|
|
4
4
|
|
|
5
|
-
>
|
|
5
|
+
> Published to npm from the Aglyn monorepo. Versions follow [semantic versioning](https://semver.org).
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
|
-
npm install @aglyn/shared-util-rest-api
|
|
9
|
+
npm install @aglyn/shared-util-rest-api
|
|
10
10
|
|
|
11
11
|
Peer dependency: `next` (`16.3.3`).
|
|
12
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aglyn/shared-util-rest-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"homepage": "https://aglyn.com",
|
|
6
6
|
"repository": {
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"./package.json": "./package.json"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aglyn/shared-data-enums": "1.
|
|
29
|
-
"@aglyn/shared-util-errors": "1.
|
|
30
|
-
"@aglyn/shared-util-http": "1.
|
|
28
|
+
"@aglyn/shared-data-enums": "1.8.0",
|
|
29
|
+
"@aglyn/shared-util-errors": "1.8.0",
|
|
30
|
+
"@aglyn/shared-util-http": "1.8.0",
|
|
31
31
|
"@swc/helpers": "0.5.23",
|
|
32
32
|
"cookie": "^2.0.1",
|
|
33
33
|
"js-cookie": "^3.0.8",
|