juxscript 1.1.261 → 1.1.262

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.
@@ -109,8 +109,12 @@ app.get('/favicon.png', (req, res) => res.status(204).end());
109
109
  // ═══════════════════════════════════════════════════════════════
110
110
  // API ROUTES — BEFORE static and catch-all
111
111
  // ═══════════════════════════════════════════════════════════════
112
- app.get('/api/test', (req, res) => {
112
+ app.get('/api/test', (_req, res) => {
113
+ const fruits = ['apple', 'banana', 'orange', 'mango', 'strawberry', 'grape', 'watermelon', 'pineapple', 'kiwi', 'peach'];
114
+ const randomFruit = fruits[Math.floor(Math.random() * fruits.length)];
115
+
113
116
  res.json({
117
+ randomFruit,
114
118
  users: [
115
119
  { id: 1, name: 'Alice', email: 'alice@example.com' },
116
120
  { id: 2, name: 'Bob', email: 'bob@example.com' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "juxscript",
3
- "version": "1.1.261",
3
+ "version": "1.1.262",
4
4
  "type": "module",
5
5
  "description": "A JavaScript UX authorship platform",
6
6
  "main": "./dist/lib/index.js",