Features:
- MongoDB limiter supports compound unique index sharding with
indexKeyPrefixoption now. - disable prefixing keys with empty
keyPrefixoption. - mongodb: specify collection name with
tableNameoption.
Bug fixes:
- postgresql: fix bug storing limits on different tables.
- implement toString, symbol inspect and toJSON for RateLimiterRes.
- fix RateLimiterUnion's consume TS response type (thanks @zephraph )
- add type signatures for toString and toJSON methods of RateLimiterRes (thanks @michaeldzjap )