@sentry/replay 7.113.0 → 7.115.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/cjs/index.js CHANGED
@@ -8054,6 +8054,12 @@ class ReplayContainer {
8054
8054
 
8055
8055
  logInfoNextTick('[Replay] Starting replay in session mode', this._options._experiments.traceInternals);
8056
8056
 
8057
+ // Required as user activity is initially set in
8058
+ // constructor, so if `start()` is called after
8059
+ // session idle expiration, a replay will not be
8060
+ // created due to an idle timeout.
8061
+ this._updateUserActivity();
8062
+
8057
8063
  const session = loadOrCreateSession(
8058
8064
  {
8059
8065
  maxReplayDuration: this._options.maxReplayDuration,