@startup-booster/move
Advanced tools
Comparing version 0.1.24 to 0.1.25
12
move.js
@@ -63,3 +63,5 @@ const { EventEmitter } = require('events'); | ||
if (options.onConnect) { | ||
options.onConnect(move); | ||
setTimeout(() => { | ||
options.onConnect(move); | ||
}, 0); | ||
} | ||
@@ -204,8 +206,12 @@ | ||
async login(auth) { | ||
return rpc('login', auth); | ||
move.data.user = await rpc('login', auth); | ||
return move.data.user; | ||
}, | ||
async logout() { | ||
return rpc('logout'); | ||
await rpc('logout'); | ||
delete move.data.user; | ||
}, | ||
data: {}, | ||
}; | ||
@@ -212,0 +218,0 @@ |
{ | ||
"name": "@startup-booster/move", | ||
"version": "0.1.24", | ||
"version": "0.1.25", | ||
"main": "move.js", | ||
@@ -9,4 +9,5 @@ "license": "MIT", | ||
"shortid": "^2.2.16", | ||
"socket.io-client": "^4.6.1" | ||
"socket.io-client": "^4.6.1", | ||
"yjs": "^13.6.7" | ||
} | ||
} |
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
6171
210
4
+ Addedyjs@^13.6.7
+ Addedisomorphic.js@0.2.5(transitive)
+ Addedlib0@0.2.99(transitive)
+ Addedyjs@13.6.21(transitive)