@lwrjs/view-registry 0.9.0-alpha.24 → 0.9.0-alpha.26

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.
@@ -53,7 +53,7 @@ function getViewBootstrapConfigurationResource(viewInfo, config, runtimeEnvironm
53
53
  ...config,
54
54
  endpoints
55
55
  })});`,
56
- `globalThis.process = { env: { NODE_ENV: "${runtimeEnvironment.env.NODE_ENV}" } };`
56
+ `globalThis.process = { env: { NODE_ENV: "${runtimeEnvironment.serverMode}" } };`
57
57
  ].filter(Boolean).join("\n");
58
58
  if (viewInfo.configAsSrc) {
59
59
  const viewUrl = viewInfo.url || "/";
@@ -25,7 +25,8 @@ export function getViewBootstrapConfigurationResource(viewInfo, config, runtimeE
25
25
  ...config,
26
26
  endpoints,
27
27
  })});`,
28
- `globalThis.process = { env: { NODE_ENV: "${runtimeEnvironment.env.NODE_ENV}" } };`,
28
+ // TODO: W-12639529 change after addressing downstream customers
29
+ `globalThis.process = { env: { NODE_ENV: "${runtimeEnvironment.serverMode}" } };`,
29
30
  ]
30
31
  .filter(Boolean)
31
32
  .join('\n');
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.9.0-alpha.24",
7
+ "version": "0.9.0-alpha.26",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -30,15 +30,15 @@
30
30
  "build/**/*.d.ts"
31
31
  ],
32
32
  "dependencies": {
33
- "@lwrjs/app-service": "0.9.0-alpha.24",
34
- "@lwrjs/diagnostics": "0.9.0-alpha.24",
35
- "@lwrjs/shared-utils": "0.9.0-alpha.24"
33
+ "@lwrjs/app-service": "0.9.0-alpha.26",
34
+ "@lwrjs/diagnostics": "0.9.0-alpha.26",
35
+ "@lwrjs/shared-utils": "0.9.0-alpha.26"
36
36
  },
37
37
  "devDependencies": {
38
- "@lwrjs/types": "0.9.0-alpha.24"
38
+ "@lwrjs/types": "0.9.0-alpha.26"
39
39
  },
40
40
  "engines": {
41
41
  "node": ">=16.0.0 <20"
42
42
  },
43
- "gitHead": "94326d9e8c80254cfab9c17b2235b10fdee13b4d"
43
+ "gitHead": "6da956eb29622d49423b0a6ee63300de1f3e121c"
44
44
  }