@nsshunt/stsappframework 2.19.195 → 2.19.197

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ // Spawned worker
4
+ const worker_threads_1 = require("worker_threads");
5
+ const stspublisherserver_1 = require("@nsshunt/stspublisherserver");
6
+ const publishBrokerWorker = new stspublisherserver_1.PublishBrokerWorker();
7
+ worker_threads_1.parentPort.on('message', (message) => {
8
+ publishBrokerWorker.ProcessMessage(message);
9
+ });
10
+ //# sourceMappingURL=processbrokerworker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"processbrokerworker.js","sourceRoot":"","sources":["../src/processbrokerworker.ts"],"names":[],"mappings":";;AAAA,iBAAiB;AACjB,mDAA2C;AAC3C,oEAAyF;AAEzF,MAAM,mBAAmB,GAAwB,IAAI,wCAAmB,EAAE,CAAC;AAE1E,2BAAkB,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,OAA+B,EAAE,EAAE;IAClE,mBAAmB,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsshunt/stsappframework",
3
- "version": "2.19.195",
3
+ "version": "2.19.197",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "./types/index.d.ts",
@@ -23,18 +23,18 @@
23
23
  },
24
24
  "homepage": "https://github.com/nsshunt/stsappframework#readme",
25
25
  "devDependencies": {
26
- "@babel/preset-env": "^7.21.4",
27
- "@babel/preset-typescript": "^7.21.4",
26
+ "@babel/preset-env": "^7.21.5",
27
+ "@babel/preset-typescript": "^7.21.5",
28
28
  "@tsconfig/node20": "^1.0.0",
29
29
  "@types/cookie-parser": "^1.4.3",
30
30
  "@types/debug": "^4.1.7",
31
31
  "@types/express": "^4.17.17",
32
32
  "@types/jest": "^29.5.1",
33
- "@types/jsonwebtoken": "^9.0.1",
33
+ "@types/jsonwebtoken": "^9.0.2",
34
34
  "@types/pg": "^8.6.6",
35
35
  "@types/uuid": "^9.0.1",
36
- "@typescript-eslint/eslint-plugin": "^5.59.1",
37
- "@typescript-eslint/parser": "^5.59.1",
36
+ "@typescript-eslint/eslint-plugin": "^5.59.2",
37
+ "@typescript-eslint/parser": "^5.59.2",
38
38
  "eslint": "^8.39.0",
39
39
  "jest": "^29.5.0",
40
40
  "supertest": "^6.3.3",
@@ -45,13 +45,13 @@
45
45
  "@nsshunt/stsconfig": "^1.25.44",
46
46
  "@nsshunt/stsdatamanagement": "^1.17.97",
47
47
  "@nsshunt/stsinstrumentation": "^6.11.84",
48
- "@nsshunt/stspublisherserver": "^1.15.54",
48
+ "@nsshunt/stspublisherserver": "^1.15.56",
49
49
  "@nsshunt/stsutils": "^1.16.3",
50
50
  "@socket.io/cluster-adapter": "^0.2.2",
51
51
  "@socket.io/redis-streams-adapter": "^0.1.0",
52
52
  "@types/pidusage": "^2.0.2",
53
53
  "@types/tough-cookie": "^4.0.2",
54
- "axios": "^1.3.6",
54
+ "axios": "^1.4.0",
55
55
  "colors": "^1.4.0",
56
56
  "cookie-parser": "^1.4.6",
57
57
  "cors": "^2.8.5",
@@ -63,7 +63,7 @@
63
63
  "jwt-decode": "^3.1.2",
64
64
  "pidusage": "^3.0.2",
65
65
  "prom-client": "^14.2.0",
66
- "redis": "^4.6.5",
66
+ "redis": "^4.6.6",
67
67
  "socket.io": "^4.6.1",
68
68
  "systeminformation": "^5.17.12",
69
69
  "tough-cookie": "^4.1.2",
@@ -0,0 +1,9 @@
1
+ // Spawned worker
2
+ import { parentPort } from 'worker_threads'
3
+ import { IPublishMessagePayload, PublishBrokerWorker } from '@nsshunt/stspublisherserver'
4
+
5
+ const publishBrokerWorker: PublishBrokerWorker = new PublishBrokerWorker();
6
+
7
+ (parentPort as any).on('message', (message: IPublishMessagePayload) => {
8
+ publishBrokerWorker.ProcessMessage(message);
9
+ });
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=processbrokerworker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"processbrokerworker.d.ts","sourceRoot":"","sources":["../src/processbrokerworker.ts"],"names":[],"mappings":""}