@spotlightjs/overlay 4.0.0 → 4.2.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.
package/dist/App.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  type AppProps = {
2
2
  sidecarUrl: string;
3
- showClearEventsButton?: boolean;
4
3
  };
5
- export default function App({ sidecarUrl, showClearEventsButton }: AppProps): import("react/jsx-runtime").JSX.Element;
4
+ export default function App({ sidecarUrl }: AppProps): import("react/jsx-runtime").JSX.Element;
6
5
  export {};
package/dist/index.d.ts CHANGED
@@ -15,7 +15,10 @@ export declare function sendEvent(contentType: string, data: string | Uint8Array
15
15
  export declare function onSevereEvent(cb: (count: number) => void): Promise<void>;
16
16
  export type SpotlightInitOptions = {
17
17
  sidecarUrl?: string;
18
- showClearEventsButton?: boolean;
19
18
  debug?: boolean;
20
19
  };
21
- export declare function init(initOptions?: SpotlightInitOptions): Promise<void>;
20
+ /**
21
+ * @deprecated This function is deprecated and should not be used.
22
+ */
23
+ export declare function init(_initOptions?: SpotlightInitOptions): Promise<void>;
24
+ export declare function _init(initOptions?: SpotlightInitOptions): Promise<void>;
@@ -0,0 +1 @@
1
+ export declare function getDataFromServerTiming(name: string): string | undefined;