@sentry/types 8.0.0-rc.3 → 8.1.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/types",
3
- "version": "8.0.0-rc.3",
3
+ "version": "8.1.0",
4
4
  "description": "Types for all Sentry JavaScript SDKs",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/types",
@@ -1,136 +1,35 @@
1
- interface BaseStyles {
1
+ export interface FeedbackTheme {
2
2
  /**
3
3
  * Foreground color (i.e. text color)
4
4
  */
5
- foreground: string;
5
+ foreground?: string;
6
6
  /**
7
- * Success color
8
- */
9
- successForeground: string;
10
- /**
11
- * Error color
12
- */
13
- errorForeground: string;
14
- /**
15
- * Background color for actor and dialog
16
- */
17
- background: string;
18
- /**
19
- * Border styling for actor and dialog
20
- */
21
- border: string;
22
- /**
23
- * Box shadow for actor and dialog
24
- */
25
- boxShadow: string;
26
- }
27
- interface Input {
28
- /**
29
- * Foreground color for form inputs
30
- */
31
- inputForeground: string;
32
- /**
33
- * Background color for form inputs
34
- */
35
- inputBackground: string;
36
- /**
37
- * Background color for form inputs, in the hover state
38
- */
39
- inputBackgroundHover: string;
40
- /**
41
- * Background color for form inputs, in the focus state
42
- */
43
- inputBackgroundFocus: string;
44
- /**
45
- * Border styles for form inputs
46
- */
47
- inputBorder: string;
48
- /**
49
- * Border radius for form inputs
50
- */
51
- inputBorderRadius: string;
52
- /**
53
- * Border styles for form inputs when focused
54
- */
55
- inputOutlineFocus: string;
56
- }
57
- interface Button {
58
- /**
59
- * Foreground color for buttons
60
- */
61
- buttonForeground: string;
62
- /**
63
- * Foreground color for buttons, in the hover state
64
- */
65
- buttonForegroundHover: string;
66
- /**
67
- * Background color for buttons
68
- */
69
- buttonBackground: string;
70
- /**
71
- * Background color when hovering over buttons
72
- */
73
- buttonBackgroundHover: string;
74
- /**
75
- * Border style for buttons
76
- */
77
- buttonBorder: string;
78
- /**
79
- * Border style for buttons, in the focued state
80
- */
81
- buttonOutlineFocus: string;
82
- }
83
- interface SubmitButton {
84
- /**
85
- * Foreground color for submit buttons
7
+ * Background color for surfaces
86
8
  */
87
- submitForeground: string;
9
+ background?: string;
88
10
  /**
89
- * Foreground color for submit buttons, in the hover state
11
+ * Foreground color for accented elements
90
12
  */
91
- submitForegroundHover: string;
13
+ accentForeground?: string;
92
14
  /**
93
- * Background color for submit buttons
15
+ * Background color for accented elements
94
16
  */
95
- submitBackground: string;
17
+ accentBackground?: string;
96
18
  /**
97
- * Background color when hovering over submit buttons
98
- */
99
- submitBackgroundHover: string;
100
- /**
101
- * Border style for submit buttons
102
- */
103
- submitBorder: string;
104
- /**
105
- * Border style for submit buttons, in the focued state
106
- */
107
- submitOutlineFocus: string;
108
- }
109
- interface Trigger {
110
- /**
111
- * Background color of the actor button
112
- */
113
- triggerBackground: string;
114
- /**
115
- * Background color on hover
19
+ * Success color
116
20
  */
117
- triggerBackgroundHover: string;
21
+ successColor?: string;
118
22
  /**
119
- * Border radius styling for actor
23
+ * Error color
120
24
  */
121
- triggerBorderRadius: string;
122
- }
123
- interface Dialog {
25
+ errorColor?: string;
124
26
  /**
125
- * Background color of the open dialog
27
+ * Box shadow for floating elements
126
28
  */
127
- dialogBackground: string;
29
+ boxShadow?: string;
128
30
  /**
129
- * Border radius for dialog
31
+ * Styles for focused interactive components
130
32
  */
131
- dialogBorderRadius: string;
132
- }
133
- export interface FeedbackTheme extends BaseStyles, Input, Button, SubmitButton, Trigger, Dialog {
33
+ outline?: string;
134
34
  }
135
- export {};
136
35
  //# sourceMappingURL=theme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/feedback/theme.ts"],"names":[],"mappings":"AAAA,UAAU,UAAU;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;O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AAC;IAE/B;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,UAAU,MAAM;IACd;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,aAAc,SAAQ,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM;CAAG"}
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/feedback/theme.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
package/types/scope.d.ts CHANGED
@@ -59,6 +59,16 @@ export interface Scope {
59
59
  * It is generally recommended to use the global function `Sentry.getClient()` instead, unless you know what you are doing.
60
60
  */
61
61
  getClient<C extends Client>(): C | undefined;
62
+ /**
63
+ * Sets the last event id on the scope.
64
+ * @param lastEventId The last event id of a captured event.
65
+ */
66
+ setLastEventId(lastEventId: string | undefined): void;
67
+ /**
68
+ * This is the getter for lastEventId.
69
+ * @returns The last event id of a captured event.
70
+ */
71
+ lastEventId(): string | undefined;
62
72
  /**
63
73
  * Add internal on change listener. Used for sub SDKs that need to store the scope.
64
74
  * @hidden
@@ -1 +1 @@
1
- {"version":3,"file":"scope.d.ts","sourceRoot":"","sources":["../../src/scope.ts"],"names":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BAAkB,CAAC;IAE5C;;;;;;OAMG;IACH,gBAAgB,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAE/D;;;;;;;OAOG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAEjF;;;;;;OAMG;IACH,YAAY,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAErD;;OAEG;IACH,KAAK,IAAI,KAAK,CAAC;CAChB"}
@@ -1,136 +1,35 @@
1
- interface BaseStyles {
1
+ export interface FeedbackTheme {
2
2
  /**
3
3
  * Foreground color (i.e. text color)
4
4
  */
5
- foreground: string;
5
+ foreground?: string;
6
6
  /**
7
- * Success color
8
- */
9
- successForeground: string;
10
- /**
11
- * Error color
12
- */
13
- errorForeground: string;
14
- /**
15
- * Background color for actor and dialog
16
- */
17
- background: string;
18
- /**
19
- * Border styling for actor and dialog
20
- */
21
- border: string;
22
- /**
23
- * Box shadow for actor and dialog
24
- */
25
- boxShadow: string;
26
- }
27
- interface Input {
28
- /**
29
- * Foreground color for form inputs
30
- */
31
- inputForeground: string;
32
- /**
33
- * Background color for form inputs
34
- */
35
- inputBackground: string;
36
- /**
37
- * Background color for form inputs, in the hover state
38
- */
39
- inputBackgroundHover: string;
40
- /**
41
- * Background color for form inputs, in the focus state
42
- */
43
- inputBackgroundFocus: string;
44
- /**
45
- * Border styles for form inputs
46
- */
47
- inputBorder: string;
48
- /**
49
- * Border radius for form inputs
50
- */
51
- inputBorderRadius: string;
52
- /**
53
- * Border styles for form inputs when focused
54
- */
55
- inputOutlineFocus: string;
56
- }
57
- interface Button {
58
- /**
59
- * Foreground color for buttons
60
- */
61
- buttonForeground: string;
62
- /**
63
- * Foreground color for buttons, in the hover state
64
- */
65
- buttonForegroundHover: string;
66
- /**
67
- * Background color for buttons
68
- */
69
- buttonBackground: string;
70
- /**
71
- * Background color when hovering over buttons
72
- */
73
- buttonBackgroundHover: string;
74
- /**
75
- * Border style for buttons
76
- */
77
- buttonBorder: string;
78
- /**
79
- * Border style for buttons, in the focued state
80
- */
81
- buttonOutlineFocus: string;
82
- }
83
- interface SubmitButton {
84
- /**
85
- * Foreground color for submit buttons
7
+ * Background color for surfaces
86
8
  */
87
- submitForeground: string;
9
+ background?: string;
88
10
  /**
89
- * Foreground color for submit buttons, in the hover state
11
+ * Foreground color for accented elements
90
12
  */
91
- submitForegroundHover: string;
13
+ accentForeground?: string;
92
14
  /**
93
- * Background color for submit buttons
15
+ * Background color for accented elements
94
16
  */
95
- submitBackground: string;
17
+ accentBackground?: string;
96
18
  /**
97
- * Background color when hovering over submit buttons
98
- */
99
- submitBackgroundHover: string;
100
- /**
101
- * Border style for submit buttons
102
- */
103
- submitBorder: string;
104
- /**
105
- * Border style for submit buttons, in the focued state
106
- */
107
- submitOutlineFocus: string;
108
- }
109
- interface Trigger {
110
- /**
111
- * Background color of the actor button
112
- */
113
- triggerBackground: string;
114
- /**
115
- * Background color on hover
19
+ * Success color
116
20
  */
117
- triggerBackgroundHover: string;
21
+ successColor?: string;
118
22
  /**
119
- * Border radius styling for actor
23
+ * Error color
120
24
  */
121
- triggerBorderRadius: string;
122
- }
123
- interface Dialog {
25
+ errorColor?: string;
124
26
  /**
125
- * Background color of the open dialog
27
+ * Box shadow for floating elements
126
28
  */
127
- dialogBackground: string;
29
+ boxShadow?: string;
128
30
  /**
129
- * Border radius for dialog
31
+ * Styles for focused interactive components
130
32
  */
131
- dialogBorderRadius: string;
132
- }
133
- export interface FeedbackTheme extends BaseStyles, Input, Button, SubmitButton, Trigger, Dialog {
33
+ outline?: string;
134
34
  }
135
- export {};
136
35
  //# sourceMappingURL=theme.d.ts.map
@@ -59,6 +59,16 @@ export interface Scope {
59
59
  * It is generally recommended to use the global function `Sentry.getClient()` instead, unless you know what you are doing.
60
60
  */
61
61
  getClient<C extends Client>(): C | undefined;
62
+ /**
63
+ * Sets the last event id on the scope.
64
+ * @param lastEventId The last event id of a captured event.
65
+ */
66
+ setLastEventId(lastEventId: string | undefined): void;
67
+ /**
68
+ * This is the getter for lastEventId.
69
+ * @returns The last event id of a captured event.
70
+ */
71
+ lastEventId(): string | undefined;
62
72
  /**
63
73
  * Add internal on change listener. Used for sub SDKs that need to store the scope.
64
74
  * @hidden