@defra-fish/business-rules-lib 1.22.0-rc.7 → 1.22.0

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.
Files changed (2) hide show
  1. package/package.json +2 -3
  2. package/src/constants.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defra-fish/business-rules-lib",
3
- "version": "1.22.0-rc.7",
3
+ "version": "1.22.0",
4
4
  "description": "Shared business rules for the rod licensing digital services",
5
5
  "type": "module",
6
6
  "engines": {
@@ -36,6 +36,5 @@
36
36
  "joi": "^17.4.0",
37
37
  "moment": "^2.29.1",
38
38
  "uuid": "^8.3.2"
39
- },
40
- "gitHead": "4840a94a046213c95478ea8ce84c086a81d5b2fb"
39
+ }
41
40
  }
package/src/constants.js CHANGED
@@ -43,7 +43,9 @@ export const PAYMENT_TYPE = { debit: 'Debit card' }
43
43
  /**
44
44
  * Data sources associated with POCL transactions
45
45
  */
46
- export const POCL_TRANSACTION_SOURCES = ['Post Office Sales', 'DDE File']
46
+ export const POCL_DATA_SOURCE = 'Post Office Sales'
47
+ export const DDE_DATA_SOURCE = 'DDE File'
48
+ export const POCL_TRANSACTION_SOURCES = [POCL_DATA_SOURCE, DDE_DATA_SOURCE]
47
49
 
48
50
  /**
49
51
  * Describes the lifetime of the renewal link.