Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sentry/types

Package Overview
Dependencies
Maintainers
11
Versions
481
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/types - npm Package Compare versions

Comparing version 7.81.0 to 7.81.1

2

package.json
{
"name": "@sentry/types",
"version": "7.81.0",
"version": "7.81.1",
"description": "Types for all Sentry JavaScript SDKs",

@@ -5,0 +5,0 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

@@ -9,2 +9,3 @@ import { Breadcrumb, BreadcrumbHint } from './breadcrumb';

import { EventProcessor } from './eventprocessor';
import { FeedbackEvent } from './feedback';
import { Integration, IntegrationClass } from './integration';

@@ -194,2 +195,10 @@ import { ClientOptions } from './options';

/**
* Register a callback when a Feedback event has been prepared.
* This should be used to mutate the event. The options argument can hint
* about what kind of mutation it expects.
*/
on?(hook: 'beforeSendFeedback', callback: (feedback: FeedbackEvent, options?: {
includeReplay?: boolean;
}) => void): void;
/**
* Fire a hook event for transaction start.

@@ -233,3 +242,11 @@ * Expects to be given a transaction as the second argument.

}): void;
/**
* Fire a hook event for after preparing a feedback event. Events to be given
* a feedback event as the second argument, and an optional options object as
* third argument.
*/
emit?(hook: 'beforeSendFeedback', feedback: FeedbackEvent, options?: {
includeReplay?: boolean;
}): void;
}
//# sourceMappingURL=client.d.ts.map

@@ -9,2 +9,3 @@ import type { Breadcrumb, BreadcrumbHint } from './breadcrumb';

import type { EventProcessor } from './eventprocessor';
import type { FeedbackEvent } from './feedback';
import type { Integration, IntegrationClass } from './integration';

@@ -194,2 +195,10 @@ import type { ClientOptions } from './options';

/**
* Register a callback when a Feedback event has been prepared.
* This should be used to mutate the event. The options argument can hint
* about what kind of mutation it expects.
*/
on?(hook: 'beforeSendFeedback', callback: (feedback: FeedbackEvent, options?: {
includeReplay?: boolean;
}) => void): void;
/**
* Fire a hook event for transaction start.

@@ -233,3 +242,11 @@ * Expects to be given a transaction as the second argument.

}): void;
/**
* Fire a hook event for after preparing a feedback event. Events to be given
* a feedback event as the second argument, and an optional options object as
* third argument.
*/
emit?(hook: 'beforeSendFeedback', feedback: FeedbackEvent, options?: {
includeReplay?: boolean;
}): void;
}
//# sourceMappingURL=client.d.ts.map

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc