@commercetools-frontend/staff-bar 2.2.2 → 2.2.3

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-8d4bb2b2.cjs.dev.js'); }));
75
+ const StaffBarComponent = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./staff-bar-b5c3b96e.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-b40e3c40.cjs.prod.js'); }));
75
+ const StaffBarComponent = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./staff-bar-bb942f6d.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-08d06168.esm.js'));
59
+ const StaffBarComponent = /*#__PURE__*/lazy(() => import('./staff-bar-0a67795b.esm.js'));
60
60
  function StaffBar(props) {
61
61
  if (process.env.NODE_ENV === 'test' || window.Cypress && !window.sessionStorage?.enableStaffBarForCypress) {
62
62
  return null;
@@ -14,16 +14,6 @@
14
14
  "url": "https://mc.us-east-2.aws.commercetools.com"
15
15
  }
16
16
  },
17
- "AmazonWebServicesVolkswagen": {
18
- "MerchantCenterFrontend": {
19
- "url": "https://mc.vw.eu-central-1.aws.commercetools.com"
20
- }
21
- },
22
- "AmazonWebServicesVolkswagenStaging": {
23
- "MerchantCenterFrontend": {
24
- "url": "https://mc.vw-stage.eu-central-1.aws.commercetools.com"
25
- }
26
- },
27
17
  "GoogleCloudPlatformAustralia": {
28
18
  "MerchantCenterFrontend": {
29
19
  "url": "https://mc.australia-southeast1.gcp.commercetools.com"
@@ -54,16 +54,6 @@ var config = {
54
54
  url: "https://mc.us-east-2.aws.commercetools.com"
55
55
  }
56
56
  },
57
- AmazonWebServicesVolkswagen: {
58
- MerchantCenterFrontend: {
59
- url: "https://mc.vw.eu-central-1.aws.commercetools.com"
60
- }
61
- },
62
- AmazonWebServicesVolkswagenStaging: {
63
- MerchantCenterFrontend: {
64
- url: "https://mc.vw-stage.eu-central-1.aws.commercetools.com"
65
- }
66
- },
67
57
  GoogleCloudPlatformAustralia: {
68
58
  MerchantCenterFrontend: {
69
59
  url: "https://mc.australia-southeast1.gcp.commercetools.com"
@@ -113,7 +103,7 @@ const getOptionsForEnvironment = (label, config) => {
113
103
  };
114
104
  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);
115
105
  const AWS = _filterInstanceProperty(_context2 = [getOptionsForEnvironment('AWS EU', config.AmazonWebServicesEurope), getOptionsForEnvironment('AWS US', config.AmazonWebServicesUnitedStates)]).call(_context2, nonNullable);
116
- const PRIVATE = _filterInstanceProperty(_context3 = [getOptionsForEnvironment('AWS AT&T', config.AmazonWebServicesATT), getOptionsForEnvironment('AWS Volkswagen', config.AmazonWebServicesVolkswagen), getOptionsForEnvironment('AWS Volkswagen (Staging)', config.AmazonWebServicesVolkswagenStaging)]).call(_context3, nonNullable);
106
+ const PRIVATE = _filterInstanceProperty(_context3 = [getOptionsForEnvironment('AWS AT&T', config.AmazonWebServicesATT)]).call(_context3, nonNullable);
117
107
  const ENV = [{
118
108
  options: GCP,
119
109
  group: 'GCP'
@@ -80,16 +80,6 @@ var config = {
80
80
  url: "https://mc.us-east-2.aws.commercetools.com"
81
81
  }
82
82
  },
83
- AmazonWebServicesVolkswagen: {
84
- MerchantCenterFrontend: {
85
- url: "https://mc.vw.eu-central-1.aws.commercetools.com"
86
- }
87
- },
88
- AmazonWebServicesVolkswagenStaging: {
89
- MerchantCenterFrontend: {
90
- url: "https://mc.vw-stage.eu-central-1.aws.commercetools.com"
91
- }
92
- },
93
83
  GoogleCloudPlatformAustralia: {
94
84
  MerchantCenterFrontend: {
95
85
  url: "https://mc.australia-southeast1.gcp.commercetools.com"
@@ -139,7 +129,7 @@ const getOptionsForEnvironment = (label, config) => {
139
129
  };
140
130
  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);
141
131
  const AWS = _filterInstanceProperty__default["default"](_context2 = [getOptionsForEnvironment('AWS EU', config.AmazonWebServicesEurope), getOptionsForEnvironment('AWS US', config.AmazonWebServicesUnitedStates)]).call(_context2, nonNullable);
142
- const PRIVATE = _filterInstanceProperty__default["default"](_context3 = [getOptionsForEnvironment('AWS AT&T', config.AmazonWebServicesATT), getOptionsForEnvironment('AWS Volkswagen', config.AmazonWebServicesVolkswagen), getOptionsForEnvironment('AWS Volkswagen (Staging)', config.AmazonWebServicesVolkswagenStaging)]).call(_context3, nonNullable);
132
+ const PRIVATE = _filterInstanceProperty__default["default"](_context3 = [getOptionsForEnvironment('AWS AT&T', config.AmazonWebServicesATT)]).call(_context3, nonNullable);
143
133
  const ENV = [{
144
134
  options: GCP,
145
135
  group: 'GCP'
@@ -80,16 +80,6 @@ var config = {
80
80
  url: "https://mc.us-east-2.aws.commercetools.com"
81
81
  }
82
82
  },
83
- AmazonWebServicesVolkswagen: {
84
- MerchantCenterFrontend: {
85
- url: "https://mc.vw.eu-central-1.aws.commercetools.com"
86
- }
87
- },
88
- AmazonWebServicesVolkswagenStaging: {
89
- MerchantCenterFrontend: {
90
- url: "https://mc.vw-stage.eu-central-1.aws.commercetools.com"
91
- }
92
- },
93
83
  GoogleCloudPlatformAustralia: {
94
84
  MerchantCenterFrontend: {
95
85
  url: "https://mc.australia-southeast1.gcp.commercetools.com"
@@ -139,7 +129,7 @@ const getOptionsForEnvironment = (label, config) => {
139
129
  };
140
130
  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);
141
131
  const AWS = _filterInstanceProperty__default["default"](_context2 = [getOptionsForEnvironment('AWS EU', config.AmazonWebServicesEurope), getOptionsForEnvironment('AWS US', config.AmazonWebServicesUnitedStates)]).call(_context2, nonNullable);
142
- const PRIVATE = _filterInstanceProperty__default["default"](_context3 = [getOptionsForEnvironment('AWS AT&T', config.AmazonWebServicesATT), getOptionsForEnvironment('AWS Volkswagen', config.AmazonWebServicesVolkswagen), getOptionsForEnvironment('AWS Volkswagen (Staging)', config.AmazonWebServicesVolkswagenStaging)]).call(_context3, nonNullable);
132
+ const PRIVATE = _filterInstanceProperty__default["default"](_context3 = [getOptionsForEnvironment('AWS AT&T', config.AmazonWebServicesATT)]).call(_context3, nonNullable);
143
133
  const ENV = [{
144
134
  options: GCP,
145
135
  group: 'GCP'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/staff-bar",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
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",
@@ -16,7 +16,7 @@
16
16
  "@apollo/client": "3.12.4",
17
17
  "@babel/core": "^7.22.11",
18
18
  "@babel/runtime-corejs3": "^7.21.0",
19
- "@commercetools-frontend/l10n": "24.11.0",
19
+ "@commercetools-frontend/l10n": "24.13.0",
20
20
  "@commercetools-frontend/ui-kit": "20.3.0",
21
21
  "@flopflip/types": "14.0.1",
22
22
  "lodash": "4.17.21",
@@ -24,19 +24,19 @@
24
24
  "typescript": "5.2.2"
25
25
  },
26
26
  "devDependencies": {
27
- "@commercetools-frontend/application-components": "24.11.0",
28
- "@commercetools-frontend/application-shell": "24.11.0",
29
- "@commercetools-frontend/application-shell-connectors": "24.11.0",
30
- "@commercetools-frontend/constants": "24.11.0",
27
+ "@commercetools-frontend/application-components": "24.13.0",
28
+ "@commercetools-frontend/application-shell": "24.13.0",
29
+ "@commercetools-frontend/application-shell-connectors": "24.13.0",
30
+ "@commercetools-frontend/constants": "24.13.0",
31
31
  "@emotion/react": "11.14.0",
32
32
  "@manypkg/find-root": "2.2.3",
33
- "@types/react": "19.2.2",
34
- "@types/react-dom": "19.1.9",
33
+ "@types/react": "19.2.7",
34
+ "@types/react-dom": "19.2.3",
35
35
  "@types/react-router-dom": "5.3.3",
36
36
  "prettier": "2.8.8",
37
37
  "rcfile": "1.0.3",
38
- "react": "19.2.0",
39
- "react-dom": "19.2.0",
38
+ "react": "19.2.3",
39
+ "react-dom": "19.2.3",
40
40
  "react-router-dom": "5.3.4"
41
41
  },
42
42
  "peerDependencies": {