@frontastic/common 2.42.1 → 2.44.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,4 +1,18 @@
1
1
 
2
+ ## Version 2.44.0 (2023-06-14)
3
+
4
+ ** New Features and Improvements **
5
+
6
+ - Add option to fetch frozen carts for logged in users with the environment variable `commercetools_fetch_frozen_user_carts=1`
7
+
8
+ ## Version 2.43.0 (2023-05-26)
9
+
10
+ ** New Features and Improvements **
11
+
12
+ - Remove filtered values from JSON in non-development environments
13
+ - Allow creating external auth accounts in commercetools composable commerce
14
+ - Add milisecond timings in log messages for outgoing requests
15
+
2
16
  ## Version 2.42.1 (2023-04-19)
3
17
 
4
18
  ** Bug fixes **
package/composer.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frontastic/common",
3
3
  "license": "None",
4
- "version": "2.42.1",
4
+ "version": "2.44.0",
5
5
  "repositories": [
6
6
  {
7
7
  "type": "path",
@@ -15,7 +15,8 @@
15
15
  public function __construct(
16
16
  array $propertyExcludeList = [],
17
17
  iterable $objectEnhancers = [],
18
- mixed $includeType = true
18
+ mixed $includeType = true,
19
+ mixed $environment = 'dev'
19
20
  ): mixed
20
21
  ```
21
22
 
@@ -24,6 +25,7 @@ Argument|Type|Default|Description
24
25
  `$propertyExcludeList`|`array`|`[]`|
25
26
  `$objectEnhancers`|`iterable`|`[]`|
26
27
  `$includeType`|`mixed`|`true`|
28
+ `$environment`|`mixed`|`'dev'`|
27
29
 
28
30
  Return Value: `mixed`
29
31
 
@@ -6,6 +6,7 @@
6
6
 
7
7
  * [__construct()](#__construct)
8
8
  * [getCustomers()](#getcustomers)
9
+ * [getCustomersInHost()](#getcustomersinhost)
9
10
  * [getCustomer()](#getcustomer)
10
11
  * [getProject()](#getproject)
11
12
  * [getForHost()](#getforhost)
@@ -34,6 +35,14 @@ public function getCustomers(): array
34
35
 
35
36
  Return Value: `array`
36
37
 
38
+ ### getCustomersInHost()
39
+
40
+ ```php
41
+ public function getCustomersInHost(): array
42
+ ```
43
+
44
+ Return Value: `array`
45
+
37
46
  ### getCustomer()
38
47
 
39
48
  ```php
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontastic/common",
3
- "version": "2.42.1",
3
+ "version": "2.44.0",
4
4
  "devDependencies": {
5
5
  "@babel/core": "7.21.0",
6
6
  "@babel/plugin-proposal-class-properties": "^7.5.0",