2
0
mirror of https://github.com/tenrok/vue-native-websocket.git synced 2026-06-05 11:32:26 +03:00
This commit is contained in:
nathan
2017-07-10 09:14:01 -07:00
parent 55aa4a75aa
commit ef8a327c70
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -2,6 +2,11 @@
This package is [semantic versioned](http://semver.org/)
## 2.0.1
- [bugfix]: call `new WebSocket` constructor without an empty sub-protocol string (throws on Chrome w/o this fix)
- [docs]: update action `json` `action` documentation
## 2.0.0
- [api change]: move `store` and `protocol` options from arguments to the opts` hash
+1 -1
View File
@@ -150,7 +150,7 @@ If there is an `.action` value in the response data ie. `action: 'customerAdded'
``` js
actions: {
customerAdded (context) {
console.log('action received: customerAdded')
console.log('action received: customerAdded')
}
}
```
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "vue-native-websocket",
"version": "2.0.0",
"version": "2.0.1",
"description": "native websocket implemantation for vuejs and vuex",
"main": "dist/build.js",
"scripts": {