Overview
The Encore Web SDK is a public npm package,@encorekit/web-sdk. Updating is the
standard package-manager flow. No token or authenticated registry is required.
Versioning policy
Encore follows Semantic Versioning:
Pin your dependency with the caret range
npm install writes for you. Patch and minor
updates then arrive through a routine npm update, and a major version never lands
without you opting in.
Coming from
2.0.0 or earlier? The 2.x public API arrives in 2.0.1, so that step is a
migration whatever the version numbers suggest. See
Updating to 2.x for the step-by-step guide.Update via your package manager
- npm
- yarn
- pnpm
- Script tag (UMD)
To see what you resolved to and what is current, run
npm ls @encorekit/web-sdk and
npm view @encorekit/web-sdk version.Verify the update
getVersion() reports what shipped in the
bundle you are running, not what your lockfile intended. If it disagrees with npm ls,
you are serving a cached bundle rather than a failed install.
Related
- Updating to 2.x: the step-by-step migration guide.
configure(): thegetVersion()entry and the rest of the top-level API.