@qualified/vscode-jsonrpc-ws
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -15,2 +15,3 @@ "use strict"; | ||
const conn = vscode_jsonrpc_1.createMessageConnection(reader_1.createMessageReader(webSocket), writer_1.createMessageWriter(webSocket), logger); | ||
conn.onDispose(() => webSocket.close()); | ||
conn.onClose(() => conn.dispose()); | ||
@@ -17,0 +18,0 @@ onConnection(conn); |
@@ -12,2 +12,3 @@ import { createMessageConnection as createMessageConnectionRW } from "vscode-jsonrpc"; | ||
const conn = createMessageConnectionRW(createMessageReader(webSocket), createMessageWriter(webSocket), logger); | ||
conn.onDispose(() => webSocket.close()); | ||
conn.onClose(() => conn.dispose()); | ||
@@ -14,0 +15,0 @@ onConnection(conn); |
@@ -8,3 +8,3 @@ { | ||
], | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"license": "MIT", | ||
@@ -26,3 +26,4 @@ "homepage": "https://github.com/qualified/lsps#readme", | ||
"typescript": "^4.0.2" | ||
} | ||
} | ||
}, | ||
"readme": "# @qualified/vscode-jsonrpc-ws\n\nCreate VSCode JSON RPC MessageConnection over WebSocket.\n\n`createMessageConnection(webSocket: WebSocket, logger?: Logger) Promise<MessageConnection>`\n" | ||
} |
Sorry, the diff of this file is not supported yet
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
23484
311