Comparing version 5.3.5 to 5.3.6
@@ -32,8 +32,7 @@ 'use strict'; | ||
}).then(function (resp) { | ||
handledRequest = true; | ||
messageCallback(JSON.stringify(resp)); | ||
return setTimeout(function () { | ||
return messageCallback(JSON.stringify(resp)); | ||
}); | ||
}).catch(function (err) { | ||
if (!handledRequest) { | ||
messageCallback(JSON.stringify(unknownError(err, parsedRequest))); | ||
} | ||
return messageCallback(JSON.stringify(unknownError(err, parsedRequest))); | ||
}); | ||
@@ -40,0 +39,0 @@ }, |
{ | ||
"name": "rxws", | ||
"version": "5.3.5", | ||
"version": "5.3.6", | ||
"description": "A RESTful reactive JavaScript implmentation on top of web sockets", | ||
@@ -13,2 +13,3 @@ "main": "lib/rxws.js", | ||
"copy": "cp -r lib ~/dev/sme-frontend/jspm_packages/npm/rxws@5.2.2/", | ||
"pre-publish": "npm run build", | ||
"coverage": "babel-node node_modules/isparta/bin/isparta cover --report text --report html node_modules/jasmine/bin/jasmine.js" | ||
@@ -15,0 +16,0 @@ }, |
608779
15984