@palettelab/sdk 0.1.28 → 0.1.29
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 +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,10 @@ Frontend SDK for building Palette plugins and internal apps.
|
|
|
4
4
|
|
|
5
5
|
Use this package from plugin frontends created with `@palettelab/cli`. It provides typed platform context, authenticated API helpers, React hooks for common Palette resources, iframe sandbox bridge helpers, install configuration helpers, and test utilities.
|
|
6
6
|
|
|
7
|
+
Use `@palettelab/sdk` only from frontend TypeScript/React code. Python backend
|
|
8
|
+
routes should use `palette_sdk` through `PluginContext` and `ctx.*` helpers; the
|
|
9
|
+
CLI bundles that backend SDK for local simulation and generated backend apps.
|
|
10
|
+
|
|
7
11
|
## Install
|
|
8
12
|
|
|
9
13
|
```bash
|