Skip to content

Commit

Permalink
[v7] Remove SDK_NAME constants in favor of SDK metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilogorek committed Mar 23, 2021
1 parent 320d1f0 commit 9a44ac4
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion packages/browser/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export {

export { BrowserClient, BrowserOptions } from './client';
export { defaultIntegrations, forceLoad, init, onLoad, showReportDialog, wrap } from './sdk';
export { SDK_NAME } from './version';

import { getGlobalObject } from '@sentry/utils';

Expand Down
2 changes: 0 additions & 2 deletions packages/browser/src/version.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/node/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export { SDK_VERSION } from '@sentry/core';

export { NodeClient, NodeOptions } from './client';
export { defaultIntegrations, init } from './sdk';
export { SDK_NAME } from './version';

// TODO: Can be written as `export * as Handlers from './handlers'` but ESLint doesnt understand it for some reason. Investigate.
import * as Handlers from './handlers';
Expand Down
2 changes: 0 additions & 2 deletions packages/node/src/version.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/tracing/src/index.bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export {
close,
wrap,
} from '@sentry/browser';
export { SDK_NAME, SDK_VERSION } from '@sentry/browser';
export { SDK_VERSION } from '@sentry/browser';

import { Integrations as BrowserIntegrations } from '@sentry/browser';
import { getGlobalObject } from '@sentry/utils';
Expand Down
1 change: 0 additions & 1 deletion packages/vue/src/index.bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export {
setTags,
setUser,
withScope,
SDK_NAME,
SDK_VERSION,
} from '@sentry/browser';
export { ReportDialogOptions } from '@sentry/transport-base';
Expand Down

0 comments on commit 9a44ac4

Please sign in to comment.