Socket
Socket
Sign inDemoInstall

@sentry/types

Package Overview
Dependencies
Maintainers
11
Versions
466
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 8.9.2 to 8.10.0

2

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

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

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

*/
on(hook: 'createDsc', callback: (dsc: DynamicSamplingContext) => void): void;
on(hook: 'createDsc', callback: (dsc: DynamicSamplingContext, rootSpan?: Span) => void): void;
/**

@@ -274,3 +274,3 @@ * Register a callback when a Feedback event has been prepared.

*/
emit(hook: 'createDsc', dsc: DynamicSamplingContext): void;
emit(hook: 'createDsc', dsc: DynamicSamplingContext, rootSpan?: Span): void;
/**

@@ -277,0 +277,0 @@ * Fire a hook event for after preparing a feedback event. Events to be given

@@ -0,1 +1,2 @@

import { Primitive } from '../misc';
import { FeedbackFormData } from './form';

@@ -49,2 +50,8 @@ import { FeedbackTheme } from './theme';

};
/**
* Set an object that will be merged sent as tags data with the event.
*/
tags?: {
[key: string]: Primitive;
};
}

@@ -51,0 +58,0 @@ /**

import { Event, EventHint } from '../event';
import { Primitive } from '../misc';
import { User } from '../user';

@@ -37,11 +38,13 @@ /**

associatedEventId?: string;
}
interface SendFeedbackOptions extends EventHint {
/**
* Should include replay with the feedback?
* Set an object that will be merged sent as tags data with the event.
*/
tags?: {
[key: string]: Primitive;
};
}
export type SendFeedback = (params: SendFeedbackParams, hint?: EventHint & {
includeReplay?: boolean;
}
export type SendFeedback = (params: SendFeedbackParams, options?: SendFeedbackOptions) => Promise<string>;
}) => Promise<string>;
export {};
//# sourceMappingURL=sendFeedback.d.ts.map

@@ -55,3 +55,2 @@ import { DebugImage } from './debugMeta';

interface BaseProfile<T> {
timestamp: string;
version: string;

@@ -58,0 +57,0 @@ release: string;

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

*/
on(hook: 'createDsc', callback: (dsc: DynamicSamplingContext) => void): void;
on(hook: 'createDsc', callback: (dsc: DynamicSamplingContext, rootSpan?: Span) => void): void;
/**

@@ -274,3 +274,3 @@ * Register a callback when a Feedback event has been prepared.

*/
emit(hook: 'createDsc', dsc: DynamicSamplingContext): void;
emit(hook: 'createDsc', dsc: DynamicSamplingContext, rootSpan?: Span): void;
/**

@@ -277,0 +277,0 @@ * Fire a hook event for after preparing a feedback event. Events to be given

@@ -0,1 +1,2 @@

import type { Primitive } from '../misc';
import type { FeedbackFormData } from './form';

@@ -49,2 +50,8 @@ import type { FeedbackTheme } from './theme';

};
/**
* Set an object that will be merged sent as tags data with the event.
*/
tags?: {
[key: string]: Primitive;
};
}

@@ -51,0 +58,0 @@ /**

import type { Event, EventHint } from '../event';
import type { Primitive } from '../misc';
import type { User } from '../user';

@@ -37,11 +38,13 @@ /**

associatedEventId?: string;
}
interface SendFeedbackOptions extends EventHint {
/**
* Should include replay with the feedback?
* Set an object that will be merged sent as tags data with the event.
*/
tags?: {
[key: string]: Primitive;
};
}
export type SendFeedback = (params: SendFeedbackParams, hint?: EventHint & {
includeReplay?: boolean;
}
export type SendFeedback = (params: SendFeedbackParams, options?: SendFeedbackOptions) => Promise<string>;
}) => Promise<string>;
export {};
//# sourceMappingURL=sendFeedback.d.ts.map

@@ -55,3 +55,2 @@ import type { DebugImage } from './debugMeta';

interface BaseProfile<T> {
timestamp: string;
version: string;

@@ -58,0 +57,0 @@ release: string;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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