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

yach.nim.on

Package Overview
Dependencies
Maintainers
5
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yach.nim.on

yach nim: on callback

  • 0.1.9
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

yach.nim.on

安装

npm i yach.nim.on

onBlacklist

// 获取黑名单列表 
// https://dev.yunxin.163.com/docs/product/IM%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF/SDK%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/Web%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/%E7%94%A8%E6%88%B7%E5%85%B3%E7%B3%BB%E6%89%98%E7%AE%A1?kw=on%20Blacklist&pg=1&pid=1#%E8%8E%B7%E5%8F%96%E9%BB%91%E5%90%8D%E5%8D%95%E5%92%8C%E9%9D%99%E9%9F%B3%E5%88%97%E8%A1%A8
onBlacklist

onMarkInBlacklist

// 加入黑名单或从黑名单移除
// https://dev.yunxin.163.com/docs/product/IM%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF/SDK%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/Web%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/%E7%94%A8%E6%88%B7%E5%85%B3%E7%B3%BB%E6%89%98%E7%AE%A1?#%E5%8A%A0%E5%85%A5%E9%BB%91%E5%90%8D%E5%8D%95/%E4%BB%8E%E9%BB%91%E5%90%8D%E5%8D%95%E7%A7%BB%E9%99%A4
onMarkInBlacklist

onBroadcastMsg

// 收到广播消息
// https://dev.yunxin.163.com/docs/product/IM%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF/SDK%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/Web%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/%E7%B3%BB%E7%BB%9F%E9%80%9A%E7%9F%A5
onBroadcastMsg

onBroadcastMsgs

// 收到离线广播消息
// https://dev.yunxin.163.com/docs/product/IM%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF/SDK%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/Web%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/%E7%B3%BB%E7%BB%9F%E9%80%9A%E7%9F%A5
onBroadcastMsgs

onConnect

// 连接成功
// https://dev.yunxin.163.com/docs/product/IM%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF/SDK%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/Web%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/%E8%81%8A%E5%A4%A9%E5%AE%A4?kw=on%20Connect&pg=1&pid=0#%E5%88%9D%E5%A7%8B%E5%8C%96%E8%81%8A%E5%A4%A9%E5%AE%A4
onConnect

onError

// 异常捕获
// https://dev.yunxin.163.com/docs/product/IM%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF/SDK%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/Web%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/%E8%81%8A%E5%A4%A9%E5%AE%A4?kw=on%20Connect&pg=1&pid=0#%E5%88%9D%E5%A7%8B%E5%8C%96%E8%81%8A%E5%A4%A9%E5%AE%A4
onError

onFriends

// 好友关系托管
// https://dev.yunxin.163.com/docs/product/IM%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF/SDK%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/Web%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/%E5%A5%BD%E5%8F%8B%E5%85%B3%E7%B3%BB%E6%89%98%E7%AE%A1?kw=on%20Friends&pg=1&pid=0&#%E5%A5%BD%E5%8F%8B%E5%85%B3%E7%B3%BB%E5%88%9D%E5%A7%8B%E5%8C%96%E5%8F%82%E6%95%B0
onFriends

onSyncFriendAction

// 同步好友操作
// https://dev.yunxin.163.com/docs/product/IM%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF/SDK%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/Web%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/%E5%A5%BD%E5%8F%8B%E5%85%B3%E7%B3%BB%E6%89%98%E7%AE%A1?kw=on%20Friends&pg=1&pid=0&#%E5%A5%BD%E5%8F%8B%E5%85%B3%E7%B3%BB%E5%88%9D%E5%A7%8B%E5%8C%96%E5%8F%82%E6%95%B0
onSyncFriendAction

onLoginPortsChange

// 其他端状态发生改变
// https://dev.yunxin.163.com/docs/product/IM%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF/SDK%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/Web%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/%E5%88%9D%E5%A7%8B%E5%8C%96
onLoginPortsChange

onOfflineCustomSysMsgs

// 收到离线自定义通知
// https://dev.yunxin.163.com/docs/product/IM%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF/SDK%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/Web%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/%E5%88%9D%E5%A7%8B%E5%8C%96
onOfflineCustomSysMsgs

onRobots

// 聊天室机器人
// https://dev.yunxin.163.com/docs/product/IM%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF/SDK%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/Web%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/%E8%81%8A%E5%A4%A9%E5%AE%A4?kw=on%20Robots&pg=1&pid=0&#%E8%81%8A%E5%A4%A9%E5%AE%A4%E6%9C%BA%E5%99%A8%E4%BA%BA
onRobots

onTeams

// 获取群列表
// https://dev.yunxin.163.com/docs/product/IM%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF/SDK%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/Web%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/%E7%BE%A4%E7%BB%84%E5%8A%9F%E8%83%BD?kw=on%20Teams&pg=1&pid=0#%E8%8E%B7%E5%8F%96%E7%BE%A4%E5%88%97%E8%A1%A8
onTeams

onUsers

// 收到用户列表
// https://dev.yunxin.163.com/docs/product/IM%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF/SDK%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/Web%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/%E7%94%A8%E6%88%B7%E8%B5%84%E6%96%99%E6%89%98%E7%AE%A1?kw=on%20Users&pg=1&pid=0&#%E7%94%A8%E6%88%B7%E8%B5%84%E6%96%99%E5%88%9D%E5%A7%8B%E5%8C%96%E5%8F%82%E6%95%B0
onUsers

onUpdateUser

// 用户资料更新
// https://dev.yunxin.163.com/docs/product/IM%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF/SDK%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/Web%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/%E7%94%A8%E6%88%B7%E8%B5%84%E6%96%99%E6%89%98%E7%AE%A1
onUpdateUser

onWillReconnect

// 即将重连
// https://dev.yunxin.163.com/docs/product/IM%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF/SDK%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/Web%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/%E5%88%9D%E5%A7%8B%E5%8C%96
onWillReconnect

version

0.0.5.20200705

  1. 修改readme

0.0.4.20200621

  1. on teams
  2. on update team

0.0.3.20200620

  1. on blacklist
  2. on mark in blacklist
  3. on friends
  4. on sync friends
  5. on users
  6. on update user
  7. on robots

0.0.2.20200617

  1. set data
  2. get data

0.0.1.20200613

  1. init project
  2. on connect
  3. on error
  4. on will reconnect
  5. on login ports change
  6. on offline custome sys msgs
  7. on broadcast msg
  8. on broadcast msgs

FAQs

Package last updated on 06 Jul 2020

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