You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/node-sdk/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ You can also [use the HTTP API directly](https://docs.bucket.co/api/http-api)
56
56
57
57
## Basic usage
58
58
59
-
To get started you need to obtain your secret key from the [environment settings](https://app.bucket.co/envs/current/settings/app-environments)
59
+
To get started you need to obtain your secret key from the [environment settings](https://app.bucket.co/env-current/settings/app-environments)
60
60
in Reflag.
61
61
62
62
> [!CAUTION]
@@ -65,7 +65,7 @@ in Reflag.
65
65
66
66
Reflag will load settings through the various environment variables automatically (see [Configuring](#configuring) below).
67
67
68
-
1. Find the Reflag secret key for your development environment under [environment settings](https://app.bucket.co/envs/current/settings/app-environments) in Reflag.
68
+
1. Find the Reflag secret key for your development environment under [environment settings](https://app.bucket.co/env-current/settings/app-environments) in Reflag.
69
69
2. Set `REFLAG_SECRET_KEY` in your `.env` file
70
70
3. Create a `reflag.ts` file containing the following:
Copy file name to clipboardExpand all lines: packages/react-sdk/README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,10 +171,12 @@ generates a `check` event.
171
171
172
172
The `<ReflagProvider>` initializes the Reflag SDK, fetches features and starts listening for automated feedback survey events. The component can be configured using a number of props:
173
173
174
-
-`publishableKey` is used to connect the provider to an _environment_ on Reflag. Find your `publishableKey` under [environment settings](https://app.bucket.co/envs/current/settings/app-environments) in Reflag,
174
+
-`publishableKey` is used to connect the provider to an _environment_ on Reflag. Find your `publishableKey` under [environment settings](https://app.bucket.co/env-current/settings/app-environments) in Reflag,
175
175
-`company`, `user` and `otherContext` make up the _context_ that is used to determine if a feature is enabled or not. `company` and `user` contexts are automatically transmitted to Reflag servers so the Reflag app can show you which companies have access to which features etc.
176
+
176
177
> [!Note]
177
178
> If you specify `company` and/or `user` they must have at least the `id` property, otherwise they will be ignored in their entirety. You should also supply anything additional you want to be able to evaluate feature targeting against,
179
+
178
180
-`fallbackFeatures`: A list of strings which specify which features to consider enabled if the SDK is unable to fetch features. Can be provided in two formats:
Copy file name to clipboardExpand all lines: packages/vue-sdk/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,7 @@ generates a `check` event.
112
112
113
113
The `<ReflagProvider>` initializes the Reflag SDK, fetches features and starts listening for automated feedback survey events. The component can be configured using a number of props:
114
114
115
-
-`publishableKey` is used to connect the provider to an _environment_ on Reflag. Find your `publishableKey` under [environment settings](https://app.bucket.co/envs/current/settings/app-environments) in Reflag,
115
+
-`publishableKey` is used to connect the provider to an _environment_ on Reflag. Find your `publishableKey` under [environment settings](https://app.bucket.co/env-current/settings/app-environments) in Reflag,
116
116
-`company`, `user` and `otherContext` make up the _context_ that is used to determine if a feature is enabled or not. `company` and `user` contexts are automatically transmitted to Reflag servers so the Reflag app can show you which companies have access to which features etc.
0 commit comments