@spotlightjs/overlay
Advanced tools
Comparing version 2.7.1 to 2.8.0
@@ -35,2 +35,37 @@ export declare const DB_SPAN_REGEX: RegExp; | ||
})[]; | ||
export declare const TRANSACTIONS_SORT_KEYS: { | ||
count: string; | ||
lastSeen: string; | ||
}; | ||
export declare const TRANSACTIONS_TABLE_HEADERS: ({ | ||
id: string; | ||
title: string; | ||
primary: boolean; | ||
sortKey?: undefined; | ||
} | { | ||
id: string; | ||
title: string; | ||
sortKey: string; | ||
primary?: undefined; | ||
})[]; | ||
export declare const TRANSACTION_SUMMARY_SORT_KEYS: { | ||
timestamp: string; | ||
duration: string; | ||
}; | ||
export declare const TRANSACTION_SUMMARY_TABLE_HEADERS: ({ | ||
id: string; | ||
title: string; | ||
primary: boolean; | ||
sortKey?: undefined; | ||
} | { | ||
id: string; | ||
title: string; | ||
sortKey: string; | ||
primary?: undefined; | ||
} | { | ||
id: string; | ||
title: string; | ||
primary?: undefined; | ||
sortKey?: undefined; | ||
})[]; | ||
export declare const QUERY_SUMMARY_SORT_KEYS: { | ||
@@ -37,0 +72,0 @@ foundIn: string; |
export declare const useSentryEnvelopes: () => { | ||
envelope: import('@sentry/types').Envelope; | ||
rawEnvelope: import('../../integration').RawEventContext; | ||
}[][]; | ||
allEnvelopes: { | ||
envelope: import('@sentry/types').Envelope; | ||
rawEnvelope: import('../../integration').RawEventContext; | ||
}[]; | ||
localEnvelopes: { | ||
envelope: import('@sentry/types').Envelope; | ||
rawEnvelope: import('../../integration').RawEventContext; | ||
}[]; | ||
}; |
import { Span } from '../types'; | ||
export declare const useSentrySpans: () => Span[][]; | ||
export declare const useSentrySpans: () => { | ||
allSpans: Span[]; | ||
localSpans: Span[]; | ||
}; |
import { Envelope } from '@sentry/types'; | ||
import { RawEventContext } from '../integration'; | ||
import { default as ErrorsTab } from './tabs/ErrorsTab'; | ||
import { default as PerformanceTab } from './tabs/PerformanceTab'; | ||
import { default as TracesTab } from './tabs/TracesTab'; | ||
import { default as ExploreTab } from './tabs/ExploreTab'; | ||
@@ -31,11 +30,3 @@ type SentryIntegrationOptions = { | ||
title: string; | ||
notificationCount: { | ||
count: number; | ||
severe?: undefined; | ||
}; | ||
content: typeof TracesTab; | ||
} | { | ||
id: string; | ||
title: string; | ||
content: typeof PerformanceTab; | ||
content: typeof ExploreTab; | ||
notificationCount?: undefined; | ||
@@ -42,0 +33,0 @@ })[]; |
@@ -40,2 +40,3 @@ import { Measurements } from '@sentry/types'; | ||
}; | ||
export type Context = Record<string, string | number>; | ||
type CommonEventAttrs = { | ||
@@ -56,3 +57,3 @@ event_id: string; | ||
tags?: Tags; | ||
extra?: Record<string, string | number>; | ||
extra?: Context; | ||
request?: Record<string, Record<string, string> | string>; | ||
@@ -63,5 +64,2 @@ modules?: Record<string, string>; | ||
}; | ||
export type Context = { | ||
[key: string]: string | number; | ||
}; | ||
export type TraceContext = { | ||
@@ -74,2 +72,3 @@ trace_id: string; | ||
status: 'ok' | string; | ||
data?: Context; | ||
}; | ||
@@ -76,0 +75,0 @@ export type Contexts = { |
@@ -5,2 +5,2 @@ export type TagProps = { | ||
}; | ||
export default function Tag({ tagKey, value }: TagProps): import("react/jsx-runtime").JSX.Element; | ||
export default function Tag({ tagKey, value }: TagProps): import("react/jsx-runtime").JSX.Element | null; |
{ | ||
"name": "@spotlightjs/overlay", | ||
"description": "The overlay of Spotlight to add debug interface to your web app.", | ||
"version": "2.7.1", | ||
"version": "2.8.0", | ||
"license": "Apache-2.0", | ||
@@ -53,3 +53,3 @@ "type": "module", | ||
"vitest": "^0.34.6", | ||
"@spotlightjs/sidecar": "1.9.1", | ||
"@spotlightjs/sidecar": "1.9.2", | ||
"@spotlightjs/tsconfig": "1.0.1" | ||
@@ -66,3 +66,2 @@ }, | ||
"test": "vitest", | ||
"test:ci": "vitest --coverage --reporter=junit --reporter=default --outputFile=junit.xml", | ||
"sample": "node _fixtures/send_to_sidecar.cjs", | ||
@@ -69,0 +68,0 @@ "yalc:publish": "yalc publish --push --sig --private", |
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 too big to display
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
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
8153119
119
36885