@chatsystem/client 1.2.0 → 1.2.1
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 -1
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +12 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -4
package/README.md
CHANGED
|
@@ -76,10 +76,12 @@ available for development.
|
|
|
76
76
|
type="text/javascript"
|
|
77
77
|
src="https://chatsystem.s3.eu-west-3.amazonaws.com/index.js"
|
|
78
78
|
data-appToken="YOUR_TOKEN_ID"
|
|
79
|
-
data-displayMode="chatbox"
|
|
80
79
|
></script>
|
|
81
80
|
```
|
|
82
81
|
|
|
82
|
+
`data-displayMode` is optional and defaults to `launcher`. Set
|
|
83
|
+
`data-displayMode="chatbox"` when embedding the chat directly in the page.
|
|
84
|
+
|
|
83
85
|
The current bundled-script integration supports anonymous widgets. Delegated
|
|
84
86
|
identity requires the React API until a programmatic script bootstrap is
|
|
85
87
|
released; functions must not be serialized into `data-*` attributes.
|