@triophore/falcon-cli 1.0.3 → 1.0.4

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.
@@ -193,7 +193,7 @@ class ProjectGenerator {
193
193
  license: "ISC",
194
194
  type: "commonjs",
195
195
  dependencies: {
196
- "falconjs": "file:../falconjs",
196
+ "@triophore/falconjs": "^1.0.1",
197
197
  "@hapi/boom": "^10.0.1",
198
198
  "@hapi/inert": "^7.1.0",
199
199
  "@hapi/vision": "^7.0.3",
@@ -261,7 +261,7 @@ class ProjectGenerator {
261
261
  },
262
262
  auth: {
263
263
  jwt: {
264
- key: process.env.JWT_SECRET || "your-secret-key-here",
264
+ secret: process.env.JWT_SECRET || "your-secret-key-here",
265
265
  validate: async (decoded, request) => {
266
266
  // Your JWT validation logic
267
267
  return { id: decoded.id, roles: decoded.roles };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triophore/falcon-cli",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {