@govuk-pay/pay-js-commons 3.3.4 → 3.3.5

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.
@@ -10,8 +10,13 @@ updates:
10
10
  - dependencies
11
11
  - govuk-pay
12
12
  - javascript
13
- - package-ecosystem: "github-actions"
13
+ - package-ecosystem: github-actions
14
14
  directory: "/"
15
15
  schedule:
16
- interval: "daily"
16
+ interval: daily
17
17
  time: "03:00"
18
+ open-pull-requests-limit: 10
19
+ labels:
20
+ - dependencies
21
+ - govuk-pay
22
+ - github_actions
package/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ nodejs 12.17.0
package/ci/pipeline.yml CHANGED
@@ -53,7 +53,7 @@ jobs:
53
53
  - |
54
54
  apk add --no-cache chromium
55
55
  export CHROMIUM_BIN="$(which chromium)"
56
- npm install
56
+ npm ci
57
57
  npm run test
58
58
  on_failure:
59
59
  put: pull-request
@@ -17,7 +17,10 @@ module.exports = {
17
17
  Keys match those defined here:
18
18
  https://github.com/alphagov/pay-webhooks/blob/main/src/main/java/uk/gov/pay/webhooks/eventtype/EventTypeName.java
19
19
  */
20
- CARD_PAYMENT_CAPTURED: 'Payment captured'
20
+ CARD_PAYMENT_STARTED: 'Payment started',
21
+ CARD_PAYMENT_SUCCEEDED: 'Payment succeeded',
22
+ CARD_PAYMENT_CAPTURED: 'Payment captured',
23
+ CARD_PAYMENT_REFUNDED: 'Payment refunded'
21
24
  }
22
25
  }
23
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@govuk-pay/pay-js-commons",
3
- "version": "3.3.4",
3
+ "version": "3.3.5",
4
4
  "description": "Reusable js scripts for GOV.UK Pay Node.js projects",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -117,7 +117,7 @@
117
117
  "husky": "^7.0.0",
118
118
  "jest": "^27.0.1",
119
119
  "js-cookie": "^3.0.0",
120
- "jsdom": "^18.0.0",
120
+ "jsdom": "^19.0.0",
121
121
  "jsdom-global": "^3.0.2",
122
122
  "karma": "^6.0.0",
123
123
  "karma-browserify": "^8.0.0",
@@ -131,7 +131,7 @@
131
131
  "standard": "^16.0.3",
132
132
  "uglify-js": "^3.6.0",
133
133
  "watchify": "^4.0.0",
134
- "xo": "^0.46.0"
134
+ "xo": "^0.47.0"
135
135
  },
136
136
  "directories": {
137
137
  "lib": "lib"
@@ -140,7 +140,7 @@
140
140
  "lodash": "4.17.21",
141
141
  "moment-timezone": "0.5.34",
142
142
  "rfc822-validate": "1.0.0",
143
- "slugify": "1.6.2",
144
- "winston": "3.3.3"
143
+ "slugify": "1.6.5",
144
+ "winston": "3.4.0"
145
145
  }
146
146
  }