noice-json-rpc
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -12,3 +12,3 @@ /// <reference types="node" /> | ||
on(event: string, cb: Function): any; | ||
clients?: LikeSocket[]; | ||
clients?: Iterable<LikeSocket>; | ||
} | ||
@@ -15,0 +15,0 @@ export interface LogOpts { |
@@ -277,5 +277,5 @@ "use strict"; | ||
if (this._socketServer.clients) { | ||
this._socketServer.clients.forEach(ws => { | ||
for (let ws of this._socketServer.clients) { | ||
this._send(ws, { method, params }); | ||
}); | ||
} | ||
} | ||
@@ -282,0 +282,0 @@ else { |
{ | ||
"name": "noice-json-rpc", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Noice Json RPC exposes a clean ES6 Proxy and Promise based interface for JSON-RPC2 Clients and Servers", | ||
@@ -47,3 +47,3 @@ "main": "lib/noice-json-rpc.js", | ||
"@types/sinon": "^1.16.31", | ||
"@types/ws": "0.0.34", | ||
"@types/ws": "^3.2.1", | ||
"chai": "^3.5.0", | ||
@@ -57,4 +57,4 @@ "chrome-remote-debug-protocol": "^1.0.1", | ||
"typescript": "^2.0.3", | ||
"ws": "^1.1.1" | ||
"ws": "^3.3.2" | ||
} | ||
} |
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
26523