@redhat-cloud-services/frontend-components-config-utilities 1.5.20 → 1.5.23

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.
@@ -25,6 +25,7 @@ function cookieTransform(proxyReq, req, _res, { entitlements = defaultEntitlemen
25
25
  type: 'User',
26
26
  auth_type: 'basic-auth',
27
27
  account_number: payload.account_number + '',
28
+ org_id: payload.org_id,
28
29
  ...customIdentity,
29
30
  user: {
30
31
  username: payload.username,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redhat-cloud-services/frontend-components-config-utilities",
3
- "version": "1.5.20",
3
+ "version": "1.5.23",
4
4
  "description": "Utilities for shared config used in RedHat Cloud Services project.",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
package/proxy.js CHANGED
@@ -38,6 +38,7 @@ module.exports = ({
38
38
  onBeforeSetupMiddleware = () => {},
39
39
  bounceProd = false,
40
40
  useAgent = true,
41
+ useDevBuild = true,
41
42
  }) => {
42
43
  const proxy = [];
43
44
  const majorEnv = env.split('-')[0];
@@ -284,8 +285,9 @@ module.exports = ({
284
285
  defaultServices.chrome = defaultServices.chrome({});
285
286
  }
286
287
 
288
+ const chromeEnv = useDevBuild ? (env.includes('-beta') ? 'dev-beta' : 'dev-stable') : env;
287
289
  chromePath = checkoutRepo({
288
- repo: `${defaultServices.chrome.path}#${env}`,
290
+ repo: `${defaultServices.chrome.path}#${chromeEnv}`,
289
291
  reposDir,
290
292
  overwrite: true,
291
293
  });