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.18 to 0.0.25-beta.19

1

lib/types/client.d.ts

@@ -36,2 +36,3 @@ import { ICollector } from './collector';

overtime?: number;
storage?: string;
}

@@ -38,0 +39,0 @@ export interface IRumSession {

10

lib/types/rum-event.d.ts

@@ -7,3 +7,4 @@ export declare enum RumEventType {

ACTION = "action",
CUSTOM = "custom"
CUSTOM = "custom",
APPLICATION = "application"
}

@@ -106,3 +107,8 @@ export interface BaseObject {

}
export type RumEvent = RumViewEvent | RumResourceEvent | RumExceptionEvent | RumActionEvent | RumCustomEvent;
export interface RumApplicationEvent extends RumBaseEvent {
type: string;
name: string;
duration: number;
}
export type RumEvent = RumViewEvent | RumResourceEvent | RumExceptionEvent | RumActionEvent | RumCustomEvent | RumApplicationEvent;
export declare enum AppType {

@@ -109,0 +115,0 @@ browser = "browser",

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

RumEventType["CUSTOM"] = "custom";
RumEventType["APPLICATION"] = "application";
return RumEventType;

@@ -14,0 +15,0 @@ }({});

@@ -17,23 +17,11 @@ "use strict";

var registeredMethod = target[name];
try {
Object.defineProperty(target, name, {
configurable: true,
writable: true
});
} catch (e) {
//
}
try {
target[name] = function () {
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
callback.apply(this, args);
if (registeredMethod) {
return registeredMethod.apply(this, args);
}
};
} catch (e) {
//
}
target[name] = function () {
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
callback.apply(this, args);
if ((0, _is.isFunction)(registeredMethod)) {
return registeredMethod.apply(this, args);
}
};
}

@@ -40,0 +28,0 @@

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

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

"devDependencies": {
"@babel/runtime": "^7.24.5",
"typescript": "^4.9.4"
}
}
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