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