From 802a4ee111d094beb01805b438814f90fdd73bb4 Mon Sep 17 00:00:00 2001 From: Roman Date: Sun, 20 Oct 2024 19:15:20 +1000 Subject: [PATCH 1/2] Update index.d.ts add ttlManuallySet option for Dynamo limiter --- lib/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/index.d.ts b/lib/index.d.ts index 9246f69..8feac8d 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -398,7 +398,8 @@ interface IRateLimiterDynamoOptions extends IRateLimiterStoreOptions { dynamoTableOpts?: { readCapacityUnits: number; writeCapacityUnits: number; - } + }; + ttlManuallySet?: boolean; } export class RateLimiterDynamo extends RateLimiterStoreAbstract { From 3a5bb3fad0f5df82cdcb9bb7888f853070dc7f4a Mon Sep 17 00:00:00 2001 From: Roman Date: Sun, 20 Oct 2024 19:19:40 +1000 Subject: [PATCH 2/2] Update index.d.ts --- lib/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.d.ts b/lib/index.d.ts index 8feac8d..3645335 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -399,7 +399,7 @@ interface IRateLimiterDynamoOptions extends IRateLimiterStoreOptions { readCapacityUnits: number; writeCapacityUnits: number; }; - ttlManuallySet?: boolean; + ttlSet?: boolean; } export class RateLimiterDynamo extends RateLimiterStoreAbstract {