diff --git a/.pnp.cjs b/.pnp.cjs index 50f4a97..ea2bbc1 100644 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -4298,7 +4298,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@sentry/bundler-plugin-core", "npm:2.22.3"],\ ["@babel/core", "npm:7.25.7"],\ ["@sentry/babel-plugin-component-annotate", "npm:2.22.3"],\ - ["@sentry/cli", "npm:2.36.6"],\ + ["@sentry/cli", "npm:2.37.0"],\ ["dotenv", "npm:16.3.1"],\ ["find-up", "npm:5.0.0"],\ ["glob", "npm:9.3.5"],\ @@ -4309,19 +4309,19 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["@sentry/cli", [\ - ["npm:2.36.6", {\ - "packageLocation": "./.yarn/unplugged/@sentry-cli-npm-2.36.6-f0154cbea9/node_modules/@sentry/cli/",\ - "packageDependencies": [\ - ["@sentry/cli", "npm:2.36.6"],\ - ["@sentry/cli-darwin", "npm:2.36.6"],\ - ["@sentry/cli-linux-arm", "npm:2.36.6"],\ - ["@sentry/cli-linux-arm64", "npm:2.36.6"],\ - ["@sentry/cli-linux-i686", "npm:2.36.6"],\ - ["@sentry/cli-linux-x64", "npm:2.36.6"],\ - ["@sentry/cli-win32-i686", "npm:2.36.6"],\ - ["@sentry/cli-win32-x64", "npm:2.36.6"],\ + ["npm:2.37.0", {\ + "packageLocation": "./.yarn/unplugged/@sentry-cli-npm-2.37.0-4771cec08a/node_modules/@sentry/cli/",\ + "packageDependencies": [\ + ["@sentry/cli", "npm:2.37.0"],\ + ["@sentry/cli-darwin", "npm:2.37.0"],\ + ["@sentry/cli-linux-arm", "npm:2.37.0"],\ + ["@sentry/cli-linux-arm64", "npm:2.37.0"],\ + ["@sentry/cli-linux-i686", "npm:2.37.0"],\ + ["@sentry/cli-linux-x64", "npm:2.37.0"],\ + ["@sentry/cli-win32-i686", "npm:2.37.0"],\ + ["@sentry/cli-win32-x64", "npm:2.37.0"],\ ["https-proxy-agent", "npm:5.0.1"],\ - ["node-fetch", "virtual:f0154cbea90f7e21a7bbb040ea0d30611086702a28b3555ecbb27d18d597b49699fc39263b19626313645428ef1ee46413827e4afdc934c1cd5b405579153cff#npm:2.7.0"],\ + ["node-fetch", "virtual:4771cec08a8e7b5502905a495d236866034bd34f48de7406fd0652acabeec09eab447568b9acfb1f5e2ff92bee43b7ceb8c4aa496a88d9871758780b263b6c0b#npm:2.7.0"],\ ["progress", "npm:2.0.3"],\ ["proxy-from-env", "npm:1.1.0"],\ ["which", "npm:2.0.2"]\ @@ -4330,64 +4330,64 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["@sentry/cli-darwin", [\ - ["npm:2.36.6", {\ - "packageLocation": "./.yarn/unplugged/@sentry-cli-darwin-npm-2.36.6-598628fff1/node_modules/@sentry/cli-darwin/",\ + ["npm:2.37.0", {\ + "packageLocation": "./.yarn/unplugged/@sentry-cli-darwin-npm-2.37.0-109f3042d1/node_modules/@sentry/cli-darwin/",\ "packageDependencies": [\ - ["@sentry/cli-darwin", "npm:2.36.6"]\ + ["@sentry/cli-darwin", "npm:2.37.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@sentry/cli-linux-arm", [\ - ["npm:2.36.6", {\ - "packageLocation": "./.yarn/unplugged/@sentry-cli-linux-arm-npm-2.36.6-2abe9c6904/node_modules/@sentry/cli-linux-arm/",\ + ["npm:2.37.0", {\ + "packageLocation": "./.yarn/unplugged/@sentry-cli-linux-arm-npm-2.37.0-8c36028258/node_modules/@sentry/cli-linux-arm/",\ "packageDependencies": [\ - ["@sentry/cli-linux-arm", "npm:2.36.6"]\ + ["@sentry/cli-linux-arm", "npm:2.37.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@sentry/cli-linux-arm64", [\ - ["npm:2.36.6", {\ - "packageLocation": "./.yarn/unplugged/@sentry-cli-linux-arm64-npm-2.36.6-45d6aab9ec/node_modules/@sentry/cli-linux-arm64/",\ + ["npm:2.37.0", {\ + "packageLocation": "./.yarn/unplugged/@sentry-cli-linux-arm64-npm-2.37.0-525445bbb4/node_modules/@sentry/cli-linux-arm64/",\ "packageDependencies": [\ - ["@sentry/cli-linux-arm64", "npm:2.36.6"]\ + ["@sentry/cli-linux-arm64", "npm:2.37.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@sentry/cli-linux-i686", [\ - ["npm:2.36.6", {\ - "packageLocation": "./.yarn/unplugged/@sentry-cli-linux-i686-npm-2.36.6-3de0ae070f/node_modules/@sentry/cli-linux-i686/",\ + ["npm:2.37.0", {\ + "packageLocation": "./.yarn/unplugged/@sentry-cli-linux-i686-npm-2.37.0-2e28f62944/node_modules/@sentry/cli-linux-i686/",\ "packageDependencies": [\ - ["@sentry/cli-linux-i686", "npm:2.36.6"]\ + ["@sentry/cli-linux-i686", "npm:2.37.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@sentry/cli-linux-x64", [\ - ["npm:2.36.6", {\ - "packageLocation": "./.yarn/unplugged/@sentry-cli-linux-x64-npm-2.36.6-1bf3c38789/node_modules/@sentry/cli-linux-x64/",\ + ["npm:2.37.0", {\ + "packageLocation": "./.yarn/unplugged/@sentry-cli-linux-x64-npm-2.37.0-1ccd9d140f/node_modules/@sentry/cli-linux-x64/",\ "packageDependencies": [\ - ["@sentry/cli-linux-x64", "npm:2.36.6"]\ + ["@sentry/cli-linux-x64", "npm:2.37.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@sentry/cli-win32-i686", [\ - ["npm:2.36.6", {\ - "packageLocation": "./.yarn/unplugged/@sentry-cli-win32-i686-npm-2.36.6-4861d6f15f/node_modules/@sentry/cli-win32-i686/",\ + ["npm:2.37.0", {\ + "packageLocation": "./.yarn/unplugged/@sentry-cli-win32-i686-npm-2.37.0-c7a9888675/node_modules/@sentry/cli-win32-i686/",\ "packageDependencies": [\ - ["@sentry/cli-win32-i686", "npm:2.36.6"]\ + ["@sentry/cli-win32-i686", "npm:2.37.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@sentry/cli-win32-x64", [\ - ["npm:2.36.6", {\ - "packageLocation": "./.yarn/unplugged/@sentry-cli-win32-x64-npm-2.36.6-51f6990f22/node_modules/@sentry/cli-win32-x64/",\ + ["npm:2.37.0", {\ + "packageLocation": "./.yarn/unplugged/@sentry-cli-win32-x64-npm-2.37.0-5dee5dc61d/node_modules/@sentry/cli-win32-x64/",\ "packageDependencies": [\ - ["@sentry/cli-win32-x64", "npm:2.36.6"]\ + ["@sentry/cli-win32-x64", "npm:2.37.0"]\ ],\ "linkType": "HARD"\ }]\ @@ -5936,7 +5936,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageDependencies": [\ ["browserslist", "npm:4.24.0"],\ ["caniuse-lite", "npm:1.0.30001667"],\ - ["electron-to-chromium", "npm:1.5.32"],\ + ["electron-to-chromium", "npm:1.5.35"],\ ["node-releases", "npm:2.0.18"],\ ["update-browserslist-db", "virtual:6b67324c878ea06e56ed3caefea53f7683e6ecc2f59a5ccb4eed038528684d5d9ad5763adbad2b939021498b8316c469d622a567bb66012ffd14e8022cf45739#npm:1.1.1"]\ ],\ @@ -6663,10 +6663,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ "linkType": "HARD"\ }],\ - ["npm:1.5.32", {\ - "packageLocation": "./.yarn/cache/electron-to-chromium-npm-1.5.32-0ad6126270-ff75702fe4.zip/node_modules/electron-to-chromium/",\ + ["npm:1.5.35", {\ + "packageLocation": "./.yarn/cache/electron-to-chromium-npm-1.5.35-c08494529a-7eca311ebc.zip/node_modules/electron-to-chromium/",\ "packageDependencies": [\ - ["electron-to-chromium", "npm:1.5.32"]\ + ["electron-to-chromium", "npm:1.5.35"]\ ],\ "linkType": "HARD"\ }]\ @@ -9267,10 +9267,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ "linkType": "SOFT"\ }],\ - ["virtual:f0154cbea90f7e21a7bbb040ea0d30611086702a28b3555ecbb27d18d597b49699fc39263b19626313645428ef1ee46413827e4afdc934c1cd5b405579153cff#npm:2.7.0", {\ - "packageLocation": "./.yarn/__virtual__/node-fetch-virtual-43e9cbd3d5/0/cache/node-fetch-npm-2.7.0-587d57004e-d76d2f5edb.zip/node_modules/node-fetch/",\ + ["virtual:4771cec08a8e7b5502905a495d236866034bd34f48de7406fd0652acabeec09eab447568b9acfb1f5e2ff92bee43b7ceb8c4aa496a88d9871758780b263b6c0b#npm:2.7.0", {\ + "packageLocation": "./.yarn/__virtual__/node-fetch-virtual-95a772430a/0/cache/node-fetch-npm-2.7.0-587d57004e-d76d2f5edb.zip/node_modules/node-fetch/",\ "packageDependencies": [\ - ["node-fetch", "virtual:f0154cbea90f7e21a7bbb040ea0d30611086702a28b3555ecbb27d18d597b49699fc39263b19626313645428ef1ee46413827e4afdc934c1cd5b405579153cff#npm:2.7.0"],\ + ["node-fetch", "virtual:4771cec08a8e7b5502905a495d236866034bd34f48de7406fd0652acabeec09eab447568b9acfb1f5e2ff92bee43b7ceb8c4aa496a88d9871758780b263b6c0b#npm:2.7.0"],\ ["@types/encoding", null],\ ["encoding", null],\ ["whatwg-url", "npm:5.0.0"]\ diff --git a/package.json b/package.json index 6cb9192..06aa641 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@next/font": "^13.5.2", - "@sentry/nextjs": "^8", + "@sentry/nextjs": "^8.33.1", "@sentry/utils": "^8.33.1", "@tanstack/react-query": "4.33.0", "@team-return/design-system": "^1.1.15", diff --git a/sentry.client.config.ts b/sentry.client.config.ts index d99e113..ca7fdd2 100644 --- a/sentry.client.config.ts +++ b/sentry.client.config.ts @@ -2,10 +2,10 @@ // 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'; +import * as Sentry from "@sentry/nextjs"; Sentry.init({ - dsn: process.env.NEXT_PUBLIC_SENTRY_DSN, + dsn: process.env.NEXT_PUBLIC_SENTRY_DSN, // Add optional integrations for additional features integrations: [ @@ -15,17 +15,17 @@ Sentry.init({ }), ], - // Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control. - tracesSampleRate: 1, + // Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control. + tracesSampleRate: 1, - // Define how likely Replay events are sampled. - // 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, + // Define how likely Replay events are sampled. + // 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, - // Define how likely Replay events are sampled when an error occurs. - replaysOnErrorSampleRate: 1.0, + // Define how likely Replay events are sampled when an error occurs. + replaysOnErrorSampleRate: 1.0, - // Setting this option to true will print useful information to the console while you're setting up Sentry. - debug: false, + // Setting this option to true will print useful information to the console while you're setting up Sentry. + debug: false, }); diff --git a/yarn.lock b/yarn.lock index 203455c..0ba422b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2620,66 +2620,66 @@ __metadata: languageName: node linkType: hard -"@sentry/cli-darwin@npm:2.36.6": - version: 2.36.6 - resolution: "@sentry/cli-darwin@npm:2.36.6" +"@sentry/cli-darwin@npm:2.37.0": + version: 2.37.0 + resolution: "@sentry/cli-darwin@npm:2.37.0" conditions: os=darwin languageName: node linkType: hard -"@sentry/cli-linux-arm64@npm:2.36.6": - version: 2.36.6 - resolution: "@sentry/cli-linux-arm64@npm:2.36.6" +"@sentry/cli-linux-arm64@npm:2.37.0": + version: 2.37.0 + resolution: "@sentry/cli-linux-arm64@npm:2.37.0" conditions: (os=linux | os=freebsd) & cpu=arm64 languageName: node linkType: hard -"@sentry/cli-linux-arm@npm:2.36.6": - version: 2.36.6 - resolution: "@sentry/cli-linux-arm@npm:2.36.6" +"@sentry/cli-linux-arm@npm:2.37.0": + version: 2.37.0 + resolution: "@sentry/cli-linux-arm@npm:2.37.0" conditions: (os=linux | os=freebsd) & cpu=arm languageName: node linkType: hard -"@sentry/cli-linux-i686@npm:2.36.6": - version: 2.36.6 - resolution: "@sentry/cli-linux-i686@npm:2.36.6" +"@sentry/cli-linux-i686@npm:2.37.0": + version: 2.37.0 + resolution: "@sentry/cli-linux-i686@npm:2.37.0" conditions: (os=linux | os=freebsd) & (cpu=x86 | cpu=ia32) languageName: node linkType: hard -"@sentry/cli-linux-x64@npm:2.36.6": - version: 2.36.6 - resolution: "@sentry/cli-linux-x64@npm:2.36.6" +"@sentry/cli-linux-x64@npm:2.37.0": + version: 2.37.0 + resolution: "@sentry/cli-linux-x64@npm:2.37.0" conditions: (os=linux | os=freebsd) & cpu=x64 languageName: node linkType: hard -"@sentry/cli-win32-i686@npm:2.36.6": - version: 2.36.6 - resolution: "@sentry/cli-win32-i686@npm:2.36.6" +"@sentry/cli-win32-i686@npm:2.37.0": + version: 2.37.0 + resolution: "@sentry/cli-win32-i686@npm:2.37.0" conditions: os=win32 & (cpu=x86 | cpu=ia32) languageName: node linkType: hard -"@sentry/cli-win32-x64@npm:2.36.6": - version: 2.36.6 - resolution: "@sentry/cli-win32-x64@npm:2.36.6" +"@sentry/cli-win32-x64@npm:2.37.0": + version: 2.37.0 + resolution: "@sentry/cli-win32-x64@npm:2.37.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard "@sentry/cli@npm:^2.33.1": - version: 2.36.6 - resolution: "@sentry/cli@npm:2.36.6" - dependencies: - "@sentry/cli-darwin": 2.36.6 - "@sentry/cli-linux-arm": 2.36.6 - "@sentry/cli-linux-arm64": 2.36.6 - "@sentry/cli-linux-i686": 2.36.6 - "@sentry/cli-linux-x64": 2.36.6 - "@sentry/cli-win32-i686": 2.36.6 - "@sentry/cli-win32-x64": 2.36.6 + version: 2.37.0 + resolution: "@sentry/cli@npm:2.37.0" + dependencies: + "@sentry/cli-darwin": 2.37.0 + "@sentry/cli-linux-arm": 2.37.0 + "@sentry/cli-linux-arm64": 2.37.0 + "@sentry/cli-linux-i686": 2.37.0 + "@sentry/cli-linux-x64": 2.37.0 + "@sentry/cli-win32-i686": 2.37.0 + "@sentry/cli-win32-x64": 2.37.0 https-proxy-agent: ^5.0.0 node-fetch: ^2.6.7 progress: ^2.0.3 @@ -2702,7 +2702,7 @@ __metadata: optional: true bin: sentry-cli: bin/sentry-cli - checksum: d1848fab01be38233f72603ee363bbff808d2c39b4bd59ae418d8a8c8bbce0ad0ced5e7cd3146aa5c74aa79ed1a914bb5dec384aaf94b1f944d363c6c35e4675 + checksum: 92e88688b5148e5abed2cc253290008da89029c5816d7f1bdb5fbed035305c0bcfb5f49e4976ff8ced5fbb876d28e655eef838d32c7a388d3582654ff67d65e0 languageName: node linkType: hard @@ -2716,7 +2716,7 @@ __metadata: languageName: node linkType: hard -"@sentry/nextjs@npm:^8": +"@sentry/nextjs@npm:^8.33.1": version: 8.33.1 resolution: "@sentry/nextjs@npm:8.33.1" dependencies: @@ -4533,9 +4533,9 @@ __metadata: linkType: hard "electron-to-chromium@npm:^1.5.28": - version: 1.5.32 - resolution: "electron-to-chromium@npm:1.5.32" - checksum: ff75702fe4e62a23b80cd74db0fb29db60d1424716b1755fb79ffe01d214a2d3dc74bb27355b8e41994e3b6e24f3b57b46a060ea510afa3d1b6711fbf4b76219 + version: 1.5.35 + resolution: "electron-to-chromium@npm:1.5.35" + checksum: 7eca311ebce5ca5bbef7854becc7c84ea213edc8d0d02dedf998cd695e32e5bffb9803846a9a1801f29ce8f31d6b165c9d319e76923f93c2855fae80846f7610 languageName: node linkType: hard @@ -6653,7 +6653,7 @@ __metadata: resolution: "my-app@workspace:." dependencies: "@next/font": ^13.5.2 - "@sentry/nextjs": ^8 + "@sentry/nextjs": ^8.33.1 "@sentry/utils": ^8.33.1 "@tanstack/react-query": 4.33.0 "@team-return/design-system": ^1.1.15