@commercetools-frontend/staff-bar 0.0.8 → 0.1.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.
@@ -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-bff87562.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-570552b8.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-de09c0ab.esm.js'));
60
60
  function StaffBar(props) {
61
61
  if (process.env.NODE_ENV === 'test' || window.Cypress && !window.sessionStorage?.enableStaffBarForCypress) {
62
62
  return null;
@@ -4,16 +4,6 @@
4
4
  "url": "https://mc.att.us-east-1.aws.commercetools.com"
5
5
  }
6
6
  },
7
- "AmazonWebServicesChina": {
8
- "MerchantCenterFrontend": {
9
- "url": "https://mc.cn-northwest-1.aws.commercetools.cn"
10
- }
11
- },
12
- "AmazonWebServicesChinaStaging": {
13
- "MerchantCenterFrontend": {
14
- "url": "https://mc.cn-northwest-1.aws.commercetoolscn.cn"
15
- }
16
- },
17
7
  "AmazonWebServicesFrankfurt": {
18
8
  "MerchantCenterFrontend": {
19
9
  "url": "https://mc.eu-central-1.aws.commercetools.com"
@@ -34,6 +24,11 @@
34
24
  "url": "https://mc.vw-stage.eu-central-1.aws.commercetools.com"
35
25
  }
36
26
  },
