@spotlightjs/overlay 2.5.0 → 2.5.2

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.
@@ -1,5 +1,12 @@
1
1
  import ConsoleTab from './console-tab';
2
- import { ConsoleMessage } from './types';
2
+ import type { ConsoleMessage } from './types';
3
+ /**
4
+ * This integration is meant to run on the same page where
5
+ * the Spotlight UI is running. For standalone UI cases such
6
+ * as the Electron app, we should publish a separate version
7
+ * that takes in the sidecar URL.
8
+ * @returns Integration Console integration for Spotlight
9
+ */
3
10
  export default function consoleIntegration(): {
4
11
  name: string;
5
12
  forwardedContentType: string[];
package/dist/lib/db.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export declare const MAX_AGE: number;
2
+ export declare const MAX_ITEMS = 1000;
2
3
  export declare const DB_NAME = "SentrySpotlight";
3
4
  export declare const OBJECT_STORE_NAME = "events";
4
5
  export declare const DB_VERSION = 2;
@@ -1,3 +1,4 @@
1
+ export declare const SPOTLIGHT_PREFIX = "\uD83D\uDD0E [Spotlight]";
1
2
  export declare function activateLogger(): void;
2
3
  export declare function deactivateLogger(): void;
3
4
  export declare function log(...args: unknown[]): void;