@sentry/hub
Advanced tools
Comparing version 4.4.1 to 4.4.2
@@ -106,3 +106,3 @@ "use strict"; | ||
Scope.prototype.setUser = function (user) { | ||
this.user = user; | ||
this.user = object_1.safeNormalize(user); | ||
this.notifyScopeListeners(); | ||
@@ -117,3 +117,3 @@ return this; | ||
var _a; | ||
this.tags = tslib_1.__assign({}, this.tags, (_a = {}, _a[key] = value, _a)); | ||
this.tags = tslib_1.__assign({}, this.tags, (_a = {}, _a[key] = object_1.safeNormalize(value), _a)); | ||
this.notifyScopeListeners(); | ||
@@ -128,3 +128,3 @@ return this; | ||
var _a; | ||
this.extra = tslib_1.__assign({}, this.extra, (_a = {}, _a[key] = extra, _a)); | ||
this.extra = tslib_1.__assign({}, this.extra, (_a = {}, _a[key] = object_1.safeNormalize(extra), _a)); | ||
this.notifyScopeListeners(); | ||
@@ -138,3 +138,3 @@ return this; | ||
Scope.prototype.setFingerprint = function (fingerprint) { | ||
this.fingerprint = fingerprint; | ||
this.fingerprint = object_1.safeNormalize(fingerprint); | ||
this.notifyScopeListeners(); | ||
@@ -148,3 +148,3 @@ return this; | ||
Scope.prototype.setLevel = function (level) { | ||
this.level = level; | ||
this.level = object_1.safeNormalize(level); | ||
this.notifyScopeListeners(); | ||
@@ -188,4 +188,4 @@ return this; | ||
maxBreadcrumbs !== undefined && maxBreadcrumbs >= 0 | ||
? tslib_1.__spread(this.breadcrumbs, [breadcrumb]).slice(-maxBreadcrumbs) | ||
: tslib_1.__spread(this.breadcrumbs, [breadcrumb]); | ||
? tslib_1.__spread(this.breadcrumbs, [object_1.safeNormalize(breadcrumb)]).slice(-maxBreadcrumbs) | ||
: tslib_1.__spread(this.breadcrumbs, [object_1.safeNormalize(breadcrumb)]); | ||
this.notifyScopeListeners(); | ||
@@ -192,0 +192,0 @@ }; |
{ | ||
"name": "@sentry/hub", | ||
"version": "4.4.1", | ||
"version": "4.4.2", | ||
"description": "Sentry hub which handles global state managment.", | ||
@@ -18,4 +18,4 @@ "repository": "git://github.com/getsentry/raven-js.git", | ||
"dependencies": { | ||
"@sentry/types": "4.4.1", | ||
"@sentry/utils": "4.4.1", | ||
"@sentry/types": "4.4.2", | ||
"@sentry/utils": "4.4.2", | ||
"tslib": "^1.9.3" | ||
@@ -22,0 +22,0 @@ }, |
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
73911
+ Added@sentry/types@4.4.2(transitive)
+ Added@sentry/utils@4.4.2(transitive)
- Removed@sentry/types@4.4.1(transitive)
- Removed@sentry/utils@4.4.1(transitive)
Updated@sentry/types@4.4.2
Updated@sentry/utils@4.4.2