- Trying to fix a missing README on npmjs.com
- Rename the
timezone
option.
daynight({
- timeZone: 'Australia/Sydney',
+ timezone: 'Australia/Sydney',
}),
- Update the demo.
- Generate CJS, ESM modules and type declarations.
- Update TypeScript types and Readme.md
- Add
type DaynightTheme = 'day' | 'night'
to the DaynightResult
- Reduce bundle size by minifying timezone names
- Security vulnerability update
- DaynightError interface is not exported anymore. Error prop in DaynightSuccess is omitted
- Do not handle error when Intl API is not supported