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.14 to 0.0.25-beta.15

es/index.d.ts

13

lib/types/rum-event.d.ts

@@ -45,2 +45,10 @@ export declare enum RumEventType {

}
/**
* 枚举值,表示资源是否加载成功
*/
export declare enum ResourceStatus {
Unknown = -1,
Failed = 0,
Success = 1
}
export interface RumResourceEvent extends RumBaseEvent {

@@ -52,3 +60,3 @@ name?: string;

message?: string;
success?: -1 | 0 | 1;
success?: -1 | 0 | 1 | ResourceStatus;
trace_id?: string;

@@ -101,3 +109,4 @@ duration?: number;

browser = "browser",
miniapp = "miniapp"
miniapp = "miniapp",
uniapp = "uniapp"
}

@@ -104,0 +113,0 @@ export interface RumEventBundle {

"use strict";
exports.__esModule = true;
exports.RumEventType = exports.AppType = void 0;
exports.RumEventType = exports.ResourceStatus = exports.AppType = void 0;
var RumEventType = exports.RumEventType = /*#__PURE__*/function (RumEventType) {

@@ -14,6 +14,16 @@ RumEventType["VIEW"] = "view";

}({});
/**
* 枚举值,表示资源是否加载成功
*/
var ResourceStatus = exports.ResourceStatus = /*#__PURE__*/function (ResourceStatus) {
ResourceStatus[ResourceStatus["Unknown"] = -1] = "Unknown";
ResourceStatus[ResourceStatus["Failed"] = 0] = "Failed";
ResourceStatus[ResourceStatus["Success"] = 1] = "Success";
return ResourceStatus;
}({});
var AppType = exports.AppType = /*#__PURE__*/function (AppType) {
AppType["browser"] = "browser";
AppType["miniapp"] = "miniapp";
AppType["uniapp"] = "uniapp";
return AppType;
}({});

7

package.json
{
"name": "@arms/rum-core",
"version": "0.0.25-beta.14",
"version": "0.0.25-beta.15",
"description": "arms rum javascript sdk core",

@@ -8,2 +8,3 @@ "author": "guangli.fj <guangli.fj@alibaba-inc.com>",

"main": "lib/index.js",
"module": "es/index.js",
"directories": {

@@ -14,3 +15,4 @@ "lib": "lib",

"files": [
"lib"
"lib",
"es"
],

@@ -23,3 +25,2 @@ "publishConfig": {

"build": "build-scripts build --skip-demo",
"prepublishOnly": "npm run build",
"test": "node ./__tests__/@arms/core.test.js"

@@ -26,0 +27,0 @@ },

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