Changelog4 changes
CLI: the API key can now be set with the EVENTRA_API_KEY environment…
Releases: CLI 1.0.4, SDK 1.2.4 - 1.2.41
Added
- CLI: the API key can now be set with the `EVENTRA_API_KEY` environment variable, and `eventra init` keeps a typed key in a local file that git ignores instead of in the `eventra.json` you commit.
- SDK: a new `persistQueue` option lets you keep queued events in memory only instead of saving them in the browser.
Changed
- CLI: `eventra send` asks for a one-time approval (`eventra send --trust-endpoint`) when the committed config points at a custom endpoint, and only official `@eventra_dev/cli-plugin-*` packages are loaded as plugins.
- SDK: `track()` no longer throws on an empty or over-long event name: an empty name is dropped and a long one is cut to 64 characters.