angular-websocket
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "angular-websocket", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"homepage": "https://github.com/gdi2290/angular-websocket", | ||
"description": "An AngularJS 1.x WebSocket service for connecting client applications to servers.", | ||
"keywords": [ | ||
"angular", | ||
"angularjs", | ||
"javascript", | ||
"realtime", | ||
"websockets", | ||
"websocket", | ||
"angular-websocket", | ||
"angular-websockets", | ||
"angular-socket", | ||
"ngWebSocket", | ||
"ngWebSockets", | ||
"gdi2290", | ||
"PatrickJS" | ||
], | ||
"authors": [ | ||
@@ -11,2 +26,12 @@ "gdi2290 <github@gdi2290.com>" | ||
"ignore": [ | ||
".bowerrc", | ||
".gitignore", | ||
".jshintignore", | ||
".jshintrc", | ||
"karma.conf.js", | ||
"test.sh", | ||
"dist.sh", | ||
"src", | ||
"example", | ||
"package.json", | ||
"**/.*", | ||
@@ -13,0 +38,0 @@ "*.yml", |
@@ -0,1 +1,8 @@ | ||
## 1.0.4 (2014-12-29) | ||
Features: | ||
- Update bower ignore | ||
- Add more dot files | ||
- Add keywords to bower.json and package.json | ||
## 1.0.3 (2014-12-29) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "angular-websocket", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"main": "angular-websocket.min.js", | ||
@@ -8,2 +8,17 @@ "description": "An AngularJS 1.x WebSocket service for connecting client applications to servers.", | ||
"bugs": "https://github.com/gdi2290/angular-websocket/issues", | ||
"keywords": [ | ||
"angular", | ||
"angularjs", | ||
"javascript", | ||
"realtime", | ||
"websockets", | ||
"websocket", | ||
"angular-websocket", | ||
"angular-websockets", | ||
"angular-socket", | ||
"ngWebSocket", | ||
"ngWebSockets", | ||
"gdi2290", | ||
"PatrickJS" | ||
], | ||
"scripts": { | ||
@@ -10,0 +25,0 @@ "test": "./test.sh", |
@@ -7,2 +7,3 @@ # angular-websocket | ||
[![devDependency Status](https://david-dm.org/gdi2290/angular-websocket/dev-status.svg)](https://david-dm.org/gdi2290/angular-websocket#info=devDependencies) | ||
[![NPM](https://nodei.co/npm-dl/angular-websocket.png)](https://nodei.co/npm/angular-websocket/) | ||
@@ -44,4 +45,4 @@ ### Status: Looking for feedback about new API changes | ||
dataStream.onMessage(function(message) { | ||
collection.push(message); | ||
dataStream.onMessage(function(message.data) { | ||
collection.push(JSON.parse(message.data)); | ||
}); | ||
@@ -52,3 +53,3 @@ | ||
get: function() { | ||
dataStream.send({ action: 'get' }); | ||
dataStream.send(JSON.stringify({ action: 'get' })); | ||
} | ||
@@ -55,0 +56,0 @@ }; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
103208
26
1742
153