File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
packages/node-experimental/src/sdk Expand file tree Collapse file tree 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
5959 * @deprecated This function will be removed in the next major version of the Sentry SDK.
6060 */
6161export function lastEventId ( ) : string | undefined {
62+ // eslint-disable-next-line deprecation/deprecation
6263 return getCurrentScope ( ) . lastEventId ( ) ;
6364}
6465
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ export interface Scope extends BaseScope {
3232 isolationScope : typeof this | undefined ;
3333 // @ts -expect-error typeof this is what we want here
3434 clone ( scope ?: Scope ) : typeof this ;
35+ /**
36+ * @deprecated This function will be removed in the next major version of the Sentry SDK.
37+ */
3538 lastEventId ( ) : string | undefined ;
3639 getScopeData ( ) : ScopeData ;
3740}
You can’t perform that action at this time.
0 commit comments