Skip to content

Commit

Permalink
Update the nextjs pages docs on how to set options, and add a note on… (
Browse files Browse the repository at this point in the history
#651)

Update the nextjs pages docs on how to set options, and add a note on the js-client-sdk that service workers are supported
  • Loading branch information
elliotCamblor authored May 3, 2024
1 parent 0bf84c9 commit 06c84ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/sdk/client-side-sdks/javascript/javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ It will then update its configuration using a realtime streaming connection any

<CustomDocCardList items={useCurrentSidebarCategory().items} columnWidth={4} />

The DevCycle JS SDK is available as a NPM package will a full Typescript interface.
The DevCycle JS SDK is available as a NPM package will a full Typescript interface. It also supports service worker environments.
The open-source code can be viewed on the [DevCycle GitHub](https://github.com/DevCycleHQ/js-sdks/tree/main/sdk/js).

This SDK depends on the [fetch](https://github.com/BuilderIO/this-package-uses-fetch) API.
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/client-side-sdks/nextjs/nextjs-usage-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ However, it omits features that rely on the dynamic request information to work.
## Initialization Options
The SDK exposes various initialization options which can be set by passing a `DevCycleOptions` object in the setupDevCycle method:
The SDK exposes various initialization options which can be set by passing a `DevCycleOptions` object in the appWithDevCycle method:
[DevCycleOptions Typescript Schema](https://github.com/search?q=repo%3ADevCycleHQ%2Fjs-sdks+export+interface+DevCycleOptions+language%3ATypeScript+path%3A*types.ts&type=code)
Expand Down

0 comments on commit 06c84ae

Please sign in to comment.