Skip to content

Commit baf780f

Browse files
committed
add setSDKProcessingMetadata to Scope type
1 parent 00850ca commit baf780f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/types/src/scope.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,4 +175,9 @@ export interface Scope {
175175
* Clears attachments from the scope
176176
*/
177177
clearAttachments(): this;
178+
179+
/**
180+
* Add data which will be accessible during event processing but won't get sent to Sentry
181+
*/
182+
setSDKProcessingMetadata(newData: { [key: string]: unknown }): this;
178183
}

0 commit comments

Comments
 (0)