@rh-support/utils 2.1.2 → 2.1.4
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appUtils.d.ts","sourceRoot":"","sources":["../../src/appUtils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,cAe7B,CAAC;AAEF,eAAO,MAAM,aAAa,WAEzB,CAAC;AAEF,MAAM,WAAW,cAAc;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAGD,eAAO,MAAM,gBAAgB,YAAa,MAAM,iBAAiB,MAAM,KAAG,cAGxE,CAAC;AAEH,eAAO,MAAM,gBAAgB,YAAa,MAAM,iBAAiB,MAAM,SAItE,CAAC;AAgBF,eAAO,MAAM,uBAAuB,iBAAkB,OAAO,
|
|
1
|
+
{"version":3,"file":"appUtils.d.ts","sourceRoot":"","sources":["../../src/appUtils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,cAe7B,CAAC;AAEF,eAAO,MAAM,aAAa,WAEzB,CAAC;AAEF,MAAM,WAAW,cAAc;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAGD,eAAO,MAAM,gBAAgB,YAAa,MAAM,iBAAiB,MAAM,KAAG,cAGxE,CAAC;AAEH,eAAO,MAAM,gBAAgB,YAAa,MAAM,iBAAiB,MAAM,SAItE,CAAC;AAgBF,eAAO,MAAM,uBAAuB,iBAAkB,OAAO,WAE5D,CAAC;AAGF,eAAO,MAAM,iBAAiB,WAAW,OAAO,SAG/C,CAAC"}
|
package/lib/cjs/appUtils.js
CHANGED
|
@@ -56,9 +56,7 @@ const fteHostNames = ['access.devgssfte.devlab.phx1.redhat.com', 'fte.foo.redhat
|
|
|
56
56
|
const ciHostNames = ['access.devgssci.devlab.phx1.redhat.com', 'ci.foo.redhat.com', 'fooci.redhat.com'];
|
|
57
57
|
const stageHostNames = ['access.stage.redhat.com', 'stage.foo.redhat.com', 'foostage.redhat.com'];
|
|
58
58
|
const getUserAgentForCaseMode = (isCaseCreate) => {
|
|
59
|
-
return isCaseCreate
|
|
60
|
-
? `Portal Case Management - Get Support ${exports.getAppVersion()}`
|
|
61
|
-
: `Portal Case Management - Troubleshoot ${exports.getAppVersion()}`;
|
|
59
|
+
return isCaseCreate ? `Portal Case Management ${exports.getAppVersion()}` : `Solution Engine ${exports.getAppVersion()}`;
|
|
62
60
|
};
|
|
63
61
|
exports.getUserAgentForCaseMode = getUserAgentForCaseMode;
|
|
64
62
|
const securedSupport = { pathPrefix: '', isGs4: false };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appUtils.d.ts","sourceRoot":"","sources":["../../src/appUtils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,cAe7B,CAAC;AAEF,eAAO,MAAM,aAAa,WAEzB,CAAC;AAEF,MAAM,WAAW,cAAc;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAGD,eAAO,MAAM,gBAAgB,YAAa,MAAM,iBAAiB,MAAM,KAAG,cAGxE,CAAC;AAEH,eAAO,MAAM,gBAAgB,YAAa,MAAM,iBAAiB,MAAM,SAItE,CAAC;AAgBF,eAAO,MAAM,uBAAuB,iBAAkB,OAAO,
|
|
1
|
+
{"version":3,"file":"appUtils.d.ts","sourceRoot":"","sources":["../../src/appUtils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,cAe7B,CAAC;AAEF,eAAO,MAAM,aAAa,WAEzB,CAAC;AAEF,MAAM,WAAW,cAAc;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAGD,eAAO,MAAM,gBAAgB,YAAa,MAAM,iBAAiB,MAAM,KAAG,cAGxE,CAAC;AAEH,eAAO,MAAM,gBAAgB,YAAa,MAAM,iBAAiB,MAAM,SAItE,CAAC;AAgBF,eAAO,MAAM,uBAAuB,iBAAkB,OAAO,WAE5D,CAAC;AAGF,eAAO,MAAM,iBAAiB,WAAW,OAAO,SAG/C,CAAC"}
|
package/lib/esm/appUtils.js
CHANGED
|
@@ -46,9 +46,7 @@ const fteHostNames = ['access.devgssfte.devlab.phx1.redhat.com', 'fte.foo.redhat
|
|
|
46
46
|
const ciHostNames = ['access.devgssci.devlab.phx1.redhat.com', 'ci.foo.redhat.com', 'fooci.redhat.com'];
|
|
47
47
|
const stageHostNames = ['access.stage.redhat.com', 'stage.foo.redhat.com', 'foostage.redhat.com'];
|
|
48
48
|
export const getUserAgentForCaseMode = (isCaseCreate) => {
|
|
49
|
-
return isCaseCreate
|
|
50
|
-
? `Portal Case Management - Get Support ${getAppVersion()}`
|
|
51
|
-
: `Portal Case Management - Troubleshoot ${getAppVersion()}`;
|
|
49
|
+
return isCaseCreate ? `Portal Case Management ${getAppVersion()}` : `Solution Engine ${getAppVersion()}`;
|
|
52
50
|
};
|
|
53
51
|
const securedSupport = { pathPrefix: '', isGs4: false };
|
|
54
52
|
export const setSecuredSupport = (isGs4 = false) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/utils",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "Vikas Rathee <vrathee@redhat.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"prepublishOnly": "npm run build"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@cee-eng/hydrajs": "4.
|
|
48
|
+
"@cee-eng/hydrajs": "4.16.11",
|
|
49
49
|
"@cee-eng/ui-toolkit": "1.1.6",
|
|
50
50
|
"dompurify": "^2.2.6",
|
|
51
51
|
"i18next": "^19.0.1",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"solr-query-builder": "1.0.1"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@cee-eng/hydrajs": "4.
|
|
62
|
+
"@cee-eng/hydrajs": "4.16.11",
|
|
63
63
|
"@cee-eng/ui-toolkit": "1.1.6",
|
|
64
64
|
"@rh-support/types": "2.0.2",
|
|
65
65
|
"dompurify": "^2.2.6",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"defaults and supports es6-module",
|
|
89
89
|
"maintained node versions"
|
|
90
90
|
],
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "3cb1c9deeb0f55a0df73b0f0845194a72cbac688"
|
|
92
92
|
}
|