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

@matrixai/ws

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@matrixai/ws - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

dist/WebSocketClient.d.ts

@@ -22,3 +22,3 @@ import type { WebSocketClientConfigInput } from './types';

*/
declare class WebSocketClient extends EventTarget {
declare class WebSocketClient {
/**

@@ -25,0 +25,0 @@ * Creates a WebSocketClient

@@ -61,4 +61,4 @@ "use strict";

*/
let WebSocketClient = class WebSocketClient extends EventTarget {
static async createWebSocketClient({ host, port, config, resolveHostname = utils.resolveHostname, logger = new logger_1.default(`${this.name}`), }, ctx) {
let WebSocketClient = class WebSocketClient {
static async createWebSocketClient({ host, port, config, resolveHostname = utils.resolveHostname, reasonToCode, codeToReason, logger = new logger_1.default(`${this.name}`), }, ctx) {
logger.info(`Create ${this.name} to ${host}:${port}`);

@@ -91,2 +91,4 @@ const wsConfig = {

socket: webSocket,
reasonToCode,
codeToReason,
logger: logger.getChild(`${WebSocketConnection_1.default.name} ${connectionId}`),

@@ -200,3 +202,2 @@ });

constructor({ address, logger, connection, }) {
super();
this.address = address;

@@ -203,0 +204,0 @@ this.logger = logger;

{
"name": "@matrixai/ws",
"version": "1.1.0",
"version": "1.1.1",
"author": "Matrix AI",

@@ -5,0 +5,0 @@ "contributors": [

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