@waniwani/sdk 0.10.3-beta.1 → 0.10.3-beta.2
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/dist/chat/embed.js +239 -0
- package/dist/chat/embed.js.map +1 -0
- package/dist/chat/index.d.ts +7 -0
- package/dist/chat/index.js +7 -7
- package/dist/chat/index.js.map +1 -1
- package/dist/kb/index.d.ts +84 -0
- package/package.json +4 -2
package/dist/chat/index.d.ts
CHANGED
|
@@ -114,6 +114,13 @@ interface ChatBaseProps {
|
|
|
114
114
|
* the server-side `WANIWANI_DEBUG` env var.
|
|
115
115
|
*/
|
|
116
116
|
debug?: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* Skip fetching `/config` and `/tools` from the API on mount.
|
|
119
|
+
* Use when the chat endpoint doesn't serve these routes (e.g. embed widgets
|
|
120
|
+
* talking directly to the WaniWani app).
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
123
|
+
skipRemoteConfig?: boolean;
|
|
117
124
|
}
|
|
118
125
|
interface ChatBarProps extends ChatBaseProps {
|
|
119
126
|
/** Chat bar width in pixels. Defaults to 600. */
|