From 36d370666c8c10d6bd99f1f1abd0459ff3951741 Mon Sep 17 00:00:00 2001 From: Jeff Dwyer Date: Fri, 20 Jun 2025 07:31:02 -0400 Subject: [PATCH] extract & hyrdate --- docs/sdks/javascript.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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