@chatsystem/client 1.0.11 → 1.0.13
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/.env.sample +0 -1
- package/README.md +1 -1
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
package/.env.sample
CHANGED
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
></script>
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
###
|
|
21
|
+
### Parameters
|
|
22
22
|
|
|
23
23
|
- appToken: your appToken, delivered on chatsystem.ai
|
|
24
24
|
- displayMode?: either `bubble` if you want the bubble to display, or `chatbox` if you want to see directly the chatbox. Css is overridable.
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare function App({ appToken, displayMode }: AppProps): JSX_2.Element;
|
|
|
4
4
|
|
|
5
5
|
declare type AppProps = {
|
|
6
6
|
appToken: string;
|
|
7
|
-
displayMode?:
|
|
7
|
+
displayMode?: DisplayModesTypes;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
declare enum DisplayModeEnum {
|
|
@@ -12,4 +12,6 @@ declare enum DisplayModeEnum {
|
|
|
12
12
|
CHATBOX = "chatbox"
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
declare type DisplayModesTypes = `${DisplayModeEnum}`;
|
|
16
|
+
|
|
15
17
|
export { }
|