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 1.0.9 to 1.1.0

dist/job/CompositeJob.d.ts

1

dist/index.d.ts

@@ -8,1 +8,2 @@ export { InviteType, DataMessageType } from './socket/SocketTypes';

export { JobManager } from './job/JobManager';
export { CompositeJob } from './job/CompositeJob';

4

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.JobManager = exports.JobStatus = exports.JobErrorPriority = exports.MessageQueueManager = exports.SocketManager = exports.DataMessageType = exports.InviteType = void 0;
exports.CompositeJob = exports.JobManager = exports.JobStatus = exports.JobErrorPriority = exports.MessageQueueManager = exports.SocketManager = exports.DataMessageType = exports.InviteType = void 0;
var SocketTypes_1 = require("./socket/SocketTypes");

@@ -16,2 +16,4 @@ Object.defineProperty(exports, "InviteType", { enumerable: true, get: function () { return SocketTypes_1.InviteType; } });

Object.defineProperty(exports, "JobManager", { enumerable: true, get: function () { return JobManager_1.JobManager; } });
var CompositeJob_1 = require("./job/CompositeJob");
Object.defineProperty(exports, "CompositeJob", { enumerable: true, get: function () { return CompositeJob_1.CompositeJob; } });
//# sourceMappingURL=index.js.map

@@ -9,3 +9,4 @@ import { Job, jobCompleteCallback, JobConfig } from "./Job";

constructor(config: JobConfig, originDir: string, destDir: string, fileTypes: string[], removeFromOrigin?: boolean);
getConfig(): JobConfig;
executeJob(runId: string, cb: jobCompleteCallback): void;
}

@@ -18,2 +18,5 @@ "use strict";

}
getConfig() {
return this.config;
}
executeJob(runId, cb) {

@@ -20,0 +23,0 @@ const originExists = fs_1.default.existsSync(this.originDir);

@@ -28,2 +28,3 @@ export declare type JobConfig = {

executeJob(runId: string, cb: jobCompleteCallback): void;
getConfig(): JobConfig;
}

@@ -30,0 +31,0 @@ export interface JobListener {

@@ -5,3 +5,3 @@ /// <reference types="node" />

import { ChatMessage, ChatRoom, ChatUser, DataMessage, InviteMessage, QueuedMessages } from "./SocketTypes";
import { Job, jobCompleteCallback } from "../job/Job";
import { Job, jobCompleteCallback, JobConfig } from "../job/Job";
export declare class SocketManager implements Job {

@@ -17,2 +17,3 @@ private static _instance;

connectToServer(httpServer: httpServer): void;
getConfig(): JobConfig;
listen(): void;

@@ -19,0 +20,0 @@ sendDataMessage(message: DataMessage): void;

@@ -69,2 +69,5 @@ "use strict";

}
getConfig() {
return this.config;
}
listen() {

@@ -71,0 +74,0 @@ socketDebug('starting to listen for connections');

{
"name": "server-socket-framework-jps",
"version": "1.0.9",
"version": "1.1.0",
"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

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