@localstack/appinspector-ui 1.0.145 → 1.0.146

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.
package/dist/index.cjs CHANGED
@@ -15112,7 +15112,7 @@ var ICONS_MAP = {
15112
15112
  };
15113
15113
  var AwsServiceIconBase = (0, import_react33.memo)((props) => {
15114
15114
  const Icon = ICONS_MAP[props.service];
15115
- return Icon ? /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Icon, { ...props }) : void 0;
15115
+ return Icon ? /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Icon, { ...props }) : null;
15116
15116
  });
15117
15117
  var supportedServiceNames = Object.keys(ICONS_MAP);
15118
15118
 
@@ -16643,17 +16643,6 @@ var import_react44 = require("react");
16643
16643
  // src/api/client.ts
16644
16644
  var import_semver2 = __toESM(require_semver2(), 1);
16645
16645
 
16646
- // src/utils/time.ts
16647
- function unixNanoToDate(unixNanoString) {
16648
- const milliseconds = unixNanoToMilliseconds(unixNanoString);
16649
- if (!milliseconds) return void 0;
16650
- return new Date(milliseconds);
16651
- }
16652
- function unixNanoToMilliseconds(unixNanoString) {
16653
- if (!unixNanoString) return void 0;
16654
- return Number(BigInt(unixNanoString) / BigInt("1000000"));
16655
- }
16656
-
16657
16646
  // src/constants/error-messages.ts
16658
16647
  var ERROR_MESSAGES = {
16659
16648
  APP_INSPECTOR_DISABLED: "App Inspector is currently disabled.",
@@ -16707,6 +16696,17 @@ var createScopedLogger = (scope) => ({
16707
16696
  }
16708
16697
  });
16709
16698
 
16699
+ // src/utils/time.ts
16700
+ function unixNanoToDate(unixNanoString) {
16701
+ const milliseconds = unixNanoToMilliseconds(unixNanoString);
16702
+ if (!milliseconds) return void 0;
16703
+ return new Date(milliseconds);
16704
+ }
16705
+ function unixNanoToMilliseconds(unixNanoString) {
16706
+ if (!unixNanoString) return void 0;
16707
+ return Number(BigInt(unixNanoString) / BigInt("1000000"));
16708
+ }
16709
+
16710
16710
  // src/api/client.ts
16711
16711
  var apiLogger = createScopedLogger("API");
16712
16712
  var analyticsLogger = createScopedLogger("ANALYTICS");