@commercetools-frontend/application-config 22.28.0 → 22.29.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.
@@ -80,7 +80,8 @@ const CLOUD_IDENTIFIERS = {
80
80
  GCP_US: 'gcp-us',
81
81
  AWS_FRA: 'aws-fra',
82
82
  AWS_OHIO: 'aws-ohio',
83
- AWS_CN: 'aws-cn'
83
+ AWS_CN: 'aws-cn',
84
+ AZURE_US: 'azure-us'
84
85
  };
85
86
  const MC_API_URLS = {
86
87
  GCP_AU: 'https://mc-api.australia-southeast1.gcp.commercetools.com',
@@ -88,7 +89,8 @@ const MC_API_URLS = {
88
89
  GCP_US: 'https://mc-api.us-central1.gcp.commercetools.com',
89
90
  AWS_FRA: 'https://mc-api.eu-central-1.aws.commercetools.com',
90
91
  AWS_OHIO: 'https://mc-api.us-east-2.aws.commercetools.com',
91
- AWS_CN: 'https://mc-api.cn-northwest-1.aws.commercetools.cn'
92
+ AWS_CN: 'https://mc-api.cn-northwest-1.aws.commercetools.cn',
93
+ AZURE_US: 'https://mc-api.eastus.azure.commercetools.com'
92
94
  };
93
95
  const LOADED_CONFIG_TYPES = {
94
96
  CUSTOM_APPLICATION: 'custom-application',
@@ -1094,6 +1096,8 @@ const mapCloudIdentifierToApiUrl = key => {
1094
1096
  return MC_API_URLS.AWS_OHIO;
1095
1097
  case CLOUD_IDENTIFIERS.AWS_CN:
1096
1098
  return MC_API_URLS.AWS_CN;
1099
+ case CLOUD_IDENTIFIERS.AZURE_US:
1100
+ return MC_API_URLS.AZURE_US;
1097
1101
  default:
1098
1102
  // We would probably never get to this point, as the JSON schema validation
1099
1103
  // kicks in before.
@@ -80,7 +80,8 @@ const CLOUD_IDENTIFIERS = {
80
80
  GCP_US: 'gcp-us',
81
81
  AWS_FRA: 'aws-fra',
82
82
  AWS_OHIO: 'aws-ohio',
83
- AWS_CN: 'aws-cn'
83
+ AWS_CN: 'aws-cn',
84
+ AZURE_US: 'azure-us'
84
85
  };
85
86
  const MC_API_URLS = {
86
87
  GCP_AU: 'https://mc-api.australia-southeast1.gcp.commercetools.com',
@@ -88,7 +89,8 @@ const MC_API_URLS = {
88
89
  GCP_US: 'https://mc-api.us-central1.gcp.commercetools.com',
89
90
  AWS_FRA: 'https://mc-api.eu-central-1.aws.commercetools.com',
90
91
  AWS_OHIO: 'https://mc-api.us-east-2.aws.commercetools.com',
91
- AWS_CN: 'https://mc-api.cn-northwest-1.aws.commercetools.cn'
92
+ AWS_CN: 'https://mc-api.cn-northwest-1.aws.commercetools.cn',
93
+ AZURE_US: 'https://mc-api.eastus.azure.commercetools.com'
92
94
  };
93
95
  const LOADED_CONFIG_TYPES = {
94
96
  CUSTOM_APPLICATION: 'custom-application',
@@ -1094,6 +1096,8 @@ const mapCloudIdentifierToApiUrl = key => {
1094
1096
  return MC_API_URLS.AWS_OHIO;
1095
1097
  case CLOUD_IDENTIFIERS.AWS_CN:
1096
1098
  return MC_API_URLS.AWS_CN;
1099
+ case CLOUD_IDENTIFIERS.AZURE_US:
1100
+ return MC_API_URLS.AZURE_US;
1097
1101
  default:
1098
1102
  // We would probably never get to this point, as the JSON schema validation
1099
1103
  // kicks in before.
@@ -48,7 +48,8 @@ const CLOUD_IDENTIFIERS = {
48
48
  GCP_US: 'gcp-us',
49
49
  AWS_FRA: 'aws-fra',
50
50
  AWS_OHIO: 'aws-ohio',
51
- AWS_CN: 'aws-cn'
51
+ AWS_CN: 'aws-cn',
52
+ AZURE_US: 'azure-us'
52
53
  };
53
54
  const MC_API_URLS = {
54
55
  GCP_AU: 'https://mc-api.australia-southeast1.gcp.commercetools.com',
@@ -56,7 +57,8 @@ const MC_API_URLS = {
56
57
  GCP_US: 'https://mc-api.us-central1.gcp.commercetools.com',
57
58
  AWS_FRA: 'https://mc-api.eu-central-1.aws.commercetools.com',
58
59
  AWS_OHIO: 'https://mc-api.us-east-2.aws.commercetools.com',
59
- AWS_CN: 'https://mc-api.cn-northwest-1.aws.commercetools.cn'
60
+ AWS_CN: 'https://mc-api.cn-northwest-1.aws.commercetools.cn',
61
+ AZURE_US: 'https://mc-api.eastus.azure.commercetools.com'
60
62
  };
61
63
  const LOADED_CONFIG_TYPES = {
62
64
  CUSTOM_APPLICATION: 'custom-application',
@@ -1062,6 +1064,8 @@ const mapCloudIdentifierToApiUrl = key => {
1062
1064
  return MC_API_URLS.AWS_OHIO;
1063
1065
  case CLOUD_IDENTIFIERS.AWS_CN:
1064
1066
  return MC_API_URLS.AWS_CN;
1067
+ case CLOUD_IDENTIFIERS.AZURE_US:
1068
+ return MC_API_URLS.AZURE_US;
1065
1069
  default:
1066
1070
  // We would probably never get to this point, as the JSON schema validation
1067
1071
  // kicks in before.
@@ -5,6 +5,7 @@ export declare const CLOUD_IDENTIFIERS: {
5
5
  readonly AWS_FRA: "aws-fra";
6
6
  readonly AWS_OHIO: "aws-ohio";
7
7
  readonly AWS_CN: "aws-cn";
8
+ readonly AZURE_US: "azure-us";
8
9
  };
9
10
  export declare const MC_API_URLS: {
10
11
  readonly GCP_AU: "https://mc-api.australia-southeast1.gcp.commercetools.com";
@@ -13,6 +14,7 @@ export declare const MC_API_URLS: {
13
14
  readonly AWS_FRA: "https://mc-api.eu-central-1.aws.commercetools.com";
14
15
  readonly AWS_OHIO: "https://mc-api.us-east-2.aws.commercetools.com";
15
16
  readonly AWS_CN: "https://mc-api.cn-northwest-1.aws.commercetools.cn";
17
+ readonly AZURE_US: "https://mc-api.eastus.azure.commercetools.com";
16
18
  };
17
19
  export declare const LOADED_CONFIG_TYPES: {
18
20
  readonly CUSTOM_APPLICATION: "custom-application";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/application-config",
3
- "version": "22.28.0",
3
+ "version": "22.29.0",
4
4
  "description": "Configuration utilities for building Custom Applications",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -45,12 +45,12 @@
45
45
  "@babel/register": "^7.22.15",
46
46
  "@babel/runtime": "^7.22.15",
47
47
  "@babel/runtime-corejs3": "^7.22.15",
48
- "@commercetools-frontend/babel-preset-mc-app": "22.28.0",
49
- "@commercetools-frontend/constants": "22.28.0",
48
+ "@commercetools-frontend/babel-preset-mc-app": "22.29.0",
49
+ "@commercetools-frontend/constants": "22.29.0",
50
50
  "@types/dompurify": "^2.4.0",
51
51
  "@types/lodash": "^4.14.198",
52
52
  "@types/react": "^17.0.80",
53
- "ajv": "8.13.0",
53
+ "ajv": "8.16.0",
54
54
  "core-js": "^3.32.2",
55
55
  "cosmiconfig": "7.1.0",
56
56
  "dompurify": "^2.4.7",
@@ -62,7 +62,7 @@
62
62
  "@types/jsdom": "^21.1.2",
63
63
  "json-schema-to-typescript": "13.1.2",
64
64
  "shelljs": "0.8.5",
65
- "@commercetools-frontend/assets": "22.28.0"
65
+ "@commercetools-frontend/assets": "22.29.0"
66
66
  },
67
67
  "engines": {
68
68
  "node": "16.x || >=18.0.0"