@splitsoftware/browser-rum-agent
Advanced tools
Comparing version 0.7.0 to 0.7.1-rc.0
@@ -0,1 +1,4 @@ | ||
0.7.1 (May 16, 2024) | ||
- Bugfixing - Fixed an issue in the `SplitRumAgent.setup` method where the `prefix` option was been overwritten by undefined when not provided in the config object param. | ||
0.7.0 (May 16, 2024) | ||
@@ -2,0 +5,0 @@ - Added '@splitsoftware/browser-rum-agent/slim' sub-package for ES Modules and CommonJS builds, to support a smaller bundle size by excluding the event collectors that are registered by default in the main package, like `errors` and `navigationTiming`. This package is recommended for users who want to manually register only the event collectors they need. |
@@ -55,3 +55,3 @@ "use strict"; | ||
_config.log = log_2; | ||
if (!prefix || (0, validateEvent_1.validateEventTypeId)(prefix, _config.log, 'prefix')) | ||
if ((0, isString_1.isString)(prefix) && (prefix === '' || (0, validateEvent_1.validateEventTypeId)(prefix, _config.log, 'prefix'))) | ||
_config.prefix = prefix; | ||
@@ -58,0 +58,0 @@ if ((0, isString_1.isString)(url)) |
@@ -38,2 +38,2 @@ "use strict"; | ||
exports.userAgent = getUserAgent(); | ||
exports.languageVersion = 'jsrum-' + '0.7.0'; | ||
exports.languageVersion = 'jsrum-' + '0.7.1-rc.0'; |
@@ -52,3 +52,3 @@ import { setSchedule, flush, track, queue } from '../utils/queue'; | ||
_config.log = log_1; | ||
if (!prefix || validateEventTypeId(prefix, _config.log, 'prefix')) | ||
if (isString(prefix) && (prefix === '' || validateEventTypeId(prefix, _config.log, 'prefix'))) | ||
_config.prefix = prefix; | ||
@@ -55,0 +55,0 @@ if (isString(url)) |
@@ -31,2 +31,2 @@ /* eslint-disable compat/compat */ | ||
export var userAgent = getUserAgent(); | ||
export var languageVersion = 'jsrum-' + '0.7.0'; | ||
export var languageVersion = 'jsrum-' + '0.7.1-rc.0'; |
{ | ||
"name": "@splitsoftware/browser-rum-agent", | ||
"version": "0.7.0", | ||
"version": "0.7.1-rc.0", | ||
"description": "Split Software RUM Agent for Browsers.", | ||
@@ -5,0 +5,0 @@ "main": "cjs/index.js", |
@@ -73,3 +73,3 @@ /* eslint-disable no-use-before-define */ | ||
* For example, if you set the prefix to 'my-app', the event type 'error' will be sent as 'my-app.error'. | ||
* If you set the prefix to a falsy value, like an empty string, the event type 'error' will be sent as 'error'. | ||
* If you set the prefix to an empty string '', the event type 'error' will be sent as 'error', without prefix. | ||
* | ||
@@ -76,0 +76,0 @@ * @defaultValue `'split.rum'` |
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
138701