@spotlightjs/overlay 2.9.0 → 2.10.1

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/sidecar.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { default as React } from 'react';
2
-
3
- export declare function connectToSidecar(sidecarUrl: string, contentTypeListeners: Record<string, (event: MessageEvent) => void>, setOnline: React.Dispatch<React.SetStateAction<boolean>>): () => void;
1
+ export declare function connectToSidecar(sidecarUrl: string, contentTypeListeners: Record<string, (event: {
2
+ data: string | Uint8Array;
3
+ }) => void>, setOnline: (online: boolean) => void): () => void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spotlightjs/overlay",
3
3
  "description": "The overlay of Spotlight to add debug interface to your web app.",
4
- "version": "2.9.0",
4
+ "version": "2.10.1",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "files": [
@@ -19,9 +19,10 @@
19
19
  "devDependencies": {
20
20
  "@fontsource/raleway": "^5.1.0",
21
21
  "@microlink/react-json-view": "^1.23.4",
22
- "@sentry/react": "^8.43.0",
23
- "@sentry/types": "^8.33.1",
24
- "@sentry/utils": "^8.33.1",
22
+ "@sentry/browser": "^8.51.0",
23
+ "@sentry/react": "^8.51.0",
24
+ "@sentry/types": "^8.51.0",
25
+ "@sentry/core": "^8.51.0",
25
26
  "@types/beautify": "^0.0.3",
26
27
  "@types/react": "^18.3.11",
27
28
  "@types/react-dom": "^18.3.0",
@@ -47,18 +48,18 @@
47
48
  "tailwindcss": "^3.4.13",
48
49
  "typescript": "^5.6.2",
49
50
  "usehooks-ts": "^2.16.0",
50
- "vite": "^5.4.11",
51
+ "vite": "^5.4.12",
51
52
  "vite-plugin-dts": "^3.9.1",
52
53
  "vite-plugin-svgr": "^3.3.0",
53
54
  "vitest": "^0.34.6",
54
- "@spotlightjs/sidecar": "1.10.0",
55
+ "@spotlightjs/sidecar": "1.11.1",
55
56
  "@spotlightjs/tsconfig": "1.0.1"
56
57
  },
57
58
  "volta": {
58
59
  "extends": "../../package.json"
59
60
  },
60
61
  "scripts": {
61
- "dev": "vite build --watch",
62
+ "dev": "vite serve --config=vite.dev.config.ts",
62
63
  "build": "NODE_ENV=production tsc && vite build",
63
64
  "build:watch": "vite build --watch",
64
65
  "preview": "vite preview",
File without changes
File without changes
File without changes