sentry-vir 4.0.0 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type JsonCompatibleObject, type PartialWithUndefined } from '@augment-vir/common';
|
|
2
|
-
import { type ScopeContext } from '@sentry/core';
|
|
2
|
+
import { type ScopeContext, type setTags } from '@sentry/core';
|
|
3
3
|
import { type EventSeverityEnum } from './event-severity.js';
|
|
4
4
|
/**
|
|
5
5
|
* Used for all extra context types. While keys must be strings, values can be whatever but must be
|
|
@@ -7,7 +7,7 @@ import { type EventSeverityEnum } from './event-severity.js';
|
|
|
7
7
|
*/
|
|
8
8
|
export type EventExtraContext = JsonCompatibleObject;
|
|
9
9
|
/** Allowed tag value types for Sentry event tags. */
|
|
10
|
-
export type EventTags =
|
|
10
|
+
export type EventTags = Parameters<typeof setTags>[0];
|
|
11
11
|
/**
|
|
12
12
|
* Combined context and tags parameter used for event logging functions. Both properties are
|
|
13
13
|
* optional.
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
/** A list of tag names as keys and their values. Set a tag to undefined to clear it. */
|
|
3
|
-
export type SentryTags = Parameters<typeof setTags>[0];
|
|
1
|
+
import { type EventTags } from '../event-context/event-context.js';
|
|
4
2
|
/** Set tags for all future Sentry event handling (errors and logs). */
|
|
5
|
-
export declare function attachSentryTags(tags:
|
|
3
|
+
export declare function attachSentryTags(tags: EventTags): undefined;
|