corebasic 1.0.108 → 1.0.109

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/libs/features.js +2 -0
  2. package/package.json +1 -1
package/libs/features.js CHANGED
@@ -116,6 +116,8 @@ export const start = async (app, url, file) => {
116
116
 
117
117
  app[method](url, async (req, res) => {
118
118
  let feature = getFeature(req.body.feature)
119
+ if (!feature)
120
+ console.warn(`Feature: ${req.body.feature} not available`, req.url, req.params, req.body)
119
121
  let topic = feature.topic
120
122
  try {
121
123
  let params = getFeatureUrl(feature.api).split("/").filter(item => item.startsWith(":")).map(item => item.replace(":", ""))
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "corebasic",
3
3
  "type": "module",
4
- "version": "1.0.108",
4
+ "version": "1.0.109",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {