@defra-fish/sales-api-service 1.44.0-rc.0 → 1.44.0-rc.2
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/sales-api-service",
|
|
3
|
-
"version": "1.44.0-rc.
|
|
3
|
+
"version": "1.44.0-rc.2",
|
|
4
4
|
"description": "Rod Licensing Sales API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@defra-fish/business-rules-lib": "1.44.0-rc.
|
|
39
|
-
"@defra-fish/connectors-lib": "1.44.0-rc.
|
|
40
|
-
"@defra-fish/dynamics-lib": "1.44.0-rc.
|
|
38
|
+
"@defra-fish/business-rules-lib": "1.44.0-rc.2",
|
|
39
|
+
"@defra-fish/connectors-lib": "1.44.0-rc.2",
|
|
40
|
+
"@defra-fish/dynamics-lib": "1.44.0-rc.2",
|
|
41
41
|
"@hapi/boom": "^9.1.2",
|
|
42
42
|
"@hapi/hapi": "^20.1.3",
|
|
43
43
|
"@hapi/inert": "^6.0.3",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"moment-timezone": "^0.5.34",
|
|
53
53
|
"uuid": "^8.3.2"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "83302a6ac6968c261c82d4617cd91480e3787d9b"
|
|
56
56
|
}
|
|
@@ -158,7 +158,7 @@ const processRecurringPayment = async transactionRecord => {
|
|
|
158
158
|
recurringPayment.inceptionDay = inceptionMoment.date()
|
|
159
159
|
recurringPayment.inceptionMonth = inceptionMoment.month()
|
|
160
160
|
payer = await resolveContactPayload(transactionRecord.payment.recurring.payer)
|
|
161
|
-
recurringPayment.bindToEntity(RecurringPayment.definition.relationships.
|
|
161
|
+
recurringPayment.bindToEntity(RecurringPayment.definition.relationships.contact, payer)
|
|
162
162
|
}
|
|
163
163
|
return { recurringPayment, payer }
|
|
164
164
|
}
|