@frontastic/common 2.30.0 → 2.30.1

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # common Changelog
2
2
 
3
+ ## `2.30.1` (2022-04-07)
4
+
5
+ * fix(FP-1794): consider only single successful payment as payment completed
6
+ * fix(FP-1794): moved cart readines validation to isReadyForCheckout
7
+ * fix(FP-1794): validated if cart is completed
8
+
3
9
  ## `2.30.0` (2022-04-05)
4
10
 
5
11
  * feat: allow field type dataSource in Classic as well
package/composer.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frontastic/common",
3
3
  "license": "None",
4
- "version": "2.30.0",
4
+ "version": "2.30.1",
5
5
  "repositories": [
6
6
  {
7
7
  "type": "path",
@@ -88,6 +88,11 @@ Return Value: `bool`
88
88
  public function isReadyForCheckout(): bool
89
89
  ```
90
90
 
91
+ *Some commerce backends might consider a cart ready without payment(s).*
92
+
93
+ This method will return true if there are no payments or if all payments
94
+ had paid status and the total amounts are equal to cart total amount.
95
+
91
96
  Return Value: `bool`
92
97
 
93
98
  ### isComplete()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontastic/common",
3
- "version": "2.30.0",
3
+ "version": "2.30.1",
4
4
  "devDependencies": {
5
5
  "@babel/core": "7.5.4",
6
6
  "@babel/plugin-proposal-class-properties": "^7.5.0",