@defra-fish/gafl-webapp-service 1.77.0-rc.2 → 1.77.0-rc.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defra-fish/gafl-webapp-service",
|
|
3
|
-
"version": "1.77.0-rc.
|
|
3
|
+
"version": "1.77.0-rc.4",
|
|
4
4
|
"description": "The websales frontend for the GAFL service",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"prepare": "gulp --gulpfile build/gulpfile.cjs"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@defra-fish/business-rules-lib": "1.77.0-rc.
|
|
40
|
-
"@defra-fish/connectors-lib": "1.77.0-rc.
|
|
39
|
+
"@defra-fish/business-rules-lib": "1.77.0-rc.4",
|
|
40
|
+
"@defra-fish/connectors-lib": "1.77.0-rc.4",
|
|
41
41
|
"@defra/hapi-gapi": "2.0.0",
|
|
42
42
|
"@hapi/boom": "9.1.2",
|
|
43
43
|
"@hapi/catbox-redis": "6.0.2",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"./gafl-jest-matchers.js"
|
|
80
80
|
]
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "db1103aa72f9eced0a1dae9ecfb3c5bcd0f3d701"
|
|
83
83
|
}
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
classes: "govuk-!-font-weight-bold govuk-label"
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
|
-
errorMessage: dobErrorMessage,
|
|
128
|
+
errorMessage: data.dobErrorMessage,
|
|
129
129
|
hint: {
|
|
130
130
|
text: mssgs.enter_dob_example
|
|
131
131
|
}
|
|
@@ -202,4 +202,4 @@
|
|
|
202
202
|
})
|
|
203
203
|
})()
|
|
204
204
|
</script>
|
|
205
|
-
{% endblock %}
|
|
205
|
+
{% endblock %}
|
|
@@ -9,7 +9,7 @@ const matchingLicences = async contactInfo => {
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export const licenceDetailsService = async ({ firstName, lastName, birthDate, postcode }) => {
|
|
13
|
-
const response = await matchingLicences({ firstName, lastName, birthDate, postcode })
|
|
12
|
+
export const licenceDetailsService = async ({ firstName, lastName, birthDate, premises, postcode }) => {
|
|
13
|
+
const response = await matchingLicences({ firstName, lastName, birthDate, premises, postcode })
|
|
14
14
|
return response?.licences || []
|
|
15
15
|
}
|