yach.nim.on
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -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); | ||
// } |
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9070
257
72