hof 22.8.5-fix-error-title-beta.2 → 22.8.5-fix-error-title-beta.3

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.
@@ -13,7 +13,7 @@ const getContent = (err, translate) => {
13
13
  // Helper to safely call translate if it's a function
14
14
  const t = key => (typeof translate === 'function' ? translate(key) : undefined);
15
15
 
16
- // set const for checking whether a service name has been set in the journey.json file
16
+ // set const for checking whether a service name has been set in the journey.json file
17
17
  const isServiceNameSet = t('journey.serviceName') !== 'journey.serviceName';
18
18
 
19
19
  if (err.code === 'SESSION_TIMEOUT') {
@@ -11,7 +11,7 @@ const getTranslations = translate => {
11
11
  if (translate) {
12
12
  // set const for checking whether a service name has been set in the journey.json file
13
13
  const isServiceNameSet = translate('journey.serviceName') !== 'journey.serviceName';
14
-
14
+
15
15
  const contact = translate('errors.service-unavailable.contact');
16
16
  const alternative = translate('errors.service-unavailable.alternative');
17
17
  translations.serviceName = isServiceNameSet ? translate('journey.serviceName') : translate('journey.header');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hof",
3
3
  "description": "A bootstrap for HOF projects",
4
- "version": "22.8.5-fix-error-title-beta.2",
4
+ "version": "22.8.5-fix-error-title-beta.3",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",