@commercetools-frontend/application-shell-connectors 24.8.0 → 24.9.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.
|
@@ -76,7 +76,7 @@ var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construc
|
|
|
76
76
|
var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
|
|
77
77
|
|
|
78
78
|
// NOTE: This string will be replaced on build time with the package version.
|
|
79
|
-
var version = "24.
|
|
79
|
+
var version = "24.9.0";
|
|
80
80
|
|
|
81
81
|
// From https://github.com/acdlite/recompose/blob/master/src/packages/recompose/getDisplayName.js
|
|
82
82
|
const getDisplayName = Component => {
|
|
@@ -816,7 +816,9 @@ function createHttpClientOptions() {
|
|
|
816
816
|
userId
|
|
817
817
|
}),
|
|
818
818
|
[constants.SUPPORTED_HEADERS.X_PROJECT_KEY]: projectKey,
|
|
819
|
-
[constants.SUPPORTED_HEADERS.X_USER_AGENT]: userAgent
|
|
819
|
+
[constants.SUPPORTED_HEADERS.X_USER_AGENT]: userAgent,
|
|
820
|
+
// MC Identity Login Mode Override header for development
|
|
821
|
+
[constants.SUPPORTED_HEADERS.X_MC_IDENTITY_LOGIN_MODE_OVERRIDE]: window.app.__DEVELOPMENT__?.mcIdentityLoginModeOverride
|
|
820
822
|
}, getAppliedForwardToHeaders(config.forwardToConfig)))
|
|
821
823
|
};
|
|
822
824
|
}
|
|
@@ -75,7 +75,7 @@ var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construc
|
|
|
75
75
|
var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
|
|
76
76
|
|
|
77
77
|
// NOTE: This string will be replaced on build time with the package version.
|
|
78
|
-
var version = "24.
|
|
78
|
+
var version = "24.9.0";
|
|
79
79
|
|
|
80
80
|
// From https://github.com/acdlite/recompose/blob/master/src/packages/recompose/getDisplayName.js
|
|
81
81
|
const getDisplayName = Component => {
|
|
@@ -809,7 +809,9 @@ function createHttpClientOptions() {
|
|
|
809
809
|
userId
|
|
810
810
|
}),
|
|
811
811
|
[constants.SUPPORTED_HEADERS.X_PROJECT_KEY]: projectKey,
|
|
812
|
-
[constants.SUPPORTED_HEADERS.X_USER_AGENT]: userAgent
|
|
812
|
+
[constants.SUPPORTED_HEADERS.X_USER_AGENT]: userAgent,
|
|
813
|
+
// MC Identity Login Mode Override header for development
|
|
814
|
+
[constants.SUPPORTED_HEADERS.X_MC_IDENTITY_LOGIN_MODE_OVERRIDE]: window.app.__DEVELOPMENT__?.mcIdentityLoginModeOverride
|
|
813
815
|
}, getAppliedForwardToHeaders(config.forwardToConfig)))
|
|
814
816
|
};
|
|
815
817
|
}
|
|
@@ -43,7 +43,7 @@ import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringif
|
|
|
43
43
|
import { RetryLink } from '@apollo/client/link/retry';
|
|
44
44
|
|
|
45
45
|
// NOTE: This string will be replaced on build time with the package version.
|
|
46
|
-
var version = "24.
|
|
46
|
+
var version = "24.9.0";
|
|
47
47
|
|
|
48
48
|
// From https://github.com/acdlite/recompose/blob/master/src/packages/recompose/getDisplayName.js
|
|
49
49
|
const getDisplayName = Component => {
|
|
@@ -783,7 +783,9 @@ function createHttpClientOptions() {
|
|
|
783
783
|
userId
|
|
784
784
|
}),
|
|
785
785
|
[SUPPORTED_HEADERS.X_PROJECT_KEY]: projectKey,
|
|
786
|
-
[SUPPORTED_HEADERS.X_USER_AGENT]: userAgent
|
|
786
|
+
[SUPPORTED_HEADERS.X_USER_AGENT]: userAgent,
|
|
787
|
+
// MC Identity Login Mode Override header for development
|
|
788
|
+
[SUPPORTED_HEADERS.X_MC_IDENTITY_LOGIN_MODE_OVERRIDE]: window.app.__DEVELOPMENT__?.mcIdentityLoginModeOverride
|
|
787
789
|
}, getAppliedForwardToHeaders(config.forwardToConfig)))
|
|
788
790
|
};
|
|
789
791
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-shell-connectors",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.9.0",
|
|
4
4
|
"description": "Contains complementary tools for @commercetools-frontend/application-shell",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@babel/runtime": "^7.22.15",
|
|
39
39
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
40
|
-
"@commercetools-frontend/application-config": "24.
|
|
41
|
-
"@commercetools-frontend/browser-history": "24.
|
|
42
|
-
"@commercetools-frontend/constants": "24.
|
|
43
|
-
"@commercetools-frontend/sentry": "24.
|
|
40
|
+
"@commercetools-frontend/application-config": "24.9.0",
|
|
41
|
+
"@commercetools-frontend/browser-history": "24.9.0",
|
|
42
|
+
"@commercetools-frontend/constants": "24.9.0",
|
|
43
|
+
"@commercetools-frontend/sentry": "24.9.0",
|
|
44
44
|
"@commercetools/http-user-agent": "3.0.0",
|
|
45
45
|
"@emotion/react": "^11.14.0",
|
|
46
46
|
"@types/lodash": "^4.14.198",
|