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

cb-types

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cb-types - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

4

lib/types/socket/SocketEventNames.type.d.ts

@@ -17,3 +17,5 @@ export declare enum SocketEventNames {

/** Emits when user connect to room */
USER_CONNECT = "user-connect"
USER_CONNECT = "user-connect",
/** Emits when user disconnect from room */
USER_DISCONNECT = "user-disconnect"
}

@@ -22,2 +22,4 @@ "use strict";

SocketEventNames["USER_CONNECT"] = "user-connect";
/** Emits when user disconnect from room */
SocketEventNames["USER_DISCONNECT"] = "user-disconnect";
})(SocketEventNames = exports.SocketEventNames || (exports.SocketEventNames = {}));

@@ -28,4 +28,7 @@ import { IClearCanvasCommand, IMouseMoveCommand } from '../commands';

}
export interface IUpdateRoomsMessage extends Omit<ISocketMessage, 'userId'> {
rooms: string[];
export interface IUserDisconnectMessage extends ISocketMessage {
roomId: string;
}
export interface IUpdateRoomsMessage extends Omit<ISocketMessage, 'user'> {
roomIds: string[];
}
{
"name": "cb-types",
"version": "1.0.15",
"version": "1.0.16",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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