feat: add error tracking support via glitchtip
This commit is contained in:
parent
b4757dec86
commit
e5e5e4c9b9
|
@ -23,6 +23,7 @@
|
|||
"@noble/ciphers": "^0.1.4",
|
||||
"@peculiar/webcrypto": "^1.4.3",
|
||||
"@scure/bip39": "^1.2.1",
|
||||
"@sentry/browser": "^7.63.0",
|
||||
"binconv": "^0.2.0",
|
||||
"classnames": "^2.3.2",
|
||||
"ed25519-keygen": "^0.4.1",
|
||||
|
@ -3839,6 +3840,82 @@
|
|||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry-internal/tracing": {
|
||||
"version": "7.63.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.63.0.tgz",
|
||||
"integrity": "sha512-Fxpc53p6NGvLSURg3iRvZA0k10K9yfeVhtczvJnpX30POBuV41wxpkLHkb68fjksirjEma1K3Ut1iLOEEDpPQg==",
|
||||
"dependencies": {
|
||||
"@sentry/core": "7.63.0",
|
||||
"@sentry/types": "7.63.0",
|
||||
"@sentry/utils": "7.63.0",
|
||||
"tslib": "^2.4.1 || ^1.9.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/browser": {
|
||||
"version": "7.63.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.63.0.tgz",
|
||||
"integrity": "sha512-P1Iw/2281C/7CUCRsN4jgXvjMNKnrwKqxRg7JqN8eVeCDPMpOeEPHNJ6YatEXdVLTKVn0JB7L63Q1prhFr8+SQ==",
|
||||
"dependencies": {
|
||||
"@sentry-internal/tracing": "7.63.0",
|
||||
"@sentry/core": "7.63.0",
|
||||
"@sentry/replay": "7.63.0",
|
||||
"@sentry/types": "7.63.0",
|
||||
"@sentry/utils": "7.63.0",
|
||||
"tslib": "^2.4.1 || ^1.9.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/core": {
|
||||
"version": "7.63.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.63.0.tgz",
|
||||
"integrity": "sha512-13Ljiq8hv6ieCkO+Am99/PljYJO5ynKT/hRQrWgGy9IIEgUr8sV3fW+1W6K4/3MCeOJou0HsiGBjOD1mASItVg==",
|
||||
"dependencies": {
|
||||
"@sentry/types": "7.63.0",
|
||||
"@sentry/utils": "7.63.0",
|
||||
"tslib": "^2.4.1 || ^1.9.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/replay": {
|
||||
"version": "7.63.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/replay/-/replay-7.63.0.tgz",
|
||||
"integrity": "sha512-ikeFVojuP9oDF103blZcj0Vvb4S50dV54BESMrMW2lYBoMMjvOd7AdL+iDHjn1OL05/mv1C6Oc8MovmvdjILVA==",
|
||||
"dependencies": {
|
||||
"@sentry/core": "7.63.0",
|
||||
"@sentry/types": "7.63.0",
|
||||
"@sentry/utils": "7.63.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/types": {
|
||||
"version": "7.63.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.63.0.tgz",
|
||||
"integrity": "sha512-pZNwJVW7RqNLGuTUAhoygt0c9zmc0js10eANAz0MstygJRhQI1tqPDuiELVdujPrbeL+IFKF+7NvRDAydR2Niw==",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/utils": {
|
||||
"version": "7.63.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.63.0.tgz",
|
||||
"integrity": "sha512-7FQv1RYAwnuTuarruP+1+Jd6YQuN7i/Y7KltwPMVEwU7j5mzYQaexLr/Jz1XIdR2KYVdkbXQyP8jj8BmA6u9Jw==",
|
||||
"dependencies": {
|
||||
"@sentry/types": "7.63.0",
|
||||
"tslib": "^2.4.1 || ^1.9.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/@sigstore/protobuf-specs": {
|
||||
"version": "0.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.1.0.tgz",
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
"@noble/ciphers": "^0.1.4",
|
||||
"@peculiar/webcrypto": "^1.4.3",
|
||||
"@scure/bip39": "^1.2.1",
|
||||
"@sentry/browser": "^7.63.0",
|
||||
"binconv": "^0.2.0",
|
||||
"classnames": "^2.3.2",
|
||||
"ed25519-keygen": "^0.4.1",
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
export const SENTRY_DSN =
|
||||
"https://366406d802a646a7a82363a4486a5103@errortracker.lumeweb.com/1";
|
|
@ -1,7 +1,10 @@
|
|||
import { createRoot } from "react-dom";
|
||||
import React from "react";
|
||||
|
||||
import * as Sentry from "@sentry/browser";
|
||||
import App from "./apps/account/App.tsx";
|
||||
import { SENTRY_DSN } from "../shared/constants.ts";
|
||||
|
||||
Sentry.init({ dsn: SENTRY_DSN });
|
||||
|
||||
const root = createRoot(document.getElementById("app"));
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
import { createRoot } from "react-dom";
|
||||
import React from "react";
|
||||
|
||||
import App from "./apps/dashboard/App.jsx";
|
||||
import { SENTRY_DSN } from "../shared/constants.ts";
|
||||
|
||||
Sentry.init({ dsn: SENTRY_DSN });
|
||||
|
||||
const root = createRoot(document.getElementById("app"));
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
import { createRoot } from "react-dom";
|
||||
import React from "react";
|
||||
|
||||
import App from "./apps/onboarding/App.tsx";
|
||||
import { SENTRY_DSN } from "../shared/constants.ts";
|
||||
|
||||
Sentry.init({ dsn: SENTRY_DSN });
|
||||
|
||||
const root = createRoot(document.getElementById("app"));
|
||||
|
||||
|
|
Reference in New Issue