@gls_spain/gps-common 35.6.2 → 35.6.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 +7 -0
- package/package.json +1 -1
- package/schemas/definitions/defaults.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [35.6.3](https://github.com/GLS-Spain/gps-common/compare/v35.6.2...v35.6.3) (2024-10-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* delete constant shop return for required ([3a110bd](https://github.com/GLS-Spain/gps-common/commit/3a110bdef65dce2e71e88e859a2275fb753cbc54))
|
|
7
|
+
|
|
1
8
|
## [35.6.2](https://github.com/GLS-Spain/gps-common/compare/v35.6.1...v35.6.2) (2024-09-27)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ const derivationRate = () => ({
|
|
|
10
10
|
variableStart: { type: 'number', description: 'weight threshold in kg to start paying the variable, per package' },
|
|
11
11
|
variable: { ...money(), description: 'amount paid in cents for each additional kg beyond the weight threshold, per package' },
|
|
12
12
|
},
|
|
13
|
-
required: ['constant', 'variableStart', 'variable'
|
|
13
|
+
required: ['constant', 'variableStart', 'variable'],
|
|
14
14
|
additionalProperties: false,
|
|
15
15
|
description: 'pricePerPackage = constant + max(0, weight - variableStart) * variable',
|
|
16
16
|
});
|