@sentry/types
Advanced tools
Comparing version 5.2.0 to 5.4.0
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=breadcrumb.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=client.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=dsn.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=error.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=event.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=eventprocessor.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=exception.js.map |
@@ -7,2 +7,3 @@ import { Breadcrumb, BreadcrumbHint } from './breadcrumb'; | ||
import { Severity } from './severity'; | ||
import { User } from './user'; | ||
/** | ||
@@ -103,2 +104,42 @@ * Internal class used to make sure we always have the latest internal functions | ||
/** | ||
* Updates user context information for future events. | ||
* | ||
* @param user User context object to be set in the current context. Pass `null` to unset the user. | ||
*/ | ||
setUser(user: User | null): void; | ||
/** | ||
* Set an object that will be merged sent as tags data with the event. | ||
* @param tags Tags context object to merge into current context. | ||
*/ | ||
setTags(tags: { | ||
[key: string]: string; | ||
}): void; | ||
/** | ||
* Set key:value that will be sent as tags data with the event. | ||
* @param key String key of tag | ||
* @param value String value of tag | ||
*/ | ||
setTag(key: string, value: string): void; | ||
/** | ||
* Set key:value that will be sent as extra data with the event. | ||
* @param key String of extra | ||
* @param extra Any kind of data. This data will be normailzed. | ||
*/ | ||
setExtra(key: string, extra: any): void; | ||
/** | ||
* Set an object that will be merged sent as extra data with the event. | ||
* @param extras Extras object to merge into current context. | ||
*/ | ||
setExtras(extras: { | ||
[key: string]: any; | ||
}): void; | ||
/** | ||
* Sets context data with the given name. | ||
* @param name of the context | ||
* @param context Any kind of data. This data will be normailzed. | ||
*/ | ||
setContext(name: string, context: { | ||
[key: string]: any; | ||
} | null): void; | ||
/** | ||
* Callback to set context information onto the scope. | ||
@@ -105,0 +146,0 @@ * |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=hub.js.map |
@@ -1,2 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -3,0 +2,0 @@ var loglevel_1 = require("./loglevel"); |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=integration.js.map |
@@ -1,2 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -3,0 +2,0 @@ /** Console logging verbosity for the SDK. */ |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=mechanism.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=options.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=package.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=request.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=response.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=scope.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=sdkinfo.js.map |
@@ -1,2 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -3,0 +2,0 @@ /** JSDoc */ |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=span.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=stackframe.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=stacktrace.js.map |
@@ -1,2 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -3,0 +2,0 @@ /** The status of an event. */ |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=thread.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=transport.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=user.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=wrappedfunction.js.map |
@@ -7,2 +7,3 @@ import { Breadcrumb, BreadcrumbHint } from './breadcrumb'; | ||
import { Severity } from './severity'; | ||
import { User } from './user'; | ||
/** | ||
@@ -103,2 +104,42 @@ * Internal class used to make sure we always have the latest internal functions | ||
/** | ||
* Updates user context information for future events. | ||
* | ||
* @param user User context object to be set in the current context. Pass `null` to unset the user. | ||
*/ | ||
setUser(user: User | null): void; | ||
/** | ||
* Set an object that will be merged sent as tags data with the event. | ||
* @param tags Tags context object to merge into current context. | ||
*/ | ||
setTags(tags: { | ||
[key: string]: string; | ||
}): void; | ||
/** | ||
* Set key:value that will be sent as tags data with the event. | ||
* @param key String key of tag | ||
* @param value String value of tag | ||
*/ | ||
setTag(key: string, value: string): void; | ||
/** | ||
* Set key:value that will be sent as extra data with the event. | ||
* @param key String of extra | ||
* @param extra Any kind of data. This data will be normailzed. | ||
*/ | ||
setExtra(key: string, extra: any): void; | ||
/** | ||
* Set an object that will be merged sent as extra data with the event. | ||
* @param extras Extras object to merge into current context. | ||
*/ | ||
setExtras(extras: { | ||
[key: string]: any; | ||
}): void; | ||
/** | ||
* Sets context data with the given name. | ||
* @param name of the context | ||
* @param context Any kind of data. This data will be normailzed. | ||
*/ | ||
setContext(name: string, context: { | ||
[key: string]: any; | ||
} | null): void; | ||
/** | ||
* Callback to set context information onto the scope. | ||
@@ -105,0 +146,0 @@ * |
{ | ||
"name": "@sentry/types", | ||
"version": "5.2.0", | ||
"version": "5.4.0", | ||
"description": "Types for all Sentry JavaScript SDKs", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", |
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
166680
1792