@newrelic/browser-agent 1.292.1-rc.2 → 1.292.1-rc.3
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/constants/env.cdn.js +1 -1
- package/dist/cjs/common/constants/env.npm.js +1 -1
- package/dist/cjs/features/ajax/instrument/distributed-tracing.js +1 -1
- package/dist/esm/common/constants/env.cdn.js +1 -1
- package/dist/esm/common/constants/env.npm.js +1 -1
- package/dist/esm/features/ajax/instrument/distributed-tracing.js +1 -1
- package/package.json +1 -1
- package/src/features/ajax/instrument/distributed-tracing.js +1 -1
|
@@ -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.292.1-rc.
|
|
20
|
+
const VERSION = exports.VERSION = "1.292.1-rc.3";
|
|
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.292.1-rc.
|
|
20
|
+
const VERSION = exports.VERSION = "1.292.1-rc.3";
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Exposes the build type of the agent
|
|
@@ -81,7 +81,7 @@ class DT {
|
|
|
81
81
|
// return true if DT is enabled and the origin is allowed, either by being
|
|
82
82
|
// same-origin, or included in the allowed list
|
|
83
83
|
shouldGenerateTrace(parsedOrigin) {
|
|
84
|
-
return this.agentRef.init?.distributed_tracing && this.isAllowedOrigin(parsedOrigin);
|
|
84
|
+
return this.agentRef.init?.distributed_tracing?.enabled && this.isAllowedOrigin(parsedOrigin);
|
|
85
85
|
}
|
|
86
86
|
isAllowedOrigin(parsedOrigin) {
|
|
87
87
|
var allowed = false;
|
|
@@ -74,7 +74,7 @@ export class DT {
|
|
|
74
74
|
// return true if DT is enabled and the origin is allowed, either by being
|
|
75
75
|
// same-origin, or included in the allowed list
|
|
76
76
|
shouldGenerateTrace(parsedOrigin) {
|
|
77
|
-
return this.agentRef.init?.distributed_tracing && this.isAllowedOrigin(parsedOrigin);
|
|
77
|
+
return this.agentRef.init?.distributed_tracing?.enabled && this.isAllowedOrigin(parsedOrigin);
|
|
78
78
|
}
|
|
79
79
|
isAllowedOrigin(parsedOrigin) {
|
|
80
80
|
var allowed = false;
|
package/package.json
CHANGED
|
@@ -94,7 +94,7 @@ export class DT {
|
|
|
94
94
|
// return true if DT is enabled and the origin is allowed, either by being
|
|
95
95
|
// same-origin, or included in the allowed list
|
|
96
96
|
shouldGenerateTrace (parsedOrigin) {
|
|
97
|
-
return this.agentRef.init?.distributed_tracing && this.isAllowedOrigin(parsedOrigin)
|
|
97
|
+
return this.agentRef.init?.distributed_tracing?.enabled && this.isAllowedOrigin(parsedOrigin)
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
isAllowedOrigin (parsedOrigin) {
|