npm (Artifactory)
Add the following to your.npmrc. You will need an ARTIFACTORY_TOKEN environment variable set to your WK Artifactory token.
dist/libra.js), UMD/CJS (dist/libra.umd.cjs) and TypeScript declarations (dist/index.d.ts); bundlers pick the right one through the exports map. Locale bundles are separate entry points under @libra/sdk/locales/<code>; see Locales.
CDN
The same released SDK version is also promoted to WK CDN after a successful Artifactory publish. Replace<VERSION> with the release you are pinning.
window.Libra.
Locale files sit next to the main bundle: .../<VERSION>/locales/de-DE.js and .../<VERSION>/locales/de-DE.umd.js. Load only the ones you need.
Pin an explicit version in CDN URLs and read the changelog before moving it. Releases marked Breaking changes rename or remove API surface.
Bundle size
The main bundle ships onlyen-US strings; every other locale is a separate side-loadable file so you pay roughly max(main, locale) in download time rather than main + all locales.
