Skip to content

Commit

Permalink
ci: drop "rc" from version: web-provider
Browse files Browse the repository at this point in the history
Release-As: 0.2.3
  • Loading branch information
nicklasl committed May 2, 2024
1 parent 0d15f00 commit 1576712
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/openfeature-web-provider/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ OpenFeature.setContext({
await OpenFeature.setProviderAndWait(provider);

const client = OpenFeature.getClient();
const result = client.getBooleanValue('flag.my-boolean', false);
const result = client.getBooleanValue('flagName.my-boolean', false);
```

Notes:

- In the above example we first set the context and then set the provider and await for the provider to become ready before getting flags values. Other ways of arranging these calls might make more sense depending on what app framework you are using. See the example apps for more inspiration.
- In the above example we first set the context and then set the provider and await for the provider to become ready before getting the flag value. Other ways of arranging these calls might make more sense depending on what app framework you are using. See the example apps for more inspiration.

## Region

Expand Down

0 comments on commit 1576712

Please sign in to comment.