From ef8a327c70bf79c40420d2555e3978b242afe965 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 10 Jul 2017 09:14:01 -0700 Subject: [PATCH] v2.0.1 --- CHANGELOG.md | 5 +++++ README.md | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd3bea1..83cd42e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 1c4ee17..5b40c4c 100755 --- a/README.md +++ b/README.md @@ -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') } } ``` diff --git a/package.json b/package.json index e5d9663..b77d976 100755 --- a/package.json +++ b/package.json @@ -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": {