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

@sentry/browser

Package Overview
Dependencies
Maintainers
9
Versions
536
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/browser - npm Package Compare versions

Comparing version 4.5.4 to 4.6.0

2

dist/index.d.ts

@@ -5,3 +5,3 @@ export { Breadcrumb, Request, SdkInfo, SentryEvent, SentryException, SentryResponse, Severity, StackFrame, Stacktrace, Status, Thread, User, } from '@sentry/types';

export { BrowserClient, ReportDialogOptions } from './client';
export { defaultIntegrations, forceLoad, init, lastEventId, onLoad, showReportDialog } from './sdk';
export { defaultIntegrations, forceLoad, init, lastEventId, onLoad, showReportDialog, flush, close } from './sdk';
export { SDK_NAME, SDK_VERSION } from './version';

@@ -8,0 +8,0 @@ import { Integrations as CoreIntegrations } from '@sentry/core';

@@ -17,2 +17,7 @@ import { Integration } from '@sentry/types';

/**
* When set to false, Sentry will suppress reporting all props data
* from your Vue components for privacy concerns.
*/
private readonly attachProps;
/**
* @inheritDoc

@@ -22,2 +27,3 @@ */

Vue?: any;
attachProps?: boolean;
});

@@ -24,0 +30,0 @@ /** JSDoc */

@@ -70,1 +70,15 @@ import { Integrations as CoreIntegrations } from '@sentry/core';

export declare function onLoad(callback: () => void): void;
/**
* A promise that resolves when all current events have been sent.
* If you provide a timeout and the queue takes longer to drain the promise returns false.
*
* @param timeout Maximum time in ms the client should wait.
*/
export declare function flush(timeout?: number): Promise<boolean>;
/**
* A promise that resolves when all current events have been sent.
* If you provide a timeout and the queue takes longer to drain the promise returns false.
*
* @param timeout Maximum time in ms the client should wait.
*/
export declare function close(timeout?: number): Promise<boolean>;
export declare const SDK_NAME = "sentry.javascript.browser";
export declare const SDK_VERSION = "4.5.4";
export declare const SDK_VERSION = "4.6.0";

@@ -5,3 +5,3 @@ export { Breadcrumb, Request, SdkInfo, SentryEvent, SentryException, SentryResponse, Severity, StackFrame, Stacktrace, Status, Thread, User, } from '@sentry/types/esm';

export { BrowserClient, ReportDialogOptions } from './client';
export { defaultIntegrations, forceLoad, init, lastEventId, onLoad, showReportDialog } from './sdk';
export { defaultIntegrations, forceLoad, init, lastEventId, onLoad, showReportDialog, flush, close } from './sdk';
export { SDK_NAME, SDK_VERSION } from './version';

@@ -8,0 +8,0 @@ import { Integrations as CoreIntegrations } from '@sentry/core/esm';

@@ -5,3 +5,3 @@ export { Severity, Status, } from '@sentry/types/esm';

export { BrowserClient } from './client';
export { defaultIntegrations, forceLoad, init, lastEventId, onLoad, showReportDialog } from './sdk';
export { defaultIntegrations, forceLoad, init, lastEventId, onLoad, showReportDialog, flush, close } from './sdk';
export { SDK_NAME, SDK_VERSION } from './version';

@@ -8,0 +8,0 @@ import { Integrations as CoreIntegrations } from '@sentry/core/esm';

@@ -17,2 +17,7 @@ import { Integration } from '@sentry/types/esm';

/**
* When set to false, Sentry will suppress reporting all props data
* from your Vue components for privacy concerns.
*/
private readonly attachProps;
/**
* @inheritDoc

@@ -22,2 +27,3 @@ */

Vue?: any;
attachProps?: boolean;
});

@@ -24,0 +30,0 @@ /** JSDoc */

@@ -18,2 +18,3 @@ import { captureException, getCurrentHub, withScope } from '@sentry/core/esm';

getGlobalObject().Vue;
this.attachProps = options.attachProps || true;
}

@@ -42,3 +43,5 @@ /** JSDoc */

metadata.componentName = this.formatComponentName(vm);
metadata.propsData = vm.$options.propsData;
if (this.attachProps) {
metadata.propsData = vm.$options.propsData;
}
}

@@ -45,0 +48,0 @@ if (!isUndefined(info)) {

@@ -70,1 +70,15 @@ import { Integrations as CoreIntegrations } from '@sentry/core/esm';

export declare function onLoad(callback: () => void): void;
/**
* A promise that resolves when all current events have been sent.
* If you provide a timeout and the queue takes longer to drain the promise returns false.
*
* @param timeout Maximum time in ms the client should wait.
*/
export declare function flush(timeout?: number): Promise<boolean>;
/**
* A promise that resolves when all current events have been sent.
* If you provide a timeout and the queue takes longer to drain the promise returns false.
*
* @param timeout Maximum time in ms the client should wait.
*/
export declare function close(timeout?: number): Promise<boolean>;

@@ -99,2 +99,20 @@ import { getCurrentHub, initAndBind, Integrations as CoreIntegrations } from '@sentry/core/esm';

}
/**
* A promise that resolves when all current events have been sent.
* If you provide a timeout and the queue takes longer to drain the promise returns false.
*
* @param timeout Maximum time in ms the client should wait.
*/
export async function flush(timeout) {
return getCurrentHub().getClient().flush(timeout);
}
/**
* A promise that resolves when all current events have been sent.
* If you provide a timeout and the queue takes longer to drain the promise returns false.
*
* @param timeout Maximum time in ms the client should wait.
*/
export async function close(timeout) {
return getCurrentHub().getClient().close(timeout);
}
//# sourceMappingURL=sdk.js.map
export declare const SDK_NAME = "sentry.javascript.browser";
export declare const SDK_VERSION = "4.5.4";
export declare const SDK_VERSION = "4.6.0";
export const SDK_NAME = 'sentry.javascript.browser';
export const SDK_VERSION = '4.5.4';
export const SDK_VERSION = '4.6.0';
//# sourceMappingURL=version.js.map
{
"name": "@sentry/browser",
"version": "4.5.4",
"version": "4.6.0",
"description": "Offical Sentry SDK for browsers",

@@ -18,3 +18,3 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"dependencies": {
"@sentry/core": "4.5.4",
"@sentry/core": "4.6.0",
"@sentry/types": "4.5.3",

@@ -21,0 +21,0 @@ "@sentry/utils": "4.5.4",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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

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