@newrelic/browser-agent 1.302.0-rc.4 → 1.302.0-rc.6
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/logging/aggregate/index.js +1 -2
- package/dist/esm/common/constants/env.cdn.js +1 -1
- package/dist/esm/common/constants/env.npm.js +1 -1
- package/dist/esm/features/logging/aggregate/index.js +1 -2
- package/package.json +1 -1
- package/src/features/logging/aggregate/index.js +1 -1
|
@@ -17,7 +17,7 @@ exports.VERSION = exports.RRWEB_VERSION = exports.RRWEB_PACKAGE_NAME = exports.D
|
|
|
17
17
|
/**
|
|
18
18
|
* Exposes the version of the agent
|
|
19
19
|
*/
|
|
20
|
-
const VERSION = exports.VERSION = "1.302.0-rc.
|
|
20
|
+
const VERSION = exports.VERSION = "1.302.0-rc.6";
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Exposes the build type of the agent
|
|
@@ -17,7 +17,7 @@ exports.VERSION = exports.RRWEB_VERSION = exports.RRWEB_PACKAGE_NAME = exports.D
|
|
|
17
17
|
/**
|
|
18
18
|
* Exposes the version of the agent
|
|
19
19
|
*/
|
|
20
|
-
const VERSION = exports.VERSION = "1.302.0-rc.
|
|
20
|
+
const VERSION = exports.VERSION = "1.302.0-rc.6";
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Exposes the build type of the agent
|
|
@@ -104,8 +104,7 @@ class Aggregate extends _aggregateBase.AggregateBase {
|
|
|
104
104
|
common: {
|
|
105
105
|
/** Attributes in the `common` section are added to `all` logs generated in the payload */
|
|
106
106
|
attributes: {
|
|
107
|
-
...this.agentRef.info.jsAttributes,
|
|
108
|
-
// user-provided custom attributes
|
|
107
|
+
...(0, _traverse.applyFnToProps)(this.agentRef.info.jsAttributes, this.obfuscator.obfuscateString.bind(this.obfuscator), 'string'),
|
|
109
108
|
...(this.harvestEndpointVersion === 1 && {
|
|
110
109
|
'entity.guid': this.agentRef.runtime.appMetadata.agents[0].entityGuid,
|
|
111
110
|
appId: this.agentRef.info.applicationID
|
|
@@ -97,8 +97,7 @@ export class Aggregate extends AggregateBase {
|
|
|
97
97
|
common: {
|
|
98
98
|
/** Attributes in the `common` section are added to `all` logs generated in the payload */
|
|
99
99
|
attributes: {
|
|
100
|
-
...this.agentRef.info.jsAttributes,
|
|
101
|
-
// user-provided custom attributes
|
|
100
|
+
...applyFnToProps(this.agentRef.info.jsAttributes, this.obfuscator.obfuscateString.bind(this.obfuscator), 'string'),
|
|
102
101
|
...(this.harvestEndpointVersion === 1 && {
|
|
103
102
|
'entity.guid': this.agentRef.runtime.appMetadata.agents[0].entityGuid,
|
|
104
103
|
appId: this.agentRef.info.applicationID
|
package/package.json
CHANGED
|
@@ -116,7 +116,7 @@ export class Aggregate extends AggregateBase {
|
|
|
116
116
|
common: {
|
|
117
117
|
/** Attributes in the `common` section are added to `all` logs generated in the payload */
|
|
118
118
|
attributes: {
|
|
119
|
-
...this.agentRef.info.jsAttributes,
|
|
119
|
+
...(applyFnToProps(this.agentRef.info.jsAttributes, this.obfuscator.obfuscateString.bind(this.obfuscator), 'string')),
|
|
120
120
|
...(this.harvestEndpointVersion === 1 && {
|
|
121
121
|
'entity.guid': this.agentRef.runtime.appMetadata.agents[0].entityGuid,
|
|
122
122
|
appId: this.agentRef.info.applicationID
|