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

yach.nim.on

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yach.nim.on - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

21

lib/nim-on-teams.js

@@ -22,2 +22,21 @@ // log

setData(nimData);
}
}
/**
* on update team
*/
export function onUpdateTeam(team) {
log('onUpdateTeam');
// cacheTeam(team);
}
// async function cacheTeam(team){
// if(!team || !team.teamId) return;
// var teamId = team.teamId;
// var oldTeam = await getTeam(teamId);
// var newTeam = Object.assign({}, oldTeam, team);
// console.log('team haha', oldTeam, newTeam);
// qiao.cache('cache.nim.getTeam', teamId, newTeam);
// }

2

package.json
{
"name": "yach.nim.on",
"version": "0.1.6",
"version": "0.1.7",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "yach nim: on callback",

@@ -49,2 +49,3 @@ # api

1. on teams
2. on update team

@@ -51,0 +52,0 @@ ## 0.0.3.20200620

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