@spotlightjs/overlay 2.8.0 → 2.9.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.
@@ -4,3 +4,4 @@ export declare const DEFAULT_EXPERIMENTS: {
4
4
  'sentry:focus-local-events': boolean;
5
5
  };
6
6
  export declare const DEFAULT_ANCHOR = "bottomRight";
7
+ export declare const SPOTLIGHT_OPEN_CLASS_NAME = "__spotlight_open";
@@ -0,0 +1,6 @@
1
+ import { Trace } from '../../../../../types';
2
+
3
+ export declare function TraceRootTxnName({ trace, flowing }: {
4
+ trace: Trace;
5
+ flowing?: boolean;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -32,7 +32,8 @@ export type EventException = {
32
32
  value: EventExceptionValue;
33
33
  };
34
34
  export type Breadcrumb = {
35
- message: string;
35
+ data?: Record<string, unknown>;
36
+ message?: string;
36
37
  category: string;
37
38
  timestamp: string;
38
39
  type: string | 'default';
@@ -0,0 +1,3 @@
1
+ import { IntegrationTab } from '../../integration';
2
+
3
+ export declare function createTab<T>(id: string, title: string, extra?: Partial<Omit<IntegrationTab<T>, 'id' | 'title'>>): IntegrationTab<T>;
@@ -1,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import { default as React, useEffect } from 'react';
2
2
  import { default as ReactDOM } from 'react-dom/client';
3
3
 
4
- export { React, ReactDOM };
4
+ export { React, ReactDOM, useEffect };