@newrelic/browser-agent 1.299.0-rc.4 → 1.299.0-rc.5
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/common/config/init.js +2 -14
- package/dist/cjs/common/constants/env.cdn.js +1 -1
- package/dist/cjs/common/constants/env.npm.js +1 -1
- package/dist/cjs/features/generic_events/constants.js +0 -2
- package/dist/esm/common/config/init.js +2 -14
- package/dist/esm/common/constants/env.cdn.js +1 -1
- package/dist/esm/common/constants/env.npm.js +1 -1
- package/dist/esm/features/generic_events/constants.js +0 -2
- package/dist/types/common/config/init.d.ts.map +1 -1
- package/dist/types/features/generic_events/constants.d.ts +0 -2
- package/package.json +1 -1
- package/src/common/config/init.js +2 -6
- package/src/features/generic_events/constants.js +0 -2
|
@@ -27,8 +27,6 @@ const InitModelFn = () => {
|
|
|
27
27
|
const hiddenState = {
|
|
28
28
|
feature_flags: [],
|
|
29
29
|
experimental: {
|
|
30
|
-
marks: false,
|
|
31
|
-
measures: false,
|
|
32
30
|
resources: false
|
|
33
31
|
},
|
|
34
32
|
mask_selector: '*',
|
|
@@ -109,18 +107,8 @@ const InitModelFn = () => {
|
|
|
109
107
|
autoStart: true
|
|
110
108
|
},
|
|
111
109
|
performance: {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
},
|
|
115
|
-
set capture_marks(val) {
|
|
116
|
-
hiddenState.experimental.marks = val;
|
|
117
|
-
},
|
|
118
|
-
get capture_measures() {
|
|
119
|
-
return hiddenState.feature_flags.includes(_constants.FEATURE_FLAGS.MEASURES) || hiddenState.experimental.measures;
|
|
120
|
-
},
|
|
121
|
-
set capture_measures(val) {
|
|
122
|
-
hiddenState.experimental.measures = val;
|
|
123
|
-
},
|
|
110
|
+
capture_marks: false,
|
|
111
|
+
capture_measures: false,
|
|
124
112
|
capture_detail: true,
|
|
125
113
|
resources: {
|
|
126
114
|
get enabled() {
|
|
@@ -17,7 +17,7 @@ exports.VERSION = exports.RRWEB_VERSION = exports.DIST_METHOD = exports.BUILD_EN
|
|
|
17
17
|
/**
|
|
18
18
|
* Exposes the version of the agent
|
|
19
19
|
*/
|
|
20
|
-
const VERSION = exports.VERSION = "1.299.0-rc.
|
|
20
|
+
const VERSION = exports.VERSION = "1.299.0-rc.5";
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Exposes the build type of the agent
|
|
@@ -17,7 +17,7 @@ exports.VERSION = exports.RRWEB_VERSION = exports.DIST_METHOD = exports.BUILD_EN
|
|
|
17
17
|
/**
|
|
18
18
|
* Exposes the version of the agent
|
|
19
19
|
*/
|
|
20
|
-
const VERSION = exports.VERSION = "1.299.0-rc.
|
|
20
|
+
const VERSION = exports.VERSION = "1.299.0-rc.5";
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Exposes the build type of the agent
|
|
@@ -18,7 +18,5 @@ const RAGE_CLICK_THRESHOLD_MS = exports.RAGE_CLICK_THRESHOLD_MS = 1000;
|
|
|
18
18
|
const FRUSTRATION_TIMEOUT_MS = exports.FRUSTRATION_TIMEOUT_MS = 2000;
|
|
19
19
|
const RESERVED_EVENT_TYPES = exports.RESERVED_EVENT_TYPES = ['PageAction', 'UserAction', 'BrowserPerformance'];
|
|
20
20
|
const FEATURE_FLAGS = exports.FEATURE_FLAGS = {
|
|
21
|
-
MARKS: 'experimental.marks',
|
|
22
|
-
MEASURES: 'experimental.measures',
|
|
23
21
|
RESOURCES: 'experimental.resources'
|
|
24
22
|
};
|
|
@@ -21,8 +21,6 @@ const InitModelFn = () => {
|
|
|
21
21
|
const hiddenState = {
|
|
22
22
|
feature_flags: [],
|
|
23
23
|
experimental: {
|
|
24
|
-
marks: false,
|
|
25
|
-
measures: false,
|
|
26
24
|
resources: false
|
|
27
25
|
},
|
|
28
26
|
mask_selector: '*',
|
|
@@ -103,18 +101,8 @@ const InitModelFn = () => {
|
|
|
103
101
|
autoStart: true
|
|
104
102
|
},
|
|
105
103
|
performance: {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
},
|
|
109
|
-
set capture_marks(val) {
|
|
110
|
-
hiddenState.experimental.marks = val;
|
|
111
|
-
},
|
|
112
|
-
get capture_measures() {
|
|
113
|
-
return hiddenState.feature_flags.includes(FEATURE_FLAGS.MEASURES) || hiddenState.experimental.measures;
|
|
114
|
-
},
|
|
115
|
-
set capture_measures(val) {
|
|
116
|
-
hiddenState.experimental.measures = val;
|
|
117
|
-
},
|
|
104
|
+
capture_marks: false,
|
|
105
|
+
capture_measures: false,
|
|
118
106
|
capture_detail: true,
|
|
119
107
|
resources: {
|
|
120
108
|
get enabled() {
|
|
@@ -11,7 +11,5 @@ export const RAGE_CLICK_THRESHOLD_MS = 1000;
|
|
|
11
11
|
export const FRUSTRATION_TIMEOUT_MS = 2000;
|
|
12
12
|
export const RESERVED_EVENT_TYPES = ['PageAction', 'UserAction', 'BrowserPerformance'];
|
|
13
13
|
export const FEATURE_FLAGS = {
|
|
14
|
-
MARKS: 'experimental.marks',
|
|
15
|
-
MEASURES: 'experimental.measures',
|
|
16
14
|
RESOURCES: 'experimental.resources'
|
|
17
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../../src/common/config/init.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../../src/common/config/init.js"],"names":[],"mappings":"AA4IO,0CAEN;mBAnIY,OAAO,cAAc,EAAE,IAAI"}
|
|
@@ -6,8 +6,6 @@ export const RAGE_CLICK_THRESHOLD_MS: 1000;
|
|
|
6
6
|
export const FRUSTRATION_TIMEOUT_MS: 2000;
|
|
7
7
|
export const RESERVED_EVENT_TYPES: string[];
|
|
8
8
|
export namespace FEATURE_FLAGS {
|
|
9
|
-
let MARKS: string;
|
|
10
|
-
let MEASURES: string;
|
|
11
9
|
let RESOURCES: string;
|
|
12
10
|
}
|
|
13
11
|
//# sourceMappingURL=constants.d.ts.map
|
package/package.json
CHANGED
|
@@ -21,8 +21,6 @@ const InitModelFn = () => {
|
|
|
21
21
|
const hiddenState = {
|
|
22
22
|
feature_flags: [],
|
|
23
23
|
experimental: {
|
|
24
|
-
marks: false,
|
|
25
|
-
measures: false,
|
|
26
24
|
resources: false
|
|
27
25
|
},
|
|
28
26
|
mask_selector: '*',
|
|
@@ -72,10 +70,8 @@ const InitModelFn = () => {
|
|
|
72
70
|
page_view_event: { enabled: true, autoStart: true },
|
|
73
71
|
page_view_timing: { enabled: true, autoStart: true },
|
|
74
72
|
performance: {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
get capture_measures () { return hiddenState.feature_flags.includes(FEATURE_FLAGS.MEASURES) || hiddenState.experimental.measures },
|
|
78
|
-
set capture_measures (val) { hiddenState.experimental.measures = val },
|
|
73
|
+
capture_marks: false,
|
|
74
|
+
capture_measures: false,
|
|
79
75
|
capture_detail: true,
|
|
80
76
|
resources: {
|
|
81
77
|
get enabled () { return hiddenState.feature_flags.includes(FEATURE_FLAGS.RESOURCES) || hiddenState.experimental.resources },
|
|
@@ -17,7 +17,5 @@ export const FRUSTRATION_TIMEOUT_MS = 2000
|
|
|
17
17
|
export const RESERVED_EVENT_TYPES = ['PageAction', 'UserAction', 'BrowserPerformance']
|
|
18
18
|
|
|
19
19
|
export const FEATURE_FLAGS = {
|
|
20
|
-
MARKS: 'experimental.marks',
|
|
21
|
-
MEASURES: 'experimental.measures',
|
|
22
20
|
RESOURCES: 'experimental.resources'
|
|
23
21
|
}
|