mirror of
https://github.com/tenrok/vue-native-websocket.git
synced 2026-06-05 11:32:26 +03:00
v2.0.1
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user