@withjoy/limiter 0.1.5 → 0.1.7

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.
package/limiter.js CHANGED
@@ -10,8 +10,9 @@ const defaultBuckets = {
10
10
  emailsByEventIdRate_Warn: { size: 200, per_hour: 200 },
11
11
  eventsByUserId: { size: 5, per_hour: 5 },
12
12
  eventsByIpRate: { size: 240, per_hour: 240 },
13
- paymentAttempts: { size: 9000 },
13
+ paymentAttempts: { size: 5000 },
14
14
  paymentAttemptsByReceiverId: { size: 900 },
15
+ paymentAttemptsGiftCards: { size: 3000 },
15
16
  // for development testing
16
17
  testPerMinute: { size: 3, per_minute: 1 },
17
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@withjoy/limiter",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Api Rate limiter",
5
5
  "main": "limiter.js",
6
6
  "scripts": {