@frontastic/common 2.24.0 → 2.25.0

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,19 @@
1
1
  # common Changelog
2
2
 
3
+ ## `2.25.0` (2022-01-24)
4
+
5
+ * fix(FP-838): improved error handling on parse locator for Shopware
6
+ * feat(FP-838): prevent update email, shipping address, or billing address on Shopware CartApi
7
+ * feat(FP-838): implemented set shipping and billing address on Shopware CartApi
8
+ * feat(FP-838): map discounts and shipping info on Shopware CartApi
9
+ * feat(FP-838): map shipping info from order on Shopware CartApi
10
+ * feat(FP-838): upgrade order, anonymous cart, and email on Shopware CartApi
11
+ * feat(FP-838): allow customer guest create and update emal on Shopware AccountApi
12
+ * feat(FP-838): upgraded discount actions on Shopware CartApi
13
+ * feat(FP-838): upgrade shipping methods actions on Shopware CartApi
14
+ * feat(FP-838): upgrade add, update, and remove item to cart on Shopware CartApi
15
+ * feat(FP-838): upgrade get anonymous cart and get cart by id on Shopware
16
+
3
17
  ## `2.24.0` (2022-01-05)
4
18
 
5
19
  * feat(FP-324): Include User-Agent Frontastic as part of API requests
package/composer.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frontastic/common",
3
3
  "license": "None",
4
- "version": "2.24.0",
4
+ "version": "2.25.0",
5
5
  "repositories": [
6
6
  {
7
7
  "type": "path",
@@ -19,6 +19,7 @@ public function __construct(
19
19
  LocaleCreator $localeCreator,
20
20
  DataMapperResolver $mapperResolver,
21
21
  ShopwareProjectConfigApiFactory $projectConfigApiFactory,
22
+ AccountApi $accountApi,
22
23
  ?string $defaultLanguage
23
24
  ): mixed
24
25
  ```
@@ -29,6 +30,7 @@ Argument|Type|Default|Description
29
30
  `$localeCreator`|[`LocaleCreator`](../Locale/LocaleCreator.md)||
30
31
  `$mapperResolver`|[`DataMapperResolver`](../DataMapper/DataMapperResolver.md)||
31
32
  `$projectConfigApiFactory`|[`ShopwareProjectConfigApiFactory`](../ProjectConfigApi/ShopwareProjectConfigApiFactory.md)||
33
+ `$accountApi`|[`AccountApi`](../../../AccountApiBundle/Domain/AccountApi.md)||
32
34
  `$defaultLanguage`|`?string`||
33
35
 
34
36
  Return Value: `mixed`
@@ -179,7 +179,8 @@ Return Value: `\GuzzleHttp\Promise\PromiseInterface`
179
179
  ```php
180
180
  public function delete(
181
181
  string $uri,
182
- array $headers = []
182
+ array $headers = [],
183
+ mixed $body = null
183
184
  ): \GuzzleHttp\Promise\PromiseInterface
184
185
  ```
185
186
 
@@ -187,6 +188,7 @@ Argument|Type|Default|Description
187
188
  --------|----|-------|-----------
188
189
  `$uri`|`string`||
189
190
  `$headers`|`array`|`[]`|
191
+ `$body`|`mixed`|`null`|
190
192
 
191
193
  Return Value: `\GuzzleHttp\Promise\PromiseInterface`
192
194
 
@@ -150,7 +150,8 @@ Return Value: `\GuzzleHttp\Promise\PromiseInterface`
150
150
  ```php
151
151
  public function delete(
152
152
  string $uri,
153
- array $headers = []
153
+ array $headers = [],
154
+ mixed $body = null
154
155
  ): \GuzzleHttp\Promise\PromiseInterface
155
156
  ```
156
157
 
@@ -158,6 +159,7 @@ Argument|Type|Default|Description
158
159
  --------|----|-------|-----------
159
160
  `$uri`|`string`||
160
161
  `$headers`|`array`|`[]`|
162
+ `$body`|`mixed`|`null`|
161
163
 
162
164
  Return Value: `\GuzzleHttp\Promise\PromiseInterface`
163
165
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontastic/common",
3
- "version": "2.24.0",
3
+ "version": "2.25.0",
4
4
  "devDependencies": {
5
5
  "@babel/core": "7.5.4",
6
6
  "@babel/plugin-proposal-class-properties": "^7.5.0",