@burdenoff/website-sdk 2026.1102.3 → 2026.1104.2

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.
Files changed (42) hide show
  1. package/README.md +46 -6
  2. package/dist/avatar-live/index.d.mts +2 -2
  3. package/dist/avatar-live/index.d.ts +2 -2
  4. package/dist/avatar-live/index.js +29 -4
  5. package/dist/avatar-live/index.js.map +1 -1
  6. package/dist/avatar-live/index.mjs +29 -4
  7. package/dist/avatar-live/index.mjs.map +1 -1
  8. package/dist/avatar-live-view/index.d.mts +19 -4
  9. package/dist/avatar-live-view/index.d.ts +19 -4
  10. package/dist/avatar-live-view/index.js +135 -28
  11. package/dist/avatar-live-view/index.js.map +1 -1
  12. package/dist/avatar-live-view/index.mjs +130 -23
  13. package/dist/avatar-live-view/index.mjs.map +1 -1
  14. package/dist/{chunk-DZLUZKOX.js → chunk-22OT6E26.js} +44 -12
  15. package/dist/chunk-22OT6E26.js.map +1 -0
  16. package/dist/{chunk-ZWEEBHXJ.mjs → chunk-5JQGE3XI.mjs} +44 -12
  17. package/dist/chunk-5JQGE3XI.mjs.map +1 -0
  18. package/dist/{chunk-K3QZGJEH.mjs → chunk-7MSB3EUI.mjs} +4 -3
  19. package/dist/chunk-7MSB3EUI.mjs.map +1 -0
  20. package/dist/{chunk-7O2I32ZN.js → chunk-WSEQ2I6I.js} +4 -3
  21. package/dist/chunk-WSEQ2I6I.js.map +1 -0
  22. package/dist/components/explore.d.mts +1 -1
  23. package/dist/components/explore.d.ts +1 -1
  24. package/dist/components/explore.js +13 -13
  25. package/dist/components/explore.mjs +1 -1
  26. package/dist/{explore-DtSPdlEy.d.ts → explore-BV4dRwoC.d.ts} +7 -0
  27. package/dist/{explore-DaSNdm4O.d.mts → explore-BgEeGPvY.d.mts} +7 -0
  28. package/dist/{explore-avatar-live-config-N4WhJzgS.d.mts → explore-avatar-live-config-B6_p0q1c.d.mts} +14 -1
  29. package/dist/{explore-avatar-live-config-CAfN5eAX.d.ts → explore-avatar-live-config-DRpS-mqQ.d.ts} +14 -1
  30. package/dist/index.d.mts +13 -7
  31. package/dist/index.d.ts +13 -7
  32. package/dist/index.js +59 -48
  33. package/dist/index.js.map +1 -1
  34. package/dist/index.mjs +16 -5
  35. package/dist/index.mjs.map +1 -1
  36. package/dist/{types-CndbmBK-.d.mts → types-CXqaLlNB.d.mts} +14 -1
  37. package/dist/{types-CndbmBK-.d.ts → types-CXqaLlNB.d.ts} +14 -1
  38. package/package.json +1 -1
  39. package/dist/chunk-7O2I32ZN.js.map +0 -1
  40. package/dist/chunk-DZLUZKOX.js.map +0 -1
  41. package/dist/chunk-K3QZGJEH.mjs.map +0 -1
  42. package/dist/chunk-ZWEEBHXJ.mjs.map +0 -1
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { isRealTurnstileSiteKey, avatarApiBase, liveConfigComplete, isAvatarLiveLocaleReviewed } from './chunk-K3QZGJEH.mjs';
1
+ import { isRealTurnstileSiteKey, avatarApiBase, liveConfigComplete, isAvatarLiveLocaleReviewed } from './chunk-7MSB3EUI.mjs';
2
2
  export { DEFAULT_COMPARISON_MAX_AGE_DAYS, checkComparisonFreshness, formatFreshnessReport, latestVerification, oldestVerification, parseVerifiedAt } from './chunk-B63XLDZH.mjs';
3
3
  import './chunk-GTRAXQGC.mjs';
4
4
  export { RybbitAnalytics } from './chunk-NZANQGDM.mjs';
@@ -15,8 +15,8 @@ export { WebsiteSwitcher } from './chunk-ZOON3S3Y.mjs';
15
15
  export { LaunchCountdown } from './chunk-KU2PXHGB.mjs';
16
16
  export { ProblemsSolvedSection } from './chunk-WPKFFQCR.mjs';
17
17
  export { ElectronDownloadLink, detectElectronPlatform } from './chunk-COOELBX7.mjs';
