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

@xm-fe/xm-mp-log

Package Overview
Dependencies
Maintainers
8
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xm-fe/xm-mp-log

xm-mp-log

  • 0.1.7
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by33.33%
Maintainers
8
Weekly downloads
 
Created
Source

xm-log

⚡️ 简介

2022 鲜沐科技小程序埋点 SDK

🚀 使用

pnpm i @xm-fe/xm-mp-log

0.1.7

  • feat: xm-mp-log 兼容h5

0.1.6

  • feat: xm-mp-log 小程序接口请求日志收集

0.1.5

  • feat: xm-mp-log 支持 h5 环境运行

0.1.4

  • feat: 添加 clickLog 参数,tag: 1 业务收集

0.1.3

  • feat: 接口报错优化,新增 ab 类型,区分 http 与业务报错

0.1.2

  • feat: 接口报错优化,收集后端返回状态码非 200 接口

0.1.1

  • feat: 页面 pv 收集
  • feat: 事件收集
  • feat: 爆光收集

开发

npm install

编译

npm run build

web 端发布

方法一(升版本,每个接入应用都要发布)
  • 修改版本号(打包脚本内内部)
  • npm run build
  • 把 dist/monitor@0.0.x.es5.min.js上传至七牛云
  • 替换目标系统为新版本
方法二(不升版本,所有应用不需要发布,但是有缓存时间)
  • npm run build
  • 把 dist/monitor@0.0.x.es5.min.js上传至七牛云
  • 去微软云刷新缓存
  • 等待缓存刷新,或让目标用户清缓存

小程序端发布

  • index-mp.js,将会被打包上传至 npm
  • 更新相应小程序版本号

信息文档

https://summerfarm.yuque.com/tech-xe1hi/tech/labawh

接入文档

https://summerfarm.yuque.com/tech-xe1hi/tech/yt9ray

Keywords

FAQs

Package last updated on 02 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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