@xh/hoist 77.0.0-SNAPSHOT.1759953299254 → 77.0.0-SNAPSHOT.1760139387105

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.
@@ -18,13 +18,16 @@ export const versionBar = hoistCmp.factory({
18
18
  const inspectorSvc = XH.inspectorService,
19
19
  envSvc = XH.environmentService,
20
20
  env = envSvc.get('appEnvironment'),
21
+ build = envSvc.get('clientBuild'),
21
22
  version = envSvc.get('clientVersion'),
22
- isAdminApp = window.location.pathname?.startsWith('/admin/');
23
+ isAdminApp = window.location.pathname?.startsWith('/admin/'),
24
+ versionAndBuild =
25
+ !build || build === 'UNKNOWN' ? version : `${version} (build ${build})`;
23
26
 
24
27
  return box({
25
28
  className: `xh-version-bar xh-version-bar--${env.toLowerCase()}`,
26
29
  items: [
27
- [XH.appName, env, version].join(' • '),
30
+ [XH.appName, env, versionAndBuild].join(' • '),
28
31
  span({
29
32
  className: 'xh-version-bar__spacer',
30
33
  items: '|'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "77.0.0-SNAPSHOT.1759953299254",
3
+ "version": "77.0.0-SNAPSHOT.1760139387105",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",