Skip to content

Commit bd64e78

Browse files
authored
Merge pull request #119 from upstash/add-duration-to-export
feat: expose duration to outside
2 parents 492fe7e + c01d5e1 commit bd64e78

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: src/index.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import type { MultiRegionRatelimitConfig } from "./multi";
55
import { RegionRatelimit as Ratelimit } from "./single";
66
import type { RegionRatelimitConfig as RatelimitConfig } from "./single";
77
import type { Algorithm } from "./types";
8-
import * as IpDenyList from "./deny-list/ip-deny-list"
8+
import * as IpDenyList from "./deny-list/ip-deny-list";
9+
import { Duration } from "./duration";
910

1011
export {
1112
Ratelimit,
@@ -15,5 +16,6 @@ export {
1516
type Algorithm,
1617
Analytics,
1718
type AnalyticsConfig,
18-
IpDenyList
19+
IpDenyList,
20+
type Duration,
1921
};

0 commit comments

Comments
 (0)