ConstReadonlyaddChangeListener: (cb: (event: ChangeEvent) => void) => () => voidReadonlygetVersion: () => stringThis JS package's own semantic version — a plain constant read, not the native module's or Rust core's version, and not network-derived.
Subscribe to the raw native change stream —
ENTITLEMENTS_CHANGED,IDENTITY_CHANGED,VIRTUAL_CURRENCIES_CHANGED,REMOTE_CONFIG_CHANGED. Returns an unsubscribe function; call it on unmount to avoid leaking the native listener. Most apps should prefer the reactive hooks (useCurrentUser,useEntitlements,useRemoteConfig, ...), which already listen on this stream — reach for this only for imperative, non-component code. Never call the matchingrefreshX()(e.g.refreshEntitlements()onENTITLEMENTS_CHANGED) from inside this callback: the refresh re-emits the same event, which re-invokes the callback, forever.