Skip to content

Commit

Permalink
feat: Update JavaScript SDKs to v8.30.0 (#976)
Browse files Browse the repository at this point in the history
  • Loading branch information
timfish authored Sep 18, 2024
1 parent f01420f commit 94a96ed
Show file tree
Hide file tree
Showing 4 changed files with 475 additions and 602 deletions.
16 changes: 8 additions & 8 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.30.0",
"@sentry/core": "8.30.0",
"@sentry/node": "8.30.0",
"@sentry/types": "8.30.0",
"@sentry/utils": "8.30.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.30.0",
"@sentry-internal/typescript": "8.30.0",
"@types/busboy": "^0.2.3",
"@types/form-data": "^2.5.0",
"@types/koa": "^2.0.52",
Expand Down Expand Up @@ -96,4 +96,4 @@
"node": "20.12.0",
"yarn": "1.22.19"
}
}
}
2 changes: 2 additions & 0 deletions src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export {
fsIntegration,
functionToStringIntegration,
generateInstrumentOnce,
genericPoolIntegration,
getActiveSpan,
getAutoPerformanceIntegrations,
getClient,
Expand All @@ -69,6 +70,7 @@ export {
inboundFiltersIntegration,
initOpenTelemetry,
isInitialized,
kafkaIntegration,
koaIntegration,
lastEventId,
linkedErrorsIntegration,
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_30_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 94a96ed

Please sign in to comment.