Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat: Add fathom analytics for event tracking + Sentry for error logging

Richie McIlroy096a629c978e
diff --git a/apps/desktop/.gitignore b/apps/desktop/.gitignore
index 90f1072a5..e9332f2dd 100644
--- a/apps/desktop/.gitignore
+++ b/apps/desktop/.gitignore
@@ -33,4 +33,6 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
-pnpm-lock.yaml
\ No newline at end of file
+pnpm-lock.yaml
+# Sentry Config File
+.sentryclirc
diff --git a/apps/desktop/next.config.mjs b/apps/desktop/next.config.mjs
index e089be570..5c0746e85 100644
--- a/apps/desktop/next.config.mjs
+++ b/apps/desktop/next.config.mjs
@@ -1,3 +1,4 @@
+import {withSentryConfig} from "@sentry/nextjs";
/** @type {import('next').NextConfig} */
import("dotenv").then(({ config }) => config({ path: "../../.env" }));
@@ -29,4 +30,36 @@ const nextConfig = {
},
};
-export default nextConfig;
+export default withSentryConfig(nextConfig, {
+// For all available options, see:
+// https://github.com/getsentry/sentry-webpack-plugin#options
+
+// Suppresses source map uploading logs during build
+silent: true,
+org: "cap-s2",
+project: "cap-desktop-next",
+}, {
+// For all available options, see:
+// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
+
+// Upload a larger set of source maps for prettier stack traces (increases build time)
+widenClientFileUpload: true,
+
+// Transpiles SDK to be compatible with IE11 (increases bundle size)
+transpileClientSDK: true,
+
+// Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load)
+tunnelRoute: "/monitoring",
+
+// Hides source maps from generated client bundles
+hideSourceMaps: true,
+
+// Automatically tree-shake Sentry logger statements to reduce bundle size
+disableLogger: true,
+
+// Enables automatic instrumentation of Vercel Cron Monitors.
+// See the following for more information:
+// https://docs.sentry.io/product/crons/
+// https://vercel.com/docs/cron-jobs
+automaticVercelMonitors: true,
+});
\ No newline at end of file
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index fff5cfb06..f404a4ef9 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -11,6 +11,7 @@
"@cap/database": "workspace:*",
"@cap/ui": "workspace:*",
"@cap/utils": "workspace:*",
+ "@sentry/nextjs": "^7.105.0",
"@tauri-apps/api": "^1.5.0",
"@tensorflow-models/body-pix": "^2.2.1",
"@tensorflow/tfjs": "^4.17.0",
diff --git a/apps/desktop/sentry.client.config.ts b/apps/desktop/sentry.client.config.ts
new file mode 100644
index 000000000..e32aea6c3
--- /dev/null
+++ b/apps/desktop/sentry.client.config.ts
@@ -0,0 +1,30 @@
+// This file configures the initialization of Sentry on the client.
+// The config you add here will be used whenever a users loads a page in their browser.
+// https://docs.sentry.io/platforms/javascript/guides/nextjs/
+
+import * as Sentry from "@sentry/nextjs";
+
+Sentry.init({
+ dsn: "https://2914be7e28c143128760d6b70d9701b4@o4506859771527168.ingest.us.sentry.io/4506859847548928",
+
+ // Adjust this value in production, or use tracesSampler for greater control
+ tracesSampleRate: 1,
+
+ // Setting this option to true will print useful information to the console while you're setting up Sentry.
+ debug: false,
+
+ replaysOnErrorSampleRate: 1.0,
+
+ // This sets the sample rate to be 10%. You may want this to be 100% while
+ // in development and sample at a lower rate in production
+ replaysSessionSampleRate: 0.1,
+
+ // You can remove this option if you're not planning to use the Sentry Session Replay feature:
+ integrations: [
+ Sentry.replayIntegration({
+ // Additional Replay configuration goes in here, for example:
+ maskAllText: true,
+ blockAllMedia: true,
+ }),
+ ],
+});
diff --git a/apps/desktop/sentry.edge.config.ts b/apps/desktop/sentry.edge.config.ts
new file mode 100644
index 000000000..4902023c0
--- /dev/null
+++ b/apps/desktop/sentry.edge.config.ts
@@ -0,0 +1,16 @@
+// This file configures the initialization of Sentry for edge features (middleware, edge routes, and so on).
+// The config you add here will be used whenever one of the edge features is loaded.
+// Note that this config is unrelated to the Vercel Edge Runtime and is also required when running locally.
+// https://docs.sentry.io/platforms/javascript/guides/nextjs/
+
+import * as Sentry from "@sentry/nextjs";
+
+Sentry.init({
+ dsn: "https://2914be7e28c143128760d6b70d9701b4@o4506859771527168.ingest.us.sentry.io/4506859847548928",
+
+ // Adjust this value in production, or use tracesSampler for greater control
+ tracesSampleRate: 1,
+
+ // Setting this option to true will print useful information to the console while you're setting up Sentry.
+ debug: false,
+});
diff --git a/apps/desktop/sentry.server.config.ts b/apps/desktop/sentry.server.config.ts
new file mode 100644
index 000000000..03f564aea
--- /dev/null
+++ b/apps/desktop/sentry.server.config.ts
@@ -0,0 +1,15 @@
+// This file configures the initialization of Sentry on the server.
+// The config you add here will be used whenever the server handles a request.
+// https://docs.sentry.io/platforms/javascript/guides/nextjs/
+
+import * as Sentry from "@sentry/nextjs";
+
+Sentry.init({
+ dsn: "https://2914be7e28c143128760d6b70d9701b4@o4506859771527168.ingest.us.sentry.io/4506859847548928",
+
+ // Adjust this value in production, or use tracesSampler for greater control
+ tracesSampleRate: 1,
+
+ // Setting this option to true will print useful information to the console while you're setting up Sentry.
+ debug: false,
+});
diff --git a/apps/desktop/src-tauri/Cargo.lock b/apps/desktop/src-tauri/Cargo.lock
index 95e38907f..76fe87bac 100644
--- a/apps/desktop/src-tauri/Cargo.lock
+++ b/apps/desktop/src-tauri/Cargo.lock
@@ -501,9 +501,9 @@ dependencies = [
"ffmpeg-sidecar",
"futures",
"image",
- "notify",
"regex",
"reqwest",
+ "sentry",
"serde",
"serde_json",
"tauri",
@@ -964,6 +964,16 @@ version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c87e182de0887fd5361989c677c4e8f5000cd9491d6d563161a8f3a5519fc7f"
+[[package]]
+name = "debugid"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d"
+dependencies = [
+ "serde",
+ "uuid",
+]
+
[[package]]
name = "deranged"
version = "0.3.11"
@@ -1294,6 +1304,18 @@ dependencies = [
"windows-sys 0.52.0",
]
+[[package]]
+name = "findshlibs"
+version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "40b9e59cd0f7e0806cca4be089683ecb6434e602038df21fe6bf6711b2f07f64"
+dependencies = [
+ "cc",
+ "lazy_static",
+ "libc",
+ "winapi 0.3.9",
+]
+
[[package]]
name = "flate2"
version = "1.0.28"
@@ -1370,15 +1392,6 @@ dependencies = [
"percent-encoding",
]
-[[package]]
-name = "fsevent-sys"
-version = "4.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "76ee7a02da4d231650c7cea31349b889be2f45ddb3ef3032d2ec8185f6313fd2"
-dependencies = [
- "libc",
-]
-
[[package]]
name = "futf"
version = "0.1.5"
@@ -1908,6 +1921,17 @@ dependencies = [
"windows-sys 0.52.0",
]
+[[package]]
+name = "hostname"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867"
+dependencies = [
+ "libc",
+ "match_cfg",
+ "winapi 0.3.9",
+]
+
[[package]]
name = "html5ever"
version = "0.26.0"
@@ -2113,26 +2137,6 @@ dependencies = [
"cfb",
]
-[[package]]
-name = "inotify"
-version = "0.9.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8069d3ec154eb856955c1c0fbffefbf5f3c40a104ec912d4797314c1801abff"
-dependencies = [
- "bitflags 1.3.2",
- "inotify-sys",
- "libc",
-]
-
-[[package]]
-name = "inotify-sys"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e05c02b5e89bff3b946cedeca278abc628fe811e604f027c45a8aa3cf793d0eb"
-dependencies = [
- "libc",
-]
-
[[package]]
name = "instant"
version = "0.1.12"
@@ -2289,26 +2293,6 @@ dependencies = [
"treediff",
]
-[[package]]
-name = "kqueue"
-version = "1.0.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7447f1ca1b7b563588a205fe93dea8df60fd981423a768bc1c0ded35ed147d0c"
-dependencies = [
- "kqueue-sys",
- "libc",
-]
-
-[[package]]
-name = "kqueue-sys"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed9625ffda8729b85e45cf04090035ac368927b8cebc34898e7c120f52e4838b"
-dependencies = [
- "bitflags 1.3.2",
- "libc",
-]
-
[[package]]
name = "kuchikiki"
version = "0.8.2"
@@ -2504,6 +2488,12 @@ dependencies = [
"tendril",
]
+[[package]]
+name = "match_cfg"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4"
+
[[package]]
name = "matchers"
version = "0.1.0"
@@ -2582,7 +2572,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09"
dependencies = [
"libc",
- "log",
"wasi 0.11.0+wasi-snapshot-preview1",
"windows-sys 0.48.0",
]
@@ -2701,25 +2690,6 @@ dependencies = [
"minimal-lexical",
]
-[[package]]
-name = "notify"
-version = "6.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6205bd8bb1e454ad2e27422015fb5e4f2bcc7e08fa8f27058670d208324a4d2d"
-dependencies = [
- "bitflags 2.4.2",
- "crossbeam-channel",
- "filetime",
- "fsevent-sys",
- "inotify",
- "kqueue",
- "libc",
- "log",
- "mio",
- "walkdir",
- "windows-sys 0.48.0",
-]
-
[[package]]
name = "notify-rust"
version = "4.10.0"
@@ -3763,6 +3733,114 @@ dependencies = [
"serde",
]
+[[package]]
+name = "sentry"
+version = "0.32.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "766448f12e44d68e675d5789a261515c46ac6ccd240abdd451a9c46c84a49523"
+dependencies = [
+ "httpdate",
+ "native-tls",
+ "reqwest",
+ "sentry-backtrace",
+ "sentry-contexts",
+ "sentry-core",
+ "sentry-debug-images",
+ "sentry-panic",
+ "sentry-tracing",
+ "tokio",
+ "ureq",
+]
+
+[[package]]
+name = "sentry-backtrace"
+version = "0.32.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32701cad8b3c78101e1cd33039303154791b0ff22e7802ed8cc23212ef478b45"
+dependencies = [
+ "backtrace",
+ "once_cell",
+ "regex",
+ "sentry-core",
+]
+
+[[package]]
+name = "sentry-contexts"
+version = "0.32.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "17ddd2a91a13805bd8dab4ebf47323426f758c35f7bf24eacc1aded9668f3824"
+dependencies = [
+ "hostname",
+ "libc",
+ "os_info",
+ "rustc_version",
+ "sentry-core",
+ "uname",
+]
+
+[[package]]
+name = "sentry-core"
+version = "0.32.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b1189f68d7e7e102ef7171adf75f83a59607fafd1a5eecc9dc06c026ff3bdec4"
+dependencies = [
+ "once_cell",
+ "rand 0.8.5",
+ "sentry-types",
+ "serde",
+ "serde_json",
+]
+
+[[package]]
+name = "sentry-debug-images"
+version = "0.32.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b4d0a615e5eeca5699030620c119a094e04c14cf6b486ea1030460a544111a7"
+dependencies = [
+ "findshlibs",
+ "once_cell",
+ "sentry-core",
+]
+
+[[package]]
+name = "sentry-panic"
+version = "0.32.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d1c18d0b5fba195a4950f2f4c31023725c76f00aabb5840b7950479ece21b5ca"
+dependencies = [
+ "sentry-backtrace",
+ "sentry-core",
+]
+
+[[package]]
+name = "sentry-tracing"
+version = "0.32.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3012699a9957d7f97047fd75d116e22d120668327db6e7c59824582e16e791b2"
+dependencies = [
+ "sentry-backtrace",
+ "sentry-core",
+ "tracing-core",
+ "tracing-subscriber",
+]
+
+[[package]]
+name = "sentry-types"
+version = "0.32.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c7173fd594569091f68a7c37a886e202f4d0c1db1e1fa1d18a051ba695b2e2ec"
+dependencies = [
+ "debugid",
+ "hex",
+ "rand 0.8.5",
+ "serde",
+ "serde_json",
+ "thiserror",
+ "time",
+ "url",
+ "uuid",
+]
+
[[package]]
name = "serde"
version = "1.0.196"
@@ -4853,6 +4931,15 @@ dependencies = [
"winapi 0.3.9",
]
+[[package]]
+name = "uname"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b72f89f0ca32e4db1c04e2a72f5345d59796d4866a1ee0609084569f73683dc8"
+dependencies = [
+ "libc",
+]
+
[[package]]
name = "unicase"
version = "2.7.0"
@@ -4889,6 +4976,19 @@ version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36"
+[[package]]
+name = "ureq"
+version = "2.9.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "11f214ce18d8b2cbe84ed3aa6486ed3f5b285cf8d8fbdbce9f3f767a724adc35"
+dependencies = [
+ "base64 0.21.7",
+ "log",
+ "native-tls",
+ "once_cell",
+ "url",
+]
+
[[package]]
name = "url"
version = "2.5.0"
@@ -4914,6 +5014,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a"
dependencies = [
"getrandom 0.2.12",
+ "serde",
]
[[package]]
diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml
index be062d641..2b3dc542d 100644
--- a/apps/desktop/src-tauri/Cargo.toml
+++ b/apps/desktop/src-tauri/Cargo.toml
@@ -36,7 +36,8 @@ bytemuck = "1.14.3"
regex = "1"
capture = { path = "./src/capture" }
image = "0.24.9"
-notify = "6.1.1"
+sentry = "0.32.2"
+
[features]
# this feature is used for production builds or when `devPath` points to the filesystem
diff --git a/apps/desktop/src-tauri/Info.plist b/apps/desktop/src-tauri/Info.plist
index 189ee92cd..bbf95dbd1 100644
--- a/apps/desktop/src-tauri/Info.plist
+++ b/apps/desktop/src-tauri/Info.plist
@@ -6,6 +6,8 @@
<string>Request camera access for WebRTC</string>
<key>NSMicrophoneUsageDescription</key>
<string>Request microphone access for WebRTC</string>
+ <key>NSScreenCaptureUsageDescription</key>
+ <string>Request screen capture access</string>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
diff --git a/apps/desktop/src-tauri/src/main.rs b/apps/desktop/src-tauri/src/main.rs
index e63ba3b38..15690c770 100644
--- a/apps/desktop/src-tauri/src/main.rs
+++ b/apps/desktop/src-tauri/src/main.rs
@@ -103,6 +103,11 @@ fn main() {
.expect("failed to open system preferences");
}
+ let _guard = sentry::init(("https://efd3156d9c0a8a49bee3ee675bec80d8@o4506859771527168.ingest.us.sentry.io/4506859844403200", sentry::ClientOptions {
+ release: sentry::release_name!(),
+ ..Default::default()
+ }));
+
tauri::Builder::default()
.plugin(tauri_plugin_oauth::init())
.plugin(tauri_plugin_positioner::init())
diff --git a/apps/desktop/src-tauri/tauri.conf.json b/apps/desktop/src-tauri/tauri.conf.json
index 1c867e14b..be0afde14 100644
--- a/apps/desktop/src-tauri/tauri.conf.json
+++ b/apps/desktop/src-tauri/tauri.conf.json
@@ -8,7 +8,7 @@
},
"package": {
"productName": "Cap",
- "version": "0.0.1"
+ "version": "0.1.0"
},
"tauri": {
"allowlist": {
diff --git a/apps/desktop/src/app/global-error.jsx b/apps/desktop/src/app/global-error.jsx
new file mode 100644
index 000000000..2e6130a15
--- /dev/null
+++ b/apps/desktop/src/app/global-error.jsx
@@ -0,0 +1,19 @@
+"use client";
+
+import * as Sentry from "@sentry/nextjs";
+import Error from "next/error";
+import { useEffect } from "react";
+
+export default function GlobalError({ error }) {
+ useEffect(() => {
+ Sentry.captureException(error);
+ }, [error]);
+
+ return (
+ <html>
+ <body>
+ <Error />
+ </body>
+ </html>
+ );
+}
diff --git a/apps/desktop/src/app/layout.tsx b/apps/desktop/src/app/layout.tsx
index af7928a0e..e331d3fbc 100644
--- a/apps/desktop/src/app/layout.tsx
+++ b/apps/desktop/src/app/layout.tsx
@@ -44,6 +44,11 @@ export default function RootLayout({
<body>
<Toaster />
<MediaDeviceProvider>{children}</MediaDeviceProvider>
+ <script
+ src="https://cdn.usefathom.com/script.js"
+ data-site="EWKEUHSN"
+ defer
+ ></script>
</body>
</html>
);
diff --git a/apps/desktop/src/components/WindowActions.tsx b/apps/desktop/src/components/WindowActions.tsx
index 4d712f6b4..23d594d78 100644
--- a/apps/desktop/src/components/WindowActions.tsx
+++ b/apps/desktop/src/components/WindowActions.tsx
@@ -1,6 +1,6 @@
import { exit } from "@tauri-apps/api/process";
import { Home } from "@/components/icons/Home";
-import { Settings } from "@/components/icons/Settings";
+// import { Settings } from "@/components/icons/Settings";
import { openLinkInBrowser } from "@/utils/helpers";
export const WindowActions = () => {
@@ -13,6 +13,9 @@ export const WindowActions = () => {
<div>
<button
onClick={async () => {
+ if (window.fathom !== undefined) {
+ window.fathom.trackEvent("exit_clicked");
+ }
await exit();
}}
className={`bg-red-500 hover:bg-red-700 transition-all ${actionButtonBase}`}
@@ -28,6 +31,9 @@ export const WindowActions = () => {
<div className="flex">
<button
onClick={async () => {
+ if (window.fathom !== undefined) {
+ window.fathom.trackEvent("home_clicked");
+ }
await openLinkInBrowser(
`${process.env.NEXT_PUBLIC_URL}/dashboard`
);
@@ -36,9 +42,9 @@ export const WindowActions = () => {
>
<Home className="w-5 h-5" />
</button>
- <button className="p-1.5 bg-transparent hover:bg-gray-200 rounded-full transition-all">
+ {/* <button className="p-1.5 bg-transparent hover:bg-gray-200 rounded-full transition-all">
<Settings className="w-5 h-5" />
- </button>
+ </button> */}
</div>
</div>
</div>
diff --git a/apps/desktop/src/components/windows/Permissions.tsx b/apps/desktop/src/components/windows/Permissions.tsx
index 8719ae9a9..103d893a1 100644
--- a/apps/desktop/src/components/windows/Permissions.tsx
+++ b/apps/desktop/src/components/windows/Permissions.tsx
@@ -41,6 +41,9 @@ export const Permissions = () => {
const handleAllPermissionsEnabled = async () => {
await savePermissions("confirmed", true);
+ if (window.fathom !== undefined) {
+ window.fathom.trackEvent("permissions_enabled");
+ }
};
useEffect(() => {
diff --git a/apps/desktop/src/components/windows/inner/Recorder.tsx b/apps/desktop/src/components/windows/inner/Recorder.tsx
index b3d69410c..c4421595d 100644
--- a/apps/desktop/src/components/windows/inner/Recorder.tsx
+++ b/apps/desktop/src/components/windows/inner/Recorder.tsx
@@ -16,6 +16,12 @@ import { openLinkInBrowser } from "@/utils/helpers";
import toast, { Toaster } from "react-hot-toast";
import { authFetch } from "@/utils/auth/helpers";
+declare global {
+ interface Window {
+ fathom: any;
+ }
+}
+
export const Recorder = () => {
const {
devices,
@@ -27,7 +33,6 @@ export const Recorder = () => {
startingRecording,
setStartingRecording,
} = useMediaDevices();
- // const [countdownActive, setCountdownActive] = useState(false);
const [stoppingRecording, setStoppingRecording] = useState(false);
const [currentStoppingMessage, setCurrentStoppingMessage] =
useState("Stopping Recording");
@@ -144,6 +149,9 @@ export const Recorder = () => {
setIsRecording(true);
setStartingRecording(false);
setHasStartedRecording(true);
+ if (window.fathom !== undefined) {
+ window.fathom.trackEvent("start_recording");
+ }
await invoke("start_dual_recording", {
options: {
user_id: videoData.user_id,
@@ -177,7 +185,7 @@ export const Recorder = () => {
const handleStopAllRecordings = async () => {
if (!canStopRecording) {
- toast.error("Recording must be for a minimum of 3 seconds.");
+ toast.error("Recording must be for a minimum of 5 seconds.");
return;
}
setStoppingRecording(true);
@@ -187,6 +195,10 @@ export const Recorder = () => {
await invoke("stop_all_recordings");
+ if (window.fathom !== undefined) {
+ window.fathom.trackEvent("stop_recording");
+ }
+
console.log("All recordings stopped...");
console.log("Opening window...");
@@ -285,13 +297,23 @@ export const Recorder = () => {
<label className="text-sm font-medium">Display</label>
<div className="flex items-center space-x-1">
<ActionButton
- handler={() => console.log("Screen option selected")}
+ handler={() => {
+ console.log("Screen option selected");
+ if (window.fathom !== undefined) {
+ window.fathom.trackEvent("screen_option");
+ }
+ }}
icon={<Screen className="w-5 h-5" />}
label="Full screen"
active={selectedDisplayType === "screen"}
/>
<ActionButton
- handler={() => toast.error("This option is coming soon!")}
+ handler={() => {
+ toast.error("This option is coming soon!");
+ if (window.fathom !== undefined) {
+ window.fathom.trackEvent("window_option");
+ }
+ }}
icon={<Window className="w-5 h-5" />}
label="Window"
active={selectedDisplayType === "window"}
diff --git a/apps/desktop/src/components/windows/inner/SignIn.tsx b/apps/desktop/src/components/windows/inner/SignIn.tsx
index dc31cbfe8..2e2450128 100644
--- a/apps/desktop/src/components/windows/inner/SignIn.tsx
+++ b/apps/desktop/src/components/windows/inner/SignIn.tsx
@@ -10,6 +10,10 @@ export const SignIn = () => {
const handleSignIn = async () => {
setLoading(true);
+ if (window.fathom !== undefined) {
+ window.fathom.trackEvent("signin_started");
+ }
+
login();
};
diff --git a/apps/desktop/src/utils/auth/index.ts b/apps/desktop/src/utils/auth/index.ts
index ceecfbc7f..25fa73f4d 100644
--- a/apps/desktop/src/utils/auth/index.ts
+++ b/apps/desktop/src/utils/auth/index.ts
@@ -31,7 +31,6 @@ export const login = () => {
return;
}
- // Direct use of the URL global object
const urlObject = new URL(data.payload);
const token = urlObject.searchParams.get("token");
@@ -47,6 +46,9 @@ export const login = () => {
"session",
JSON.stringify({ token: token, expires: expires })
);
+ if (window.fathom !== undefined) {
+ window.fathom.trackEvent("signin_success");
+ }
console.log("Setting localstorage");
} catch (error) {
console.error("Error setting item in localStorage", error);
diff --git a/apps/desktop/src/utils/recording/MediaDeviceContext.tsx b/apps/desktop/src/utils/recording/MediaDeviceContext.tsx
index 61313ba4a..b986d1125 100644
--- a/apps/desktop/src/utils/recording/MediaDeviceContext.tsx
+++ b/apps/desktop/src/utils/recording/MediaDeviceContext.tsx
@@ -123,7 +123,9 @@ export const MediaDeviceProvider: React.FC<React.PropsWithChildren<{}>> = ({
payload: { type: "video" | "audio"; device: Devices };
}) => {
if (payload && payload.device) {
- console.log("change-device event:", payload);
+ if (window.fathom !== undefined) {
+ window.fathom.trackEvent(`${payload.type}_device_change`);
+ }
if (payload.type === "video") {
import("@tauri-apps/api/window").then(({ WebviewWindow }) => {
if (WebviewWindow.getByLabel("camera")) {
diff --git a/apps/web/app/api/desktop/video/create/route.ts b/apps/web/app/api/desktop/video/create/route.ts
index 6aedc4c50..7930e756f 100644
--- a/apps/web/app/api/desktop/video/create/route.ts
+++ b/apps/web/app/api/desktop/video/create/route.ts
@@ -29,7 +29,7 @@ export async function OPTIONS(req: NextRequest) {
: "null",
"Access-Control-Allow-Credentials": "true",
"Access-Control-Allow-Methods": "GET, OPTIONS",
- "Access-Control-Allow-Headers": "Authorization",
+ "Access-Control-Allow-Headers": "Authorization, sentry-trace, baggage",
},
});
}
@@ -68,7 +68,7 @@ export async function GET(req: NextRequest) {
: "null",
"Access-Control-Allow-Credentials": "true",
"Access-Control-Allow-Methods": "GET, OPTIONS",
- "Access-Control-Allow-Headers": "Authorization",
+ "Access-Control-Allow-Headers": "Authorization, sentry-trace, baggage",
},
});
}
@@ -100,7 +100,7 @@ export async function GET(req: NextRequest) {
: "null",
"Access-Control-Allow-Credentials": "true",
"Access-Control-Allow-Methods": "GET, OPTIONS",
- "Access-Control-Allow-Headers": "Authorization",
+ "Access-Control-Allow-Headers": "Authorization, sentry-trace, baggage",
},
}
);
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 7f59c96ad..72eadaf39 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -35,6 +35,9 @@ importers:
'@cap/utils':
specifier: workspace:*
version: link:../../packages/utils
+ '@sentry/nextjs':
+ specifier: ^7.105.0
'@tauri-apps/api':
specifier: ^1.5.0
version: 1.5.3
@@ -3273,6 +3276,39 @@ packages:
resolution: {integrity: sha512-ACXpdMM9hmKZww21yEqWwiLws/UPLhNKvimN8RrYSqPSvB3ov7sLvAcfvaxePeLvccTQKGdkDIhLYApZVDFuKg==}
engines: {node: '>=14.0.0'}
+ resolution: {integrity: sha512-0w0wyykzdyRRPHOb0cQt14mIBLujfAv6GgP6g8nvg/iBxEm112t3YPPq+Buqe2+imvElTka+bjNlJ/gB56TD8g==}
+ engines: {node: '>=14.0.0'}
+ peerDependencies:
+ rollup: ^2.68.0||^3.0.0
+ peerDependenciesMeta:
+ rollup:
+ optional: true
+ dependencies:
+ '@rollup/pluginutils': 5.1.0([email protected])
+ commondir: 1.0.1
+ estree-walker: 2.0.2
+ glob: 8.1.0
+ is-reference: 1.2.1
+ magic-string: 0.27.0
+ rollup: 2.78.0
+ dev: false
+
+ resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==}
+ engines: {node: '>=14.0.0'}
+ peerDependencies:
+ rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
+ peerDependenciesMeta:
+ rollup:
+ optional: true
+ dependencies:
+ '@types/estree': 1.0.5
+ estree-walker: 2.0.2
+ picomatch: 2.3.1
+ rollup: 2.78.0
+ dev: false
+
/@rushstack/[email protected]:
resolution: {integrity: sha512-Jh4t/593gxs0lJZ/z3NnasKlplXT2f+4y/LZYuaKZW5KAaiVFL/fThhs+17EbUd53jUVJ0QudYCBGbN/psvaqg==}
dev: true
@@ -3291,6 +3327,180 @@ packages:
selderee: 0.11.0
dev: false
+ /@sentry-internal/[email protected]:
+ resolution: {integrity: sha512-17doUQFKYgLfG7EmZXjZQ7HR/aBzuLDd+GVaCNthUPyiz/tltV7EFECDWwHpXqzQgYRgroSbY8PruMVujFGUUw==}
+ engines: {node: '>=12'}
+ dependencies:
+ '@sentry/core': 7.105.0
+ '@sentry/types': 7.105.0
+ '@sentry/utils': 7.105.0
+ dev: false
+
+ /@sentry-internal/[email protected]:
+ resolution: {integrity: sha512-XMBdkjIDhap5Gwrub5wlUJhuUVJM4aL4lZV8KcxJZZSXgXsnyGYbEh9SPZOHO05jtbxTxVeL3Pik5qtYjdGnPA==}
+ engines: {node: '>=12'}
+ dependencies:
+ '@sentry/core': 7.105.0
+ '@sentry/replay': 7.105.0
+ '@sentry/types': 7.105.0
+ '@sentry/utils': 7.105.0
+ dev: false
+
+ /@sentry-internal/[email protected]:
+ resolution: {integrity: sha512-b+AFYB7Bc9vmyxl2jbmuT4esX5G0oPfpz35A0sxFzmJIhvMg1YMDNio2c81BtKN+VSPORCnKMLhfk3kyKKvWMQ==}
+ engines: {node: '>=8'}
+ dependencies:
+ '@sentry/core': 7.105.0
+ '@sentry/types': 7.105.0
+ '@sentry/utils': 7.105.0
+ dev: false
+
+ /@sentry/[email protected]:
+ resolution: {integrity: sha512-OlYJzsZG109T1VpZ7O7KXf9IXCUUpp41lkkQM7ICBOBsfiHRUKmV5piTGCG5UgAvyb/gI/I1uQQtO4jthcHKEA==}
+ engines: {node: '>=8'}
+ dependencies:
+ '@sentry-internal/feedback': 7.105.0
+ '@sentry-internal/replay-canvas': 7.105.0
+ '@sentry-internal/tracing': 7.105.0
+ '@sentry/core': 7.105.0
+ '@sentry/replay': 7.105.0
+ '@sentry/types': 7.105.0
+ '@sentry/utils': 7.105.0
+ dev: false
+
+ /@sentry/[email protected]:
+ resolution: {integrity: sha512-c3eDqcDRmy4TFz2bFU5Y6QatlpoBPPa8cxBooaS4aMQpnIdLYPF1xhyyiW0LQlDUNc3rRjNF7oN5qKoaRoMTQQ==}
+ engines: {node: '>= 8'}
+ hasBin: true
+ requiresBuild: true
+ dependencies:
+ https-proxy-agent: 5.0.1
+ mkdirp: 0.5.6
+ node-fetch: 2.7.0
+ progress: 2.0.3
+ proxy-from-env: 1.1.0
+ which: 2.0.2
+ transitivePeerDependencies:
+ - encoding
+ - supports-color
+ dev: false
+
+ /@sentry/[email protected]:
+ resolution: {integrity: sha512-5xsaTG6jZincTeJUmZomlv20mVRZUEF1U/g89lmrSOybyk2+opEnB1JeBn4ODwnvmSik8r2QLr6/RiYlaxRJCg==}
+ engines: {node: '>=8'}
+ dependencies:
+ '@sentry/types': 7.105.0
+ '@sentry/utils': 7.105.0
+ dev: false
+
+ /@sentry/[email protected]:
+ resolution: {integrity: sha512-AgzecTkF0o+C4svbroMGA+cW5LRnfFSoJnzF5ltUB67hnX906amlwbOvdkKD3MugYO02nRSjF/eEi26E1HACMA==}
+ engines: {node: '>=8'}
+ dependencies:
+ '@sentry/core': 7.105.0
+ '@sentry/types': 7.105.0
+ '@sentry/utils': 7.105.0
+ localforage: 1.10.0
+ dev: false
+
+ resolution: {integrity: sha512-v0fkBM3JktQ3EPffsC30kiuyQGim1mLYwCy6CGnascyMN7iCdqtLx51OPenVQmgmDj0dxXGjWGrkAPnuCKGUxQ==}
+ engines: {node: '>=8'}
+ peerDependencies:
+ next: ^10.0.8 || ^11.0 || ^12.0 || ^13.0 || ^14.0
+ react: 16.x || 17.x || 18.x
+ webpack: '>= 4.0.0'
+ peerDependenciesMeta:
+ webpack:
+ optional: true
+ dependencies:
+ '@rollup/plugin-commonjs': 24.0.0([email protected])
+ '@sentry/core': 7.105.0
+ '@sentry/integrations': 7.105.0
+ '@sentry/node': 7.105.0
+ '@sentry/react': 7.105.0([email protected])
+ '@sentry/types': 7.105.0
+ '@sentry/utils': 7.105.0
+ '@sentry/vercel-edge': 7.105.0
+ '@sentry/webpack-plugin': 1.21.0
+ chalk: 3.0.0
+ react: 18.2.0
+ resolve: 1.22.8
+ rollup: 2.78.0
+ stacktrace-parser: 0.1.10
+ transitivePeerDependencies:
+ - encoding
+ - supports-color
+ dev: false
+
+ /@sentry/[email protected]:
+ resolution: {integrity: sha512-b0QwZ7vT4hcJi6LmNRh3dcaYpLtXnkYXkL0rfhMb8hN8sUx8zuOWFMI7j0cfAloVThUeJVwGyv9dERfzGS2r2w==}
+ engines: {node: '>=8'}
+ dependencies:
+ '@sentry-internal/tracing': 7.105.0
+ '@sentry/core': 7.105.0
+ '@sentry/types': 7.105.0
+ '@sentry/utils': 7.105.0
+ dev: false
+
+ resolution: {integrity: sha512-t9MXmMC6lNv8Hj+eng6ZQg9UdrmOeds8yh2382d/yOcdLR3yFA/JVga1BiR/P9D/26Y6YVE8DgTcn8gz4xKngg==}
+ engines: {node: '>=8'}
+ peerDependencies:
+ react: 15.x || 16.x || 17.x || 18.x
+ dependencies:
+ '@sentry/browser': 7.105.0
+ '@sentry/core': 7.105.0
+ '@sentry/types': 7.105.0
+ '@sentry/utils': 7.105.0
+ hoist-non-react-statics: 3.3.2
+ react: 18.2.0
+ dev: false
+
+ /@sentry/[email protected]:
+ resolution: {integrity: sha512-hZD2m6fNL9gorUOaaEpqxeH7zNP4y2Ej0TdieM1HMQ2q9Zrm9yOzk9/7ALfbRLIZFRMFTqo9vvVztLs3E+Hx+g==}
+ engines: {node: '>=12'}
+ dependencies:
+ '@sentry-internal/tracing': 7.105.0
+ '@sentry/core': 7.105.0
+ '@sentry/types': 7.105.0
+ '@sentry/utils': 7.105.0
+ dev: false
+
+ /@sentry/[email protected]:
+ resolution: {integrity: sha512-80o0KMVM+X2Ym9hoQxvJetkJJwkpCg7o6tHHFXI+Rp7fawc2iCMTa0IRQMUiSkFvntQLYIdDoNNuKdzz2PbQGA==}
+ engines: {node: '>=8'}
+ dev: false
+
+ /@sentry/[email protected]:
+ resolution: {integrity: sha512-YVAV0c2KLM8+VZCicQ/E/P2+J9Vs0hGhrXwV7w6ZEAtvxrg4oF270toL1WRhvcaf8JO4J1v4V+LuU6Txs4uEeQ==}
+ engines: {node: '>=8'}
+ dependencies:
+ '@sentry/types': 7.105.0
+ dev: false
+
+ /@sentry/[email protected]:
+ resolution: {integrity: sha512-BYblGPEIJisV+z1L/xkn9zG+SkrZDF//K4s7Ls/Wt+eWAcMhMy9y6QnKMwcBX3D8j7ylHTgG/70Z2Zpc4mk38A==}
+ engines: {node: '>=8'}
+ dependencies:
+ '@sentry-internal/tracing': 7.105.0
+ '@sentry/core': 7.105.0
+ '@sentry/types': 7.105.0
+ '@sentry/utils': 7.105.0
+ dev: false
+
+ /@sentry/[email protected]:
+ resolution: {integrity: sha512-x0PYIMWcsTauqxgl7vWUY6sANl+XGKtx7DCVnnY7aOIIlIna0jChTAPANTfA2QrK+VK+4I/4JxatCEZBnXh3Og==}
+ engines: {node: '>= 8'}
+ dependencies:
+ '@sentry/cli': 1.77.3
+ webpack-sources: 3.2.3
+ transitivePeerDependencies:
+ - encoding
+ - supports-color
+ dev: false
+
resolution: {integrity: sha512-fyPlWpzXyKzDVRRMUbsfH7AV/2xX+dyZ5RqeEo6Hjz9YUvDMGVSnm88iHH0zqZ+XmH4+sH4+mhwRL76HXX65uw==}
engines: {node: '>=14.0.0'}
@@ -4070,6 +4280,10 @@ packages:
resolution: {integrity: sha512-XW/Aa8APYr6jSVVA1y/DEIZX0/GMKLEVekNG727R8cs56ahETkRAy/3DR7+fJyh7oUgGwNQaRfXCun0+KbWY7Q==}
dev: false
+ resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==}
+ dev: false
+
resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==}
dependencies:
@@ -4422,6 +4636,15 @@ packages:
engines: {node: '>=0.4.0'}
hasBin: true
+ resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==}
+ engines: {node: '>= 6.0.0'}
+ dependencies:
+ debug: 4.3.4
+ transitivePeerDependencies:
+ - supports-color
+ dev: false
+
resolution: {integrity: sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==}
engines: {node: '>= 14'}
@@ -4861,7 +5084,6 @@ packages:
dependencies:
ansi-styles: 4.3.0
supports-color: 7.2.0
- dev: true
resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
@@ -5044,6 +5266,10 @@ packages:
engines: {node: ^12.20.0 || >=14}
dev: true
+ resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==}
+ dev: false
+
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
@@ -6324,6 +6550,10 @@ packages:
engines: {node: '>=4.0'}
dev: true
+ resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
+ dev: false
+
resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}
engines: {node: '>=0.10.0'}
@@ -6672,7 +6902,6 @@ packages:
inherits: 2.0.4
minimatch: 5.1.6
once: 1.4.0
- dev: true
resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==}
@@ -6839,6 +7068,12 @@ packages:
resolution: {integrity: sha512-gonnYpZ5bxuVdwpcbzfylUlNZ8917LjACUjpWXiaeo8zPAIDfPcMZjEQPy6CeeRSJbcg1P+aVqwxrXr2J+SeUg==}
dev: false
+ resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==}
+ dependencies:
+ react-is: 16.13.1
+ dev: false
+
resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==}
dev: false
@@ -6884,6 +7119,16 @@ packages:
- supports-color
dev: true
+ resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==}
+ engines: {node: '>= 6'}
+ dependencies:
+ agent-base: 6.0.2
+ debug: 4.3.4
+ transitivePeerDependencies:
+ - supports-color
+ dev: false
+
resolution: {integrity: sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==}
engines: {node: '>= 14'}
@@ -6928,6 +7173,10 @@ packages:
resolution: {integrity: sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==}
engines: {node: '>= 4'}
+ resolution: {integrity: sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==}
+ dev: false
+
resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==}
engines: {node: '>=6'}
@@ -7181,6 +7430,12 @@ packages:
resolution: {integrity: sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==}
dev: false
+ resolution: {integrity: sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==}
+ dependencies:
+ '@types/estree': 1.0.5
+ dev: false
+
resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==}
engines: {node: '>= 0.4'}
@@ -7453,6 +7708,12 @@ packages:
type-check: 0.4.0
dev: true
+ resolution: {integrity: sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw==}
+ dependencies:
+ immediate: 3.0.6
+ dev: false
+
resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==}
engines: {node: '>=10'}
@@ -7468,6 +7729,12 @@ packages:
resolution: {integrity: sha512-kPEjMFtZvwL9TaZo0uZ2ml+Ye9HUMmPwbYRJ324qF9tqMejwykJ5ggTyvzmrbBeapCAbk98BSbTeovHEEP1uCA==}
dev: false
+ resolution: {integrity: sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==}
+ dependencies:
+ lie: 3.1.1
+ dev: false
+
resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==}
engines: {node: '>=8'}
@@ -7581,6 +7848,13 @@ packages:
react: 18.2.0
dev: false
+ resolution: {integrity: sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==}
+ engines: {node: '>=12'}
+ dependencies:
+ '@jridgewell/sourcemap-codec': 1.4.15
+ dev: false
+
resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==}
dev: true
@@ -7690,7 +7964,6 @@ packages:
engines: {node: '>=10'}
dependencies:
brace-expansion: 2.0.1
- dev: true
resolution: {integrity: sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw==}
@@ -7723,7 +7996,6 @@ packages:
resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==}
- dev: true
resolution: {integrity: sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==}
@@ -7734,7 +8006,6 @@ packages:
hasBin: true
dependencies:
minimist: 1.2.8
- dev: true
resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==}
@@ -8414,7 +8685,6 @@ packages:
resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==}
engines: {node: '>=0.4.0'}
- dev: true
resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}
@@ -8445,7 +8715,6 @@ packages:
resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==}
- dev: true
resolution: {integrity: sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==}
@@ -8869,6 +9138,14 @@ packages:
glob: 7.2.3
dev: true
+ resolution: {integrity: sha512-4+YfbQC9QEVvKTanHhIAFVUFSRsezvQF8vFOJwtGfb9Bb+r014S+qryr9PSmw8x6sMnPkmFBGAvIFVQxvJxjtg==}
+ engines: {node: '>=10.0.0'}
+ hasBin: true
+ optionalDependencies:
+ fsevents: 2.3.3
+ dev: false
+
resolution: {integrity: sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==}
engines: {node: '>=14.18.0', npm: '>=8.0.0'}
@@ -9127,6 +9404,13 @@ packages:
engines: {node: '>= 0.6'}
dev: false
+ resolution: {integrity: sha512-KJP1OCML99+8fhOHxwwzyWrlUuVX5GQ0ZpJTd1DFXhdkrvg1szxfHhawXUZ3g9TkXORQd4/WG68jMlQZ2p8wlg==}
+ engines: {node: '>=6'}
+ dependencies:
+ type-fest: 0.7.1
+ dev: false
+
resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==}
engines: {node: '>=10.0.0'}
@@ -9626,6 +9910,11 @@ packages:
engines: {node: '>=8'}
dev: false
+ resolution: {integrity: sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==}
+ engines: {node: '>=8'}
+ dev: false
+
resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==}
engines: {node: '>=8'}