Changelog
Changes to @journeeze/sdk, newest first. The package also ships this list as CHANGELOG.md.
0.1.0-rc.3 (not yet published)
- Setup documentation. The npm README is now a self-contained setup guide: what the Journeeze team sends you, install with a pinned version,
apiHostper environment, CSP, signed identity with a test vector, privacy and masking, help, feedback, signals, the Journeeze GitHub App and its permissions, a checklist and troubleshooting. Examples usewindow.Journeezeonly afterDOMContentLoaded. - Help as a conversation, behind
chat: true.enableHelp()(ordata-journeeze-chaton the script tag) shows one ”?” launcher that opens a conversation instead of the guide panel. It offers job chips filtered as you type, inline guide cards, a composer with a ”+” menu, and a one-time consent line before anything is stored. Reviewers also see “Team details”. The newfeedback()on the handle opens the chat at “Report a problem”. Withoutchat: trueit switches the feedback mode on. The chat loads as its own lazy chunk. - Chat turns carry identity. Each turn carries the reviewer token when there is one. On consented turns it also carries the signed user id (
userId,userIdExp,userIdSig) and counts of over-masked elements per rule. Closing the chat (✕ or Esc) ends the conversation. Opening it again starts a new one. - Chat wording comes from your site settings. The chat ships no words of its own. Its labels come from the site’s copy on the service, and its buttons use the labels the server sends. If that copy cannot load, only the launcher keeps an accessible name.
- “Did you mean” in help. When a reader who has consented chooses “Something else”, help first checks which of the site’s jobs their words mean. A confident match with a guide shows “Did you mean: <job>?” with “Show me how” and “No, send my request”. Otherwise the request is sent as before. The answer is only a job and its guide, never generated text. The words are not stored by this check. Without consent nothing is checked.
- Jobs in help. When the site’s help lists jobs, help opens on “What are you trying to do?”. Jobs common for the current
personashow under “Common for you”, the rest under “More”, with a filter and “Something else”. A job opens its guide and ends with “Got it done?” (yes, partly, no, plus “Harder than it should be”). A job without a guide offers “Not possible here”. These choices are sent as aggregate counts (job id and version only), only after consent, with help on, and never under Global Privacy Control. The jobs view loads as its own lazy chunk, only for sites with jobs.
0.1.0-rc.2 (2026-10-09)
First version published to the public npm registry.
- Public on npm as
@journeeze/sdk. No registry config or token needed. The package is licensed for use with the Journeeze service. It is not open source. - Signed user identity. New
userIdSiganduserIdExpconfig fields and provider props, andsetUser(userId, { sig, exp }). The signature is sent with feedback and signed-in screenshot uploads while it is unexpired. Sites that require signed identity treat an unsigned id as anonymous. See Signed-in users. - The SDK’s own signals library copy (used only when you do not pass one) is
tflo-browser-events@0.3.0. It sends no element text, nodocument.title, and path-only URLs by default. If you pass your own copy, nothing changes.
0.1.0-rc.1
First release candidate of the SDK. It was not on the public npm registry.
- Direct mode by default. The browser talks to Journeeze directly, with CORS for your registered origins.
apiHostandapiPathkeep a same-origin proxy working. Sends retry, honourRetry-After, and are never duplicated. - Handle, identity and context.
setContext, an opaque user id computed on your server,reset()on logout, a React provider with an inert handle untilsiteKeyis known, andpagePath: "redacted" | "none". - Feedback. Masked screenshots with a preview before sending, fail-closed
maskSelectorsanddata-jz-block. Signed-in users can attach screenshots. Anonymous visitors never do. - Help. In-app guides that find each step’s element by
data-tflow-id, then test id, then role and name, then CSS. Help can be public or reviewers only.onHelpStatusreports availability. - Signals. Opt-in, consent-gated signals with no session id and no sampling. The site’s signals switch turns them off.
- Size. The entry is at most 2 KiB gzipped. Everything else loads only when needed.