@panneau/data 4.0.72 → 4.0.73
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.js +2 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -746,8 +746,8 @@ class ResourcesApi {
|
|
|
746
746
|
id,
|
|
747
747
|
has_routes: hasRoutes = false
|
|
748
748
|
}, route, params) {
|
|
749
|
-
const hasSpecificRoute = this.hasRoute(`resources.${id}.${route}`);
|
|
750
|
-
const routeName = hasSpecificRoute ? `resources.${id}.${route}` : `resources.${
|
|
749
|
+
const hasSpecificRoute = this.api.hasRoute(`resources.${id}.${route}`);
|
|
750
|
+
const routeName = hasSpecificRoute ? `resources.${id}.${route}` : `resources.${route}`;
|
|
751
751
|
return this.api.route(routeName, hasSpecificRoute ? params : {
|
|
752
752
|
resource: id,
|
|
753
753
|
...params
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/data",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.73",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@babel/runtime": "^7.28.6",
|
|
56
56
|
"@folklore/fetch": "^0.1.21",
|
|
57
57
|
"@folklore/routes": "^0.4.11",
|
|
58
|
-
"@panneau/core": "^4.0.
|
|
58
|
+
"@panneau/core": "^4.0.73",
|
|
59
59
|
"@tanstack/react-query": "^5.100.9",
|
|
60
60
|
"lodash": "^4.17.21",
|
|
61
61
|
"query-string": "^9.0.0"
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"access": "public"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "59fe06241775f60d387d99b22c16bb474964e6d0"
|
|
75
75
|
}
|