@pagesolver/sdk 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,15 +23,6 @@ const showcases = await sdk.getShowcases({ collection: "Bathrooms" });
|
|
|
23
23
|
|
|
24
24
|
The SDK targets the production PageSolver `websites` API by default.
|
|
25
25
|
|
|
26
|
-
Pass `baseUrl` only when you explicitly want a non-production backend, such as local or preview:
|
|
27
|
-
|
|
28
|
-
```ts
|
|
29
|
-
const sdk = createClient({
|
|
30
|
-
businessKey: process.env.PAGESOLVER_BUSINESS_KEY!,
|
|
31
|
-
baseUrl: "https://your-preview-project.supabase.co/functions/v1/websites",
|
|
32
|
-
});
|
|
33
|
-
```
|
|
34
|
-
|
|
35
26
|
## API
|
|
36
27
|
|
|
37
28
|
- `getModules()`
|