@dinghy-chat/widget 0.22.0 → 0.24.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.
Files changed (2) hide show
  1. package/dist/shared.d.ts +5 -0
  2. package/package.json +1 -1
package/dist/shared.d.ts CHANGED
@@ -204,4 +204,9 @@ export declare function rememberOpen(publicKey: string, open: boolean): void;
204
204
  export declare function forgetVisitor(publicKey: string): void;
205
205
  /** The longest message, in characters: the composers' limit, which the server checks too. */
206
206
  export declare const MESSAGE_MAX = 10000;
207
+ /**
208
+ * A bot repeats its typing notice while it writes, so one that stops repeating has stopped: the
209
+ * chat and the operator app drop it after this long with no update.
210
+ */
211
+ export declare const BOT_TYPING_MS = 6000;
207
212
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dinghy-chat/widget",
3
- "version": "0.22.0",
3
+ "version": "0.24.0",
4
4
  "description": "Add the Dinghy chat to your site from code, with a typed API.",
5
5
  "type": "module",
6
6
  "license": "MIT",