Comparing version 1.0.14 to 1.0.15
@@ -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": { |
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
11323
275