OpenFeature Web SDK provider for Westyx Nexus - connects Nexus feature flags and configs to the OpenFeature standard browser SDK.
What’s new in v0.8.0
- Initial release - OpenFeature Web SDK provider for Westyx Nexus.
- Implements
Provider interface from @openfeature/web-sdk ^1.3.
- Boolean flags via
resolveBooleanEvaluation (maps to Nexus feature flags).
- String, number, and object resolution via Nexus configs (JSON-typed values).
- Automatic SSE connection with exponential backoff reconnect.
- Emits
PROVIDER_CONFIGURATION_CHANGED on flag or config update via SSE.
Highlights
- Framework-agnostic - works with any browser TypeScript/JavaScript app, Angular, React, Vue, Svelte, etc.
- OpenFeature standard - use the vendor-neutral
OpenFeature.getClient() API; swap providers without rewriting flag evaluation code.
- Live updates via SSE - the provider maintains a server-sent events connection and emits
PROVIDER_CONFIGURATION_CHANGED within milliseconds of any flag or config change.
- Exponential backoff - SSE reconnects automatically with capped backoff (1 s to 30 s) on transient failures.
- Public key only - uses
wxp_... browser keys. Secret keys are rejected.
Browser SDKs must use a wxp_... (public) key. Never embed secret keys (wxs_...) in browser code.
Package
Install via npm:
Latest release: v0.8.0.
Pages