@medipass/utils 11.55.2 → 11.55.3
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/CHANGELOG.md +11 -0
- package/package.json +3 -3
- package/service-items.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [11.55.3](https://github.com/medipass/web/compare/@medipass/utils@11.55.2...@medipass/utils@11.55.3) (2021-11-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* default quantity to 1 for calculating service item totals ([0718df9](https://github.com/medipass/web/commit/0718df9))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [11.55.2](https://github.com/medipass/web/compare/@medipass/utils@11.55.1...@medipass/utils@11.55.2) (2021-11-04)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medipass/utils",
|
|
3
|
-
"version": "11.55.
|
|
3
|
+
"version": "11.55.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@babel/plugin-transform-runtime": "7.8.3",
|
|
47
|
-
"@medipass/web-sdk": "^11.18.
|
|
47
|
+
"@medipass/web-sdk": "^11.18.9",
|
|
48
48
|
"redux-mock-store": "^1.3.0",
|
|
49
49
|
"redux-thunk": "^2.2.0",
|
|
50
50
|
"rimraf": "^2.6.2"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "a2693bc4afd35fab5f0185559c3683d90dac9754"
|
|
53
53
|
}
|
package/service-items.js
CHANGED
|
@@ -206,7 +206,8 @@ var calculatePrices = function calculatePrices(_ref3) {
|
|
|
206
206
|
isGross = _ref3.isGross,
|
|
207
207
|
initialFeeAmount = _ref3.initialFeeAmount,
|
|
208
208
|
isExtendedPrice = _ref3.isExtendedPrice,
|
|
209
|
-
quantity = _ref3.quantity
|
|
209
|
+
_ref3$quantity = _ref3.quantity,
|
|
210
|
+
quantity = _ref3$quantity === void 0 ? 1 : _ref3$quantity;
|
|
210
211
|
|
|
211
212
|
function getTotalsWithQuantity(_ref4) {
|
|
212
213
|
var taxAmount = _ref4.taxAmount,
|