8000 fix: Use Class.id internally (#1674) · getsentry/sentry-javascript@65965ff · GitHub
[go: up one dir, main page]

Skip to content

Commit 65965ff

Browse files
authored
fix: Use Class.id internally (#1674)
* fix: Use Class.id internally * meta: Add changelog
1 parent e6da9a9 commit 65965ff

File tree

23 files changed

+35
-25
lines changed

23 files changed

+35
-25
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Changelog
22

33
## Unreleased
4+
## 4.2.2
5+
6+
- [core]: "De-deprecate" name of `Integration` interface.
47

58
## 4.2.1
69

packages/browser/src/integrations/breadcrumbs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class Breadcrumbs implements Integration {
3838
/**
3939
* @inheritDoc
4040
*/
41-
public name: string = 'Breadcrumbs';
41+
public name: string = Breadcrumbs.id;
4242

4343
/**
4444
* @inheritDoc

packages/browser/src/integrations/globalhandlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class GlobalHandlers implements Integration {
2121
/**
2222
* @inheritDoc
2323
*/
24-
public name: string = 'GlobalHandlers';
24+
public name: string = GlobalHandlers.id;
2525

2626
/**
2727
* @inheritDoc

packages/browser/src/integrations/linkederrors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class LinkedErrors implements Integration {
1818
/**
1919
* @inheritDoc
2020
*/
21-
public readonly name: string = 'LinkedErrors';
21+
public readonly name: string = LinkedErrors.id;
2222

2323
/**
2424
* @inheritDoc

packages/browser/src/integrations/pluggable/ember.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export class Ember implements Integration {
77
/**
88
* @inheritDoc
99
*/
10-
public name: string = 'Ember';
10+
public name: string = Ember.id;
1111
/**
1212
* @inheritDoc
1313
*/

packages/browser/src/integrations/pluggable/vue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class Vue implements Integration {
1818
/**
1919
* @inheritDoc
2020
*/
21-
public name: string = 'Vue';
21+
public name: string = Vue.id;
2222
/**
2323
* @inheritDoc
2424
*/

packages/browser/src/integrations/reportingobserver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class ReportingObserver implements Integration {
5757
/**
5858
* @inheritDoc
5959
*/
60-
public readonly name: string = 'ReportingObserver';
60+
public readonly name: string = ReportingObserver.id;
6161
/**
6262
* @inheritDoc
6363
*/

packages/browser/src/integrations/trycatch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class TryCatch implements Integration {
1111
/**
1212
* @inheritDoc
1313
*/
14-
public name: string = 'TryCatch';
14+
public name: string = TryCatch.id;
1515

1616
/**
1717
* @inheritDoc

packages/browser/src/integrations/useragent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class UserAgent implements Integration {
99
/**
1010
* @inheritDoc
1111
*/
12-
public name: string = 'UserAgent';
12+
public name: string = UserAgent.id;
1313

1414
/**
1515
* @inheritDoc

packages/core/src/integrations/dedupe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export class Dedupe implements Integration {
1313
/**
1414
* @inheritDoc
1515
*/
16-
public name: string = 'Dedupe';
16+
public name: string = Dedupe.id;
1717

1818
/**
1919
* @inheritDoc

0 commit comments

Comments
 (0)
0