From 06b4463868710ed4c0893f70cb2d9e66f00736eb Mon Sep 17 00:00:00 2001 From: Daniel Griesser Date: Wed, 22 Nov 2023 22:18:10 +0100 Subject: [PATCH] Fixes #77 --- packages/core/src/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/src/index.tsx b/packages/core/src/index.tsx index 7ce3ccea..18062f3c 100644 --- a/packages/core/src/index.tsx +++ b/packages/core/src/index.tsx @@ -6,6 +6,7 @@ import spotlightEventTarget from './lib/eventTarget.ts'; import App from './App.tsx'; import { DEFAULT_ANCHOR, type Anchor } from './components/Trigger.tsx'; import globalStyles from './index.css?inline'; +import { default as sentry } from './integrations/console/index.ts'; import type { Integration } from './integrations/integration.ts'; import { initIntegrations } from './integrations/integration.ts'; import { WindowWithSpotlight } from './types.ts'; @@ -46,7 +47,7 @@ const DEFAULT_SIDECAR = 'http://localhost:8969/stream'; export async function init({ fullScreen = false, showTriggerButton = true, - integrations, + integrations = [sentry()], defaultEventId, injectImmediately = false, sidecar = DEFAULT_SIDECAR,