@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 +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15128,7 +15128,7 @@ var ICONS_MAP = {
|
|
|
15128
15128
|
};
|
|
15129
15129
|
var AwsServiceIconBase = memo5((props) => {
|
|
15130
15130
|
const Icon = ICONS_MAP[props.service];
|
|
15131
|
-
return Icon ? /* @__PURE__ */ jsx121(Icon, { ...props }) :
|
|
15131
|
+
return Icon ? /* @__PURE__ */ jsx121(Icon, { ...props }) : null;
|
|
15132
15132
|
});
|
|
15133
15133
|
var supportedServiceNames = Object.keys(ICONS_MAP);
|
|
15134
15134
|
|
|
@@ -16659,17 +16659,6 @@ import { useCallback as useCallback5, useMemo as useMemo5 } from "react";
|
|
|
16659
16659
|
// src/api/client.ts
|
|
16660
16660
|
var import_semver2 = __toESM(require_semver2(), 1);
|
|
16661
16661
|
|
|
16662
|
-
// src/utils/time.ts
|
|
16663
|
-
function unixNanoToDate(unixNanoString) {
|
|
16664
|
-
const milliseconds = unixNanoToMilliseconds(unixNanoString);
|
|
16665
|
-
if (!milliseconds) return void 0;
|
|
16666
|
-
return new Date(milliseconds);
|
|
16667
|
-
}
|
|
16668
|
-
function unixNanoToMilliseconds(unixNanoString) {
|
|
16669
|
-
if (!unixNanoString) return void 0;
|
|
16670
|
-
return Number(BigInt(unixNanoString) / BigInt("1000000"));
|
|
16671
|
-
}
|
|
16672
|
-
|
|
16673
16662
|
// src/constants/error-messages.ts
|
|
16674
16663
|
var ERROR_MESSAGES = {
|
|
16675
16664
|
APP_INSPECTOR_DISABLED: "App Inspector is currently disabled.",
|
|
@@ -16723,6 +16712,17 @@ var createScopedLogger = (scope) => ({
|
|
|
16723
16712
|
}
|
|
16724
16713
|
});
|
|
16725
16714
|
|
|
16715
|
+
// src/utils/time.ts
|
|
16716
|
+
function unixNanoToDate(unixNanoString) {
|
|
16717
|
+
const milliseconds = unixNanoToMilliseconds(unixNanoString);
|
|
16718
|
+
if (!milliseconds) return void 0;
|
|
16719
|
+
return new Date(milliseconds);
|
|
16720
|
+
}
|
|
16721
|
+
function unixNanoToMilliseconds(unixNanoString) {
|
|
16722
|
+
if (!unixNanoString) return void 0;
|
|
16723
|
+
return Number(BigInt(unixNanoString) / BigInt("1000000"));
|
|
16724
|
+
}
|
|
16725
|
+
|
|
16726
16726
|
// src/api/client.ts
|
|
16727
16727
|
var apiLogger = createScopedLogger("API");
|
|
16728
16728
|
var analyticsLogger = createScopedLogger("ANALYTICS");
|