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

@arms/rum-core

Package Overview
Dependencies
Maintainers
0
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arms/rum-core - npm Package Compare versions

Comparing version 0.0.25-beta.21 to 0.0.28

6

lib/model/reporter.js

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

var MAX_EVENT_COUNT = 20;
var attrs = ['app', 'user', 'device', 'os', 'geo', 'isp', 'net', 'attributes'];
var attrs = ['app', 'user', 'device', 'os', 'geo', 'isp', 'net', 'properties'];
var Reporter = exports["default"] = /*#__PURE__*/function () {

@@ -163,4 +163,4 @@ function Reporter() {

if (key === 'user' && k === 'id') return;
if (key === 'attributes') {
bundle[key] = (0, _verify.verifyAttributes)(obj);
if (key === 'properties') {
bundle[key] = (0, _verify.verifyProperties)(obj);
} else if ((0, _is.isString)(val) || (0, _is.isNumber)(val)) {

@@ -167,0 +167,0 @@ if (!(key in bundle)) {

@@ -27,3 +27,3 @@ export declare enum RumEventType {

snapshots?: string;
attributes?: BaseObject;
properties?: BaseObject;
}

@@ -170,4 +170,4 @@ export interface RumViewEvent extends RumBaseEvent {

events: Array<RumEvent>;
attributes?: BaseObject;
properties?: BaseObject;
_v?: string;
}
import { BaseObject } from "../types/rum-event";
export declare function verifyAttributes(attrs: BaseObject): BaseObject;
export declare function verifyProperties(attrs: BaseObject): BaseObject;
"use strict";
exports.__esModule = true;
exports.verifyAttributes = verifyAttributes;
exports.verifyProperties = verifyProperties;
var _is = require("./is");
function verifyAttributes(attrs) {
function verifyProperties(attrs) {
if (!(0, _is.isObject)(attrs)) {

@@ -8,0 +8,0 @@ return;

{
"name": "@arms/rum-core",
"version": "0.0.25-beta.21",
"version": "0.0.28",
"description": "arms rum javascript sdk core",

@@ -5,0 +5,0 @@ "author": "guangli.fj <guangli.fj@alibaba-inc.com>",

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