@escapenavigator/utils 1.10.3 → 1.10.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.
@@ -46,7 +46,9 @@ function getOrderCancelationState({ cancelationReason, cancelationRule, cancelat
46
46
  const orderPayment = returnCertificates
47
47
  ? payed - certificates.reduce((acc, c) => acc + c.nominal, 0)
48
48
  : payed;
49
- const cancelationType = foolFineCancelation ? questroom_cancelation_type_enum_1.QuestroomCancelationTypeEnum.FULL_PRICE : cancelationRule;
49
+ const cancelationType = foolFineCancelation
50
+ ? questroom_cancelation_type_enum_1.QuestroomCancelationTypeEnum.FULL_PRICE
51
+ : cancelationRule;
50
52
  const fineAmount = +(0, get_cancelation_fee_amount_1.getCancelationFeeAmount)({
51
53
  cancelationRule: cancelationType,
52
54
  total: playersPrice,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@escapenavigator/utils",
3
- "version": "1.10.3",
3
+ "version": "1.10.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -14,7 +14,7 @@
14
14
  "test": "jest"
15
15
  },
16
16
  "dependencies": {
17
- "@escapenavigator/types": "^1.10.3",
17
+ "@escapenavigator/types": "^1.10.4",
18
18
  "axios": "^0.21.4",
19
19
  "class-transformer": "^0.5.1",
20
20
  "class-validator": "^0.13.2",
@@ -55,5 +55,5 @@
55
55
  "node_modules"
56
56
  ]
57
57
  },
58
- "gitHead": "5e881af087038b6cc06741b505a404facb6751a1"
58
+ "gitHead": "09cfd021bca13eaa7a15ff93d537b040b1d3076a"
59
59
  }