Skip to content

Commit

Permalink
test: New Sentry SDK version (#917)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 11, 2024
1 parent 99ba6cf commit 4d9961d
Show file tree
Hide file tree
Showing 3 changed files with 282 additions and 228 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.7.0",
"@sentry/core": "8.7.0",
"@sentry/node": "8.7.0",
"@sentry/types": "8.7.0",
"@sentry/utils": "8.7.0",
"@sentry/browser": "8.8.0",
"@sentry/core": "8.8.0",
"@sentry/node": "8.8.0",
"@sentry/types": "8.8.0",
"@sentry/utils": "8.8.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.7.0",
"@sentry-internal/typescript": "8.7.0",
"@sentry-internal/eslint-config-sdk": "8.8.0",
"@sentry-internal/typescript": "8.8.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_7_0: O) => void = browserInit,
originalInit: (if_you_get_a_typescript_error_ensure_sdks_use_version_v8_8_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 4d9961d

Please sign in to comment.