From 33cd3e46f1db181bc49609a29d57417cad732b3e Mon Sep 17 00:00:00 2001 From: Simmon Hornby Date: Fri, 19 Nov 2021 12:03:41 +0200 Subject: [PATCH] fix: Remove reference to custom emitted event since we're not doing that anymore --- website/docs/sdks/proxy-javascript.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/sdks/proxy-javascript.md b/website/docs/sdks/proxy-javascript.md index 738cf9111d..1df4364d38 100644 --- a/website/docs/sdks/proxy-javascript.md +++ b/website/docs/sdks/proxy-javascript.md @@ -66,16 +66,16 @@ unleash.on('update', () => { ### Tracking user interactions with events The Unleash client emits events every time a feature toggle's state is -queried. It exposes three types of events that you can hook into: +queried. It exposes two types of events that you can hook into: 1. `is-enabled` is emitted whenever you use the `isEnabled` call. 2. `get-variant` is emitted whenever you use the `getVariant` call. - 3. `custom` is ... not emitted yet. + These events are exported as members of the `EVENTS` enum from the proxy client: 1. `EVENTS.IS_ENABLED` 2. `EVENTS.GET_VARIANT` - 3. `EVENTS.CUSTOM` + #### Event shape