
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
hymd-store-jsapi
Advanced tools
api接口的使用必须在页面中引入如下脚本:
npm install @cool/sdk --save
接口api是对不同环境的接口的集合,统一使用native调用
通过api就是这个api在每个环境中都可以使用,区别于特定api,比如previewImage就是通用api,每个环境都有,createDing就是特定api,只有钉钉环境有
// 兼容app
window['getCommonData'] = function(res) {
cool.handleMessage?.(res)
if (res.action === type) {
// 安卓或ios结果与钉钉一致
const result = paramsResultMapping(type, res)
result.callbackId = callbackId
successCbk(result);
}
};
// 兼容dingding
window.dd && (window.dd.onMessage = (data) => {
//
cool.handleMessage?.(data)
})
// 兼容PC
FAQs
酷店掌移动端jsapi
We found that hymd-store-jsapi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.