Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

Commit

Permalink
Merge branch 'release/0.5.5' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
binsee committed Jun 13, 2018
2 parents c05bae2 + 733ee63 commit 34c6a71
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="0.5.5"></a>
## [0.5.5](https://github.com/binsee/padchat-sdk/compare/v0.5.4...v0.5.5) (2018-06-13)


### Bug Fixes

* 修复warn事件没有正确获得服务器提示信息 ([66f1d7d](https://github.com/binsee/padchat-sdk/commit/66f1d7d))


### Features

* 增加start方法来实现更容易的重连 ([231b476](https://github.com/binsee/padchat-sdk/commit/231b476)), closes [#30](https://github.com/binsee/padchat-sdk/issues/30)



<a name="0.5.4"></a>
## [0.5.4](https://github.com/binsee/padchat-sdk/compare/v0.5.3...v0.5.4) (2018-06-09)

Expand Down
9 changes: 8 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Padchat Sdk v0.5.4 Documentation
# Padchat Sdk v0.5.5 Documentation

<a name="Padchat"></a>

Expand All @@ -9,6 +9,7 @@
* [Padchat](#Padchat) ⇐ <code>EventEmitter</code>
* [new Padchat()](#new_Padchat_new)
* _instance_
* [.start()](#Padchat+start)
* [.init()](#Padchat+init) ⇒ <code>Promise.&lt;object&gt;</code>
* [.close()](#Padchat+close) ⇒ <code>Promise.&lt;object&gt;</code>
* [.login(type, data)](#Padchat+login) ⇒ <code>Promise.&lt;object&gt;</code>
Expand Down Expand Up @@ -86,6 +87,12 @@ Padchat模块 使用websocket与服务器进行通讯,拥有以下事件 Eve
data : {} // 返回结果
}```TODO: 补充各监听事件返回的数据定义

<a name="Padchat+start"></a>

### padchat.start()
启动websocket连接

**Kind**: instance method of [<code>Padchat</code>](#Padchat)
<a name="Padchat+init"></a>

### padchat.init() ⇒ <code>Promise.&lt;object&gt;</code>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "padchat-sdk",
"version": "0.5.4",
"version": "0.5.5",
"description": "padchat的本地服务器开发包",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 34c6a71

Please sign in to comment.