Bot releases are visible (Hide)
Published by probil over 6 years ago
This release introduces options support - hooray π . That means you can tweak the library to better fit your project needs. So now you can:
socket_
), closes #25SOCKET_
), closes #25Read more in configuration section. That's all for now
If you are using store - keep reading, if not - stop reading right here because there nothing to update for you π.
Previously it was possible to pass store as third argument to enable vuex integration but now third argument is an options object. So, you need to pass store
as part of options to enable it.
In short:
- Vue.use(VueSocketio, io('http://socketserver.com:1923'), store);
+ Vue.use(VueSocketio, io('http://socketserver.com:1923'), { store });
Published by probil over 6 years ago
window
directly)mixin
as we can mock proxy support now[email protected]
& [email protected]
Published by probil over 6 years ago
codecov
to gather code coverage reportsEvenEmitter
class from global EvenEmitter
instanceEventEmitter
, Observer
and mixin
by unit testsPublished by probil over 6 years ago
babel-preset-env
instead of babel-preset-es2015
(which is deprecated now)jest
Published by probil over 6 years ago
rollup
instead of webpack
package-lock
to git, better npm@5
support.babelrc
filePublished by probil over 6 years ago
vue-socket.io
npm