Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tracerbench/websocket-message-transport

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tracerbench/websocket-message-transport - npm Package Compare versions

Comparing version 1.3.1 to 2.0.0

5

dist/index.d.ts

@@ -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

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc