@social-mail/social-mail-web-server 1.7.241 → 1.7.243

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-web-server",
3
- "version": "1.7.241",
3
+ "version": "1.7.243",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -22,7 +22,7 @@
22
22
  "@aws-sdk/client-s3": "^3.717.0",
23
23
  "@azure/storage-blob": "^12.25.0",
24
24
  "@entity-access/entity-access": "^1.0.403",
25
- "@entity-access/server-pages": "^1.1.404",
25
+ "@entity-access/server-pages": "^1.1.405",
26
26
  "@ffmpeg/core-mt": "^0.12.6",
27
27
  "@ffmpeg/ffmpeg": "^0.12.10",
28
28
  "@ffmpeg/util": "^0.12.1",
package/src/WebServer.ts CHANGED
@@ -54,6 +54,7 @@ import RootCertificates from "./server/services/root-certs/RootCertificates.js";
54
54
  import TlsSessionKeys from "./common/tls/TlsSessionKeys.js";
55
55
  import { Http2SecureServer } from "node:http2";
56
56
  import { Socket } from "node:net";
57
+ import AcmeCertificateService from "@entity-access/server-pages/dist/ssl/AcmeCertificateService.js";
57
58
 
58
59
  declare module "@entity-access/server-pages/dist/core/SessionUser.js" {
59
60
  // eslint-disable-next-line @typescript-eslint/naming-convention, no-shadow
@@ -99,6 +100,8 @@ Object.defineProperties(SessionUser.prototype, {
99
100
 
100
101
  export default class WebServer {
101
102
 
103
+ public webServer;
104
+
102
105
  public runWorkflows() {
103
106
  globalServices.resolve(SocialWorkflowContext).start({
104
107
  taskGroups: [ "default", "sync", "sync-queue", "notify", "background", "daily", "batch"]
@@ -181,6 +184,8 @@ export default class WebServer {
181
184
  }
182
185
  });
183
186
 
187
+ this.webServer = webServer;
188
+
184
189
  // if (globalEnv.protocol === "http2") {
185
190
  // const http2Server = webServer as Http2SecureServer;
186
191
  // http2Server.setTicketKeys(TlsSessionKeys.get());