@sentry/hub
Advanced tools
Comparing version 0.5.4 to 4.0.0-beta.0
@@ -34,3 +34,3 @@ import { Breadcrumb, SentryEvent } from '@sentry/types'; | ||
*/ | ||
private invokeClient(method, ...args); | ||
private invokeClient; | ||
/** | ||
@@ -43,3 +43,3 @@ * Internal helper function to call an async method on the top client if it | ||
*/ | ||
private invokeClientAsync(method, ...args); | ||
private invokeClientAsync; | ||
/** | ||
@@ -129,5 +129,5 @@ * Checks if this hub's version is older than the given version. | ||
* This will be called to receive the event | ||
* @param callback | ||
* @param callback will only be called if there is a bound client | ||
*/ | ||
addEventProcessor(callback: () => (event: SentryEvent) => void): void; | ||
} |
@@ -63,2 +63,3 @@ "use strict"; | ||
} | ||
var _a; | ||
var top = this.getStackTop(); | ||
@@ -68,3 +69,2 @@ if (top && top.client && top.client[method]) { | ||
} | ||
var _a; | ||
}; | ||
@@ -83,2 +83,3 @@ /** | ||
} | ||
var _a; | ||
var top = this.getStackTop(); | ||
@@ -90,3 +91,2 @@ if (top && top.client && top.client[method]) { | ||
} | ||
var _a; | ||
}; | ||
@@ -232,3 +232,3 @@ /** | ||
* This will be called to receive the event | ||
* @param callback | ||
* @param callback will only be called if there is a bound client | ||
*/ | ||
@@ -235,0 +235,0 @@ Hub.prototype.addEventProcessor = function (callback) { |
@@ -51,3 +51,3 @@ import { Breadcrumb, SentryEvent, User } from '@sentry/types'; | ||
* Updates extra context information for future events. | ||
* @param extra Extra context object to merge into current context. | ||
* @param extra context object to merge into current context. | ||
*/ | ||
@@ -57,3 +57,3 @@ setExtra(key: string, extra: any): void; | ||
* Sets the fingerprint on the scope to send with the events. | ||
* @param fingerprint | ||
* @param fingerprint string[] to group events in Sentry. | ||
*/ | ||
@@ -63,3 +63,3 @@ setFingerprint(fingerprint: string[]): void; | ||
* Inherit values from the parent scope. | ||
* @param scope | ||
* @param scope to clone. | ||
*/ | ||
@@ -66,0 +66,0 @@ static clone(scope?: Scope): Scope; |
@@ -96,18 +96,18 @@ "use strict"; | ||
Scope.prototype.setTag = function (key, value) { | ||
var _a; | ||
this.tags = __assign({}, this.tags, (_a = {}, _a[key] = value, _a)); | ||
this.notifyScopeListeners(); | ||
var _a; | ||
}; | ||
/** | ||
* Updates extra context information for future events. | ||
* @param extra Extra context object to merge into current context. | ||
* @param extra context object to merge into current context. | ||
*/ | ||
Scope.prototype.setExtra = function (key, extra) { | ||
var _a; | ||
this.extra = __assign({}, this.extra, (_a = {}, _a[key] = extra, _a)); | ||
this.notifyScopeListeners(); | ||
var _a; | ||
}; | ||
/** | ||
* Sets the fingerprint on the scope to send with the events. | ||
* @param fingerprint | ||
* @param fingerprint string[] to group events in Sentry. | ||
*/ | ||
@@ -120,3 +120,3 @@ Scope.prototype.setFingerprint = function (fingerprint) { | ||
* Inherit values from the parent scope. | ||
* @param scope | ||
* @param scope to clone. | ||
*/ | ||
@@ -123,0 +123,0 @@ Scope.clone = function (scope) { |
{ | ||
"name": "@sentry/hub", | ||
"version": "0.5.4", | ||
"version": "4.0.0-beta.0", | ||
"description": "Sentry hub which handles global state managment.", | ||
@@ -18,3 +18,3 @@ "repository": "git://github.com/getsentry/raven-js.git", | ||
"dependencies": { | ||
"@sentry/types": "0.5.4" | ||
"@sentry/types": "4.0.0-beta.0" | ||
}, | ||
@@ -44,6 +44,13 @@ "devDependencies": { | ||
"collectCoverage": true, | ||
"transform": { "^.+\\.ts$": "ts-jest" }, | ||
"moduleFileExtensions": ["js", "ts"], | ||
"transform": { | ||
"^.+\\.ts$": "ts-jest" | ||
}, | ||
"moduleFileExtensions": [ | ||
"js", | ||
"ts" | ||
], | ||
"testEnvironment": "node", | ||
"testMatch": ["**/*.test.ts"], | ||
"testMatch": [ | ||
"**/*.test.ts" | ||
], | ||
"globals": { | ||
@@ -54,3 +61,4 @@ "ts-jest": { | ||
} | ||
} | ||
}, | ||
"gitHead": "a91da22f8bd3bddb38fab7f868326e376da82d4d" | ||
} |
@@ -217,3 +217,3 @@ import { Breadcrumb, SentryEvent } from '@sentry/types'; | ||
* This will be called to receive the event | ||
* @param callback | ||
* @param callback will only be called if there is a bound client | ||
*/ | ||
@@ -220,0 +220,0 @@ public addEventProcessor(callback: () => (event: SentryEvent) => void): void { |
@@ -86,3 +86,3 @@ import { Breadcrumb, SentryEvent, User } from '@sentry/types'; | ||
* Updates extra context information for future events. | ||
* @param extra Extra context object to merge into current context. | ||
* @param extra context object to merge into current context. | ||
*/ | ||
@@ -96,3 +96,3 @@ public setExtra(key: string, extra: any): void { | ||
* Sets the fingerprint on the scope to send with the events. | ||
* @param fingerprint | ||
* @param fingerprint string[] to group events in Sentry. | ||
*/ | ||
@@ -106,3 +106,3 @@ public setFingerprint(fingerprint: string[]): void { | ||
* Inherit values from the parent scope. | ||
* @param scope | ||
* @param scope to clone. | ||
*/ | ||
@@ -109,0 +109,0 @@ public static clone(scope?: Scope): Scope { |
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
225857
43
2153
+ Added@sentry/types@4.0.0-beta.0(transitive)
- Removed@sentry/types@0.5.4(transitive)
Updated@sentry/types@4.0.0-beta.0