@defra-fish/gafl-webapp-service 1.77.0-rc.2 → 1.77.0-rc.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.
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.3",
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.3",
40
+ "@defra-fish/connectors-lib": "1.77.0-rc.3",
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": "fa97e97564ae1c2a49ffb2671f690f4328205942"
83
83
  }
@@ -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
  }