@tracerbench/websocket-message-transport
Advanced tools
Comparing version 1.3.1 to 2.0.0
@@ -1,5 +0,6 @@ | ||
import { AttachMessageTransport } from "@tracerbench/message-transport"; | ||
import { RaceCancellation } from "race-cancellation"; | ||
import type { AttachMessageTransport, OnClose, OnMessage, SendMessage } from "@tracerbench/message-transport"; | ||
import type { Cancellation, RaceCancellation, Task } from "race-cancellation"; | ||
export type { AttachMessageTransport, OnClose, OnMessage, SendMessage, Cancellation, RaceCancellation, Task, }; | ||
export declare type CloseWebSocket = () => void; | ||
export default function openWebSocket(url: string, raceCancellation?: RaceCancellation): Promise<[AttachMessageTransport, CloseWebSocket]>; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@tracerbench/websocket-message-transport", | ||
"version": "1.3.1", | ||
"version": "2.0.0", | ||
"license": "BSD-2-Clause", | ||
@@ -20,3 +20,3 @@ "author": "Kris Selden <kris.selden@gmail.com>", | ||
"dependencies": { | ||
"@tracerbench/message-transport": "^1.3.1", | ||
"@tracerbench/message-transport": "^2.0.0", | ||
"race-cancellation": "^0.4.1", | ||
@@ -23,0 +23,0 @@ "ws": "^7.3.0" |
@@ -1,5 +0,20 @@ | ||
import { AttachMessageTransport } from "@tracerbench/message-transport"; | ||
import { disposablePromise, RaceCancellation } from "race-cancellation"; | ||
import type { | ||
AttachMessageTransport, | ||
OnClose, | ||
OnMessage, | ||
SendMessage, | ||
} from "@tracerbench/message-transport"; | ||
import type { Cancellation, RaceCancellation, Task } from "race-cancellation"; | ||
import { disposablePromise } from "race-cancellation"; | ||
import NodeWebSocket = require("ws"); | ||
export type { | ||
AttachMessageTransport, | ||
OnClose, | ||
OnMessage, | ||
SendMessage, | ||
Cancellation, | ||
RaceCancellation, | ||
Task, | ||
}; | ||
export type CloseWebSocket = () => void; | ||
@@ -6,0 +21,0 @@ |
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
7423
122
+ Added@tracerbench/message-transport@2.0.0(transitive)
- Removed@tracerbench/message-transport@1.3.1(transitive)