@caltra/react 0.1.0 → 0.3.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.
- package/README.md +3 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -27,3 +27,6 @@ export function CaltraSession(props: { client: CaltraClient; sessionId: string }
|
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
The package is ESM-only and requires `@caltra/client`. See the [Caltra SDK repository](https://github.com/caltra-dev/caltra-sdk) for a complete local integration application.
|
|
30
|
+
|
|
31
|
+
Authentication belongs to `@caltra/client`. Supply an `authorizationCodeProvider` backed by the
|
|
32
|
+
customer's authenticated server route, then pass the resulting `CaltraClient` to this React adapter.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caltra/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "assistant-ui runtime adapter for Caltra sessions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@caltra/client": "0.
|
|
34
|
+
"@caltra/client": "0.3.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@assistant-ui/react": "^0.15.16",
|