3.5.1 - Adds autocapture settings, array operatores, fixes react memo and layer exposures
Fixes:
- fixes a bug in @statsig/react-bindings where memoization on react hooks was applied per options object, which would have a separate reference even with the same values
- fixes a bug where layer exposures were not deduplicated
- uses statsig cdn for on device evaluation sdk initialization
Features:
- Adds support for array comparison operators to the on device evaluation sdks
- Adds support for custom auto capture filtering via an option:
const client = new StatsigClient(
'client-key',
{ userID: 'a-user' },
{
plugins: [
new StatsigAutoCapturePlugin({
eventFilterFunc: (event) =>
event.eventName !== AutoCaptureEventName.PAGE_VIEW,
}),
],
},
);