@sentry/replay 0.6.14-1 → 0.6.14-3

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.
@@ -67,19 +67,21 @@ export declare class Replay implements Integration {
67
67
  session: Session | undefined;
68
68
  constructor({ flushMinDelay, flushMaxDelay, initialFlushDelay, stickySession, useCompression, sessionSampleRate, errorSampleRate, maskAllText, maskAllInputs, blockAllMedia, blockClass, ignoreClass, maskTextClass, blockSelector, replaysSamplingRate, captureOnlyOnError, ...recordingOptions }?: ReplayConfiguration);
69
69
  /**
70
- * Because we create a transaction in `setupOnce`, we can potentially create a
71
- * transaction before some native SDK integrations have run and applied their
72
- * own global event processor. An example is:
70
+ * We previously used to create a transaction in `setupOnce` and it would
71
+ * potentially create a transaction before some native SDK integrations have run
72
+ * and applied their own global event processor. An example is:
73
73
  * https://github.com/getsentry/sentry-javascript/blob/b47ceafbdac7f8b99093ce6023726ad4687edc48/packages/browser/src/integrations/useragent.ts
74
74
  *
75
- * So we call `this.setup` in next event loop as a workaround to wait for
76
- * other global event processors to finish
75
+ * So we call `this.setup` in next event loop as a workaround to wait for other
76
+ * global event processors to finish. This is no longer needed, but keeping it
77
+ * here to avoid any future issues.
77
78
  */
78
79
  setupOnce(): void;
79
80
  /**
80
81
  * Initializes the plugin.
81
82
  *
82
- * Creates or loads a session, attaches listeners to varying events (DOM, PerformanceObserver, Recording, Sentry SDK, etc)
83
+ * Creates or loads a session, attaches listeners to varying events (DOM,
84
+ * PerformanceObserver, Recording, Sentry SDK, etc)
83
85
  */
84
86
  start(): void;
85
87
  /**
@@ -89,7 +91,8 @@ export declare class Replay implements Integration {
89
91
  */
90
92
  startRecording(): void;
91
93
  /**
92
- * Currently, this needs to be manually called (e.g. for tests). Sentry SDK does not support a teardown
94
+ * Currently, this needs to be manually called (e.g. for tests). Sentry SDK
95
+ * does not support a teardown
93
96
  */
94
97
  stop(): void;
95
98
  /**
@@ -166,7 +169,6 @@ export declare class Replay implements Integration {
166
169
  * Handler for Sentry Core SDK events.
167
170
  *
168
171
  * These specific events will create span-like objects in the recording.
169
- *
170
172
  */
171
173
  handleCoreSpanListener: (type: InstrumentationTypeSpan) => (handlerData: any) => void;
172
174
  /**
@@ -205,8 +207,9 @@ export declare class Replay implements Integration {
205
207
  */
206
208
  updateSessionActivity(lastActivity?: number): void;
207
209
  /**
208
- * Updates the user activity timestamp and resumes recording. This should be called in an event handler for a user action that we consider as the user being "active" (e.g. a mouse click).
209
- *
210
+ * Updates the user activity timestamp and resumes recording. This should be
211
+ * called in an event handler for a user action that we consider as the user
212
+ * being "active" (e.g. a mouse click).
210
213
  */
211
214
  triggerUserActivity(): Promise<void>;
212
215
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/replay",
3
- "version": "0.6.14-1",
3
+ "version": "0.6.14-3",
4
4
  "description": "User replays for Sentry",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -90,7 +90,7 @@
90
90
  }
91
91
  ],
92
92
  "volta": {
93
- "node": "18.11.0",
93
+ "node": "18.12.1",
94
94
  "yarn": "1.22.19"
95
95
  }
96
96
  }