
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@tmsfe/tms-websdk
Advanced tools
初始化sdk
参数说明
* @param {Object} options
* options.app 应用'sinan/mycar'
* options.env 环境'production/test/development/predist'
* options.openId 根据mpid和userId生成的标识
* @returns {void}
使用示例
var app = 'sinan' // 'sinan/mycar'
var env = 'test' // 'production/test/development/predist'
var openId = '7b8a491d5e1818302b335a8ea14ddfe4' // '小程序传入openid'
tms.init({app,env,openId});
发起网络请求, 内部使用axio
参数说明
* @param {String} url 请求path
* @param {Object} data 请求参数,注意data.header标识请求头字段
* @param {String} method 请求方法
* @returns {Promise} 请求响应, data.headers为响应的header字段集合
使用示例
tms.request('/api/event/upload', { header,param }, 'post');
埋点上报
参数说明
* @param {Object} params 数据,如:{ 27: 'R001', 28: 'TaiWeb' }
* 每条数据对应1-40个字段,1-27为公共字段,28-40位位展字段
* @returns {Promise} 请求响应
使用示例
tms.report({ 27: 'R001', 28: 'TaiWeb' });
FAQs
tms-websdk
We found that @tmsfe/tms-websdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.