@commercetools-frontend/mc-dev-authentication 22.23.2 → 22.24.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.
|
@@ -45,7 +45,7 @@ function createMcDevAuthenticationMiddleware(applicationConfig) {
|
|
|
45
45
|
response.statusCode = 404;
|
|
46
46
|
response.setHeader('Content-Type', 'application/json');
|
|
47
47
|
response.end(_JSON$stringify__default["default"]({
|
|
48
|
-
message: "This GraphQL endpoint is only available in production in the [Merchant Center Proxy Router](https://docs.commercetools.com/
|
|
48
|
+
message: "This GraphQL endpoint is only available in production in the [Merchant Center Proxy Router](https://docs.commercetools.com/merchant-center-customizations/concepts/merchant-center-proxy-router). Please check that you are not calling this endpoint in development mode."
|
|
49
49
|
}));
|
|
50
50
|
return;
|
|
51
51
|
}
|
|
@@ -45,7 +45,7 @@ function createMcDevAuthenticationMiddleware(applicationConfig) {
|
|
|
45
45
|
response.statusCode = 404;
|
|
46
46
|
response.setHeader('Content-Type', 'application/json');
|
|
47
47
|
response.end(_JSON$stringify__default["default"]({
|
|
48
|
-
message: "This GraphQL endpoint is only available in production in the [Merchant Center Proxy Router](https://docs.commercetools.com/
|
|
48
|
+
message: "This GraphQL endpoint is only available in production in the [Merchant Center Proxy Router](https://docs.commercetools.com/merchant-center-customizations/concepts/merchant-center-proxy-router). Please check that you are not calling this endpoint in development mode."
|
|
49
49
|
}));
|
|
50
50
|
return;
|
|
51
51
|
}
|
|
@@ -33,7 +33,7 @@ function createMcDevAuthenticationMiddleware(applicationConfig) {
|
|
|
33
33
|
response.statusCode = 404;
|
|
34
34
|
response.setHeader('Content-Type', 'application/json');
|
|
35
35
|
response.end(_JSON$stringify({
|
|
36
|
-
message: "This GraphQL endpoint is only available in production in the [Merchant Center Proxy Router](https://docs.commercetools.com/
|
|
36
|
+
message: "This GraphQL endpoint is only available in production in the [Merchant Center Proxy Router](https://docs.commercetools.com/merchant-center-customizations/concepts/merchant-center-proxy-router). Please check that you are not calling this endpoint in development mode."
|
|
37
37
|
}));
|
|
38
38
|
return;
|
|
39
39
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/mc-dev-authentication",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.24.0",
|
|
4
4
|
"description": "Authentication views when running webpack-dev-server in development mode",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://github.com/commercetools/merchant-center-application-kit.git",
|
|
9
9
|
"directory": "packages/mc-dev-authentication"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://docs.commercetools.com/
|
|
11
|
+
"homepage": "https://docs.commercetools.com/merchant-center-customizations",
|
|
12
12
|
"keywords": [
|
|
13
13
|
"javascript",
|
|
14
14
|
"frontend",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@tsconfig/node16": "^16.1.1",
|
|
37
37
|
"@types/connect": "^3.4.36",
|
|
38
38
|
"connect": "^3.7.0",
|
|
39
|
-
"@commercetools-frontend/application-config": "22.
|
|
39
|
+
"@commercetools-frontend/application-config": "22.24.0"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": "16.x || >=18.0.0"
|