corebasic 1.0.59 → 1.0.60

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 +1 -1
  2. package/package.json +1 -1
package/libs/features.js CHANGED
@@ -89,7 +89,7 @@ export const start = async (app, url, file) => {
89
89
  else
90
90
  throw false
91
91
  } catch {
92
- throw {status: 500, message: "Failed to retreive data"}
92
+ res.status(500).json({ message: "Failed to retreive data" })
93
93
  }
94
94
  })
95
95
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "corebasic",
3
3
  "type": "module",
4
- "version": "1.0.59",
4
+ "version": "1.0.60",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {