@gengage/assistant-fe 0.5.4 → 0.5.6
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/{api-paths-5v4fJh3b.js → api-paths-C__u2yrA.js} +351 -356
- package/dist/{chat-BRKK63lt.js → chat-CrEa2W-e.js} +8 -4
- package/dist/chat-runtime.js +1 -1
- package/dist/chat.iife.js +45 -45
- package/dist/chat.js +2 -2
- package/dist/{common-jTnp0FYs.js → common-Da3kBFv3.js} +2 -2
- package/dist/common.js +7 -7
- package/dist/{connection-warning-BlkNv3zB.js → connection-warning-DuYLTTBY.js} +1 -1
- package/dist/{fastIntent-CWB807V4.js → fastIntent-CSUjkiTB.js} +1 -1
- package/dist/index.js +12 -12
- package/dist/{native-webview-BQPhKMli.js → native-webview-qfjm4SHx.js} +1 -1
- package/dist/native.iife.js +13 -13
- package/dist/native.js +1 -1
- package/dist/{overlay-C0NSAZoL.js → overlay-CP5A0Hhf.js} +1 -1
- package/dist/overlay.js +1 -1
- package/dist/qna-runtime.js +1 -1
- package/dist/qna.iife.js +8 -8
- package/dist/qna.js +1 -1
- package/dist/{runtime-Bupw3CaJ.js → runtime-CAg_iN6a.js} +3 -3
- package/dist/{runtime-BD5Aes4y.js → runtime-CFHFFIU0.js} +3179 -3108
- package/dist/{runtime-DDIRZNa4.js → runtime-vEZ7Jp50.js} +3 -3
- package/dist/{simbut-DNxmYY0Q.js → simbut-BzxDRoSM.js} +1 -1
- package/dist/simbut.iife.js +1 -1
- package/dist/simbut.js +1 -1
- package/dist/{simrel-DlmYAGVD.js → simrel-DsIquEK2.js} +1 -1
- package/dist/simrel-runtime.js +1 -1
- package/dist/simrel.iife.js +8 -8
- package/dist/simrel.js +2 -2
- package/dist/{widget-base-DTsBXrHi.js → widget-base-DMiOpmY5.js} +1 -1
- package/package.json +1 -1
package/dist/native.js
CHANGED
|
@@ -79,7 +79,7 @@ var q = class {
|
|
|
79
79
|
pageContext: this._pageContext,
|
|
80
80
|
variant: this.options.chat?.variant ?? "floating"
|
|
81
81
|
};
|
|
82
|
-
this.options.theme !== void 0 && (t.theme = this.options.theme), this.options.locale !== void 0 && (t.locale = this.options.locale), this.options.pricing !== void 0 && (t.pricing = this.options.pricing), this.options.chat?.mountTarget !== void 0 && (t.mountTarget = this.options.chat.mountTarget), this.options.chat?.pillLauncher !== void 0 && (t.pillLauncher = this.options.chat.pillLauncher), this.options.chat?.floatingLauncher !== void 0 && (t.floatingLauncher = this.options.chat.floatingLauncher), this.options.chat?.launcherAnchor !== void 0 && (t.launcherAnchor = this.options.chat.launcherAnchor), this.options.chat?.launcherImageUrl !== void 0 ? t.launcherImageUrl = this.options.chat.launcherImageUrl : this.options.chat?.launcherSvg !== void 0 && (t.launcherSvg = this.options.chat.launcherSvg), this.options.chat?.mobileLauncherImageUrl !== void 0 && (t.mobileLauncherImageUrl = this.options.chat.mobileLauncherImageUrl), this.options.chat?.headerTitle !== void 0 && (t.headerTitle = this.options.chat.headerTitle), this.options.chat?.headerAvatarUrl !== void 0 && (t.headerAvatarUrl = this.options.chat.headerAvatarUrl), this.options.chat?.headerBadge !== void 0 && (t.headerBadge = this.options.chat.headerBadge), this.options.chat?.headerCartUrl !== void 0 && (t.headerCartUrl = this.options.chat.headerCartUrl), this.options.chat?.headerFavoritesToggle !== void 0 && (t.headerFavoritesToggle = this.options.chat.headerFavoritesToggle), this.options.chat?.onFavoritesClick !== void 0 && (t.onFavoritesClick = this.options.chat.onFavoritesClick), this.options.chat?.hideMobileLauncher !== void 0 && (t.hideMobileLauncher = this.options.chat.hideMobileLauncher), this.options.chat?.mobileBreakpoint !== void 0 && (t.mobileBreakpoint = this.options.chat.mobileBreakpoint), this.options.chat?.mobileInitialState !== void 0 && (t.mobileInitialState = this.options.chat.mobileInitialState), this.options.chat?.i18n !== void 0 && (t.i18n = this.options.chat.i18n), this.options.chat?.actionHandling !== void 0 && (t.actionHandling = this.options.chat.actionHandling), this.options.chat?.renderer !== void 0 && (t.renderer = this.options.chat.renderer), e !== void 0 && (t.productDetailsExtended = e), s !== void 0 && (t.isDemoWebsite = s), this.options.chat?.productPriceUi !== void 0 && (t.productPriceUi = this.options.chat.productPriceUi), this.options.chat?.hideProductDiscountBadge !== void 0 && (t.hideProductDiscountBadge = this.options.chat.hideProductDiscountBadge), this.options.chat?.hideUserReviews !== void 0 && (t.hideUserReviews = this.options.chat.hideUserReviews), this.options.chat?.hideStockStatus !== void 0 && (t.hideStockStatus = this.options.chat.hideStockStatus), this.options.onScriptCall !== void 0 && (t.onScriptCall = this.options.onScriptCall), this.options.onAddToCart !== void 0 && (t.onAddToCart = this.options.onAddToCart), this.options.chat?.onOpen !== void 0 && (t.onOpen = this.options.chat.onOpen), this.options.chat?.onClose !== void 0 && (t.onClose = this.options.chat.onClose);
|
|
82
|
+
this.options.theme !== void 0 && (t.theme = this.options.theme), this.options.locale !== void 0 && (t.locale = this.options.locale), this.options.pricing !== void 0 && (t.pricing = this.options.pricing), this.options.chat?.mountTarget !== void 0 && (t.mountTarget = this.options.chat.mountTarget), this.options.chat?.pillLauncher !== void 0 && (t.pillLauncher = this.options.chat.pillLauncher), this.options.chat?.floatingLauncher !== void 0 && (t.floatingLauncher = this.options.chat.floatingLauncher), this.options.chat?.launcherAnchor !== void 0 && (t.launcherAnchor = this.options.chat.launcherAnchor), this.options.chat?.launcherImageUrl !== void 0 ? t.launcherImageUrl = this.options.chat.launcherImageUrl : this.options.chat?.launcherSvg !== void 0 && (t.launcherSvg = this.options.chat.launcherSvg), this.options.chat?.mobileLauncherImageUrl !== void 0 && (t.mobileLauncherImageUrl = this.options.chat.mobileLauncherImageUrl), this.options.chat?.headerTitle !== void 0 && (t.headerTitle = this.options.chat.headerTitle), this.options.chat?.headerAvatarUrl !== void 0 && (t.headerAvatarUrl = this.options.chat.headerAvatarUrl), this.options.chat?.headerBadge !== void 0 && (t.headerBadge = this.options.chat.headerBadge), this.options.chat?.headerCartUrl !== void 0 && (t.headerCartUrl = this.options.chat.headerCartUrl), this.options.chat?.headerFavoritesToggle !== void 0 && (t.headerFavoritesToggle = this.options.chat.headerFavoritesToggle), this.options.chat?.onFavoritesClick !== void 0 && (t.onFavoritesClick = this.options.chat.onFavoritesClick), this.options.chat?.hideMobileLauncher !== void 0 && (t.hideMobileLauncher = this.options.chat.hideMobileLauncher), this.options.chat?.mobileBreakpoint !== void 0 && (t.mobileBreakpoint = this.options.chat.mobileBreakpoint), this.options.chat?.mobileInitialState !== void 0 && (t.mobileInitialState = this.options.chat.mobileInitialState), this.options.chat?.i18n !== void 0 && (t.i18n = this.options.chat.i18n), this.options.chat?.actionHandling !== void 0 && (t.actionHandling = this.options.chat.actionHandling), this.options.chat?.renderer !== void 0 && (t.renderer = this.options.chat.renderer), e !== void 0 && (t.productDetailsExtended = e), s !== void 0 && (t.isDemoWebsite = s), this.options.chat?.productPriceUi !== void 0 && (t.productPriceUi = this.options.chat.productPriceUi), this.options.chat?.hideProductDiscountBadge !== void 0 && (t.hideProductDiscountBadge = this.options.chat.hideProductDiscountBadge), this.options.chat?.hideUserReviews !== void 0 && (t.hideUserReviews = this.options.chat.hideUserReviews), this.options.chat?.hideStockStatus !== void 0 && (t.hideStockStatus = this.options.chat.hideStockStatus), this.options.onScriptCall !== void 0 && (t.onScriptCall = this.options.onScriptCall), this.options.onAddToCart !== void 0 && (t.onAddToCart = this.options.onAddToCart), this.options.onProductNavigate !== void 0 && (t.onProductNavigate = this.options.onProductNavigate), this.options.chat?.onOpen !== void 0 && (t.onOpen = this.options.chat.onOpen), this.options.chat?.onClose !== void 0 && (t.onClose = this.options.chat.onClose);
|
|
83
83
|
const { GengageChat: a } = await import("./chat-runtime.js");
|
|
84
84
|
this._chat = new a(), await this._chat.init(t);
|
|
85
85
|
}
|
package/dist/overlay.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as t, t as a } from "./context-BBuSsXZ9.js";
|
|
2
|
-
import { i as r, n as i, r as o, t as d } from "./overlay-
|
|
2
|
+
import { i as r, n as i, r as o, t as d } from "./overlay-CP5A0Hhf.js";
|
|
3
3
|
export {
|
|
4
4
|
a as bootstrapSession,
|
|
5
5
|
d as buildOverlayIdempotencyKey,
|
package/dist/qna-runtime.js
CHANGED