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.14 to 1.0.15

7

lib/types/socket/SocketMessage.interface.d.ts

@@ -1,5 +0,4 @@

import { IClearCanvasCommand } from '../commands';
import { IClearCanvasCommand, IMouseMoveCommand } from '../commands';
import { IDrawCommand } from '../commands/DrawCommand.interface';
import { IRoom, IUser } from '../common';
import { IPoint } from '../common/Point.interface';
export interface ISocketMessage {

@@ -20,10 +19,8 @@ user: IUser;

roomId: string;
userName: string;
}
export interface IMouseMoveMessage extends ISocketMessage {
point: IPoint;
command: IMouseMoveCommand;
roomId: string;
}
export interface IUserConnectMessage extends ISocketMessage {
userName: string;
roomId: string;

@@ -30,0 +27,0 @@ history: IDrawCommand[];

{
"name": "cb-types",
"version": "1.0.14",
"version": "1.0.15",
"description": "",

@@ -11,3 +11,3 @@ "main": "lib/index.js",

"build": "tsc",
"publish": "rm -rf lib && npm run build && npm publish"
"deploy": "rm -rf lib&& npm run build&& npm publish"
},

@@ -14,0 +14,0 @@ "repository": {

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