@arms/rum-core
Advanced tools
Comparing version 0.0.31 to 0.0.32
@@ -93,2 +93,15 @@ import { ICollector } from './collector'; | ||
/** | ||
* 应用配置 | ||
*/ | ||
app?: { | ||
id?: string; | ||
name?: string; | ||
version?: string; | ||
channel?: string; | ||
env?: string; | ||
type?: string; | ||
package?: string; | ||
framework?: string; | ||
}; | ||
/** | ||
* 用户配置 | ||
@@ -100,3 +113,2 @@ */ | ||
name?: string; | ||
[key: string]: any; | ||
}; | ||
@@ -122,6 +134,3 @@ /** | ||
*/ | ||
remoteConfig?: Boolean | { | ||
enable?: boolean; | ||
url?: string; | ||
}; | ||
remoteConfig?: Boolean; | ||
/** | ||
@@ -135,3 +144,3 @@ * session config | ||
collectors?: { | ||
[key: string]: unknown; | ||
[key: string]: boolean; | ||
}; | ||
@@ -146,3 +155,9 @@ /** | ||
}; | ||
/** | ||
* 全局自定义属性 | ||
*/ | ||
properties?: { | ||
[key: string]: number | string; | ||
}; | ||
[key: string]: any; | ||
} |
@@ -5,3 +5,3 @@ export declare enum RumEventType { | ||
EXCEPTION = "exception", | ||
LONG_TASK = "longtask", | ||
LONG_TASK = "longTask", | ||
ACTION = "action", | ||
@@ -8,0 +8,0 @@ CUSTOM = "custom", |
@@ -9,3 +9,3 @@ "use strict"; | ||
RumEventType["EXCEPTION"] = "exception"; | ||
RumEventType["LONG_TASK"] = "longtask"; | ||
RumEventType["LONG_TASK"] = "longTask"; | ||
RumEventType["ACTION"] = "action"; | ||
@@ -12,0 +12,0 @@ RumEventType["CUSTOM"] = "custom"; |
{ | ||
"name": "@arms/rum-core", | ||
"version": "0.0.31", | ||
"version": "0.0.32", | ||
"description": "arms rum javascript sdk core", | ||
@@ -5,0 +5,0 @@ "author": "guangli.fj <guangli.fj@alibaba-inc.com>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53161
1645