🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@mearl/client

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mearl/client - npm Package Compare versions

Comparing version
2.0.0
to
2.0.1
+12
-4
dist/commands.js

@@ -12,3 +12,3 @@ export const COMMANDS = [

type: '"mtop" | "requests"',
description: '强制指定来源,不填时使用 panel 当前模式',
description: '数据来源,不填时默认 mtop',
},

@@ -35,5 +35,10 @@ { name: 'filter', type: 'string', description: '按 URL 或 API 名称过滤,支持正则' },

name: 'get_events',
description: '获取 RUM/aplus 埋点事件',
description: '获取 RUM/aplus/ARMS 埋点事件',
params: [
{ name: 'source', type: '"rum" | "aplus" | "all"', description: '数据来源,默认 all' },
{ name: 'tabId', type: 'number', description: '目标标签页 ID,从 tab_list 获取' },
{
name: 'source',
type: '"rum" | "aplus" | "arms" | "all"',
description: '数据来源,默认 all',
},
{ name: 'event_type', type: 'string', description: '按事件类型过滤,支持正则,如 CLK/PV' },

@@ -44,3 +49,6 @@ { name: 'filter', type: 'string', description: '按 name 或 url 过滤,支持正则' },

],
examples: [`get_events --payload '{"source":"aplus","event_type":"CLK","limit":10}'`],
examples: [
`get_events --payload '{"source":"aplus","event_type":"CLK","limit":10}'`,
`get_events --payload '{"tabId":12345,"source":"all","limit":20}'`,
],
},

@@ -47,0 +55,0 @@ {

@@ -41,3 +41,4 @@ /**

export interface GetEventsParams {
source?: 'rum' | 'aplus' | 'all';
tabId?: number;
source?: 'rum' | 'aplus' | 'arms' | 'all';
event_type?: string;

@@ -44,0 +45,0 @@ filter?: string;

{
"name": "@mearl/client",
"version": "2.0.0",
"version": "2.0.1",
"description": "Client SDK & CLI for Mearl — communicate with Chrome Extension via Unix Socket",

@@ -5,0 +5,0 @@ "type": "module",