@openreplay/tracker 8.1.1 → 8.1.2-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/CHANGELOG.md +2 -0
- package/cjs/app/index.js +1 -1
- package/cjs/index.js +1 -1
- package/cjs/modules/input.d.ts +1 -0
- package/cjs/modules/input.js +4 -0
- package/lib/app/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/modules/input.d.ts +1 -0
- package/lib/modules/input.js +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/cjs/app/index.js
CHANGED
|
@@ -35,7 +35,7 @@ class App {
|
|
|
35
35
|
this.stopCallbacks = [];
|
|
36
36
|
this.commitCallbacks = [];
|
|
37
37
|
this.activityState = ActivityState.NotActive;
|
|
38
|
-
this.version = '8.1.1'; // TODO: version compatability check inside each plugin.
|
|
38
|
+
this.version = '8.1.2-beta.1'; // TODO: version compatability check inside each plugin.
|
|
39
39
|
this.compressionThreshold = 24 * 1000;
|
|
40
40
|
this.restartAttempts = 0;
|
|
41
41
|
this.bc = null;
|
package/cjs/index.js
CHANGED
|
@@ -151,7 +151,7 @@ class API {
|
|
|
151
151
|
// no-cors issue only with text/plain or not-set Content-Type
|
|
152
152
|
// req.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
|
|
153
153
|
req.send(JSON.stringify({
|
|
154
|
-
trackerVersion: '8.1.1',
|
|
154
|
+
trackerVersion: '8.1.2-beta.1',
|
|
155
155
|
projectKey: options.projectKey,
|
|
156
156
|
doNotTrack,
|
|
157
157
|
// TODO: add precise reason (an exact API missing)
|
package/cjs/modules/input.d.ts
CHANGED
package/cjs/modules/input.js
CHANGED
|
@@ -80,7 +80,11 @@ function default_1(app, opts) {
|
|
|
80
80
|
obscureInputEmails: true,
|
|
81
81
|
defaultInputMode: 1 /* InputMode.Obscured */,
|
|
82
82
|
obscureInputDates: false,
|
|
83
|
+
ignoreInputs: false,
|
|
83
84
|
}, opts);
|
|
85
|
+
if (options.ignoreInputs) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
84
88
|
function getInputValue(id, node) {
|
|
85
89
|
let value = node.value;
|
|
86
90
|
let inputMode = options.defaultInputMode;
|
package/lib/app/index.js
CHANGED
|
@@ -32,7 +32,7 @@ export default class App {
|
|
|
32
32
|
this.stopCallbacks = [];
|
|
33
33
|
this.commitCallbacks = [];
|
|
34
34
|
this.activityState = ActivityState.NotActive;
|
|
35
|
-
this.version = '8.1.1'; // TODO: version compatability check inside each plugin.
|
|
35
|
+
this.version = '8.1.2-beta.1'; // TODO: version compatability check inside each plugin.
|
|
36
36
|
this.compressionThreshold = 24 * 1000;
|
|
37
37
|
this.restartAttempts = 0;
|
|
38
38
|
this.bc = null;
|
package/lib/index.js
CHANGED
|
@@ -146,7 +146,7 @@ export default class API {
|
|
|
146
146
|
// no-cors issue only with text/plain or not-set Content-Type
|
|
147
147
|
// req.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
|
|
148
148
|
req.send(JSON.stringify({
|
|
149
|
-
trackerVersion: '8.1.1',
|
|
149
|
+
trackerVersion: '8.1.2-beta.1',
|
|
150
150
|
projectKey: options.projectKey,
|
|
151
151
|
doNotTrack,
|
|
152
152
|
// TODO: add precise reason (an exact API missing)
|
package/lib/modules/input.d.ts
CHANGED
package/lib/modules/input.js
CHANGED
|
@@ -76,7 +76,11 @@ export default function (app, opts) {
|
|
|
76
76
|
obscureInputEmails: true,
|
|
77
77
|
defaultInputMode: 1 /* InputMode.Obscured */,
|
|
78
78
|
obscureInputDates: false,
|
|
79
|
+
ignoreInputs: false,
|
|
79
80
|
}, opts);
|
|
81
|
+
if (options.ignoreInputs) {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
80
84
|
function getInputValue(id, node) {
|
|
81
85
|
let value = node.value;
|
|
82
86
|
let inputMode = options.defaultInputMode;
|