@ccci/micro-server 1.0.242 → 1.1.3

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.
@@ -1,4 +1,5 @@
1
1
  import { Application } from 'express';
2
+ import Mailer from './Mailer';
2
3
  import BaseSocketHandler from './BaseSocketHandler';
3
4
  import { ApplicationOptionType } from '@/types/ApplicationOptionType';
4
5
  /**
@@ -6,6 +7,7 @@ import { ApplicationOptionType } from '@/types/ApplicationOptionType';
6
7
  */
7
8
  export default class ApplicationServer {
8
9
  static app: Application;
10
+ static mailer: Mailer;
9
11
  static socketHandlers: Array<{
10
12
  path: string;
11
13
  handler: BaseSocketHandler;
@@ -23,5 +25,6 @@ export default class ApplicationServer {
23
25
  path: string;
24
26
  handler: any;
25
27
  }>;
28
+ static getMailer(): Mailer;
26
29
  }
27
30
  //# sourceMappingURL=ApplicationServer.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "1.0.242",
3
+ "version": "1.1.3",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",