@commercetools-frontend/staff-bar 0.0.9 → 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-7d0b947f.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-80bd3eeb.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-e9b6f1bf.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"
@@ -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"
@@ -154,7 +144,7 @@ const getOptionsForEnvironment = (label, config) => {
154
144
  };
155
145
  };
156
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);
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);
147
+ const AWS = _filterInstanceProperty__default["default"](_context2 = [getOptionsForEnvironment('AWS Frankfurt', config.AmazonWebServicesFrankfurt), getOptionsForEnvironment('AWS Ohio', config.AmazonWebServicesOhio)]).call(_context2, nonNullable);
158
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);
159
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);
160
150
  const ENV = [{
@@ -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"
@@ -154,7 +144,7 @@ const getOptionsForEnvironment = (label, config) => {
154
144
  };
155
145
  };
156
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);
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);
147
+ const AWS = _filterInstanceProperty__default["default"](_context2 = [getOptionsForEnvironment('AWS Frankfurt', config.AmazonWebServicesFrankfurt), getOptionsForEnvironment('AWS Ohio', config.AmazonWebServicesOhio)]).call(_context2, nonNullable);
158
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);
159
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);
160
150
  const ENV = [{
@@ -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"
@@ -130,7 +120,7 @@ const getOptionsForEnvironment = (label, config) => {
130
120
  };
131
121
  };
132
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);
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);
123
+ const AWS = _filterInstanceProperty(_context2 = [getOptionsForEnvironment('AWS Frankfurt', config.AmazonWebServicesFrankfurt), getOptionsForEnvironment('AWS Ohio', config.AmazonWebServicesOhio)]).call(_context2, nonNullable);
134
124
  const Azure = _filterInstanceProperty(_context3 = [getOptionsForEnvironment('Azure Europe (Staging)', config.AzureEuropeStaging), getOptionsForEnvironment('Azure USA', config.AzureUnitedStates), getOptionsForEnvironment('Azure Europe', config.AzureEurope)]).call(_context3, nonNullable);
135
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);
136
126
  const ENV = [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/staff-bar",
3
- "version": "0.0.9",
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.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",
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.31.0",
32
- "@commercetools-frontend/constants": "22.31.0",
33
- "@emotion/react": "^11.11.4",
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.31.0",
44
- "@commercetools-frontend/constants": "^22.31.0",
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
  },