Skip to content

Commit 29c4ad2

Browse files
committed
ref(v8): Remove deprecated methods on scope
1 parent b0c9459 commit 29c4ad2

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

packages/core/src/scope.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,6 @@ export class Scope implements ScopeInterface {
112112
this._propagationContext = generatePropagationContext();
113113
}
114114

115-
/**
116-
* Inherit values from the parent scope.
117-
* @deprecated Use `scope.clone()` and `new Scope()` instead.
118-
*/
119-
public static clone(scope?: Scope): Scope {
120-
return scope ? scope.clone() : new Scope();
121-
}
122-
123115
/**
124116
* @inheritDoc
125117
*/
@@ -469,16 +461,6 @@ export class Scope implements ScopeInterface {
469461
return this;
470462
}
471463

472-
/**
473-
* @inheritDoc
474-
* @deprecated Use `getScopeData()` instead.
475-
*/
476-
public getAttachments(): Attachment[] {
477-
const data = this.getScopeData();
478-
479-
return data.attachments;
480-
}
481-
482464
/**
483465
* @inheritDoc
484466
*/

packages/types/src/scope.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,6 @@ export interface Scope {
206206
*/
207207
addAttachment(attachment: Attachment): this;
208208

209-
/**
210-
* Returns an array of attachments on the scope
211-
*/
212-
getAttachments(): Attachment[];
213-
214209
/**
215210
* Clears attachments from the scope
216211
*/

0 commit comments

Comments
 (0)