@sentry/types 8.31.0 → 8.32.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.
@@ -170,8 +170,8 @@ export interface Scope {
170
170
  /** Clears the current scope and resets its properties. */
171
171
  clear(): this;
172
172
  /**
173
- * Sets the breadcrumbs in the scope
174
- * @param breadcrumbs Breadcrumb
173
+ * Adds a breadcrumb to the scope
174
+ * @param breadcrumb Breadcrumb
175
175
  * @param maxBreadcrumbs number of max breadcrumbs to merged into event.
176
176
  */
177
177
  addBreadcrumb(breadcrumb: Breadcrumb, maxBreadcrumbs?: number): this;
@@ -180,7 +180,7 @@ export interface Scope {
180
180
  */
181
181
  getLastBreadcrumb(): Breadcrumb | undefined;
182
182
  /**
183
- * Clears all currently set Breadcrumbs.
183
+ * Clears all breadcrumbs from the scope.
184
184
  */
185
185
  clearBreadcrumbs(): this;
186
186
  /**
@@ -170,8 +170,8 @@ export interface Scope {
170
170
  /** Clears the current scope and resets its properties. */
171
171
  clear(): this;
172
172
  /**
173
- * Sets the breadcrumbs in the scope
174
- * @param breadcrumbs Breadcrumb
173
+ * Adds a breadcrumb to the scope
174
+ * @param breadcrumb Breadcrumb
175
175
  * @param maxBreadcrumbs number of max breadcrumbs to merged into event.
176
176
  */
177
177
  addBreadcrumb(breadcrumb: Breadcrumb, maxBreadcrumbs?: number): this;
@@ -180,7 +180,7 @@ export interface Scope {
180
180
  */
181
181
  getLastBreadcrumb(): Breadcrumb | undefined;
182
182
  /**
183
- * Clears all currently set Breadcrumbs.
183
+ * Clears all breadcrumbs from the scope.
184
184
  */
185
185
  clearBreadcrumbs(): this;
186
186
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/types",
3
- "version": "8.31.0",
3
+ "version": "8.32.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",