What's Changed
- fix: Export offline handler types by @rolodato in #166
- feat!: Simplify FlagsmithCache interface by @rolodato in #165
BREAKING CHANGES
The FlagsmithCache
interface has been simplified. In practice, this will not affect most users:
- Removed
has
method - Removed
ttl
parameter fromset
- Changed
set
return type toPromise<void>
- Changed
get
return type toPromise<Flags | undefined>
FlagsmithCache
since 5.0.0: https://www.tsdocs.dev/docs/flagsmith-nodejs/5.0.0/interfaces/FlagsmithCache.html
FlagsmithCache
prior to 5.0.0: https://www.tsdocs.dev/docs/flagsmith-nodejs/4.0.0/interfaces/FlagsmithCache.html
Full Changelog: v4.0.0...v5.0.0