Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@splitsoftware/browser-rum-agent

Package Overview
Dependencies
Maintainers
8
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@splitsoftware/browser-rum-agent - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1-rc.0

3

CHANGES.txt

@@ -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.

13

cjs/utils/config.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc