@gengage/assistant-fe 0.6.16 → 0.6.17

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.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as e, c as t, d as r, f as s, i as n, l as c, n as i, o as l, r as o, s as h, t as C, u as d } from "./runtime-Bt2VV3L3.js";
1
+ import { a as e, c as t, d as r, f as s, i as n, l as c, n as i, o as l, r as o, s as h, t as C, u as d } from "./runtime-BKU-NQXf.js";
2
2
  import { t as S } from "./chat-BP-yXukW.js";
3
3
  export {
4
4
  d as CHAT_SCROLL_ELEMENT_ID,
@@ -1,4 +1,4 @@
1
- import { i as g } from "./widget-base-DRaUfd-H.js";
1
+ import { i as g } from "./widget-base-DoZrhVze.js";
2
2
  import { c as l, i as p, o as u, r as c, t as y } from "./schemas-Cq2blsO_.js";
3
3
  import { a as w, i as v } from "./overlay-ClYgI2Kl.js";
4
4
  var d = u({ enabled: c().default(!0) }), h = u({
package/dist/common.js CHANGED
@@ -1,11 +1,11 @@
1
- import { a, d as t, f as s, h as r, i, l as o, m as n, n as c, o as l, p as m, r as g, t as d, u as p } from "./api-paths-C7Y4wTde.js";
1
+ import { a, d as t, f as s, h as r, i, l as o, m as n, n as c, o as l, p as m, r as g, t as d, u as p } from "./api-paths-xsHH9jtm.js";
2
2
  import { N as f, a as E, c as S, i as C, k as T, n as h, o as y, r as A, s as G, t as I } from "./context-BBuSsXZ9.js";
3
- import { a as R, c as W, d as v, f as N, l as P, n as U, o as O, p as D, r as _, t as L, u as b } from "./widget-base-DRaUfd-H.js";
4
- import { a as x, c as B, f as F, i as z, l as M, n as V, o as K, r as H, s as Q, t as q } from "./fastIntent-C8jh7D1D.js";
5
- import { n as j, t as J } from "./connection-warning-DyeP1AB2.js";
3
+ import { a as R, c as W, d as v, f as N, l as P, n as U, o as O, p as D, r as _, t as L, u as b } from "./widget-base-DoZrhVze.js";
4
+ import { a as x, c as B, f as F, i as z, l as M, n as V, o as K, r as H, s as Q, t as q } from "./fastIntent-RTSVRJhw.js";
5
+ import { n as j, t as J } from "./connection-warning-DWMfjv0Y.js";
6
6
  import { i as Y, n as $, r as ee, t as ae } from "./overlay-ClYgI2Kl.js";
7
7
  import { a as se, i as re, n as ie, r as oe } from "./native-webview-U9HtGabb.js";
8
- import { a as ce, c as le, i as me, l as ge, n as de, o as pe, r as ue, s as fe, t as Ee, u as Se } from "./common-BR9JIIjb.js";
8
+ import { a as ce, c as le, i as me, l as ge, n as de, o as pe, r as ue, s as fe, t as Ee, u as Se } from "./common-O0BUdXOn.js";
9
9
  export {
10
10
  pe as AccountRuntimeConfigSchema,
11
11
  b as BASE_WIDGET_THEME,
@@ -1,4 +1,4 @@
1
- import { a as y, l as d } from "./widget-base-DRaUfd-H.js";
1
+ import { a as y, l as d } from "./widget-base-DoZrhVze.js";
2
2
  var h = 8e3, m = 5e3, g = "https://www.google.com/favicon.ico";
3
3
  function b(e) {
4
4
  e.probeUrl && (g = e.probeUrl);
@@ -1,5 +1,5 @@
1
1
  import { j as S } from "./context-BBuSsXZ9.js";
2
- import { i as E } from "./widget-base-DRaUfd-H.js";
2
+ import { i as E } from "./widget-base-DoZrhVze.js";
3
3
  function $(t, r) {
4
4
  if (typeof window > "u" || !S(t)) return !1;
5
5
  const e = new CustomEvent("gengage:navigate", {
package/dist/index.d.ts CHANGED
@@ -18,7 +18,7 @@ export { renderQnaUISpec, createDefaultQnaUISpecRegistry, defaultQnaUnknownUISpe
18
18
  export { renderSimRelUISpec, createDefaultSimRelUISpecRegistry, defaultSimRelUnknownUISpecRenderer, } from './simrel/index.js';
19
19
  export { GENGAGE_VERSION, GENGAGE_BUILD_FLAVOR, bootstrapSession, updatePageContext, initOverlayWidgets, getOverlayWidgets, destroyOverlayWidgets, buildOverlayIdempotencyKey, detectNativeEnvironment, applyNativeSession, createNativeWebViewBridge, initNativeOverlayWidgets, wireQNAToChat, wireSimilarToChat, dispatch, listen, consumeStream, streamPost, buildChatEndpointUrl, normalizeMiddlewareUrl, routeStreamAction, renderUISpecWithRegistry, defaultUnknownUISpecRenderer, BASE_WIDGET_THEME, withBaseTheme, DEFAULT_WIDGET_THEME_TOKENS, withDefaultWidgetTheme, DEFAULT_CUSTOMIZATION_LOCALE, createAccountIdentity, createFloatingChatConfig, createPdpQnaConfig, createPdpSimRelConfig, parseAccountRuntimeConfig, safeParseAccountRuntimeConfig, createDefaultAccountRuntimeConfig, AccountRuntimeConfigSchema, UnknownActionPolicySchema, initGengageClient, preflightDiagnostics, wireGADataLayer, isVoiceInputSupported, VoiceInput, detectPageType, extractSkuFromUrl, autoDetectPageContext, configureConnectionWarning, makePillLauncher, } from './common/index.js';
20
20
  export type { PageContext, SessionContext, BaseWidgetConfig, GengageWidget, StreamEvent, UISpec, UIElement, ActionPayload, GengageEventName, ChatPublicAPI, ChatTransportConfig, ChatEndpointName, ActionEnrichmentContext, BackendRequestMeta, InjectorAdapter, ProcessActionRequest, StreamCallbacks, AccountRuntimeConfig, UnknownActionPolicy, HostActionHandlers, ActionRouterOptions, UISpecDomComponentRenderParams, UISpecDomComponentRenderer, UISpecDomRegistry, UISpecDomUnknownRendererParams, UISpecDomUnknownRenderer, RenderUISpecWithRegistryOptions, OverlayWidgetsController, OverlayWidgetsOptions, OverlayChatOptions, OverlayQNAOptions, OverlaySimRelOptions, OverlaySimButOptions, NativeBridgeEnvironment, NativeSessionPayload, NativeBridgeMessage, NativeWebViewBridgeOptions, NativeWebViewBridge, NativeOverlayInitOptions, NativeOverlayInitResult, AccountIdentityConfig, AccountIdentity, GengageClientOptions, HostActions, PreflightResult, PreflightWarning, WireQNAToChatOptions, VoiceInputState, VoiceInputErrorCode, VoiceInputCallbacks, VoiceInputOptions, DetectablePageType, PageDetectionRule, PillLauncherOptions, PillLauncherKit, } from './common/index.js';
21
- export type { ChatWidgetConfig, ChatMessage, ChatSession, ChatI18n, ChatRendererConfig, FloatingLauncherOptions, InlineLauncherOptions, InlineLauncherSizeOptions, } from './chat/index.js';
21
+ export type { ChatWidgetConfig, ChatMessage, ChatSession, ChatI18n, ChatRendererConfig, FloatingLauncherOptions, InlineLauncherOptions, InlineLauncherSizeOptions, InlineLauncherMobileHostOptions, } from './chat/index.js';
22
22
  export type { ChatUISpecRegistry, UISpecRenderContext as ChatUISpecRenderContext } from './chat/index.js';
23
23
  export type { QNAWidgetConfig, QNAI18n, QNAChromeLayout, QNAChromeConfig, QNAUISpecRenderContext, QNAUISpecRegistry, QNARendererConfig, } from './qna/index.js';
24
24
  export type { SimRelWidgetConfig, SimilarProduct, SimRelI18n, SimRelUISpecRenderContext, SimRelUISpecRegistry, SimRelRendererConfig, SimRelFieldPath, SimRelRendererFields, SimRelRendererLabels, SimRelRendererMedia, SimRelRendererOptions, } from './simrel/index.js';
package/dist/index.js CHANGED
@@ -1,16 +1,16 @@
1
- import { d as a, f as t, h as r, m as i, n as s, t as n } from "./api-paths-C7Y4wTde.js";
1
+ import { d as a, f as t, h as r, m as i, n as s, t as n } from "./api-paths-xsHH9jtm.js";
2
2
  import { a as c, c as m, i as p, k as d, o as g, s as l, t as f } from "./context-BBuSsXZ9.js";
3
- import { d as S, f as U, n as C, p as I, r as R, u as h } from "./widget-base-DRaUfd-H.js";
4
- import { c as E, l as y, n as G, s as T, t as W } from "./runtime-Bt2VV3L3.js";
5
- import { a as w, c as N, f as O, i as v, l as _, n as P, o as k, r as L, s as Q } from "./fastIntent-C8jh7D1D.js";
6
- import { t as F } from "./connection-warning-DyeP1AB2.js";
7
- import { a as b, i as x, n as M, r as H, t as K } from "./runtime-LY1J9JFl.js";
8
- import { a as Z, i as j, n as q, r as J, t as X } from "./runtime-rjNaPWIi.js";
9
- import { n as $ } from "./simrel-DaAhtabq.js";
10
- import { n as ae, t as te } from "./simbut-DV4oPMpH.js";
3
+ import { d as S, f as U, n as C, p as I, r as R, u as h } from "./widget-base-DoZrhVze.js";
4
+ import { c as E, l as y, n as G, s as T, t as W } from "./runtime-BKU-NQXf.js";
5
+ import { a as w, c as N, f as O, i as v, l as _, n as P, o as k, r as L, s as Q } from "./fastIntent-RTSVRJhw.js";
6
+ import { t as F } from "./connection-warning-DWMfjv0Y.js";
7
+ import { a as b, i as x, n as M, r as H, t as K } from "./runtime-n7fEJGDt.js";
8
+ import { a as Z, i as j, n as q, r as J, t as X } from "./runtime-COh3CwNU.js";
9
+ import { n as $ } from "./simrel-CX1JBDa5.js";
10
+ import { n as ae, t as te } from "./simbut-DaFCfvp7.js";
11
11
  import { i as ie, n as se, r as ne, t as oe } from "./overlay-ClYgI2Kl.js";
12
12
  import { a as me, i as pe, n as de, r as ge } from "./native-webview-U9HtGabb.js";
13
- import { a as fe, c as ue, i as Se, l as Ue, n as Ce, o as Ie, r as Re, s as he, t as Ae, u as Ee } from "./common-BR9JIIjb.js";
13
+ import { a as fe, c as ue, i as Se, l as Ue, n as Ce, o as Ie, r as Re, s as he, t as Ae, u as Ee } from "./common-O0BUdXOn.js";
14
14
  export {
15
15
  Ie as AccountRuntimeConfigSchema,
16
16
  h as BASE_WIDGET_THEME,