2
0
mirror of https://github.com/tenrok/vue-native-websocket.git synced 2026-05-17 04:19:38 +03:00
Commit Graph

68 Commits

Author SHA1 Message Date
nathan 06fecdd060 changelog and build 2.0.5 v2.0.5 2017-11-18 12:12:47 -08:00
Nathan e4a67ad63d Merge pull request #26 from n5leon/emitter-context
Fixed context for events callback
2017-11-18 12:08:57 -08:00
n5leon f30c155298 Fixed context for events calback 2017-11-18 17:02:08 +01:00
Nathan ce215a109e Update CHANGELOG.md
hyperlink contributors
2017-11-13 09:15:50 -08:00
Nathan f38071d998 Update CHANGELOG.md
markdown doesnt love () after []
2017-11-13 09:14:05 -08:00
nathan 699372468d changelog and build 2.0.4 v2.0.4 2017-11-13 09:11:19 -08:00
Viktor 07328e1548 Add reconnect (#25)
* add ws reconnect

* added in readme text about reconnect
2017-11-13 08:52:29 -08:00
ThomasKlessen 782d400953 namespace support for actions (#24)
* namespace support for actions

* renamed existing tests

* added tests for store-actions with/without namespace

* removed commit parts in action/dispatch tests

* bugfixed failed test runs;
2017-11-13 08:52:01 -08:00
nathan 8ea77c55d7 package publishing notes... so i remember to do all the right things when publishing 2017-07-27 08:16:48 -07:00
nathan bbecee4ed5 build it v2.0.3 2017-07-27 08:11:41 -07:00
nathan 38b6b8b124 v2.0.2 v2.0.2 2017-07-24 14:46:54 -07:00
Nicolas Meylan ace2bf5d91 Fix observer mutation name when format: json is used (#9)
According to the documentation: "If there is a .mutation value in the
response data, the corresponding mutation is called with the name
SOCKET_[mutation value]"

However when event data does not contains .mutation value mutation is
null, so the mutation is not find in the store.
2017-07-24 12:49:43 -07:00
nathan ef8a327c70 v2.0.1 v2.0.1 2017-07-10 09:14:01 -07:00
Mark Macneil 55aa4a75aa Fixes for empty sub-protocol and missing action names (#8)
* 1. Fixed DOMException: Failed to construct 'WebSocket': The subprotocol '' is invalid. in Chrome when empty protocol arg passed in WS ctor.  2.  Action name was never being set/executed on incoming messages.

* upated docs
2017-07-10 09:09:10 -07:00
Nathan 46e251dcbc Api updates (#7)
* move all instantiation options into the opts hash

* 2.0.0
2017-07-07 09:47:01 -07:00
Nathan b62cc5a27c Specs (#6)
* wire up specs

* tests + fixes for #1

* travis
2017-07-07 09:27:32 -07:00
Nathan 57a33ebae5 Merge pull request #4 from owlran/master
Add WebSocket sub-protocol support
2017-06-29 09:34:45 -07:00
Aaron Chen 49d7229ee3 Update README. 2017-06-29 16:09:36 +08:00
Aaron Chen b9b1bee5c0 Update README. 2017-06-29 16:08:49 +08:00
Aaron Chen ca24960b05 Update README 2017-06-29 16:07:44 +08:00
Aaron Chen 96eb7bbfdc fix wrong parameter. 2017-06-29 15:41:05 +08:00
Aaron Chen 93e17ffe0f support websocket protocol, this is optional option. 2017-06-29 15:31:50 +08:00
nathan fd5d4a6a59 readme typo, fixes #3 2017-06-01 08:24:55 -07:00
nathan 0b27e5218b readme updates 2017-05-16 23:08:54 -07:00
nathan db15356be6 webpack, yarn and dist 2017-05-16 22:58:40 -07:00
nathan ace980d539 native websocket with json parsing, vuex integration and namespacing 2017-05-16 22:58:01 -07:00
Metin Seylan d44a480584 Merge pull request #52 from jeystaats/patch-1
Multiple arguments added for emitting to store
2017-05-02 11:56:01 +03:00
Jasper Staats 5cb889fd72 Multiple arguments added for emitting to store
This solves issue #51.
2017-05-02 10:53:51 +02:00
Metin Seylan 682fbbc147 Update package.json 2017-03-29 10:28:45 +03:00
Metin Seylan 058001f869 Update package.json 2017-03-29 10:25:24 +03:00
Metin Seylan 1d662700bf Merge pull request #40 from michgeek/master
Add support for namespaced Vuex actions
2017-03-29 09:49:53 +03:00
Michgeek 8709b16a78 Add support to native events
Native event was passed capitalized which cause unexpected camelCase
conversion.

Event is now passed without uppercasing and save string transformations

e.g.
SOCKET_CONNECT       => `socket_cONNECT`      instead of `socket_connect`
SOCKET_CONNECT_ERROR => `socket_cONNECTERROR` instead of `socket_connectError`
2017-03-29 16:10:27 +11:00
Michgeek 3a86a906d5 Add support for namespaced Vuex actions 2017-03-21 07:40:42 +11:00
Metin Seylan 8589bbfb65 Merge pull request #39 from michgeek/master
Add namespaced mutation for Vuex
2017-03-19 20:53:46 +02:00
Michgeek 7abefc3bad Add namespaced mutation for Vuex 2017-03-19 23:37:00 +11:00
Metin Seylan 51f5a95014 Merge pull request #31 from codeofsumit/patch-1
added import of library to usage section
2017-02-06 09:06:05 +02:00
Sumit Kumar 4b7ec2f83e added import of library to usage section 2017-02-04 21:36:28 +01:00
Metin Seylan 2f17ac9a17 Merge pull request #27 from pieterjandesmedt/master
fix: add listeners to custom socket functions on the `created` hook
2017-01-04 09:09:43 +02:00
Pieter Jan De Smedt 0edf7322e6 fix: add listeners to custom socket functions on the created hook instead of beforeCreate hook in the mixin lifecycle 2017-01-03 16:30:46 +01:00
Metin Seylan 6f16d6c0b4 Merge pull request #23 from Gacnt/master
Update README.md
2016-12-31 10:04:42 +02:00
Donovan d5ff9b1403 Update README.md
few grammar fixes
2016-12-31 00:02:25 -07:00
metinseylan 0c778d661f readme 2016-12-31 01:21:01 +03:00
metinseylan 8e0100be09 2.1.0 2016-12-31 01:18:10 +03:00
Metin Seylan c7491fc762 Merge pull request #15 from whitekkk/master
add import vue in readme
2016-11-28 09:37:24 +03:00
whitekkk f21cb5dfa6 add import vue in readme 2016-11-28 08:53:05 +07:00
Metin Seylan a172f0219a Update package.json
minor version
2016-11-23 14:06:56 +03:00
Metin Seylan b0df13186c missing events & build 2016-11-23 13:59:51 +03:00
Metin Seylan 77a06779dc Added Missing Events
Added Missing Events
2016-11-23 13:55:37 +03:00
Metin Seylan 7f5fac27d0 v2 2016-10-29 00:47:04 +03:00
Metin Seylan 88d8479209 Update README.md 2016-10-26 09:49:51 +03:00