juxscript 1.1.262 → 1.1.263

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.
@@ -112,7 +112,7 @@ app.get('/favicon.png', (req, res) => res.status(204).end());
112
112
  app.get('/api/test', (_req, res) => {
113
113
  const fruits = ['apple', 'banana', 'orange', 'mango', 'strawberry', 'grape', 'watermelon', 'pineapple', 'kiwi', 'peach'];
114
114
  const randomFruit = fruits[Math.floor(Math.random() * fruits.length)];
115
-
115
+
116
116
  res.json({
117
117
  randomFruit,
118
118
  users: [
@@ -142,7 +142,11 @@ app.get('/__jux_sources.json', (req, res) => {
142
142
  // API ROUTES — must come BEFORE static middleware and catch-all
143
143
  // ═══════════════════════════════════════════════════════════════
144
144
  app.get('/api/test', (req, res) => {
145
+ const fruits = ['apple', 'banana', 'orange', 'mango', 'strawberry', 'grape', 'watermelon', 'pineapple', 'kiwi', 'peach'];
146
+ const randomFruit = fruits[Math.floor(Math.random() * fruits.length)];
147
+
145
148
  res.json({
149
+ randomFruit,
146
150
  users: [
147
151
  { id: 1, name: 'Alice', email: 'alice@example.com' },
148
152
  { 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.262",
3
+ "version": "1.1.263",
4
4
  "type": "module",
5
5
  "description": "A JavaScript UX authorship platform",
6
6
  "main": "./dist/lib/index.js",