18
- import { productSlugsByOrigin, inlineImageOrigins, exploreStrings, resolveExploreLocale, isRtlLocale, answerSpeechText, ExploreAnswerStyles, ExploreAnswerBody, ExploreCatalogProductsContext, pinnedProductSlug, productNameFor, ExplorePage, ExploreConversationStartContext, isDevelopmentBuild, ExploreConversationContext, productScopedPrompts, anotherProductMatcher } from './chunk-ZWEEBHXJ.mjs';
19
- export { EXPLORE_LOCALES, EXPLORE_PREFILL_MAX_LENGTH, ExploreAnswerBody, ExploreAnswerStyles, ExploreChatProvider, ExplorePage, answerPlainText, answerSpeechText, exploreQuestionHref, inlineImageOrigins, isInlineImageAllowed, isInlineVideoAllowed, productSlugsByOrigin, speechLocaleOf, useExploreConversation } from './chunk-ZWEEBHXJ.mjs';
18
+ import { productSlugsByOrigin, inlineImageOrigins, exploreStrings, resolveExploreLocale, isRtlLocale, answerSpeechText, ExploreAnswerStyles, ExploreAnswerBody, ExploreCatalogProductsContext, pinnedProductSlug, productNameFor, ExplorePage, ExploreConversationStartContext, isDevelopmentBuild, ExploreConversationContext, productScopedPrompts, anotherProductMatcher } from './chunk-5JQGE3XI.mjs';
19
+ export { EXPLORE_LOCALES, EXPLORE_PREFILL_MAX_LENGTH, ExploreAnswerBody, ExploreAnswerStyles, ExploreChatProvider, ExplorePage, answerPlainText, answerSpeechText, exploreQuestionHref, inlineImageOrigins, isInlineImageAllowed, isInlineVideoAllowed, productSlugsByOrigin, speechLocaleOf, useExploreConversation } from './chunk-5JQGE3XI.mjs';
20
20
  import { fill } from './chunk-TT3MHN42.mjs';
21
21
  import { ECOSYSTEM_PRODUCTS } from './chunk-SMD7MEEA.mjs';
22
22
  export { DEFAULT_EXPLORE_EXAMPLE_PROMPTS, ECOSYSTEM_PRODUCTS, ESCALATE_EXPLORE_CONVERSATION_MUTATION, EXPLORE_CATALOG_QUERY, EXPLORE_CATALOG_QUERY_WITHOUT_HIGHLIGHTS, EXPLORE_ESCALATION_NOTE_SOFT_MAX, EXPLORE_MESSAGE_QUERY, FALLBACK_EXPLORE_LIMITS, SEND_EXPLORE_MESSAGE_MUTATION, classifyExploreError, looksLikeDeliverableEmail, stopSpeaking, useExploreChat, useProgressiveReveal, useSpeechOutput } from './chunk-SMD7MEEA.mjs';
@@ -3350,11 +3350,13 @@ function loadAvatarLiveView() {
3350
3350
  function ExploreAvatarLive({
3351
3351
  live,
3352
3352
  active,
3353
+ open = active,
3353
3354
  locale,
3354
3355
  productName,
3355
3356
  still,
3356
3357
  fallback,
3357
3358
  onContinueInChat,
3359
+ onVoiceHold,
3358
3360
  examplePrompts,
3359
3361
  pinnedSlug = null,
3360
3362
  touchFirst = false,
@@ -3418,11 +3420,13 @@ function ExploreAvatarLive({
3418
3420
  {
3419
3421
  live,
3420
3422
  active,
3423
+ open,
3421
3424
  locale,
3422
3425
  productName,
3423
3426
  still,
3424
3427
  fallback,
3425
3428
  onContinueInChat,
3429
+ onVoiceHold,
3426
3430
  continueInChat: T.continueInChat,
3427
3431
  newChat: T.newChat,
3428
3432
  send: T.send,
@@ -3692,6 +3696,7 @@ function ExplorePanel({
3692
3696
  const [mounted, setMounted] = useState(open);
3693
3697
  const [size, setSize] = useState("compact");
3694
3698
  const [view, setView] = useState("chat");
3699
+ const [voiceHold, setVoiceHold] = useState(null);
3695
3700
  const [focusRequest, setFocusRequest] = useState(
3696
3701
  open ? "in" : null
3697
3702
  );
@@ -4145,6 +4150,7 @@ function ExplorePanel({
4145
4150
  {
4146
4151
  presentation: "panel",
4147
4152
  active: open && view === "chat",
4153
+ voiceHold,
4148
4154
  productSlug,
4149
4155
  locale,
4150
4156
  scope,
@@ -4174,11 +4180,13 @@ function ExplorePanel({
4174
4180
  {
4175
4181
  live: avatar.live,
4176
4182
  active: open && view === "avatar",
4183
+ open,
4177
4184
  locale: resolvedLocale,
4178
4185
  productName: pinnedName,
4179
4186
  still: { src: avatar.src, alt: avatarAlt },
4180
4187
  fallback: comingSoon,
4181
4188
  onContinueInChat: continueInChat,
4189
+ onVoiceHold: setVoiceHold,
4182
4190
  examplePrompts,
4183
4191
  pinnedSlug,
4184
4192
  touchFirst: matches(TOUCH_FIRST_QUERY),
@@ -4341,7 +4349,8 @@ function websiteAvatarLive({
4341
4349
  site,
4342
4350
  manifestVersion,
4343
4351
  load,
4344
- enabled
4352
+ enabled,
4353
+ endUnattended
4345
4354
  }) {
4346
4355
  if (enabled === false) return void 0;
4347
4356
  const alpha = typeof deployEnv === "string" && deployEnv.trim().toLowerCase() === "alpha";
@@ -4349,7 +4358,9 @@ function websiteAvatarLive({
4349
4358
  site,
4350
4359
  load,
4351
4360
  manifestVersion,
4352
- allowTestSiteKey: alpha
4361
+ allowTestSiteKey: alpha,
4362
+ // Only when the site sets it: a site that does not gets the very config it got before.
4363
+ ...endUnattended === void 0 ? {} : { endUnattended }
4353
4364
  };
4354
4365
  const key = typeof siteKey === "string" ? siteKey.trim() : "";
4355
4366
  if (key === "") return live;