- Project now published as ES Module,
- Aggregated (dependency-free) source bundles (CommonJS and ESM) are still provided in the
dist
folder.
- Updated some development and runtime dependencies
- fix(TypeScript): Just list both exported functions in the Typescript definitions, not the JS module used in the
dist
files.
- added
types
field topackage.json
to reference TS definitions
- added TypeScript types
- API consists of two functions
subscribe(callback): unsubscribe
andisSupported(): Boolean
- if just targeting iOS, a separate build is provided in
dist