@launchdarkly/session-replay 0.1.5 → 0.1.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @launchdarkly/session-replay
2
2
 
3
+ ## 0.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [bb75fea]
8
+ - highlight.run@9.18.3
9
+
10
+ ## 0.1.6
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [027df7b]
15
+ - highlight.run@9.18.2
16
+
3
17
  ## 0.1.5
4
18
 
5
19
  ### Patch Changes
@@ -13554,8 +13554,16 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`);
13554
13554
  class Dg extends Cd {
13555
13555
  constructor(t, i) {
13556
13556
  var n, s, r, l, o, a, c, u;
13557
+ if (typeof window > "u" || typeof document > "u") {
13558
+ console.warn("Session Replay is not initializing because it is not supported in this environment.");
13559
+ return;
13560
+ }
13561
+ if (typeof Worker > "u") {
13562
+ console.warn("Session Replay is not initializing because Worker is not supported.");
13563
+ return;
13564
+ }
13557
13565
  if (!t) {
13558
- console.info("Highlight is not initializing because projectID was passed undefined.");
13566
+ console.warn("Session Replay is not initializing because projectID was passed undefined.");
13559
13567
  return;
13560
13568
  }
13561
13569
  super(i), L(this, "record");