javascript-solid-server 0.0.52 → 0.0.53

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.
@@ -200,7 +200,9 @@
200
200
  "Bash(tar:*)",
201
201
  "Bash(TEST_API=1 API_URL=https://api.solid.social node:*)",
202
202
  "Bash(webledgers show:*)",
203
- "Bash(webledgers set-balance:*)"
203
+ "Bash(webledgers set-balance:*)",
204
+ "Bash(ssh melvincarvalho.com \"pm2 list | grep jss\")",
205
+ "Bash(ssh melvincarvalho.com \"cd /home/ubuntu/jss && git pull && pm2 restart jss\")"
204
206
  ]
205
207
  }
206
208
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "javascript-solid-server",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "description": "A minimal, fast Solid server",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/src/server.js CHANGED
@@ -240,12 +240,12 @@ export function createServer(options = {}) {
240
240
  });
241
241
 
242
242
  // Pod creation endpoint with rate limiting
243
- // Limit: 5 pods per IP per hour to prevent resource exhaustion and namespace squatting
243
+ // Limit: 1 pod per IP per day to prevent resource exhaustion and namespace squatting
244
244
  fastify.post('/.pods', {
245
245
  config: {
246
246
  rateLimit: {
247
- max: 5,
248
- timeWindow: '1 hour',
247
+ max: 1,
248
+ timeWindow: '1 day',
249
249
  keyGenerator: (request) => request.ip
250
250
  }
251
251
  }