Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@spotlightjs/overlay

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spotlightjs/overlay - npm Package Compare versions

Comparing version 1.2.3 to 1.3.0

dist/src/integrations/sentry/components/Performance/PerformanceTabDetails.d.ts

4

dist/src/components/SidePanel.d.ts
import { type ReactNode } from 'react';
import { SidePanelProps } from '../types';
export declare function SidePanelHeader({ title, subtitle, backTo, }: {
export declare function SidePanelHeader({ title, subtitle, backto, }: {
title: ReactNode;
subtitle?: ReactNode;
backTo: string;
backto: string;
}): import("react/jsx-runtime").JSX.Element;
export default function SidePanel(props: SidePanelProps): import("react/jsx-runtime").JSX.Element;
import type { Envelope } from '@sentry/types';
import type { RawEventContext } from '../integration';
import ErrorsTab from './tabs/ErrorsTab';
import SdksTab from './tabs/SdksTab';
import PerformanceTab from './tabs/PerformanceTab';
import TracesTab from './tabs/TracesTab';

@@ -36,3 +36,3 @@ type SentryIntegrationOptions = {

title: string;
content: typeof SdksTab;
content: typeof PerformanceTab;
notificationCount?: undefined;

@@ -39,0 +39,0 @@ })[];

@@ -0,2 +1,21 @@

export declare const SECOND = 1000;
export declare const MINUTE = 60000;
export declare const HOUR = 3600000;
export declare const DAY = 86400000;
export declare const WEEK = 604800000;
export declare const MONTH = 2629800000;
export declare const YEAR = 31557600000;
export declare const DURATION_LABELS: {
yr: string;
mo: string;
wk: string;
d: string;
hr: string;
min: string;
s: string;
ms: string;
};
export declare function getDuration(start: string | number, end: string | number): number;
export declare function getSpanDurationClassName(duration: number): "text-red-400" | "text-orange-400" | "text-yellow-400" | undefined;
export declare function getFormattedNumber(num: number): string;
export declare function getFormattedDuration(duration: number): string;

@@ -98,3 +98,3 @@ import { ComponentPropsWithoutRef } from 'react';

export type SidePanelProps = Omit<ComponentPropsWithoutRef<'div'>, 'className'> & {
backTo: string;
backto: string;
};
{
"name": "@spotlightjs/overlay",
"description": "The overlay of Spotlight to add debug interface to your web app.",
"version": "1.2.3",
"version": "1.3.0",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "type": "module",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc