hof-behaviour-address-lookup
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -6,3 +6,2 @@ /* eslint max-len: 0, no-process-env: 0 */ | ||
module.exports = { | ||
FIND_ADDRESS: 'Find address', | ||
CANT_FIND: 'I can\'t find the address in the list', | ||
@@ -9,0 +8,0 @@ CHANGE: 'Change', |
@@ -138,4 +138,2 @@ 'use strict'; | ||
const cantFind = conditionalTranslate('pages.address-lookup.cantfind', req.translate) || defaults.CANT_FIND; | ||
const findAddress = conditionalTranslate('pages.address-lookup.find-address', req.translate) || | ||
defaults.FIND_ADDRESS; | ||
@@ -161,3 +159,2 @@ let postcodeApiMessageKey; | ||
route: this.options.route, | ||
findAddress, | ||
editLink, | ||
@@ -164,0 +161,0 @@ cantFind, |
{ | ||
"name": "hof-behaviour-address-lookup", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "A HOF Behaviour for a multi-step postcode lookup", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -53,2 +53,2 @@ # hof-behaviour-address-lookup | ||
* `pages.address-lookup.postcode-api.cant-connect` - Message to show if unable to connect to the lookup service. Defaults to `'Sorry – we couldn’t connect to the postcode lookup service at this time, enter your address manually'` | ||
* `pages.address-lookup.find-address` - Postcode submit button text. Defaults to 'Find address' | ||
* `buttons.find-address` - Postcode submit button text. Required. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
18333
317