Comparing version 1.0.16 to 1.0.17
{ | ||
"name": "wapp-api", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "Helper functions to speed up wapp development process.", | ||
@@ -5,0 +5,0 @@ "main": "wappsto/index.js", |
@@ -32,2 +32,6 @@ const WebSocket = require('./stream-polyfill'); | ||
get socket() { | ||
return this[_source]; | ||
} | ||
open() { | ||
@@ -240,2 +244,4 @@ if (this.stream && this.stream.get("meta.id") && WebSocket) { | ||
if(subscriptions.length === 0) return; | ||
// DO NOT UPDATE IF IT IS THE SAME SUBSCRIPTIONS | ||
// AND MAKE SURE COLLECTION ADD AND REMOVE LISTENERS ARE ADDED ONLY ONCE !!! | ||
let requestOptions = Object.assign({}, options); | ||
@@ -242,0 +248,0 @@ requestOptions.success = () => { |
Sorry, the diff of this file is too big to display
380172
10803