@dinghy-chat/widget 0.12.0 → 0.14.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/dist/shared.d.ts +2 -1
- package/package.json +1 -1
package/dist/shared.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export interface DinghyApi {
|
|
|
59
59
|
/** A call queued before the loader runs, as `Dinghy = { q: [["open"]] }`. */
|
|
60
60
|
export type QueuedCall = [string, ...unknown[]];
|
|
61
61
|
/** What the chat bundle gives the loader once it runs. */
|
|
62
|
-
|
|
62
|
+
interface ChatHandlers {
|
|
63
63
|
open(message: string | undefined): void;
|
|
64
64
|
close(): void;
|
|
65
65
|
/** identify() or reset(): start again. */
|
|
@@ -104,3 +104,4 @@ export declare function rememberOpen(publicKey: string, open: boolean): void;
|
|
|
104
104
|
* goes at once, so nothing stays stored for a visitor who never chatted.
|
|
105
105
|
*/
|
|
106
106
|
export declare function broadcastReset(publicKey: string): void;
|
|
107
|
+
export {};
|