Skip to content

Commit

Permalink
Update to 8.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
timfish committed May 20, 2024
1 parent 3db82a0 commit e707f4b
Show file tree
Hide file tree
Showing 6 changed files with 189 additions and 213 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.0.0",
"@sentry/core": "8.0.0",
"@sentry/node": "8.0.0",
"@sentry/types": "8.0.0",
"@sentry/utils": "8.0.0",
"@sentry/browser": "8.2.1",
"@sentry/core": "8.2.1",
"@sentry/node": "8.2.1",
"@sentry/types": "8.2.1",
"@sentry/utils": "8.2.1",
"deepmerge": "4.3.1"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@sentry-internal/eslint-config-sdk": "8.0.0",
"@sentry-internal/typescript": "8.0.0",
"@sentry-internal/eslint-config-sdk": "8.2.1",
"@sentry-internal/typescript": "8.2.1",
"@types/busboy": "^0.2.3",
"@types/form-data": "^2.5.0",
"@types/koa": "^2.0.52",
Expand Down
1 change: 1 addition & 0 deletions scripts/check-exports.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const ignoredNode = [
'getSentryRelease',
// We don't include these by default in the Electron SDK
'getDefaultIntegrationsWithoutPerformance',
'initWithoutDefaultIntegrations',
];

const missingRenderer = browserExports.filter((key) => !rendererExports.includes(key) && !ignoredBrowser.includes(key));
Expand Down
1 change: 1 addition & 0 deletions src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export {
initOpenTelemetry,
isInitialized,
koaIntegration,
lastEventId,
linkedErrorsIntegration,
localVariablesIntegration,
metrics,
Expand Down
1 change: 1 addition & 0 deletions src/renderer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export {
inboundFiltersIntegration,
instrumentOutgoingRequests,
isInitialized,
lastEventId,
linkedErrorsIntegration,
moduleMetadataIntegration,
onLoad,
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_0_0: O) => void = browserInit,
originalInit: (if_you_get_a_typescript_error_ensure_sdks_use_version_v8_2_1: 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 e707f4b

Please sign in to comment.