Socket
Socket
Sign inDemoInstall

@sentry/types

Package Overview
Dependencies
0
Maintainers
8
Versions
449
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.4.2 to 4.5.0

esm/index.d.ts

17

dist/index.d.ts

@@ -214,5 +214,18 @@ /** Supported Sentry transport protocols in a Dsn. */

}
/** JSDoc */
/** Transport used sending data to Sentry */
export interface Transport {
captureEvent(event: SentryEvent): Promise<SentryResponse>;
/**
* Sends the body to the Store endpoint in Sentry.
*
* @param body String body that should be sent to Sentry.
*/
sendEvent(body: string): Promise<SentryResponse>;
/**
* Call this function to wait until all pending requests have been sent.
*
* @param timeout Number time in ms to wait until the buffer is drained.
*/
close(timeout?: number): Promise<boolean>;
/** @deprecated Implement sendEvent instead */
captureEvent?(event: SentryEvent): Promise<SentryResponse>;
}

@@ -219,0 +232,0 @@ /** JSDoc */

17

package.json
{
"name": "@sentry/types",
"version": "4.4.2",
"version": "4.5.0",
"description": "Types for all Sentry JavaScript SDKs",
"repository": "git://github.com/getsentry/raven-js.git",
"homepage": "https://github.com/getsentry/raven-js/tree/master/packages/types",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/types",
"author": "Sentry",

@@ -22,6 +22,10 @@ "license": "BSD-3-Clause",

"tslint": "^5.11.0",
"typescript": "^3.0.1"
"typescript": "^3.2.0"
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"build": "run-p build:es5 build:esm",
"build:es5": "tsc -p tsconfig.build.json",
"build:esm": "run-s build:esm:transpile build:esm:rewrite",
"build:esm:transpile": "tsc -p tsconfig.esm.json",
"build:esm:rewrite": "node ../../scripts/esm-rewrite.js",
"build:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",

@@ -36,3 +40,4 @@ "lint": "run-s lint:prettier lint:tslint",

},
"gitHead": "a91da22f8bd3bddb38fab7f868326e376da82d4d"
"gitHead": "a91da22f8bd3bddb38fab7f868326e376da82d4d",
"sideEffects": false
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc