Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@spotlightjs/overlay

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spotlightjs/overlay - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

2

dist/src/App.d.ts
import { SpotlightOverlayOptions } from './types';
type AppProps = Omit<SpotlightOverlayOptions, 'debug' | 'injectImmediately'> & Required<Pick<SpotlightOverlayOptions, 'sidecarUrl'>>;
export default function App({ openOnInit, showTriggerButton, integrations, sidecarUrl, anchor, }: AppProps): import("react/jsx-runtime").JSX.Element;
export default function App({ openOnInit, showTriggerButton, integrations, sidecarUrl, anchor, fullPage, }: AppProps): import("react/jsx-runtime").JSX.Element;
export {};
import { Integration, IntegrationData } from '../integrations/integration';
import { NotificationCount } from '../types';
export default function Debugger({ integrations, isOpen, setOpen, integrationData, isOnline, setTriggerButtonCount: setNotificationCount, }: {
export default function Debugger({ integrations, isOpen, setOpen, integrationData, isOnline, setTriggerButtonCount: setNotificationCount, fullPage, }: {
integrations: Integration[];

@@ -10,2 +10,3 @@ isOpen: boolean;

setTriggerButtonCount: (count: NotificationCount) => void;
fullPage: boolean;
}): import("react/jsx-runtime").JSX.Element;

@@ -36,2 +36,2 @@ import { SpotlightOverlayOptions } from './types.ts';

export declare function trigger(eventName: string, payload: unknown): Promise<void>;
export declare function init({ openOnInit, showTriggerButton, injectImmediately, sidecarUrl, anchor, debug, integrations, experiments, }?: SpotlightOverlayOptions): Promise<void>;
export declare function init({ openOnInit, showTriggerButton, injectImmediately, sidecarUrl, anchor, debug, integrations, experiments, fullPage, }?: SpotlightOverlayOptions): Promise<void>;

@@ -73,2 +73,8 @@ import { type Integration } from './integrations/integration';

experiments?: ExperimentsConfig;
/**
* If set to `true`, the Spotlight overlay will be rendered in full page mode.
* It can't be closed nor minimized.
* This is useful for replaceing error page or in when directly rendered as an html page
*/
fullPage?: boolean;
};

@@ -75,0 +81,0 @@ export type NotificationCount = {

{
"name": "@spotlightjs/overlay",
"description": "The overlay of Spotlight to add debug interface to your web app.",
"version": "1.0.1",
"version": "1.1.0",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "type": "module",

Sorry, the diff of this file is too big to display

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 not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc