@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/cjs/entry.js +4 -4
- package/dist/cjs/entry.js.map +1 -1
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/main/modules/mouse.d.ts +20 -1
- package/dist/lib/entry.js +4 -4
- package/dist/lib/entry.js.map +1 -1
- package/dist/lib/index.js +4 -4
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/main/modules/mouse.d.ts +20 -1
- package/dist/types/main/modules/mouse.d.ts +20 -1
- package/package.json +1 -1
package/dist/cjs/entry.js
CHANGED
|
@@ -5259,7 +5259,7 @@ class App {
|
|
|
5259
5259
|
this.stopCallbacks = [];
|
|
5260
5260
|
this.commitCallbacks = [];
|
|
5261
5261
|
this.activityState = ActivityState.NotActive;
|
|
5262
|
-
this.version = '16.
|
|
5262
|
+
this.version = '16.4.0-beta.1'; // TODO: version compatability check inside each plugin.
|
|
5263
5263
|
this.socketMode = false;
|
|
5264
5264
|
this.compressionThreshold = 24 * 1000;
|
|
5265
5265
|
this.bc = null;
|
|
@@ -7301,7 +7301,7 @@ function Input (app, opts) {
|
|
|
7301
7301
|
|
|
7302
7302
|
const cssEscape = (typeof CSS !== 'undefined' && CSS.escape) || ((t) => t);
|
|
7303
7303
|
const docClassCache = new WeakMap();
|
|
7304
|
-
function _getSelector(target) {
|
|
7304
|
+
function _getSelector(target, document, options) {
|
|
7305
7305
|
const selector = getCSSPath(target);
|
|
7306
7306
|
return selector || '';
|
|
7307
7307
|
}
|
|
@@ -7423,7 +7423,7 @@ function Mouse (app, options) {
|
|
|
7423
7423
|
}
|
|
7424
7424
|
};
|
|
7425
7425
|
const patchDocument = (document, topframe = false) => {
|
|
7426
|
-
function getSelector(id, target) {
|
|
7426
|
+
function getSelector(id, target, options) {
|
|
7427
7427
|
return (selectorMap[id] = selectorMap[id] || _getSelector(target));
|
|
7428
7428
|
}
|
|
7429
7429
|
const attachListener = topframe
|
|
@@ -9625,7 +9625,7 @@ class API {
|
|
|
9625
9625
|
this.signalStartIssue = (reason, missingApi) => {
|
|
9626
9626
|
const doNotTrack = this.checkDoNotTrack();
|
|
9627
9627
|
console.log("Tracker couldn't start due to:", JSON.stringify({
|
|
9628
|
-
trackerVersion: '16.
|
|
9628
|
+
trackerVersion: '16.4.0-beta.1',
|
|
9629
9629
|
projectKey: this.options.projectKey,
|
|
9630
9630
|
doNotTrack,
|
|
9631
9631
|
reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,
|