diff --git a/docs/sdks/javascript.md b/docs/sdks/javascript.md index 3eb311ac..e0616383 100644 --- a/docs/sdks/javascript.md +++ b/docs/sdks/javascript.md @@ -288,5 +288,6 @@ it("shows the turbo button when the feature is enabled", () => { | `stopPolling` | `prefab.stopPolling()` | stops the polling process | | `context` | `prefab.context` | get the current context (after `init()`). | | `updateContext` | `prefab.updateContext(newContext)` | update the context and refetch. Pass `false` as a second argument to skip refetching | - +| `extract` | `prefab.extract()` | returns the current config as a plain object of key, config value pairs | +| `hydrate` | `prefab.hydrate(configurationObject)` | sets the current config based on a plain object of key, config value pairs | [jsDelivr]: https://www.jsdelivr.com/package/npm/@prefab-cloud/prefab-cloud-js