@sentry/types
Advanced tools
Comparing version 8.15.0 to 8.16.0
@@ -191,2 +191,7 @@ import { Breadcrumb, BreadcrumbHint } from './breadcrumb'; | ||
/** | ||
* Register a callback that runs when stack frame metadata should be applied to an event. | ||
* @returns A function that, when executed, removes the registered callback. | ||
*/ | ||
on(hook: 'applyFrameMetadata', callback: (event: Event) => void): () => void; | ||
/** | ||
* Register a callback for before sending an event. | ||
@@ -270,2 +275,3 @@ * This is called right before an event is sent and should not be used to mutate the event. | ||
emit(hook: 'beforeEnvelope', envelope: Envelope): void; | ||
emit(hook: 'applyFrameMetadata', event: Event): void; | ||
/** | ||
@@ -272,0 +278,0 @@ * Fire a hook event before sending an event. |
@@ -191,2 +191,7 @@ import type { Breadcrumb, BreadcrumbHint } from './breadcrumb'; | ||
/** | ||
* Register a callback that runs when stack frame metadata should be applied to an event. | ||
* @returns A function that, when executed, removes the registered callback. | ||
*/ | ||
on(hook: 'applyFrameMetadata', callback: (event: Event) => void): () => void; | ||
/** | ||
* Register a callback for before sending an event. | ||
@@ -270,2 +275,3 @@ * This is called right before an event is sent and should not be used to mutate the event. | ||
emit(hook: 'beforeEnvelope', envelope: Envelope): void; | ||
emit(hook: 'applyFrameMetadata', event: Event): void; | ||
/** | ||
@@ -272,0 +278,0 @@ * Fire a hook event before sending an event. |
{ | ||
"name": "@sentry/types", | ||
"version": "8.15.0", | ||
"version": "8.16.0", | ||
"description": "Types for all Sentry JavaScript SDKs", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
327058
6719