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

server-socket-framework-jps

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

server-socket-framework-jps - npm Package Compare versions

Comparing version 0.0.1 to 1.0.0-1

2

dist/index.d.ts
export { InviteType } from './socket/SocketTypes';
export type { DataMessage, ChatRoom, ChatMessage, ChatUser, InviteMessage, QueuedMessages } from './socket/SocketTypes';
export type { DataMessageType, DataMessage, ChatRoom, ChatMessage, ChatUser, InviteMessage, QueuedMessages } from './socket/SocketTypes';
export { SocketManager } from './socket/SocketManager';
export { MessageQueueManager } from './socket/MessageQueueManager';

@@ -0,6 +1,12 @@

export declare enum DataMessageType {
create = "create",
update = "update",
delete = "delete"
}
export declare type DataMessage = {
type: string;
type: DataMessageType;
stateName: string;
data: any;
user: string;
context?: string;
};

@@ -7,0 +13,0 @@ export declare type ChatMessage = {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.InviteType = void 0;
exports.InviteType = exports.DataMessageType = void 0;
var DataMessageType;
(function (DataMessageType) {
DataMessageType["create"] = "create";
DataMessageType["update"] = "update";
DataMessageType["delete"] = "delete";
})(DataMessageType = exports.DataMessageType || (exports.DataMessageType = {}));
var InviteType;

@@ -5,0 +11,0 @@ (function (InviteType) {

{
"name": "server-socket-framework-jps",
"version": "0.0.1",
"version": "1.0.0-1",
"description": "A simple socket framework for persistent chat rooms and data messages",

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

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