restql 1.2.0 → 1.2.1

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 +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # RestQL.js
1
+ # RestQL
2
2
 
3
3
  RESTful API Resolver for Nested-Linked Resources | 🕸 🕷
4
4
 
@@ -27,7 +27,7 @@ npm install restql
27
27
 
28
28
  ## Usage
29
29
 
30
- ### `restql(resource, resolver[, options])`
30
+ ### `restql<T>(resource, resolver[, options])`
31
31
 
32
32
  #### Parameters
33
33
 
@@ -80,7 +80,7 @@ Following is a table of the quantifiers you can use:
80
80
 
81
81
  #### Returns
82
82
 
83
- (`Promise<T extends object = Record<string, unknown>>`): A promise which resolves into an object.
83
+ (`Promise<T>`): A promise which resolves into a generic.
84
84
 
85
85
  ## Try It
86
86
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "restql",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "RESTful API Resolver for Nested-Linked Resources | 🕸 🕷",
5
5
  "type": "module",
6
6
  "unpkg": "./dist/index.js",