@teamscala/service-boot 0.23.402 → 0.23.404

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/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "name": "@teamscala/service-boot",
8
8
  "type": "module",
9
- "version": "0.23.402",
9
+ "version": "0.23.404",
10
10
  "sideEffects": false,
11
11
  "imports": {
12
12
  "#service-boot/*": "./src/*",
@@ -503,7 +503,11 @@ export async function registerRegistryPageRoute(
503
503
  resolved.brand = {
504
504
  ...existing,
505
505
  companyName: branding.company_name,
506
- companyFriendlyName: branding.company_name,
506
+ // Friendly name is the customer-facing one; falling back to the
507
+ // legal entity fed "GMG APAC" to every consumer that correctly
508
+ // read companyFriendlyName (e.g. logoAlt in the Puck host codegen).
509
+ companyFriendlyName:
510
+ branding.company_friendly_name ?? branding.company_name,
507
511
  primaryColor: branding.brand_primary_color ?? existing.primaryColor,
508
512
  headingFont: branding.brand_heading_font ?? existing.headingFont,
509
513
  bodyFont: branding.brand_body_font ?? existing.bodyFont,
@@ -659,7 +663,11 @@ export async function registerRegistryPageRoute(
659
663
  pageData.brand = {
660
664
  ...existing,
661
665
  companyName: branding.company_name,
662
- companyFriendlyName: branding.company_name,
666
+ // Friendly name is the customer-facing one; falling back to the
667
+ // legal entity fed "GMG APAC" to every consumer that correctly
668
+ // read companyFriendlyName (e.g. logoAlt in the Puck host codegen).
669
+ companyFriendlyName:
670
+ branding.company_friendly_name ?? branding.company_name,
663
671
  primaryColor: branding.brand_primary_color ?? existing.primaryColor,
664
672
  headingFont: branding.brand_heading_font ?? existing.headingFont,
665
673
  bodyFont: branding.brand_body_font ?? existing.bodyFont,
@@ -721,7 +729,8 @@ export async function registerRegistryPageRoute(
721
729
  pageData.brand = {
722
730
  ...existing,
723
731
  companyName: owner.company_name,
724
- companyFriendlyName: owner.company_name,
732
+ companyFriendlyName:
733
+ owner.company_friendly_name ?? owner.company_name,
725
734
  primaryColor: owner.brand_primary_color ?? existing.primaryColor,
726
735
  headingFont: owner.brand_heading_font ?? existing.headingFont,
727
736
  bodyFont: owner.brand_body_font ?? existing.bodyFont,