Skip to content

Commit

Permalink
test: New Sentry SDK version
Browse files Browse the repository at this point in the history
  • Loading branch information
timfish authored Sep 10, 2024
1 parent 1430c83 commit 0f56fe9
Show file tree
Hide file tree
Showing 3 changed files with 295 additions and 264 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,18 @@
"e2e": "xvfb-maybe vitest run --root=./test/e2e --silent=false --disable-console-intercept"
},
"dependencies": {
"@sentry/browser": "8.28.0",
"@sentry/core": "8.28.0",
"@sentry/node": "8.28.0",
"@sentry/types": "8.28.0",
"@sentry/utils": "8.28.0",
"@sentry/browser": "8.29.0",
"@sentry/core": "8.29.0",
"@sentry/node": "8.29.0",
"@sentry/types": "8.29.0",
"@sentry/utils": "8.29.0",
"deepmerge": "4.3.1"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@sentry-internal/eslint-config-sdk": "8.28.0",
"@sentry-internal/typescript": "8.28.0",
"@sentry-internal/eslint-config-sdk": "8.29.0",
"@sentry-internal/typescript": "8.29.0",
"@types/busboy": "^0.2.3",
"@types/form-data": "^2.5.0",
"@types/koa": "^2.0.52",
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ interface ElectronRendererOptions extends BrowserOptions {
export function init<O extends ElectronRendererOptions>(
options: ElectronRendererOptions & O = {} as ElectronRendererOptions & O,
// This parameter name ensures that TypeScript error messages contain a hint for fixing SDK version mismatches
originalInit: (if_you_get_a_typescript_error_ensure_sdks_use_version_v8_28_0: O) => void = browserInit,
originalInit: (if_you_get_a_typescript_error_ensure_sdks_use_version_v8_29_0: O) => void = browserInit,
): void {
// Ensure the browser SDK is only init'ed once.
if (window?.__SENTRY__RENDERER_INIT__) {
Expand Down
Loading

0 comments on commit 0f56fe9

Please sign in to comment.