Skip to content

Commit 2c5b37c

Browse files
authoredMar 28, 2025··
fix: Typo in name of the function
Signed-off-by: Thomas Poignant <[email protected]>
1 parent cf89e7d commit 2c5b37c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎packages/web/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ await OpenFeature.setContext({ targetingKey: localStorage.getItem("targetingKey"
172172
```
173173

174174
Context is global and setting it is `async`.
175-
Providers may implement an `onContextChanged` method that receives the old and newer contexts.
175+
Providers may implement an `onContextChange` method that receives the old and newer contexts.
176176
Given a context change, providers can use this method internally to detect if the flag values cached on the client are still valid.
177177
If needed, a request will be made to the provider with the new context in order to get the correct flag values.
178178

0 commit comments

Comments
 (0)
Please sign in to comment.