@defra-fish/sales-api-service 1.64.0-rc.13 → 1.64.0-rc.14

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.64.0-rc.13",
3
+ "version": "1.64.0-rc.14",
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.64.0-rc.13",
39
- "@defra-fish/connectors-lib": "1.64.0-rc.13",
40
- "@defra-fish/dynamics-lib": "1.64.0-rc.13",
38
+ "@defra-fish/business-rules-lib": "1.64.0-rc.14",
39
+ "@defra-fish/connectors-lib": "1.64.0-rc.14",
40
+ "@defra-fish/dynamics-lib": "1.64.0-rc.14",
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": "ad1e6150b116fd892371168e1ad8ed857c8db3d8"
55
+ "gitHead": "556cb2d08393657c9f205695bbc00fac6d401f94"
56
56
  }
@@ -720,8 +720,8 @@ describe('recurring payments service', () => {
720
720
  status: expect.objectContaining({ id: TRANSACTION_STATUS.FINALISED }),
721
721
  payment: expect.objectContaining({
722
722
  amount: mockTransaction.cost,
723
- method: TRANSACTION_SOURCE.govPay,
724
- source: PAYMENT_TYPE.debit,
723
+ source: TRANSACTION_SOURCE.govPay,
724
+ method: PAYMENT_TYPE.debit,
725
725
  timestamp: fakeNow
726
726
  })
727
727
  })
@@ -136,8 +136,8 @@ export const processRPResult = async (transactionId, paymentId, createdDate) =>
136
136
  status: { id: TRANSACTION_STATUS.FINALISED },
137
137
  payment: {
138
138
  amount: transactionRecord.cost,
139
- method: TRANSACTION_SOURCE.govPay,
140
- source: PAYMENT_TYPE.debit,
139
+ method: PAYMENT_TYPE.debit,
140
+ source: TRANSACTION_SOURCE.govPay,
141
141
  timestamp: new Date().toISOString()
142
142
  }
143
143
  }),