27
+ "AzureEurope": {
28
+ "MerchantCenterFrontend": {
29
+ "url": "https://mc.germanywestcentral.azure.commercetools.com"
30
+ }
31
+ },
37
32
  "AzureEuropeStaging": {
38
33
  "MerchantCenterFrontend": {
39
34
  "url": "https://mc.northeurope.azure.escemo.com"
@@ -65,16 +65,6 @@ var config = {
65
65
  url: "https://mc.att.us-east-1.aws.commercetools.com"
66
66
  }
67
67
  },
68
- AmazonWebServicesChina: {
69
- MerchantCenterFrontend: {
70
- url: "https://mc.cn-northwest-1.aws.commercetools.cn"
71
- }
72
- },
73
- AmazonWebServicesChinaStaging: {
74
- MerchantCenterFrontend: {
75
- url: "https://mc.cn-northwest-1.aws.commercetoolscn.cn"
76
- }
77
- },
78
68
  AmazonWebServicesFrankfurt: {
79
69
  MerchantCenterFrontend: {
80
70
  url: "https://mc.eu-central-1.aws.commercetools.com"
@@ -95,6 +85,11 @@ var config = {
95
85
  url: "https://mc.vw-stage.eu-central-1.aws.commercetools.com"
96
86
  }
97
87
  },
88
+ AzureEurope: {
89
+ MerchantCenterFrontend: {
90
+ url: "https://mc.germanywestcentral.azure.commercetools.com"
91
+ }
92
+ },
98
93
  AzureEuropeStaging: {
99
94
  MerchantCenterFrontend: {
100
95
  url: "https://mc.northeurope.azure.escemo.com"
@@ -149,8 +144,8 @@ const getOptionsForEnvironment = (label, config) => {
149
144
  };
150
145
  };
151
146
  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
- 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);
147
+ const AWS = _filterInstanceProperty__default["default"](_context2 = [getOptionsForEnvironment('AWS Frankfurt', config.AmazonWebServicesFrankfurt), getOptionsForEnvironment('AWS Ohio', config.AmazonWebServicesOhio)]).call(_context2, nonNullable);
148
+ 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
149
  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
150
  const ENV = [{
156
151
  options: GCP,
@@ -65,16 +65,6 @@ var config = {
65
65
  url: "https://mc.att.us-east-1.aws.commercetools.com"
66
66
  }
67
67
  },
68
- AmazonWebServicesChina: {
69
- MerchantCenterFrontend: {
70
- url: "https://mc.cn-northwest-1.aws.commercetools.cn"
71
- }
72
- },
73
- AmazonWebServicesChinaStaging: {
74
- MerchantCenterFrontend: {
75
- url: "https://mc.cn-northwest-1.aws.commercetoolscn.cn"
76
- }
77
- },
78
68
  AmazonWebServicesFrankfurt: {
79
69
  MerchantCenterFrontend: {
80
70
  url: "https://mc.eu-central-1.aws.commercetools.com"
@@ -95,6 +85,11 @@ var config = {
95
85
  url: "https://mc.vw-stage.eu-central-1.aws.commercetools.com"
96
86
  }
97
87
  },
88
+ AzureEurope: {
89
+ MerchantCenterFrontend: {
90
+ url: "https://mc.germanywestcentral.azure.commercetools.com"
91
+ }
92
+ },
98
93
  AzureEuropeStaging: {
99
94
  MerchantCenterFrontend: {
100
95
  url: "https://mc.northeurope.azure.escemo.com"
@@ -149,8 +144,8 @@ const getOptionsForEnvironment = (label, config) => {
149
144
  };
150
145
  };
151
146
  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
- 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);
147
+ const AWS = _filterInstanceProperty__default["default"](_context2 = [getOptionsForEnvironment('AWS Frankfurt', config.AmazonWebServicesFrankfurt), getOptionsForEnvironment('AWS Ohio', config.AmazonWebServicesOhio)]).call(_context2, nonNullable);
148
+ 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
149
  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
150
  const ENV = [{
156
151
  options: GCP,
@@ -41,16 +41,6 @@ var config = {
41
41
  url: "https://mc.att.us-east-1.aws.commercetools.com"
42
42
  }
43
43
  },
44
- AmazonWebServicesChina: {
45
- MerchantCenterFrontend: {
46
- url: "https://mc.cn-northwest-1.aws.commercetools.cn"
47
- }
48
- },
49
- AmazonWebServicesChinaStaging: {
50
- MerchantCenterFrontend: {
51
- url: "https://mc.cn-northwest-1.aws.commercetoolscn.cn"
52
- }
53
- },
54
44
  AmazonWebServicesFrankfurt: {
55
45
  MerchantCenterFrontend: {
56
46
  url: "https://mc.eu-central-1.aws.commercetools.com"
@@ -71,6 +61,11 @@ var config = {
71
61
  url: "https://mc.vw-stage.eu-central-1.aws.commercetools.com"
72
62
  }
73
63
  },
64
+ AzureEurope: {
65
+ MerchantCenterFrontend: {
66
+ url: "https://mc.germanywestcentral.azure.commercetools.com"
67
+ }
68
+ },
74
69
  AzureEuropeStaging: {
75
70
  MerchantCenterFrontend: {
76
71
  url: "https://mc.northeurope.azure.escemo.com"
@@ -125,8 +120,8 @@ const getOptionsForEnvironment = (label, config) => {
125
120
  };
126
121
  };
127
122
  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
- 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);
123
+ const AWS = _filterInstanceProperty(_context2 = [getOptionsForEnvironment('AWS Frankfurt', config.AmazonWebServicesFrankfurt), getOptionsForEnvironment('AWS Ohio', config.AmazonWebServicesOhio)]).call(_context2, nonNullable);
124
+ const Azure = _filterInstanceProperty(_context3 = [getOptionsForEnvironment('Azure Europe (Staging)', config.AzureEuropeStaging), getOptionsForEnvironment('Azure USA', config.AzureUnitedStates), getOptionsForEnvironment('Azure Europe', config.AzureEurope)]).call(_context3, nonNullable);
130
125
  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
126
  const ENV = [{
132
127
  options: GCP,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/staff-bar",
3
- "version": "0.0.8",
3
+ "version": "0.1.0",
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.10.0",
20
+ "@commercetools-frontend/application-components": "npm:@commercetools-frontend/application-components@^22.33.0",
21
+ "@commercetools-frontend/application-shell": "npm:@commercetools-frontend/application-shell@^22.33.0",
22
+ "@commercetools-frontend/ui-kit": "npm:@commercetools-frontend/ui-kit@^19.11.0",
23
23
  "@flopflip/types": "14.0.1",
24
24
  "lodash": "4.17.21",
25
25
  "prop-types": "15.8.1",
@@ -28,10 +28,10 @@
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",
34
- "@manypkg/find-root": "2.2.2",
31
+ "@commercetools-frontend/application-shell-connectors": "22.33.0",
32
+ "@commercetools-frontend/constants": "22.33.0",
33
+ "@emotion/react": "11.13.3",
34
+ "@manypkg/find-root": "2.2.3",
35
35
  "@types/react": "17.0.80",
36
36
  "@types/react-dom": "17.0.25",
37
37
  "@types/react-router-dom": "5.3.3",
@@ -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.33.0",
44
+ "@commercetools-frontend/constants": "^22.33.0",
45
45
  "@emotion/react": "11.x",
46
46
  "react": "17.x"
47
47
  },