@spotlightjs/overlay 2.10.0 → 2.11.0

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.
@@ -2,12 +2,13 @@ import { SentryEvent } from '../types';
2
2
  import { ComponentPropsWithoutRef } from 'react';
3
3
 
4
4
  type Platform = 'python' | 'javascript' | 'node' | 'ruby' | 'csharp' | string;
5
- export default function PlatformIcon({ platform, event, size, width, height, title, ...props }: ComponentPropsWithoutRef<'svg'> & {
5
+ type PlatformIconProps = ComponentPropsWithoutRef<'svg'> & {
6
6
  size?: number;
7
7
  platform?: Platform;
8
8
  event?: SentryEvent;
9
9
  height?: number;
10
10
  width?: number;
11
11
  title?: string;
12
- }): import("react/jsx-runtime").JSX.Element;
12
+ };
13
+ export default function PlatformIcon({ platform, event, size, title, ...props }: PlatformIconProps): import("react/jsx-runtime").JSX.Element;
13
14
  export {};
@@ -1,4 +1,3 @@
1
- import { Envelope } from '@sentry/types';
2
1
  import { RawEventContext } from '../integration';
3
2
  import { default as ErrorsTab } from './tabs/ErrorsTab';
4
3
  import { default as ExploreTab } from './tabs/ExploreTab';
@@ -13,7 +12,7 @@ export default function sentryIntegration(options?: SentryIntegrationOptions): {
13
12
  forwardedContentType: string[];
14
13
  setup: ({ open, sidecarUrl }: import('../integration').SpotlightContext) => () => void;
15
14
  processEvent: (event: RawEventContext) => {
16
- event: Envelope;
15
+ event: import('@sentry/core').Envelope;
17
16
  rawEvent: RawEventContext;
18
17
  };
19
18
  tabs: () => ({
@@ -39,7 +38,7 @@ export default function sentryIntegration(options?: SentryIntegrationOptions): {
39
38
  * @returns parsed envelope
40
39
  */
41
40
  export declare function processEnvelope(rawEvent: RawEventContext): {
42
- event: Envelope;
41
+ event: import('@sentry/core').Envelope;
43
42
  rawEvent: RawEventContext;
44
43
  };
45
44
  export {};
@@ -14,6 +14,6 @@ export declare const spotlightIntegration: () => {
14
14
  name: string;
15
15
  setupOnce: () => void;
16
16
  setup: () => void;
17
- processEvent: (event: Event) => Event | null;
17
+ processEvent: (event: Event) => import('@sentry/core').Event | null;
18
18
  afterAllSetup: (client: Client) => () => void;
19
19
  };