Socket
Socket
Sign inDemoInstall

@sentry/types

Package Overview
Dependencies
0
Maintainers
11
Versions
434
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.0-beta.5 to 8.0.0-beta.6

2

package.json
{
"name": "@sentry/types",
"version": "8.0.0-beta.5",
"version": "8.0.0-beta.6",
"description": "Types for all Sentry JavaScript SDKs",

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

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

import { Attachment } from '../attachment';
import { Event } from '../event';
import { TransportMakeRequestResponse } from '../transport';
import { Event, EventHint } from '../event';
import { User } from '../user';

@@ -20,2 +18,3 @@ /**

url?: string;
associated_event_id?: string;
}

@@ -36,7 +35,7 @@ /**

email?: string;
attachments?: Attachment[];
url?: string;
source?: string;
associatedEventId?: string;
}
interface SendFeedbackOptions {
interface SendFeedbackOptions extends EventHint {
/**

@@ -47,4 +46,4 @@ * Should include replay with the feedback?

}
export type SendFeedback = (params: SendFeedbackParams, options?: SendFeedbackOptions) => Promise<TransportMakeRequestResponse>;
export type SendFeedback = (params: SendFeedbackParams, options?: SendFeedbackOptions) => Promise<string>;
export {};
//# sourceMappingURL=sendFeedback.d.ts.map

@@ -15,2 +15,8 @@ import { Client } from './client';

export interface InternalBaseTransportOptions {
/**
* @ignore
* Users should pass the tunnel property via the init/client options.
* This is only used by the SDK to pass the tunnel to the transport.
*/
tunnel?: string;
bufferSize?: number;

@@ -17,0 +23,0 @@ recordDroppedEvent: Client['recordDroppedEvent'];

@@ -10,3 +10,9 @@ /**

username?: string;
geo?: GeoLocation;
}
export interface GeoLocation {
country_code?: string;
region?: string;
city?: string;
}
//# sourceMappingURL=user.d.ts.map

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

import type { Attachment } from '../attachment';
import type { Event } from '../event';
import type { TransportMakeRequestResponse } from '../transport';
import type { Event, EventHint } from '../event';
import type { User } from '../user';

@@ -20,2 +18,3 @@ /**

url?: string;
associated_event_id?: string;
}

@@ -36,7 +35,7 @@ /**

email?: string;
attachments?: Attachment[];
url?: string;
source?: string;
associatedEventId?: string;
}
interface SendFeedbackOptions {
interface SendFeedbackOptions extends EventHint {
/**

@@ -47,4 +46,4 @@ * Should include replay with the feedback?

}
export type SendFeedback = (params: SendFeedbackParams, options?: SendFeedbackOptions) => Promise<TransportMakeRequestResponse>;
export type SendFeedback = (params: SendFeedbackParams, options?: SendFeedbackOptions) => Promise<string>;
export {};
//# sourceMappingURL=sendFeedback.d.ts.map

@@ -15,2 +15,8 @@ import type { Client } from './client';

export interface InternalBaseTransportOptions {
/**
* @ignore
* Users should pass the tunnel property via the init/client options.
* This is only used by the SDK to pass the tunnel to the transport.
*/
tunnel?: string;
bufferSize?: number;

@@ -17,0 +23,0 @@ recordDroppedEvent: Client['recordDroppedEvent'];

@@ -10,3 +10,9 @@ /**

username?: string;
geo?: GeoLocation;
}
export interface GeoLocation {
country_code?: string;
region?: string;
city?: string;
}
//# sourceMappingURL=user.d.ts.map

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc