@gengage/assistant-fe 0.3.27 → 0.3.28
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/index.d.ts +9 -3
- package/dist/{chat-CWnNdto9.js → chat-DaFZJmwK.js} +1882 -1840
- package/dist/chat.iife.js +22 -22
- package/dist/chat.js +1 -1
- package/dist/common/types.d.ts +2 -0
- package/dist/{common-DKSCFuWo.js → common-CYirxrL9.js} +1 -1
- package/dist/common.js +3 -3
- package/dist/index.js +3 -3
- package/dist/{native-webview-CaasrbNn.js → native-webview-CO5A74dl.js} +70 -70
- package/dist/native.iife.js +34 -34
- package/dist/native.js +1 -1
- package/package.json +1 -1
package/dist/chat/index.d.ts
CHANGED
|
@@ -50,6 +50,8 @@ export declare class GengageChat extends BaseWidget<ChatWidgetConfig> {
|
|
|
50
50
|
private _lastBackendContext;
|
|
51
51
|
private _productSort;
|
|
52
52
|
private _lastSku;
|
|
53
|
+
private _lastPageType;
|
|
54
|
+
private _lastSkuListKey;
|
|
53
55
|
private _comparisonSelectMode;
|
|
54
56
|
private _comparisonSelectedSkus;
|
|
55
57
|
private _comparisonSelectionWarning;
|
|
@@ -62,10 +64,12 @@ export declare class GengageChat extends BaseWidget<ChatWidgetConfig> {
|
|
|
62
64
|
private _mobileBreakpoint;
|
|
63
65
|
private _isMobileViewport;
|
|
64
66
|
private _pdpLaunched;
|
|
67
|
+
private _plpLaunched;
|
|
68
|
+
private _homepageLaunched;
|
|
65
69
|
private _entryContextPrimed;
|
|
66
|
-
/** True while
|
|
67
|
-
private
|
|
68
|
-
/** User messages queued until
|
|
70
|
+
/** True while a silent context-prime launch (PDP/PLP/homepage) is in flight. */
|
|
71
|
+
private _contextPrimingInFlight;
|
|
72
|
+
/** User messages queued until context priming completes. */
|
|
69
73
|
private _queuedUserMessages;
|
|
70
74
|
private _productContextUnavailableSku;
|
|
71
75
|
private _i18n;
|
|
@@ -181,6 +185,8 @@ export declare class GengageChat extends BaseWidget<ChatWidgetConfig> {
|
|
|
181
185
|
private _readContextStringField;
|
|
182
186
|
private _readContextStringListField;
|
|
183
187
|
private _buildEntryOpeningPageDetails;
|
|
188
|
+
/** True when the current page type has a dedicated silent auto-launch that provides its own greeting. */
|
|
189
|
+
private _hasDedicatedContextLaunch;
|
|
184
190
|
private _shouldPrimeContextualOpening;
|
|
185
191
|
private _maybePrimeEntryContextOpening;
|
|
186
192
|
private _hideDrawer;
|