@splithub/core 0.2.3 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,7 +10,7 @@ const config = defineConfig({ project: 'app', storage: { mode: 'self', endpoint:
10
10
  const client = createClient(config); // browser: reads/writes the sh_vid cookie
11
11
  client.variant('hero-cta'); // 'control' | 'bold', records an exposure
12
12
  client.value<string>('hero-title');
13
- client.track('signup', { revenue: 49 });
13
+ client.track('signup', { revenue: 49 }); // an event, any name; converts experiments whose goal it is
14
14
  ```
15
15
 
16
16
  In cloud mode the client also applies **remote overrides** (pause, traffic,