genesys-spark 4.258.0 → 4.259.0

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -9
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -14,8 +14,8 @@ const DOMAIN_LIST = [
14
14
  ".mypurecloud.jp",
15
15
  ".pure.cloud",
16
16
  ".maximus-pure.cloud",
17
- ".eusc-pure.cloud"
18
- // 'use2.us-gov-pure.cloud', Assets are not currently deployed to FedRAMP and should fallback to the default domain
17
+ ".eusc-pure.cloud",
18
+ ".use2.us-gov-pure.cloud"
19
19
  ];
20
20
  function getComponentAssetsOrigin() {
21
21
  return getAssetsOrigin();
@@ -36,12 +36,9 @@ function getRegionDomain() {
36
36
  (regionDomain) => hostname.endsWith(regionDomain)
37
37
  );
38
38
  if (matchedDomain) {
39
- if (hostname.startsWith("app.") || hostname.startsWith("app-regional.")) {
40
- return hostname;
41
- }
42
- return hostname.replace(/^([^.]+)/, "app");
39
+ return hostname.replace(/^([^.]+)/, "apps");
43
40
  }
44
- return "app.mypurecloud.com";
41
+ return "apps.mypurecloud.com";
45
42
  }
46
43
 
47
44
  var __defProp = Object.defineProperty;
@@ -233,8 +230,8 @@ var sparkIntl = /*#__PURE__*/Object.freeze({
233
230
  relativeTimeFormat: relativeTimeFormat
234
231
  });
235
232
 
236
- const COMPONENT_ASSET_PREFIX = "/spark-components/build-assets/4.258.0-1092/genesys-webcomponents/";
237
- const CHART_COMPONENT_ASSET_PREFIX = "/spark-components/build-assets/4.258.0-1092/chart/genesys-chart-webcomponents/";
233
+ const COMPONENT_ASSET_PREFIX = "/spark-components/build-assets/4.259.0-1094/genesys-webcomponents/";
234
+ const CHART_COMPONENT_ASSET_PREFIX = "/spark-components/build-assets/4.259.0-1094/chart/genesys-chart-webcomponents/";
238
235
  function loadSparkFonts(opts) {
239
236
  const fontOrigin = getFontOrigin();
240
237
  const flareFonts = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesys-spark",
3
- "version": "4.258.0",
3
+ "version": "4.259.0",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",
@@ -47,17 +47,17 @@
47
47
  "esbuild": "^0.28.1",
48
48
  "eslint": "^9.39.4",
49
49
  "glob": "^13.0.6",
50
- "globals": "^17.6.0",
50
+ "globals": "^17.7.0",
51
51
  "jest": "^30.4.2",
52
52
  "jest-environment-jsdom": "^30.4.1",
53
53
  "npm-run-all": "^4.1.5",
54
54
  "prettier-package-json": "^2.8.0",
55
- "rollup": "^4.62.0",
55
+ "rollup": "^4.62.2",
56
56
  "rollup-plugin-dts": "^6.4.1",
57
57
  "rollup-plugin-esbuild": "^6.2.1",
58
58
  "sass": "^1.101.0",
59
59
  "smob": "^1.6.2",
60
- "stylelint": "^17.13.0",
60
+ "stylelint": "^17.14.0",
61
61
  "stylelint-config-html": "^1.1.0",
62
62
  "stylelint-config-recess-order": "^7.7.0",
63
63
  "stylelint-config-standard": "^40.0.0",