@benup/bensdk 1.13.3 → 1.13.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.
@@ -31,7 +31,12 @@ export type CredentialsHealthCheckResult = {
31
31
  environment?: 'PRODUCTION' | 'STAGING';
32
32
  reason?: string;
33
33
  };
34
+ export type RateLimitConfig = {
35
+ maxExecutionsPerWindow: number;
36
+ windowSeconds: number;
37
+ };
34
38
  export type BenefitDefinition = Omit<Base, 'stateMachine'> & {
39
+ rateLimit?: RateLimitConfig;
35
40
  /**
36
41
  * Defines if the benefit integrates via file-exchange
37
42
  * if so it should define which engine-type use via type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@benup/bensdk",
3
- "version": "1.13.3",
3
+ "version": "1.13.4",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "scripts": {