@defra-fish/gafl-webapp-service 1.60.0-rc.2 → 1.60.0-rc.4

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.60.0-rc.2",
3
+ "version": "1.60.0-rc.4",
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.60.0-rc.2",
40
- "@defra-fish/connectors-lib": "1.60.0-rc.2",
39
+ "@defra-fish/business-rules-lib": "1.60.0-rc.4",
40
+ "@defra-fish/connectors-lib": "1.60.0-rc.4",
41
41
  "@defra/hapi-gapi": "^2.0.0",
42
42
  "@hapi/boom": "^9.1.2",
43
43
  "@hapi/catbox-redis": "^6.0.2",
@@ -80,5 +80,5 @@
80
80
  "./gafl-jest-matchers.js"
81
81
  ]
82
82
  },
83
- "gitHead": "35b29edb1fd37ed3b467e2140f9704787044ad96"
83
+ "gitHead": "0c5c50b668c126c636f7a7a018dc5706e2d74eaf"
84
84
  }
@@ -533,7 +533,7 @@
533
533
  "new_prices_row_12_month": "12 mis",
534
534
  "new_prices_row_concession": "12 mis - pobl hŷn neu anabl",
535
535
  "new_prices_row_junior": "12 mis - ieuenctid (13 i 16)",
536
- "newsletter_error_choose": "Dewiswch os hoffech dderbyn ein cylchlythyr dros e-bost",
536
+ "newsletter_error_choose": "Dewiswch un o’r opsiynau",
537
537
  "newsletter_error_set_email": "Nodwch gyfeiriad e-bost yn y fformat cywir, fel enw@enghraifft.com",
538
538
  "newsletter_subscribe": "Mynnwch yr wybodaeth ddiweddaraf am genweirio, pysgodfeydd a sut rydym yn gwario eich arian trwydded. Gallwch ddatdanysgrifio ar unrhyw adeg.",
539
539
  "newsletter_title": "A hoffech chi dderbyn ein cylchlythyr dros e-bost?",
@@ -533,7 +533,7 @@
533
533
  "new_prices_row_12_month": "12-month",
534
534
  "new_prices_row_concession": "12-month senior or disabled",
535
535
  "new_prices_row_junior": "12-month junior (13 to 16)",
536
- "newsletter_error_choose": "Choose if you would like to receive our email newsletter",
536
+ "newsletter_error_choose": "Choose one of the options",
537
537
  "newsletter_error_set_email": "Enter an email address in the correct format, like name@example.com",
538
538
  "newsletter_subscribe": "Stay up to date with the latest news on angling, fisheries and how we spend your licence money. You can unsubscribe at any time.",
539
539
  "newsletter_title": "Would you like to receive our email newsletter?",
@@ -65,7 +65,7 @@
65
65
  {
66
66
  value: "no",
67
67
  text: mssgs.no,
68
- checked: true if not payload or payload['newsletter'] === 'no' else false
68
+ checked: payload.newsletter === 'no'
69
69
  }
70
70
  ]
71
71
  }) }}