@redhat-cloud-services/frontend-components-config-utilities 1.5.10 → 1.5.11

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.
@@ -42,6 +42,13 @@ module.exports = ({ root, exposes, shared = [], debug, moduleName, useFileHash =
42
42
  sharedDeps.push({ '@scalprum/react-core': { requiredVersion: '*', singleton: true } });
43
43
  }
44
44
 
45
+ /**
46
+ * Make sure the unleash proxy client is a singleton
47
+ */
48
+ if (dependencies['@unleash/proxy-client-react']) {
49
+ sharedDeps.push({ '@unleash/proxy-client-react': { singleton: true, requiredVersion: dependencies['@unleash/proxy-client-react'] } });
50
+ }
51
+
45
52
  if (debug) {
46
53
  console.log('Using package at path: ', resolve(root, './package.json'));
47
54
  console.log('Using appName: ', appName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redhat-cloud-services/frontend-components-config-utilities",
3
- "version": "1.5.10",
3
+ "version": "1.5.11",
4
4
  "description": "Utilities for shared config used in RedHat Cloud Services project.",
5
5
  "main": "index.js",
6
6
  "publishConfig": {