@helpway/react 0.13.0 → 0.13.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/dist/index.d.ts +6 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,11 @@ interface HelpwayWidgetProps {
|
|
|
29
29
|
* Usually sourced from `?hw_conv=` URL param for email CTAs.
|
|
30
30
|
*/
|
|
31
31
|
initialConversationId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* HMAC-signed token for cross-device visitor identity restoration.
|
|
34
|
+
* Sourced from `#hw_token=` URL fragment in email deep-links.
|
|
35
|
+
*/
|
|
36
|
+
deepLinkToken?: string;
|
|
32
37
|
/**
|
|
33
38
|
* Called once after the widget has bootstrapped and exposes
|
|
34
39
|
* the full programmatic API object (also available as `window.Helpway`).
|
|
@@ -76,7 +81,7 @@ type HelpwayPublicAPI = HelpwayMethods;
|
|
|
76
81
|
* `layout.tsx`, or `main.tsx`). Unmounting cleanly tears down the
|
|
77
82
|
* widget and its WebSocket connection — useful for route-scoped mounts.
|
|
78
83
|
*/
|
|
79
|
-
declare function HelpwayWidget({ apiKey, apiUrl, locale, initialConversationId, onReady, hideLauncher, customLauncherSelector, onOpen, onClose, onUnreadChange, theme, src, }: HelpwayWidgetProps): react_jsx_runtime.JSX.Element;
|
|
84
|
+
declare function HelpwayWidget({ apiKey, apiUrl, locale, initialConversationId, deepLinkToken, onReady, hideLauncher, customLauncherSelector, onOpen, onClose, onUnreadChange, theme, src, }: HelpwayWidgetProps): react_jsx_runtime.JSX.Element;
|
|
80
85
|
|
|
81
86
|
interface IdentifyData {
|
|
82
87
|
externalId: string;
|
package/dist/index.js
CHANGED
|
@@ -5528,6 +5528,7 @@ function HelpwayWidget({
|
|
|
5528
5528
|
apiUrl,
|
|
5529
5529
|
locale,
|
|
5530
5530
|
initialConversationId,
|
|
5531
|
+
deepLinkToken,
|
|
5531
5532
|
onReady,
|
|
5532
5533
|
hideLauncher,
|
|
5533
5534
|
customLauncherSelector,
|
|
@@ -5546,6 +5547,7 @@ function HelpwayWidget({
|
|
|
5546
5547
|
apiUrl: resolvedApiUrl,
|
|
5547
5548
|
locale,
|
|
5548
5549
|
initialConversationId,
|
|
5550
|
+
deepLinkToken,
|
|
5549
5551
|
onReady,
|
|
5550
5552
|
customLauncherSelector,
|
|
5551
5553
|
onOpen,
|