@flipt-io/flipt-client-js 0.1.0 → 0.3.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
@@ -44,6 +44,7 @@ console.log(variant);
44
44
  The `FliptClient` constructor accepts the following optional arguments:
45
45
 
46
46
  - `options`: An instance of the `ClientOptions` type that supports several options for the client. The structure is:
47
+ - `environment`: The environment to use when evaluating flags (Flipt v2). If not provided, the client will default to the `default` environment.
47
48
  - `namespace`: The namespace to fetch flag state from. If not provided, the client will default to the `default` namespace.
48
49
  - `url`: The URL of the upstream Flipt instance. If not provided, the client will default to `http://localhost:8080`.
49
50
  - `updateInterval`: **Node.js Only** The interval (in seconds) in which to fetch new flag state. If not provided, the client will default to 120 seconds.