@glimt/record 0.0.84 → 0.0.85

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.
@@ -1715,11 +1715,17 @@ function serializeElementNode(n2, options) {
1715
1715
  }
1716
1716
  }
1717
1717
  if (needBlock) {
1718
- const { width, height } = n2.getBoundingClientRect();
1718
+ const { width, height, bottom, left, right, top, x: x2, y } = n2.getBoundingClientRect();
1719
1719
  attributes = {
1720
1720
  class: attributes.class,
1721
1721
  rr_width: `${width}px`,
1722
- rr_height: `${height}px`
1722
+ rr_height: `${height}px`,
1723
+ c_rr_top: `${top}px`,
1724
+ c_rr_left: `${left}px`,
1725
+ c_rr_bottom: `${bottom}px`,
1726
+ c_rr_right: `${right}px`,
1727
+ c_rr_x: `${x2}px`,
1728
+ c_rr_y: `${y}px`
1723
1729
  };
1724
1730
  }
1725
1731
  if (tagName === "iframe" && !keepIframeSrcFn(attributes.src)) {
@@ -10375,7 +10381,7 @@ const _MutationRateLimiter = class _MutationRateLimiter2 {
10375
10381
  __publicField(this, "exitMutTracker");
10376
10382
  __publicField(this, "interval", 50);
10377
10383
  __publicField(this, "exitInterval", 100);
10378
- __publicField(this, "mutThreshold", 350);
10384
+ __publicField(this, "mutThreshold", 250);
10379
10385
  __publicField(this, "inGlobalStorm", false);
10380
10386
  __publicField(this, "currentStormStartedAt", -1);
10381
10387
  __publicField(this, "stormTimeLimit", 5e3);
@@ -10672,7 +10678,7 @@ class MutationBuffer {
10672
10678
  __publicField(this, "stormBatches", []);
10673
10679
  __publicField(this, "stormInfo", null);
10674
10680
  __publicField(this, "stormSettings", {
10675
- batchSize: 250,
10681
+ batchSize: 50,
10676
10682
  //was 300
10677
10683
  timeout: 50,
10678
10684
  //was 50