@commercetools-frontend/staff-bar 0.0.7 → 0.0.9

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.
@@ -72,7 +72,7 @@ let ErrorBoundary = /*#__PURE__*/function (_Component) {
72
72
 
73
73
  function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
74
74
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
75
- const StaffBarComponent = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./staff-bar-35cc1d60.cjs.dev.js'); }));
75
+ const StaffBarComponent = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./staff-bar-7d0b947f.cjs.dev.js'); }));
76
76
  function StaffBar(props) {
77
77
  if (process.env.NODE_ENV === 'test' || window.Cypress && !window.sessionStorage?.enableStaffBarForCypress) {
78
78
  return null;
@@ -72,7 +72,7 @@ let ErrorBoundary = /*#__PURE__*/function (_Component) {
72
72
 
73
73
  function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
74
74
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
75
- const StaffBarComponent = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./staff-bar-890962e7.cjs.prod.js'); }));
75
+ const StaffBarComponent = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./staff-bar-80bd3eeb.cjs.prod.js'); }));
76
76
  function StaffBar(props) {
77
77
  if (window.Cypress && !window.sessionStorage?.enableStaffBarForCypress) {
78
78
  return null;
@@ -56,7 +56,7 @@ let ErrorBoundary = /*#__PURE__*/function (_Component) {
56
56
 
57
57
  function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
58
58
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
59
- const StaffBarComponent = /*#__PURE__*/lazy(() => import('./staff-bar-22ec7327.esm.js'));
59
+ const StaffBarComponent = /*#__PURE__*/lazy(() => import('./staff-bar-e9b6f1bf.esm.js'));
60
60
  function StaffBar(props) {
61
61
  if (process.env.NODE_ENV === 'test' || window.Cypress && !window.sessionStorage?.enableStaffBarForCypress) {
62
62
  return null;
@@ -34,6 +34,11 @@
34
34
  "url": "https://mc.vw-stage.eu-central-1.aws.commercetools.com"
35
35
  }
36
36
  },
37
+ "AzureEurope": {
38
+ "MerchantCenterFrontend": {
39
+ "url": "https://mc.germanywestcentral.azure.commercetools.com"
40
+ }
41
+ },
37
42
  "AzureEuropeStaging": {
38
43
  "MerchantCenterFrontend": {
39
44
  "url": "https://mc.northeurope.azure.escemo.com"
@@ -95,6 +95,11 @@ var config = {
95
95
  url: "https://mc.vw-stage.eu-central-1.aws.commercetools.com"
96
96
  }
97
97
  },
98
+ AzureEurope: {
99
+ MerchantCenterFrontend: {
100
+ url: "https://mc.germanywestcentral.azure.commercetools.com"
101
+ }
102
+ },
98
103
  AzureEuropeStaging: {
99
104
  MerchantCenterFrontend: {
100
105
  url: "https://mc.northeurope.azure.escemo.com"
@@ -150,7 +155,7 @@ const getOptionsForEnvironment = (label, config) => {
150
155
  };
151
156
  const GCP = _filterInstanceProperty__default["default"](_context = [getOptionsForEnvironment('GCP Australia', config.GoogleCloudPlatformAustralia), getOptionsForEnvironment('GCP Europe', config.GoogleCloudPlatformEurope), getOptionsForEnvironment('GCP USA', config.GoogleCloudPlatformUnitedStates), getOptionsForEnvironment('GCP Europe (Staging)', config.GoogleCloudPlatformEuropeStaging)]).call(_context, nonNullable);
152
157
  const AWS = _filterInstanceProperty__default["default"](_context2 = [getOptionsForEnvironment('AWS China', config.AmazonWebServicesChina), getOptionsForEnvironment('AWS Frankfurt', config.AmazonWebServicesFrankfurt), getOptionsForEnvironment('AWS Ohio', config.AmazonWebServicesOhio), getOptionsForEnvironment('AWS China (Staging)', config.AmazonWebServicesChinaStaging)]).call(_context2, nonNullable);
153
- const Azure = _filterInstanceProperty__default["default"](_context3 = [getOptionsForEnvironment('Azure Europe (Staging)', config.AzureEuropeStaging), getOptionsForEnvironment('Azure USA', config.AzureUnitedStates)]).call(_context3, nonNullable);
158
+ const Azure = _filterInstanceProperty__default["default"](_context3 = [getOptionsForEnvironment('Azure Europe (Staging)', config.AzureEuropeStaging), getOptionsForEnvironment('Azure USA', config.AzureUnitedStates), getOptionsForEnvironment('Azure Europe', config.AzureEurope)]).call(_context3, nonNullable);
154
159
  const PRIVATE = _filterInstanceProperty__default["default"](_context4 = [getOptionsForEnvironment('AWS AT&T', config.AmazonWebServicesATT), getOptionsForEnvironment('AWS Volkswagen', config.AmazonWebServicesVolkswagen), getOptionsForEnvironment('AWS Volkswagen (Staging)', config.AmazonWebServicesVolkswagenStaging)]).call(_context4, nonNullable);
155
160
  const ENV = [{
156
161
  options: GCP,
@@ -95,6 +95,11 @@ var config = {
95
95
  url: "https://mc.vw-stage.eu-central-1.aws.commercetools.com"
96
96
  }
97
97
  },
98
+ AzureEurope: {
99
+ MerchantCenterFrontend: {
100
+ url: "https://mc.germanywestcentral.azure.commercetools.com"
101
+ }
102
+ },
98
103
  AzureEuropeStaging: {
99
104
  MerchantCenterFrontend: {
100
105
  url: "https://mc.northeurope.azure.escemo.com"
@@ -150,7 +155,7 @@ const getOptionsForEnvironment = (label, config) => {
150
155
  };
151
156
  const GCP = _filterInstanceProperty__default["default"](_context = [getOptionsForEnvironment('GCP Australia', config.GoogleCloudPlatformAustralia), getOptionsForEnvironment('GCP Europe', config.GoogleCloudPlatformEurope), getOptionsForEnvironment('GCP USA', config.GoogleCloudPlatformUnitedStates), getOptionsForEnvironment('GCP Europe (Staging)', config.GoogleCloudPlatformEuropeStaging)]).call(_context, nonNullable);
152
157
  const AWS = _filterInstanceProperty__default["default"](_context2 = [getOptionsForEnvironment('AWS China', config.AmazonWebServicesChina), getOptionsForEnvironment('AWS Frankfurt', config.AmazonWebServicesFrankfurt), getOptionsForEnvironment('AWS Ohio', config.AmazonWebServicesOhio), getOptionsForEnvironment('AWS China (Staging)', config.AmazonWebServicesChinaStaging)]).call(_context2, nonNullable);
153
- const Azure = _filterInstanceProperty__default["default"](_context3 = [getOptionsForEnvironment('Azure Europe (Staging)', config.AzureEuropeStaging), getOptionsForEnvironment('Azure USA', config.AzureUnitedStates)]).call(_context3, nonNullable);
158
+ const Azure = _filterInstanceProperty__default["default"](_context3 = [getOptionsForEnvironment('Azure Europe (Staging)', config.AzureEuropeStaging), getOptionsForEnvironment('Azure USA', config.AzureUnitedStates), getOptionsForEnvironment('Azure Europe', config.AzureEurope)]).call(_context3, nonNullable);
154
159
  const PRIVATE = _filterInstanceProperty__default["default"](_context4 = [getOptionsForEnvironment('AWS AT&T', config.AmazonWebServicesATT), getOptionsForEnvironment('AWS Volkswagen', config.AmazonWebServicesVolkswagen), getOptionsForEnvironment('AWS Volkswagen (Staging)', config.AmazonWebServicesVolkswagenStaging)]).call(_context4, nonNullable);
155
160
  const ENV = [{
156
161
  options: GCP,
@@ -71,6 +71,11 @@ var config = {
71
71
  url: "https://mc.vw-stage.eu-central-1.aws.commercetools.com"
72
72
  }
73
73
  },
74
+ AzureEurope: {
75
+ MerchantCenterFrontend: {
76
+ url: "https://mc.germanywestcentral.azure.commercetools.com"
77
+ }
78
+ },
74
79
  AzureEuropeStaging: {
75
80
  MerchantCenterFrontend: {
76
81
  url: "https://mc.northeurope.azure.escemo.com"
@@ -126,7 +131,7 @@ const getOptionsForEnvironment = (label, config) => {
126
131
  };
127
132
  const GCP = _filterInstanceProperty(_context = [getOptionsForEnvironment('GCP Australia', config.GoogleCloudPlatformAustralia), getOptionsForEnvironment('GCP Europe', config.GoogleCloudPlatformEurope), getOptionsForEnvironment('GCP USA', config.GoogleCloudPlatformUnitedStates), getOptionsForEnvironment('GCP Europe (Staging)', config.GoogleCloudPlatformEuropeStaging)]).call(_context, nonNullable);
128
133
  const AWS = _filterInstanceProperty(_context2 = [getOptionsForEnvironment('AWS China', config.AmazonWebServicesChina), getOptionsForEnvironment('AWS Frankfurt', config.AmazonWebServicesFrankfurt), getOptionsForEnvironment('AWS Ohio', config.AmazonWebServicesOhio), getOptionsForEnvironment('AWS China (Staging)', config.AmazonWebServicesChinaStaging)]).call(_context2, nonNullable);
129
- const Azure = _filterInstanceProperty(_context3 = [getOptionsForEnvironment('Azure Europe (Staging)', config.AzureEuropeStaging), getOptionsForEnvironment('Azure USA', config.AzureUnitedStates)]).call(_context3, nonNullable);
134
+ const Azure = _filterInstanceProperty(_context3 = [getOptionsForEnvironment('Azure Europe (Staging)', config.AzureEuropeStaging), getOptionsForEnvironment('Azure USA', config.AzureUnitedStates), getOptionsForEnvironment('Azure Europe', config.AzureEurope)]).call(_context3, nonNullable);
130
135
  const PRIVATE = _filterInstanceProperty(_context4 = [getOptionsForEnvironment('AWS AT&T', config.AmazonWebServicesATT), getOptionsForEnvironment('AWS Volkswagen', config.AmazonWebServicesVolkswagen), getOptionsForEnvironment('AWS Volkswagen (Staging)', config.AmazonWebServicesVolkswagenStaging)]).call(_context4, nonNullable);
131
136
  const ENV = [{
132
137
  options: GCP,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/staff-bar",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "Toolbar that makes testing inside Merchant Center easier",
5
5
  "license": "MIT",
6
6
  "main": "dist/commercetools-frontend-staff-bar.cjs.js",
@@ -17,9 +17,9 @@
17
17
  "@babel/core": "^7.22.11",
18
18
  "@babel/runtime": "^7.21.0",
19
19
  "@babel/runtime-corejs3": "^7.21.0",
20
- "@commercetools-frontend/application-components": "npm:@commercetools-frontend/application-components@^22.30.3",
21
- "@commercetools-frontend/application-shell": "npm:@commercetools-frontend/application-shell@^22.30.3",
22
- "@commercetools-frontend/ui-kit": "npm:@commercetools-frontend/ui-kit@^19.9.0",
20
+ "@commercetools-frontend/application-components": "npm:@commercetools-frontend/application-components@^22.31.0",
21
+ "@commercetools-frontend/application-shell": "npm:@commercetools-frontend/application-shell@^22.31.0",
22
+ "@commercetools-frontend/ui-kit": "npm:@commercetools-frontend/ui-kit@^19.10.0",
23
23
  "@flopflip/types": "14.0.1",
24
24
  "lodash": "4.17.21",
25
25
  "prop-types": "15.8.1",
@@ -28,9 +28,9 @@
28
28
  "typescript": "5.2.2"
29
29
  },
30
30
  "devDependencies": {
31
- "@commercetools-frontend/application-shell-connectors": "22.30.3",
32
- "@commercetools-frontend/constants": "22.30.3",
33
- "@emotion/react": "^11.11.1",
31
+ "@commercetools-frontend/application-shell-connectors": "22.31.0",
32
+ "@commercetools-frontend/constants": "22.31.0",
33
+ "@emotion/react": "^11.11.4",
34
34
  "@manypkg/find-root": "2.2.2",
35
35
  "@types/react": "17.0.80",
36
36
  "@types/react-dom": "17.0.25",
@@ -40,8 +40,8 @@
40
40
  "react": "17.0.2"
41
41
  },
42
42
  "peerDependencies": {
43
- "@commercetools-frontend/application-shell-connectors": "^22.30.3",
44
- "@commercetools-frontend/constants": "^22.30.3",
43
+ "@commercetools-frontend/application-shell-connectors": "^22.31.0",
44
+ "@commercetools-frontend/constants": "^22.31.0",
45
45
  "@emotion/react": "11.x",
46
46
  "react": "17.x"
47
47
  },