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 Nov 1, 2024
1 parent f99628e commit d4e2d59
Show file tree
Hide file tree
Showing 3 changed files with 168 additions and 133 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@
"e2e": "xvfb-maybe vitest run --root=./test/e2e --silent=false --disable-console-intercept"
},
"dependencies": {
"@sentry/browser": "8.35.0",
"@sentry/core": "8.35.0",
"@sentry/node": "8.35.0",
"@sentry/types": "8.35.0",
"@sentry/utils": "8.35.0",
"@sentry/browser": "8.36.0",
"@sentry/core": "8.36.0",
"@sentry/node": "8.36.0",
"@sentry/types": "8.36.0",
"@sentry/utils": "8.36.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.35.0",
"@sentry-internal/typescript": "8.35.0",
"@sentry-internal/eslint-config-sdk": "8.36.0",
"@sentry-internal/typescript": "8.36.0",
"@types/busboy": "^1.5.4",
"@types/form-data": "^2.5.0",
"@types/koa": "^2.0.52",
Expand Down Expand Up @@ -100,4 +100,4 @@
"node": "20.12.0",
"yarn": "1.22.19"
}
}
}
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_35_0: O) => void = browserInit,
originalInit: (if_you_get_a_typescript_error_ensure_sdks_use_version_v8_36_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 d4e2d59

Please sign in to comment.