@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.2",
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.2",
40
- "@defra-fish/connectors-lib": "1.77.0-rc.2",
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": "d473c2103570546d9096bffc5bf3ba13909e6a3e"
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 %}
@@ -10,6 +10,7 @@ const getParams = () => ({
10
10
  firstName: 'Fishy',
11
11
  lastName: 'McFishface',
12
12
  birthDate: '2000-01-01',
13
+ premises: '22',
13
14
  postcode: 'TE1 1ST'
14
15
  })
15
16
 
@@ -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
  }