@spotlightjs/overlay 0.0.16
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/LICENSE +13 -0
- package/dist/App.d.ts +12 -0
- package/dist/components/Debugger.d.ts +9 -0
- package/dist/components/Overview.d.ts +5 -0
- package/dist/components/Tabs.d.ts +14 -0
- package/dist/components/Trigger.d.ts +9 -0
- package/dist/index.d.ts +28 -0
- package/dist/integrations/console/console-tab.d.ts +6 -0
- package/dist/integrations/console/index.d.ts +18 -0
- package/dist/integrations/console/types.d.ts +7 -0
- package/dist/integrations/integration.d.ts +99 -0
- package/dist/integrations/sentry/components/DateTime.d.ts +4 -0
- package/dist/integrations/sentry/components/EventBreadcrumbs.d.ts +4 -0
- package/dist/integrations/sentry/components/EventContexts.d.ts +4 -0
- package/dist/integrations/sentry/components/EventDetails.d.ts +1 -0
- package/dist/integrations/sentry/components/EventList.d.ts +1 -0
- package/dist/integrations/sentry/components/Events/Error/Frame.d.ts +5 -0
- package/dist/integrations/sentry/components/Events/Error.d.ts +10 -0
- package/dist/integrations/sentry/components/PlatformIcon.d.ts +9 -0
- package/dist/integrations/sentry/components/SdkList.d.ts +1 -0
- package/dist/integrations/sentry/components/SpanDetails.d.ts +7 -0
- package/dist/integrations/sentry/components/SpanTree.d.ts +8 -0
- package/dist/integrations/sentry/components/Time.d.ts +4 -0
- package/dist/integrations/sentry/components/TimeSince.d.ts +4 -0
- package/dist/integrations/sentry/components/TraceDetails.d.ts +1 -0
- package/dist/integrations/sentry/components/TraceList.d.ts +1 -0
- package/dist/integrations/sentry/data/sentryDataCache.d.ts +33 -0
- package/dist/integrations/sentry/data/sentryDataCache.test.d.ts +1 -0
- package/dist/integrations/sentry/data/sentryEventsContext.d.ts +7 -0
- package/dist/integrations/sentry/data/useSentryEvents.d.ts +1 -0
- package/dist/integrations/sentry/data/useSentrySdks.d.ts +1 -0
- package/dist/integrations/sentry/data/useSentryTraces.d.ts +1 -0
- package/dist/integrations/sentry/index.d.ts +28 -0
- package/dist/integrations/sentry/index.test.d.ts +1 -0
- package/dist/integrations/sentry/sentry-integration.d.ts +5 -0
- package/dist/integrations/sentry/tabs/ErrorsTab.d.ts +1 -0
- package/dist/integrations/sentry/tabs/SdksTab.d.ts +1 -0
- package/dist/integrations/sentry/tabs/TracesTab.d.ts +1 -0
- package/dist/integrations/sentry/types.d.ts +118 -0
- package/dist/integrations/sentry/utils/duration.d.ts +2 -0
- package/dist/integrations/sentry/utils/traces.d.ts +2 -0
- package/dist/integrations/sentry/utils/traces.test.d.ts +1 -0
- package/dist/integrations/vite-inspect/index.d.ts +10 -0
- package/dist/integrations/vite-inspect/vite-inspect.d.ts +1 -0
- package/dist/lib/classNames.d.ts +1 -0
- package/dist/lib/eventTarget.d.ts +13 -0
- package/dist/lib/logger.d.ts +3 -0
- package/dist/lib/useKeyPress.d.ts +6 -0
- package/dist/lib/uuid.d.ts +1 -0
- package/dist/sentry-spotlight.d.ts +1 -0
- package/dist/sentry-spotlight.js +35566 -0
- package/dist/sentry-spotlight.umd.cjs +295 -0
- package/dist/sidecar.d.ts +4 -0
- package/dist/types.d.ts +9 -0
- package/package.json +62 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Integration, IntegrationData } from './integrations/integration';
|
|
3
|
+
import { TriggerButtonCount } from './types';
|
|
4
|
+
export declare function connectToSidecar(sidecar: string, contentTypeToIntegrations: Map<string, Integration<unknown>[]>, setIntegrationData: React.Dispatch<React.SetStateAction<IntegrationData<unknown>>>, setOnline: React.Dispatch<React.SetStateAction<boolean>>, setTriggerButtonCount: React.Dispatch<React.SetStateAction<TriggerButtonCount>>): () => void;
|
package/dist/types.d.ts
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@spotlightjs/overlay",
|
|
3
|
+
"description": "The overlay of Spotlight to add debug interface to your web app.",
|
|
4
|
+
"version": "0.0.16",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"main": "./dist/sentry-spotlight.js",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/sentry-spotlight.js",
|
|
14
|
+
"require": "./dist/sentry-spotlight.umd.cjs"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@fontsource/raleway": "^5.0.8",
|
|
19
|
+
"@sentry/utils": "^7.77.0",
|
|
20
|
+
"autoprefixer": "^10.4.15",
|
|
21
|
+
"dayjs": "^1.11.9",
|
|
22
|
+
"platformicons": "^5.6.2",
|
|
23
|
+
"postcss": "^8.4.28",
|
|
24
|
+
"react": "^18.2.0",
|
|
25
|
+
"react-dom": "^18.2.0",
|
|
26
|
+
"react-router-dom": "^6.18.0",
|
|
27
|
+
"sql-formatter": "^12.2.4",
|
|
28
|
+
"tailwindcss": "^3.3.3",
|
|
29
|
+
"usehooks-ts": "^2.9.1"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@sentry/types": "^7.77.0",
|
|
33
|
+
"@tailwindcss/forms": "^0.5.4",
|
|
34
|
+
"@types/react": "^18.2.37",
|
|
35
|
+
"@types/react-dom": "^18.2.15",
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
37
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
38
|
+
"@vitejs/plugin-react": "^4.0.3",
|
|
39
|
+
"@vitest/coverage-v8": "^0.34.6",
|
|
40
|
+
"eslint": "^8.45.0",
|
|
41
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
42
|
+
"eslint-plugin-react-refresh": "^0.4.3",
|
|
43
|
+
"typescript": "^5.0.2",
|
|
44
|
+
"vite": "^4.4.5",
|
|
45
|
+
"vite-plugin-dts": "^3.5.2",
|
|
46
|
+
"vite-plugin-svgr": "^3.2.0",
|
|
47
|
+
"vitest": "^0.34.6",
|
|
48
|
+
"@spotlightjs/tsconfig": "0.0.1"
|
|
49
|
+
},
|
|
50
|
+
"volta": {
|
|
51
|
+
"extends": "../../package.json"
|
|
52
|
+
},
|
|
53
|
+
"scripts": {
|
|
54
|
+
"dev": "vite build --watch",
|
|
55
|
+
"build": "tsc && vite build",
|
|
56
|
+
"build:watch": "vite build --watch",
|
|
57
|
+
"preview": "vite preview",
|
|
58
|
+
"test": "vitest",
|
|
59
|
+
"test:ci": "vitest --coverage --reporter=junit --reporter=default --outputFile=junit.xml",
|
|
60
|
+
"yalc:publish": "yalc publish --push --sig --private"
|
|
61
|
+
}
|
|
62
|
+
}
|