@gengage/assistant-fe 0.4.21 → 0.5.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/README.md +1 -1
- package/dist/{api-paths-Bg6iwO5w.js → api-paths-y5nkfEBG.js} +1 -1
- package/dist/chat-runtime.js +1 -1
- package/dist/chat.iife.js +43 -43
- package/dist/chat.js +1 -1
- package/dist/common-BKPSOoIP.js +324 -0
- package/dist/common.js +64 -81
- package/dist/{connection-warning-BeD-B0Ec.js → connection-warning-DJiyLM46.js} +1 -1
- package/dist/{fastIntent-BeeDIwd2.js → fastIntent-1T2g9art.js} +2 -2
- package/dist/index.js +49 -52
- package/dist/{native-webview-Bbcvvi_5.js → native-webview-y3a9R9hH.js} +1 -1
- package/dist/native.iife.js +23 -23
- package/dist/native.js +1 -1
- package/dist/{overlay-O4nlUrzw.js → overlay-v3nvcGlE.js} +2 -5
- package/dist/overlay.js +2 -2
- package/dist/qna-runtime.js +1 -1
- package/dist/qna.iife.js +36 -36
- package/dist/qna.js +1 -1
- package/dist/{runtime-C8ZBidd2.js → runtime-BMNOS2Mq.js} +176 -196
- package/dist/runtime-DOS9yRRx.js +650 -0
- package/dist/{runtime-Ct1qOl8V.js → runtime-DsP6go8z.js} +2194 -2225
- package/dist/{simbut-BrAeZ6SH.js → simbut-BwxzoBcY.js} +7 -7
- package/dist/simbut.iife.js +12 -12
- package/dist/simbut.js +1 -1
- package/dist/{simrel-Cha5de6P.js → simrel-C07wZN8Q.js} +2 -2
- package/dist/simrel-runtime.js +1 -1
- package/dist/simrel.iife.js +35 -35
- package/dist/simrel.js +2 -2
- package/dist/widget-base-Dliq3QAf.js +362 -0
- package/package.json +1 -2
- package/dist/common-DDJSeQhg.js +0 -491
- package/dist/runtime-CRSFPLku.js +0 -688
- package/dist/widget-base-BtBl_PCR.js +0 -589
- /package/dist/{context-DGz5F81j.js → context-BBuSsXZ9.js} +0 -0
package/dist/native.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as g, r as m, s as f, y as _ } from "./context-
|
|
1
|
+
import { j as g, r as m, s as f, y as _ } from "./context-BBuSsXZ9.js";
|
|
2
2
|
var v = "__gengageWidgetsInit", l = `${v}_overlay_`, y = "#gengage-qna", w = "#gengage-simrel", C = "#gengage-simbut";
|
|
3
3
|
function d() {
|
|
4
4
|
const i = window;
|
|
@@ -27,7 +27,7 @@ function p(i) {
|
|
|
27
27
|
}
|
|
28
28
|
var q = class {
|
|
29
29
|
constructor(i, e) {
|
|
30
|
-
this.options = i, this.onDestroy = e, this._chat = null, this._qna = null, this._simrel = null, this._simbut = null, this.
|
|
30
|
+
this.options = i, this.onDestroy = e, this._chat = null, this._qna = null, this._simrel = null, this._simbut = null, this._offQnaWire = null, this._destroyed = !1, this._queue = Promise.resolve(), this._warnedQnaMountMissing = !1, this._warnedSimRelMountMissing = !1, this._warnedSimButMountMissing = !1, this._warnedSimButNoChat = !1, this.idempotencyKey = p(i), this.session = m(i.session), this._pageContext = T(i);
|
|
31
31
|
}
|
|
32
32
|
get chat() {
|
|
33
33
|
return this._chat;
|
|
@@ -41,9 +41,6 @@ var q = class {
|
|
|
41
41
|
get simbut() {
|
|
42
42
|
return this._simbut;
|
|
43
43
|
}
|
|
44
|
-
get analyticsClient() {
|
|
45
|
-
return this._analyticsClient;
|
|
46
|
-
}
|
|
47
44
|
async init() {
|
|
48
45
|
window.gengage || (window.gengage = {}), window.gengage.sessionId = this.session.sessionId, window.gengage.pageContext = this._pageContext, await this._initChat(), this.options.wireQnaToChat !== !1 && (this._offQnaWire = f()), await this._syncPdpWidgets(), window.gengage.overlay = this;
|
|
49
46
|
}
|
package/dist/overlay.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as t, t as a } from "./context-
|
|
2
|
-
import { i as r, n as i, r as o, t as d } from "./overlay-
|
|
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-v3nvcGlE.js";
|
|
3
3
|
export {
|
|
4
4
|
a as bootstrapSession,
|
|
5
5
|
d as buildOverlayIdempotencyKey,
|
package/dist/qna-runtime.js
CHANGED