@pega/custom-dx-components 24.2.14 → 24.2.15

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/custom-dx-components",
3
- "version": "24.2.14",
3
+ "version": "24.2.15",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "scripts": {
@@ -101,7 +101,7 @@
101
101
  },
102
102
  "devDependencies": {
103
103
  "@pega/configs": "^0.15.1",
104
- "@pega/custom-dx-components": "~24.2.14",
104
+ "@pega/custom-dx-components": "~24.2.15",
105
105
  "@pega/pcore-pconnect-typedefs": "3.2.1",
106
106
  "@storybook/addon-actions": "^7.6.19",
107
107
  "@storybook/addon-essentials": "^7.6.19",
package/src/util.js CHANGED
@@ -1453,7 +1453,8 @@ if (showDebug) addDebugLog("updateC11NB2SForInfinity", "", "");
1453
1453
 
1454
1454
  const objOauthData = JSON.parse(OAuthData);
1455
1455
  objOauthData["C11NB2S"] = bootstrap.tokens.C11NB2S;
1456
- objOauthData["appStaticContentServer"] = bootstrap.serviceConfig.appStaticContentServer;
1456
+ // objOauthData["appStaticContentServer"] = bootstrap.serviceConfig.appStaticContentServer;
1457
+ objOauthData["appStaticContentServer"] = (bootstrap.serviceConfig.appStaticContentServer != "no-cdn" && bootstrap.serviceConfig.appStaticContentServer != "") ? bootstrap.serviceConfig.appStaticContentServer : bootstrap.serviceConfig.staticContentServer;
1457
1458
 
1458
1459
  // write out file
1459
1460
  fs.writeFileSync(TOKEN_PATH, JSON.stringify(objOauthData), { encoding: 'utf8',flag:'w' });