Skip to content

v4.16.0 - Adds flushapi, internal rewrite in typescript

Compare
Choose a tag to compare
@tore-statsig tore-statsig released this 17 May 22:40
· 439 commits to main since this release
7a5cb40

Adds a top level flush() API to force flush events to Statsig without shutting down the SDK. Useful in serverless environments to force events to flush to Statsig before a function exits

await statsig.flush()
This release also contains a large internal restructure, moving the entire SDK to typescript. If you were relying on internals of the SDK, those have changed. The externally facing changes are currently a noop