@shrfe/assets 1.0.70-staging → 1.0.70-staging.1
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/js/shrfe-core-umd.js +4 -2
- package/package.json +1 -1
package/js/shrfe-core-umd.js
CHANGED
|
@@ -26031,7 +26031,7 @@ class HTTPBaseService {
|
|
|
26031
26031
|
return Promise.reject(error.response || error);
|
|
26032
26032
|
};
|
|
26033
26033
|
async refreshToken() {
|
|
26034
|
-
|
|
26034
|
+
const refreshTokenPath = this.authService.getRefreshTokenPath();
|
|
26035
26035
|
//if (!refreshTokenPath) throw new Error('refreshTokenPath is not configured')
|
|
26036
26036
|
// Add this temporarily for breeze to work
|
|
26037
26037
|
if (!refreshTokenPath) {
|
|
@@ -28653,7 +28653,9 @@ const BRAND_HOSTS = {
|
|
|
28653
28653
|
'coronation.seamlesshrms.com': 'coronation',
|
|
28654
28654
|
'hchub.sterling.ng': 'sterling',
|
|
28655
28655
|
'wemabank.seamlesshrms.com': 'wema-bank',
|
|
28656
|
-
'humancapital.chapelhilldenham.com': 'chapel-hill-denham'
|
|
28656
|
+
'humancapital.chapelhilldenham.com': 'chapel-hill-denham',
|
|
28657
|
+
// For internal testing
|
|
28658
|
+
'unstable-reco.seamlesshrms.com': 'wema-bank'
|
|
28657
28659
|
};
|
|
28658
28660
|
function isBrand(slug) {
|
|
28659
28661
|
return !!slug && BRANDS.includes(slug);
|