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.1-rc.0 to 0.4.1-rc.1

5

cjs/utils/config.js

@@ -48,3 +48,2 @@ "use strict";

}
var context = { track: queue_1.track };
var collectors = [];

@@ -98,3 +97,3 @@ // SplitRumAgent would be our namespace

trackError: function (e) {
return (0, errors_1.handleCustomErrors)(e, context);
return (0, errors_1.handleCustomErrors)(e, SplitRumAgent);
},

@@ -109,3 +108,3 @@ // Track custom events.

else {
collectors.push(eventCollector(context));
collectors.push(eventCollector(SplitRumAgent));
}

@@ -112,0 +111,0 @@ // allow for chaining.

2

cjs/utils/context.js

@@ -38,2 +38,2 @@ "use strict";

exports.userAgent = getUserAgent();
exports.languageVersion = 'jsrum-' + '0.4.1-rc.0';
exports.languageVersion = 'jsrum-' + '0.4.1-rc.1';

@@ -9,3 +9,3 @@ "use strict";

if (!(0, isObject_1.isObject)(identity)) {
log.error('Identity must be an objects with key and trafficType.');
log.error('Identity must be an object with key and trafficType.');
return;

@@ -17,7 +17,7 @@ }

if (!(0, isString_1.isString)(key)) {
log.error('Key must be a string or number.');
log.error('Identity Key must be a string or number.');
return;
}
if (!(0, isString_1.isString)(trafficType)) {
log.error('Traffic Type must be a string.');
log.error('Identity Traffic Type must be a string.');
return;

@@ -24,0 +24,0 @@ }

@@ -45,3 +45,2 @@ import { setSchedule, flush, track, queue } from './queue';

}
var context = { track: track };
var collectors = [];

@@ -95,3 +94,3 @@ // SplitRumAgent would be our namespace

trackError: function (e) {
return handleCustomErrors(e, context);
return handleCustomErrors(e, SplitRumAgent);
},

@@ -106,3 +105,3 @@ // Track custom events.

else {
collectors.push(eventCollector(context));
collectors.push(eventCollector(SplitRumAgent));
}

@@ -109,0 +108,0 @@ // allow for chaining.

@@ -31,2 +31,2 @@ /* eslint-disable compat/compat */

export var userAgent = getUserAgent();
export var languageVersion = 'jsrum-' + '0.4.1-rc.0';
export var languageVersion = 'jsrum-' + '0.4.1-rc.1';

@@ -6,3 +6,3 @@ import { isNumber } from './isNumber';

if (!isObject(identity)) {
log.error('Identity must be an objects with key and trafficType.');
log.error('Identity must be an object with key and trafficType.');
return;

@@ -14,7 +14,7 @@ }

if (!isString(key)) {
log.error('Key must be a string or number.');
log.error('Identity Key must be a string or number.');
return;
}
if (!isString(trafficType)) {
log.error('Traffic Type must be a string.');
log.error('Identity Traffic Type must be a string.');
return;

@@ -21,0 +21,0 @@ }

{
"name": "@splitsoftware/browser-rum-agent",
"version": "0.4.1-rc.0",
"version": "0.4.1-rc.1",
"description": "Split Software RUM Agent for Browsers.",

@@ -5,0 +5,0 @@ "main": "cjs/index.js",

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