@dinghy-chat/widget 0.26.0 → 0.28.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 -0
- package/package.json +1 -1
package/dist/shared.d.ts
CHANGED
|
@@ -179,6 +179,8 @@ export interface WidgetContext {
|
|
|
179
179
|
page?: boolean;
|
|
180
180
|
/** Set by identify() and cleared by reset(). */
|
|
181
181
|
identity: Identity | null;
|
|
182
|
+
/** The token the chat got from an identify() function, so the loader's beat can send it. */
|
|
183
|
+
hostToken: string | null;
|
|
182
184
|
/** The last setContext() value, as the page gave it. */
|
|
183
185
|
pageContext: unknown;
|
|
184
186
|
/** The chat bundle sets this when it runs, then opens the chat if `wanted` asks for it. */
|