@zthun/webigail-rest 2.4.2 → 3.0.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.
- package/README.md +6 -4
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -40,10 +40,12 @@ service
|
|
|
40
40
|
// Get a single resource - uses GET verb
|
|
41
41
|
service.get("ditto").then((ditto) => console.log(ditto));
|
|
42
42
|
|
|
43
|
-
// Note: The pokemon API is read only, but these would still invoke the
|
|
44
|
-
// The would just fail with 404s, but
|
|
45
|
-
//
|
|
46
|
-
//
|
|
43
|
+
// Note: The pokemon API is read only, but these would still invoke the
|
|
44
|
+
// endpoint with the given verbs The would just fail with 404s, but
|
|
45
|
+
// these are here to illustrate the usage of a full rest service. There
|
|
46
|
+
// is also an assumption that the return values on the services return
|
|
47
|
+
// the data that was mutated. Delete is assumed to return a
|
|
48
|
+
// 204 - No Content if successful.
|
|
47
49
|
|
|
48
50
|
// Create a new resource - uses POST verb
|
|
49
51
|
service
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zthun/webigail-rest",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Helpful services for querying rest services based on specific standards.",
|
|
5
5
|
"author": "Anthony Bonta",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"vite": "^5.4.
|
|
29
|
-
"vitest": "^2.
|
|
28
|
+
"vite": "^5.4.10",
|
|
29
|
+
"vitest": "^2.1.4"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@zthun/helpful-fn": "^6.
|
|
36
|
-
"@zthun/helpful-query": "^6.
|
|
37
|
-
"@zthun/webigail-http": "^
|
|
38
|
-
"@zthun/webigail-url": "^
|
|
35
|
+
"@zthun/helpful-fn": "^6.5.2",
|
|
36
|
+
"@zthun/helpful-query": "^6.5.2",
|
|
37
|
+
"@zthun/webigail-http": "^3.0.0",
|
|
38
|
+
"@zthun/webigail-url": "^3.0.0"
|
|
39
39
|
},
|
|
40
40
|
"sideEffects": false,
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "29824d3e31addc3998af4b7547d31d5bb59c6940"
|
|
42
42
|
}
|