@frontastic/common 2.31.0 → 2.31.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,9 @@
1
1
  # common Changelog
2
2
 
3
+ ## `2.31.1` (2022-04-08)
4
+
5
+ * fix: prevent bc break on commercetools CartApi
6
+
3
7
  ## `2.31.0` (2022-04-07)
4
8
 
5
9
  * feat(FP-1794): extracted logic to validate cart status before checkout
package/composer.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frontastic/common",
3
3
  "license": "None",
4
- "version": "2.31.0",
4
+ "version": "2.31.1",
5
5
  "repositories": [
6
6
  {
7
7
  "type": "path",
@@ -25,9 +25,9 @@ public function __construct(
25
25
  Commercetools\Mapper $cartMapper,
26
26
  Commercetools\Locale\CommercetoolsLocaleCreator $localeCreator,
27
27
  OrderIdGeneratorV2 $orderIdGenerator,
28
- CartCheckoutService $cartCheckoutService,
29
28
  \Psr\Log\LoggerInterface $logger,
30
- ?Commercetools\Options $options = null
29
+ ?Commercetools\Options $options = null,
30
+ ?CartCheckoutService $cartCheckoutService = null
31
31
  ): mixed
32
32
  ```
33
33
 
@@ -37,9 +37,9 @@ Argument|Type|Default|Description
37
37
  `$cartMapper`|[`Commercetools`](Commercetools.md)\Mapper||
38
38
  `$localeCreator`|[`Commercetools`](../../../ProductApiBundle/Domain/ProductApi/Commercetools.md)\Locale\CommercetoolsLocaleCreator||
39
39
  `$orderIdGenerator`|[`OrderIdGeneratorV2`](../OrderIdGeneratorV2.md)||
40
- `$cartCheckoutService`|[`CartCheckoutService`](../CartCheckoutService.md)||
41
40
  `$logger`|`\Psr\Log\LoggerInterface`||
42
41
  `$options`|?[`Commercetools`](Commercetools.md)\Options|`null`|
42
+ `$cartCheckoutService`|?[`CartCheckoutService`](../CartCheckoutService.md)|`null`|
43
43
 
44
44
  Return Value: `mixed`
45
45
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontastic/common",
3
- "version": "2.31.0",
3
+ "version": "2.31.1",
4
4
  "devDependencies": {
5
5
  "@babel/core": "7.5.4",
6
6
  "@babel/plugin-proposal-class-properties": "^7.5.0",