@burdenoff/website-sdk 2026.1105.2 → 2026.1106.1

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.
@@ -304,9 +304,16 @@ interface ExplorePanelAvatarLive {
304
304
  /**
305
305
  * Offer a mic in the Avatar tab's own question box (BOFF-9797 Stage C): tap to start, tap to stop, up to thirty
306
306
  * seconds, the text into the box for the visitor to correct and Send (nothing is sent by itself). Offered only where
307
- * the server's availability answer also carries a mic offer (`stt`, while the gateway's website speech-to-text is on)
308
- * and the box takes a question, after a mic notice of its own on the first tap. The mic's code is a chunk of its own,
309
- * loaded the first time it is used. Unset or false: no mic, as before.
307
+ * the server's availability answer also offers one, and the server's offer decides how: the browser's own speech
308
+ * recognition under `mic: {mode: "browser"}` (contract v1.6, the avatar service's `AVATAR_WEB_MIC`; not in Firefox
309
+ * or Brave, and only under consent words that describe it), or the gateway's speech-to-text stream under `stt` (while
310
+ * the gateway's website speech-to-text is on). Only where the box takes a question, after a mic notice of its own on
311
+ * the first tap. The mic's code is a chunk of its own, loaded the first time it is used. Unset or false: no mic, as
312
+ * before; set, a server that offers no mic still shows none. Where the server's `mic` also carries a pause
313
+ * (`pauseMs`, contract v1.7) under a version whose entry declares no notice (Stage C3), the mic is a voice
314
+ * conversation instead (Stage C2: Talk listening inside its own tap, with no mic notice and nothing else shown first,
315
+ * the question sent by itself after the pause, the mic listening again after each answer; its code is made ready as
316
+ * soon as Talk is offered); no other setting.
310
317
  */
311
318
  mic?: boolean;
312
319
  }
@@ -304,9 +304,16 @@ interface ExplorePanelAvatarLive {
304
304
  /**
305
305
  * Offer a mic in the Avatar tab's own question box (BOFF-9797 Stage C): tap to start, tap to stop, up to thirty
306
306
  * seconds, the text into the box for the visitor to correct and Send (nothing is sent by itself). Offered only where
307
- * the server's availability answer also carries a mic offer (`stt`, while the gateway's website speech-to-text is on)
308
- * and the box takes a question, after a mic notice of its own on the first tap. The mic's code is a chunk of its own,
309
- * loaded the first time it is used. Unset or false: no mic, as before.
307
+ * the server's availability answer also offers one, and the server's offer decides how: the browser's own speech
308
+ * recognition under `mic: {mode: "browser"}` (contract v1.6, the avatar service's `AVATAR_WEB_MIC`; not in Firefox
309
+ * or Brave, and only under consent words that describe it), or the gateway's speech-to-text stream under `stt` (while
310
+ * the gateway's website speech-to-text is on). Only where the box takes a question, after a mic notice of its own on
311
+ * the first tap. The mic's code is a chunk of its own, loaded the first time it is used. Unset or false: no mic, as
312
+ * before; set, a server that offers no mic still shows none. Where the server's `mic` also carries a pause
313
+ * (`pauseMs`, contract v1.7) under a version whose entry declares no notice (Stage C3), the mic is a voice
314
+ * conversation instead (Stage C2: Talk listening inside its own tap, with no mic notice and nothing else shown first,
315
+ * the question sent by itself after the pause, the mic listening again after each answer; its code is made ready as
316
+ * soon as Talk is offered); no other setting.
310
317
  */
311
318
  mic?: boolean;
312
319
  }
package/dist/index.d.mts CHANGED
@@ -18,8 +18,8 @@ export { LaunchCountdown, LaunchCountdownProps } from './components/launch-count
18
18
  export { ProblemSolved, ProblemsSolvedSection, ProblemsSolvedSectionProps } from './components/problems-solved.mjs';
19
19
  export { DetectedPlatform, ElectronDownloadLink, ElectronDownloadLinkProps, detectElectronPlatform } from './components/electron-download.mjs';
20
20
  import { Components } from 'react-markdown';
21
- import { a as ExploreLocale, E as ExplorePanelAvatarLive } from './explore-avatar-live-config-BL8FTm0I.mjs';
22
- export { b as EXPLORE_LOCALES, c as ExploreStrings, s as speechLocaleOf } from './explore-avatar-live-config-BL8FTm0I.mjs';
21
+ import { a as ExploreLocale, E as ExplorePanelAvatarLive } from './explore-avatar-live-config-D2PGF8fG.mjs';
22
+ export { b as EXPLORE_LOCALES, c as ExploreStrings, s as speechLocaleOf } from './explore-avatar-live-config-D2PGF8fG.mjs';
23
23
  import { A as AnswerRendererStrings, E as ExploreScope } from './explore-ei8uoko9.mjs';
24
24
  export { a as EXPLORE_PREFILL_MAX_LENGTH, b as ExploreAnswerBody, c as ExploreAnswerBodyProps, d as ExploreAnswerStyles, e as ExplorePage, f as ExplorePageProps, g as answerPlainText, h as answerSpeechText, i as exploreQuestionHref, j as inlineImageOrigins, k as isInlineImageAllowed, l as isInlineVideoAllowed, p as productSlugsByOrigin } from './explore-ei8uoko9.mjs';
25
25
  export { ExploreCta, ExploreCtaProps } from './components/explore-cta.mjs';
