@openreplay/tracker 16.3.0 → 16.4.0-beta.1

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/dist/lib/index.js CHANGED
@@ -5255,7 +5255,7 @@ class App {
5255
5255
  this.stopCallbacks = [];
5256
5256
  this.commitCallbacks = [];
5257
5257
  this.activityState = ActivityState.NotActive;
5258
- this.version = '16.3.0'; // TODO: version compatability check inside each plugin.
5258
+ this.version = '16.4.0-beta.1'; // TODO: version compatability check inside each plugin.
5259
5259
  this.socketMode = false;
5260
5260
  this.compressionThreshold = 24 * 1000;
5261
5261
  this.bc = null;
@@ -7297,7 +7297,7 @@ function Input (app, opts) {
7297
7297
 
7298
7298
  const cssEscape = (typeof CSS !== 'undefined' && CSS.escape) || ((t) => t);
7299
7299
  const docClassCache = new WeakMap();
7300
- function _getSelector(target) {
7300
+ function _getSelector(target, document, options) {
7301
7301
  const selector = getCSSPath(target);
7302
7302
  return selector || '';
7303
7303
  }
@@ -7419,7 +7419,7 @@ function Mouse (app, options) {
7419
7419
  }
7420
7420
  };
7421
7421
  const patchDocument = (document, topframe = false) => {
7422
- function getSelector(id, target) {
7422
+ function getSelector(id, target, options) {
7423
7423
  return (selectorMap[id] = selectorMap[id] || _getSelector(target));
7424
7424
  }
7425
7425
  const attachListener = topframe
@@ -9621,7 +9621,7 @@ class API {
9621
9621
  this.signalStartIssue = (reason, missingApi) => {
9622
9622
  const doNotTrack = this.checkDoNotTrack();
9623
9623
  console.log("Tracker couldn't start due to:", JSON.stringify({
9624
- trackerVersion: '16.3.0',
9624
+ trackerVersion: '16.4.0-beta.1',
9625
9625
  projectKey: this.options.projectKey,
9626
9626
  doNotTrack,
9627
9627
  reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,