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 committed Mar 29, 2024
1 parent 2bb3cc0 commit 5cefbaf
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 775 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,19 @@
"e2e": "cross-env TS_NODE_PROJECT=tsconfig.test.json xvfb-maybe mocha --require ts-node/register/transpile-only --retries 3 ./test/e2e/*.ts"
},
"dependencies": {
"@sentry/browser": "8.0.0-alpha.7",
"@sentry/core": "8.0.0-alpha.7",
"@sentry/node": "8.0.0-alpha.7",
"@sentry/types": "8.0.0-alpha.7",
"@sentry/utils": "8.0.0-alpha.7",
"@sentry/browser": "7.109.0",
"@sentry/core": "7.109.0",
"@sentry/node": "7.109.0",
"@sentry/types": "7.109.0",
"@sentry/utils": "7.109.0",
"deepmerge": "4.3.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-typescript": "^11.1.4",
"@sentry-internal/eslint-config-sdk": "8.0.0-alpha.7",
"@sentry-internal/typescript": "8.0.0-alpha.7",
"@sentry-internal/eslint-config-sdk": "7.109.0",
"@sentry-internal/typescript": "7.109.0",
"@types/busboy": "^0.2.3",
"@types/chai": "^4.2.10",
"@types/chai-as-promised": "^7.1.5",
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,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_0_0_alpha_7: O) => void = browserInit,
originalInit: (if_you_get_a_typescript_error_ensure_sdks_use_version_v7_109_0: O) => void = browserInit,
): void {
ensureProcess('renderer');

Expand Down

0 comments on commit 5cefbaf

Please sign in to comment.