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.4 or earlier? Treat it as a migration whatever the version numbers
suggest, and follow Updating to 2.x.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.