@salesforce/ui-bundle-features 11.64.0 → 11.66.2
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.
- package/dist/features.json +10 -3
- package/package.json +1 -1
package/dist/features.json
CHANGED
|
@@ -38,7 +38,12 @@
|
|
|
38
38
|
"getCmsContentByUrl — read a public CMS delivery URL (unauthenticated CDN)",
|
|
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
|
-
"resolveCmsImageUrl — resolve a CMS image field to a loadable URL (external or root-relative, origin-prefixed)",
|
|
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
|
+
"resolveCmsLanguage — async: resolve the active delivery language (explicit → SFDC_ENV.language → platform-sdk i18n) and warm the cache",
|
|
43
|
+
"getResolvedCmsLanguage — sync: read the active language (explicit → SFDC_ENV.language → warmed i18n); backs the synchronous resolveCmsImageUrl",
|
|
44
|
+
"localiseMediaUrl — sync: read the active language (via getResolvedCmsLanguage) and append it to a directly-passed media URL (render-time sibling of resolveCmsImageUrl)",
|
|
45
|
+
"localiseCmsUrl — async: resolve the active language (performing the i18n fetch if needed) and append it to a directly-passed content/media URL",
|
|
46
|
+
"appendLanguageParam — sync/pure: set or override the language query param on a URL (removes duplicates; otherwise byte-for-byte)",
|
|
42
47
|
"resolveEffectiveContentKey — remap a baked-in source contentKey to the deployed org's target key via the catalog",
|
|
43
48
|
"getCmsDefaultChannelId — read the catalog's default channelId (fail-open; undefined when absent)",
|
|
44
49
|
"decodeRichHtmlEntities — decode entity-encoded RichText to literal characters before sanitize + injection",
|
|
@@ -48,12 +53,14 @@
|
|
|
48
53
|
],
|
|
49
54
|
"components": [
|
|
50
55
|
"getCmsContentByUrl / getCmsContentByKey / getCmsContentByKeys - CMS delivery read functions",
|
|
51
|
-
"resolveCmsImageUrl - CMS image field → loadable URL resolver",
|
|
56
|
+
"resolveCmsImageUrl - CMS image field → loadable URL resolver (synchronous)",
|
|
57
|
+
"resolveCmsLanguage / getResolvedCmsLanguage - active delivery language resolvers (async warm / sync read)",
|
|
58
|
+
"localiseMediaUrl / localiseCmsUrl / appendLanguageParam - URL language-param localizers (sync / async / sync-pure)",
|
|
52
59
|
"resolveEffectiveContentKey - catalog source→target contentKey remapper",
|
|
53
60
|
"getCmsDefaultChannelId - catalog default channelId accessor (fail-open)",
|
|
54
61
|
"decodeRichHtmlEntities - RichText HTML-entity decoder (single pass, no DOM)",
|
|
55
62
|
"getCmsInstanceOrigin - instance origin accessor for media prefixing",
|
|
56
|
-
"CmsReadOptions / CmsImageOptions / CmsBulkResult / CmsContentBody / CmsImageField / CmsContentCatalog - shared types",
|
|
63
|
+
"CmsReadOptions (incl. language) / CmsImageOptions / ResolveLocaleOptions / CmsBulkResult / CmsContentBody / CmsImageField / CmsContentCatalog - shared types",
|
|
57
64
|
"CmsDeliveryError / CmsDeliveryNotFoundError / ConnectApiError / CmsNotFoundError - typed errors"
|
|
58
65
|
]
|
|
59
66
|
},
|
package/package.json
CHANGED