@@ -855,8 +855,9 @@ interface WebsiteAvatarLiveOptions {
855
855
  */
856
856
  endUnattended?: boolean;
857
857
  /**
858
- * `mic` on the live config (Stage C): a mic in the Avatar tab's own question box, where the server offers one too.
859
- * Default unset: no mic.
858
+ * `mic` on the live config (Stage C): a mic in the Avatar tab's own question box, where the server offers one too;
859
+ * the server's offer decides how (the browser's own speech recognition under `mic.mode: "browser"`, or the gateway's
860
+ * speech-to-text stream). Default unset: no mic. Set it only in the builds that should show one (alpha first).
860
861
  */
861
862
  mic?: boolean;
862
863
  }
package/dist/index.d.ts CHANGED
@@ -18,8 +18,8 @@ export { LaunchCountdown, LaunchCountdownProps } from './components/launch-count
18
18
  export { ProblemSolved, ProblemsSolvedSection, ProblemsSolvedSectionProps } from './components/problems-solved.js';
19
19
  export { DetectedPlatform, ElectronDownloadLink, ElectronDownloadLinkProps, detectElectronPlatform } from './components/electron-download.js';
20
20
  import { Components } from 'react-markdown';
21
- import { a as ExploreLocale, E as ExplorePanelAvatarLive } from './explore-avatar-live-config-auLKxSzx.js';
22
- export { b as EXPLORE_LOCALES, c as ExploreStrings, s as speechLocaleOf } from './explore-avatar-live-config-auLKxSzx.js';
21
+ import { a as ExploreLocale, E as ExplorePanelAvatarLive } from './explore-avatar-live-config-CJstiSAN.js';
22
+ export { b as EXPLORE_LOCALES, c as ExploreStrings, s as speechLocaleOf } from './explore-avatar-live-config-CJstiSAN.js';
23
23
  import { A as AnswerRendererStrings, E as ExploreScope } from './explore-Dfru4j4m.js';
24
24
  export { a as EXPLORE_PREFILL_MAX_LENGTH, b as ExploreAnswerBody, c as ExploreAnswerBodyProps, d as ExploreAnswerStyles, e as ExplorePage, f as ExplorePageProps, g as answerPlainText, h as answerSpeechText, i as exploreQuestionHref, j as inlineImageOrigins, k as isInlineImageAllowed, l as isInlineVideoAllowed, p as productSlugsByOrigin } from './explore-Dfru4j4m.js';
25
25
  export { ExploreCta, ExploreCtaProps } from './components/explore-cta.js';
@@ -855,8 +855,9 @@ interface WebsiteAvatarLiveOptions {
855
855
  */
856
856
  endUnattended?: boolean;
857
857
  /**
858
- * `mic` on the live config (Stage C): a mic in the Avatar tab's own question box, where the server offers one too.
859
- * Default unset: no mic.
858
+ * `mic` on the live config (Stage C): a mic in the Avatar tab's own question box, where the server offers one too;
859
+ * the server's offer decides how (the browser's own speech recognition under `mic.mode: "browser"`, or the gateway's
860
+ * speech-to-text stream). Default unset: no mic. Set it only in the builds that should show one (alpha first).
860
861
  */
861
862
  mic?: boolean;
862
863
  }
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkXIZE37IB_js = require('./chunk-XIZE37IB.js');
3
+ var chunkZ2UP22GV_js = require('./chunk-Z2UP22GV.js');
4
4
  var chunk6KY2ZRVI_js = require('./chunk-6KY2ZRVI.js');
5
5
  require('./chunk-VRWZLGR7.js');
6
6
  var chunkQMA6U6AU_js = require('./chunk-QMA6U6AU.js');
@@ -3365,13 +3365,13 @@ function ExploreAvatarLive({
3365
3365
  () => suggestedQuestions(catalog, examplePrompts, pinnedSlug),
3366
3366
  [catalog, examplePrompts, pinnedSlug]
3367
3367
  );
3368
- const base = chunkXIZE37IB_js.avatarApiBase(config.gatewayUrl);
3368
+ const base = chunkZ2UP22GV_js.avatarApiBase(config.gatewayUrl);
3369
3369
  const headers = react.useMemo(
3370
3370
  () => chunkJXLSTVBK_js.cfAccessHeaders(config.gatewayUrl, config.cfAccess),
3371
3371
  [config.gatewayUrl, config.cfAccess]
3372
3372
  );
3373
- const complete = chunkXIZE37IB_js.liveConfigComplete(live);
3374
- const off = !complete || base === null || conversation === null || conversation.isSharedView || !chunkXIZE37IB_js.isAvatarLiveLocaleReviewed(locale);
3373
+ const complete = chunkZ2UP22GV_js.liveConfigComplete(live);
3374
+ const off = !complete || base === null || conversation === null || conversation.isSharedView || !chunkZ2UP22GV_js.isAvatarLiveLocaleReviewed(locale);
3375
3375
  react.useEffect(() => {
3376
3376
  if (!complete) {
3377
3377
  console.warn(
@@ -4360,7 +4360,7 @@ function websiteAvatarLive({
4360
4360
  };
4361
4361
  const key = typeof siteKey === "string" ? siteKey.trim() : "";
4362
4362
  if (key === "") return live;
4363
- const accepted = alpha ? key === ALPHA_TEST_SITE_KEY || chunkXIZE37IB_js.isRealTurnstileSiteKey(key) : chunkXIZE37IB_js.isRealTurnstileSiteKey(key);
4363
+ const accepted = alpha ? key === ALPHA_TEST_SITE_KEY || chunkZ2UP22GV_js.isRealTurnstileSiteKey(key) : chunkZ2UP22GV_js.isRealTurnstileSiteKey(key);
4364
4364
  if (!accepted) return void 0;
4365
4365
  return { ...live, turnstileSiteKey: key };
4366
4366
  }