json-rest-api 1.0.2 → 1.0.3

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
@@ -18,7 +18,7 @@ This tutorial will guide you through building a REST API using the `jsonrestapi`
18
18
  First, let's install the required packages:
19
19
 
20
20
  ```bash
21
- npm install hooked-api jsonrestapi
21
+ npm install hooked-api json-rest-api
22
22
  ```
23
23
 
24
24
  Create a new file called `api.js`:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "json-rest-api",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -19,7 +19,7 @@
19
19
  "description": "REST API plugin for hooked-api with JSON:API compliance",
20
20
  "dependencies": {
21
21
  "hooked-api": "^1.0.0",
22
- "jsonrestapi-schema": "^1.0.0",
22
+ "json-rest-schema": "^1.0.0",
23
23
  "qs": "^6.0.0"
24
24
  },
25
25
  "peerDependencies": {
@@ -1,4 +1,4 @@
1
- import CreateSchema from 'jsonrestapi-schema'
1
+ import CreateSchema from 'json-rest-schema'
2
2
  import {
3
3
  validateGetPayload,
4
4
  validateQueryPayload,