File tree 2 files changed +4
-0
lines changed
packages/node-experimental/src/sdk
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ export function withIsolationScope<T>(callback: (isolationScope: Scope) => T): T
59
59
* @deprecated This function will be removed in the next major version of the Sentry SDK.
60
60
*/
61
61
export function lastEventId ( ) : string | undefined {
62
+ // eslint-disable-next-line deprecation/deprecation
62
63
return getCurrentScope ( ) . lastEventId ( ) ;
63
64
}
64
65
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ export interface Scope extends BaseScope {
32
32
isolationScope : typeof this | undefined ;
33
33
// @ts -expect-error typeof this is what we want here
34
34
clone ( scope ?: Scope ) : typeof this ;
35
+ /**
36
+ * @deprecated This function will be removed in the next major version of the Sentry SDK.
37
+ */
35
38
lastEventId ( ) : string | undefined ;
36
39
getScopeData ( ) : ScopeData ;
37
40
}
You can’t perform that action at this time.
0 commit comments