@spotlightjs/overlay
Advanced tools
Comparing version 1.7.0 to 1.8.0
import { ReactNode } from 'react'; | ||
declare const Tooltip: ({ content, position, children, }: { | ||
content: string | ReactNode; | ||
position?: "top" | "bottom" | "left" | "right" | undefined; | ||
position?: "left" | "right" | "top" | "bottom" | undefined; | ||
children: ReactNode; | ||
}) => import("react/jsx-runtime").JSX.Element; | ||
export default Tooltip; |
import { Envelope } from '@sentry/types'; | ||
import { RawEventContext } from '../../../integrations/integration'; | ||
import { Sdk, SentryEvent, Span, Trace } from '../types'; | ||
@@ -16,2 +17,6 @@ type OnlineSubscription = ['online', (status: boolean) => void]; | ||
protected localTraceIds: Set<string>; | ||
protected envelopes: { | ||
envelope: Envelope; | ||
rawEnvelope: RawEventContext; | ||
}[]; | ||
protected subscribers: Map<string, Subscription>; | ||
@@ -22,3 +27,6 @@ constructor(initial?: (SentryEvent & { | ||
inferSdkFromEvent(event: SentryEvent): Sdk; | ||
pushEnvelope(envelope: Envelope): void; | ||
pushEnvelope({ envelope, rawEnvelope }: { | ||
envelope: Envelope; | ||
rawEnvelope: RawEventContext; | ||
}): void; | ||
pushEvent(event: SentryEvent & { | ||
@@ -30,2 +38,6 @@ event_id?: string; | ||
getSdks(): Sdk[]; | ||
getEnvelopes(): { | ||
envelope: Envelope; | ||
rawEnvelope: RawEventContext; | ||
}[]; | ||
getEventById(id: string): SentryEvent | undefined; | ||
@@ -32,0 +44,0 @@ getTraceById(id: string): Trace; |
@@ -16,2 +16,3 @@ import type { Envelope } from '@sentry/types'; | ||
event: Envelope; | ||
rawEvent: RawEventContext; | ||
}; | ||
@@ -42,5 +43,6 @@ tabs: () => ({ | ||
}; | ||
export declare function processEnvelope({ data }: RawEventContext): { | ||
export declare function processEnvelope(rawEvent: RawEventContext): { | ||
event: Envelope; | ||
rawEvent: RawEventContext; | ||
}; | ||
export {}; |
{ | ||
"name": "@spotlightjs/overlay", | ||
"description": "The overlay of Spotlight to add debug interface to your web app.", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"license": "Apache-2.0", | ||
@@ -52,2 +52,3 @@ "type": "module", | ||
"@types/beautify": "^0.0.3", | ||
"react-json-view": "^1.21.3", | ||
"@spotlightjs/tsconfig": "1.0.0" | ||
@@ -54,0 +55,0 @@ }, |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
98
10997231
33
46872
5