You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wrapper is missing several documented Beacon commands (search, article, session-data, config, reset, toggle, ask-question, show-message, info, once), is missing five Beacon events, exposes none of the runtime/init config object (display.style/color/position/mode/labels/etc.), only forwards a flat string to init instead of the documented config object, and the prefill typings cap attachments at zero (docs allow up to 3).
navigate documented routes include /ask/, /ask/message/, /ask/chat/, /answers/, /ai-answers/, /previous-messages/, /docs/search?query=... — accept these as a typed union rather than free-form string — https://developer.helpscout.com/beacon-2/web/javascript-api/
Admin / Mailbox / Conversations REST API (per audit instructions).
Mobile SDKs (iOS/Android) — wrapper targets web only.
Beacon v3 — does not exist; v2 is the current version per the developer docs index.
enableTranscript / attachments / instructions top-level keys — not present in current public Beacon 2 JS API docs (attachments live under messaging.contactForm.allowAttachments and prefill.attachments).
Regional endpoints — Beacon serves from a single global CDN (https://beacon-v2.helpscout.net); no regional split documented.
Auth: HMAC-SHA256 signature is the only documented mode (no JWT) — current wrapper already matches.
Summary
Wrapper is missing several documented Beacon commands (
search,article,session-data,config,reset,toggle,ask-question,show-message,info,once), is missing five Beacon events, exposes none of the runtime/init config object (display.style/color/position/mode/labels/etc.), only forwards a flat string toinitinstead of the documented config object, and theprefilltypings cap attachments at zero (docs allow up to 3).Gaps found
Missing API surface
Beacon("search", query)— open Docs and run a search — https://developer.helpscout.com/beacon-2/web/javascript-api/Beacon("article", articleId, { type: "sidebar" | "modal" })— open a specific Docs article — https://developer.helpscout.com/beacon-2/web/javascript-api/Beacon("session-data", obj)— attach up to 20 conversation attributes (100-char keys, 10k-char values) — https://developer.helpscout.com/beacon-2/web/javascript-api/Beacon("config", obj)— runtime reconfiguration of color/labels/mode/etc. (we only callinitonce with the bare beaconId) — https://developer.helpscout.com/beacon-2/web/javascript-api/Beacon("reset")— clear contact-form fields without logging out the identified user — https://developer.helpscout.com/beacon-2/web/javascript-api/Beacon("toggle")— toggle visibility (we only exposeopen/close) — https://developer.helpscout.com/beacon-2/web/javascript-api/Beacon("ask-question", question)— open Beacon with a pre-loaded AI Answers query — https://developer.helpscout.com/beacon-2/web/javascript-api/Beacon("show-message", id, { delay?, force? })— programmatically trigger a Message — https://developer.helpscout.com/beacon-2/web/javascript-api/Beacon("info")— return current Beacon state — https://developer.helpscout.com/beacon-2/web/javascript-api/Beacon("once", event, cb)— one-shot event subscription (we only proxyon/off) — https://developer.helpscout.com/beacon-2/web/javascript-api/prefillshould support up to 3 fileattachments— current type omits theattachmentsfield — https://developer.helpscout.com/beacon-2/web/javascript-api/logoutaccepts aclearMessagesoption in addition toendActiveChat; ourshutdown()only forwardsendActiveChat— https://developer.helpscout.com/beacon-2/web/javascript-api/navigatedocumented routes include/ask/,/ask/message/,/ask/chat/,/answers/,/ai-answers/,/previous-messages/,/docs/search?query=...— accept these as a typed union rather than free-formstring— https://developer.helpscout.com/beacon-2/web/javascript-api/Events not bridged
search— Docs search performed ({ query }) — https://developer.helpscout.com/beacon-2/web/javascript-api/message-clicked— Message CTA clicked ({ id }) — https://developer.helpscout.com/beacon-2/web/javascript-api/message-closed— Message dismissed ({ id }) — https://developer.helpscout.com/beacon-2/web/javascript-api/message-triggered— Message displayed ({ id }) — https://developer.helpscout.com/beacon-2/web/javascript-api/on()union still listschat-ended, which is not in the documented event list — drop or document as legacy — https://developer.helpscout.com/beacon-2/web/javascript-api/Config options not exposed
load()only acceptsbeaconId; Beaconinitaccepts a full config object. Add an optionalconfigfield forwarded asBeacon("init", { beaconId, ...config })— https://developer.helpscout.com/beacon-2/web/javascript-api/docsEnabled,messagingEnabled,enableFabAnimation,enablePreviousMessages,enableSounds,color,mode("selfService" | "neutral" | "askFirst"),hideAvatars,hideFABOnMobile— https://developer.helpscout.com/beacon-2/web/javascript-api/displayblock:style("icon" | "text" | "iconAndText"),text,position("left" | "right"),zIndex,horizontalOffset,verticalOffset— https://developer.helpscout.com/beacon-2/web/javascript-api/messagingblock:chatEnabled,contactForm.{customFieldsEnabled, showName, showSubject, allowAttachments}— https://developer.helpscout.com/beacon-2/web/javascript-api/labelsblock — full i18n/translation surface for Answers, Ask, Chat, Docs strings — https://developer.helpscout.com/beacon-2/web/javascript-api/Intentionally out of scope
enableTranscript/attachments/instructionstop-level keys — not present in current public Beacon 2 JS API docs (attachments live undermessaging.contactForm.allowAttachmentsandprefill.attachments).https://beacon-v2.helpscout.net); no regional split documented.Sources