flagsmith-nodejs-client icon indicating copy to clipboard operation
flagsmith-nodejs-client copied to clipboard

Flagsmith Node JS Client. Flagsmith lets you manage features flags across web, mobile and server side applications. Get builds out faster. Control who has access to new features.

Results 22 flagsmith-nodejs-client issues
Sort by recently updated
recently updated
newest added
trafficstars

Minimal reproduction example: ```js import Flagsmith from "flagsmith-nodejs" const flagsmith = new Flagsmith({ environmentKey: process.env.FLAGSMITH_SERVER_ENVIRONMENT_KEY, enableLocalEvaluation: true, }); const { flags } = await flagsmith.getIdentityFlags("foo", { my_trait: null }) console.log(flags)...

When using local evaluation mode, the environment document is immediately fetched twice on when `Flagsmith` is instantiated. This can be observed by spinning up a dummy HTTP server: ``` python...

- ~rm whitespace~ - ~rm superfluous updateEnvironment(); this was called 2x in local evaluation mode startup. Let the polling manager make the first call.~ - add `getIdentityFlagsSync()`; expects local evaluation...

### How are you running Flagsmith - [X] Self Hosted with Docker - [ ] Self Hosted with Kubernetes - [ ] Self Hosted at flagsmith.com - [ ] Some...

bug

Once the fetch request completes, it is no longer necessary to wait for the timeout. Cancel it to clear the async stack This is specifically an issue when using this...

We've started seeing an issue where number values like this one are being returned as type `string` when `enableLocalEvaluation` is set to `true`. ![Screenshot 2024-03-01 at 11 38 49](https://github.com/Flagsmith/flagsmith-nodejs-client/assets/4126778/7d156b87-acee-4ace-8c5f-0bc5e265ec94) Using...

Both of the following snippets will log out undefined and attempting to instantiate a `DefaultFlag` object will throw an error, meaning that it's not possible to use the `DefaultFlag` constructor...

Closes https://github.com/Flagsmith/flagsmith-nodejs-client/issues/156

Add a transient Boolean? Property to the Trait Model, and send it the `getIdentityFlags` Or/And In the `getIdentityFlags` send a new transientTrait list to add values according to the updated...

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...

dependencies