@splitsoftware/browser-rum-agent
Advanced tools
Comparing version 0.4.0 to 0.4.1-rc.0
@@ -0,1 +1,4 @@ | ||
0.4.1 (February XX, 2024) | ||
- Updated some transitive dependencies for vulnerability fixes. | ||
0.4.0 (December 22, 2023) | ||
@@ -2,0 +5,0 @@ - Updated `SplitRumAgent.track` and `SplitRumAgent.trackError` methods to return a boolean value. This value indicates whether the event was successfully queued or not (i.e., it was dropped). An event is dropped if it has an invalid eventTypeId, value or properties, if the queue is full, or if user consent is declined. |
@@ -101,7 +101,2 @@ "use strict"; | ||
track: queue_1.track, | ||
// For internal use. | ||
// @TODO review how to expose config | ||
__getConfig: function () { | ||
return _config; | ||
}, | ||
// register event collector | ||
@@ -139,3 +134,9 @@ register: function (eventCollector) { | ||
return _config.userConsent; | ||
} | ||
}, | ||
// Private members for internal use only. | ||
// @TODO review how to expose config | ||
__getConfig: function () { | ||
return _config; | ||
}, | ||
__queue: queue_1.queue, | ||
}; | ||
@@ -142,0 +143,0 @@ if (isBrowser) { |
@@ -38,2 +38,2 @@ "use strict"; | ||
exports.userAgent = getUserAgent(); | ||
exports.languageVersion = 'jsrum-' + '0.4.0'; | ||
exports.languageVersion = 'jsrum-' + '0.4.1-rc.0'; |
@@ -1,2 +0,2 @@ | ||
import { setSchedule, flush, track } from './queue'; | ||
import { setSchedule, flush, track, queue } from './queue'; | ||
import { isArray } from './isArray'; | ||
@@ -98,7 +98,2 @@ import { isBoolean } from './isBoolean'; | ||
track: track, | ||
// For internal use. | ||
// @TODO review how to expose config | ||
__getConfig: function () { | ||
return _config; | ||
}, | ||
// register event collector | ||
@@ -136,3 +131,9 @@ register: function (eventCollector) { | ||
return _config.userConsent; | ||
} | ||
}, | ||
// Private members for internal use only. | ||
// @TODO review how to expose config | ||
__getConfig: function () { | ||
return _config; | ||
}, | ||
__queue: queue, | ||
}; | ||
@@ -139,0 +140,0 @@ if (isBrowser) { |
@@ -31,2 +31,2 @@ /* eslint-disable compat/compat */ | ||
export var userAgent = getUserAgent(); | ||
export var languageVersion = 'jsrum-' + '0.4.0'; | ||
export var languageVersion = 'jsrum-' + '0.4.1-rc.0'; |
{ | ||
"name": "@splitsoftware/browser-rum-agent", | ||
"version": "0.4.0", | ||
"version": "0.4.1-rc.0", | ||
"description": "Split Software RUM Agent for Browsers.", | ||
@@ -5,0 +5,0 @@ "main": "cjs/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
125982
2687