@outmarket-ai/react-sdk 0.1.0-alpha.2 → 0.1.0-alpha.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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,8 +32,9 @@ Using the SDK requires Outmarket's approval. See the `LICENSE` file in the packa
|
|
|
32
32
|
-d '{"email":"jane@example.com"}'
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Take the email from the signed-in user's session on your server,
|
|
36
|
-
|
|
35
|
+
Take the email from the signed-in user's session on your server, and only an address your sign-in
|
|
36
|
+
has verified the user owns (a confirmed email or a verified identity-provider claim). Never take it
|
|
37
|
+
from anything the browser sends. The user must be a member of your Outmarket workspace. Return the `201` body to your page
|
|
37
38
|
unchanged, with `Cache-Control: no-store`, and keep it out of URLs and logs. Mint once per sign-in:
|
|
38
39
|
the SDK refreshes the session itself.
|
|
39
40
|
|
|
@@ -90,7 +91,6 @@ Mount it once and put the components inside it.
|
|
|
90
91
|
| `onReady` | `({ workflowsByModule }) => void` | Called once the user's workflows have loaded, grouped by module. |
|
|
91
92
|
| `colorMode` | `'light' \| 'dark' \| 'system'` | Color mode of the components. |
|
|
92
93
|
| `theme` | `{ primary?: string }` | Your brand color, as hex. |
|
|
93
|
-
| `apiUrls` | `{ api?, nexus?, gateway? }` | Optional. Paths on your own server that forward to Outmarket's APIs, for example `{ nexus: '/outmarket/nexus/api/v1' }`. |
|
|
94
94
|
|
|
95
95
|
### Components
|
|
96
96
|
|
package/package.json
CHANGED