@salesforce/ui-bundle-features 12.1.1 → 12.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,6 +39,7 @@
39
39
  "getCmsContentByKey — read one item by contentKey via the authenticated Connect API (throws on miss)",
40
40
  "getCmsContentByKeys — bulk read many contentKeys in one call (best-effort; per-key error/result)",
41
41
  "resolveCmsImageUrl — resolve a CMS image field to a loadable URL (external or root-relative, origin-prefixed); synchronous and localizes root-relative media via the language chain",
42
+ "resolveMediaUrl — resolve a raw media URL string to a loadable URL (localise root-relative CMS media then origin-prefix; foreign CDN urls untouched); the string-input sibling of resolveCmsImageUrl",
42
43
  "resolveCmsLanguage — async: resolve the active delivery language (explicit → SFDC_ENV.language → platform-sdk i18n) and warm the cache",
43
44
  "getResolvedCmsLanguage — sync: read the active language (explicit → SFDC_ENV.language → warmed i18n); backs the synchronous resolveCmsImageUrl",
44
45
  "localiseMediaUrl — sync: read the active language (via getResolvedCmsLanguage) and append it to a directly-passed media URL (render-time sibling of resolveCmsImageUrl)",
@@ -54,6 +55,7 @@
54
55
  "components": [
55
56
  "getCmsContentByUrl / getCmsContentByKey / getCmsContentByKeys - CMS delivery read functions",
56
57
  "resolveCmsImageUrl - CMS image field → loadable URL resolver (synchronous)",
58
+ "resolveMediaUrl - raw media URL string → loadable URL resolver (synchronous)",
57
59
  "resolveCmsLanguage / getResolvedCmsLanguage - active delivery language resolvers (async warm / sync read)",
58
60
  "localiseMediaUrl / localiseCmsUrl / appendLanguageParam - URL language-param localizers (sync / async / sync-pure)",
59
61
  "resolveEffectiveContentKey - catalog source→target contentKey remapper",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-features",
3
- "version": "12.1.1",
3
+ "version": "12.2.0",
4
4
  "description": "CLI tool for searching and installing UI features into Salesforce UI Bundles",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "type": "module",