提交 99754185 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

v0.0.5 prepare

上级 d5498527
# Wechaty [![Circle CI](https://circleci.com/gh/zixia/wechaty/tree/master.svg?style=svg)](https://circleci.com/gh/zixia/wechaty/)
# Wechaty [![Circle CI](https://circleci.com/gh/zixia/wechaty.svg?style=svg)](https://circleci.com/gh/zixia/wechaty)
Wechaty is Wechat for Bot.
It's a library/framework for easy creating wechat bot in 10 lines of code.
......
......@@ -4,5 +4,3 @@ machine:
dependencies:
post:
override:
- npm install --dev
{
"name": "wechaty",
"version": "0.0.4",
"version": "0.0.5",
"description": "Wechat for Bot",
"main": "index.js",
"scripts": {
"start": "node examples/ding-dong-bot.js",
"test": "tape tests/*.js",
"build": "src -d src",
"lint": "eslint src"
},
"repository": {
......
......@@ -54,9 +54,9 @@ class Server extends EventEmitter {
* after received `unload`, we re-inject the Wechaty js code into browser.
*/
this.on('unload', () => {
log.warn('Server', 'server received unload event')
log.verbose('Server', 'server received unload event')
this.browser.inject()
.then(() => log.warn('Server', 're-injected'))
.then(() => log.verbose('Server', 're-injected'))
.catch((e) => log.error('Server', 'inject err: ' + e))
})
......@@ -116,7 +116,7 @@ class Server extends EventEmitter {
this.socketClient = s
s.on('disconnect', function() {
log.warn('Server', 'socket.io disconnected')
log.verbose('Server', 'socket.io disconnected')
/**
* Possible conditions:
* 1. Browser reload
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册