@stackable-labs/sdk-extension-react 1.86.3 → 1.88.0

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -32,7 +32,9 @@ export default createExtension(() => (
32
32
  ## Key exports
33
33
 
34
34
  - **`createExtension`** — entry point bootstrap; mounts the extension React tree
35
- - **`useCapabilities`** — call host-mediated APIs (`data.query`, `actions.toast`, `actions.invoke`)
35
+ - **`useCapabilities`** — call host-mediated APIs (`data.query`, `data.fetch`, `actions.toast`, `actions.invoke`)
36
+ - **`useContextData`** — read host context (customer info, identity, messaging, settings)
37
+ - **`useSettings`** — convenience hook for reading extension settings (`contextData.settings ?? {}`)
36
38
  - **`useSurfaceContext`** — read the context object passed by the host
37
39
  - **`useStore` / `createStore`** — lightweight store for extension-local state
38
40
  - **`ui`** — pre-approved UI primitive Components (`Button`, `Text`, `Card`, `Badge`, `Input`, etc.)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackable-labs/sdk-extension-react",
3
- "version": "1.86.3",
3
+ "version": "1.88.0",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",