@social-mail/social-mail-web-server 1.4.982 → 1.4.983

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.4.982",
3
+ "version": "1.4.983",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -6,6 +6,7 @@ import SocialMailContext from "../../model/SocialMailContext.js";
6
6
  import EmailAddressService from "../../services/EmailAddressService.js";
7
7
  import Sql from "@entity-access/entity-access/dist/sql/Sql.js";
8
8
  import { globalEnv } from "../../../common/globalEnv.js";
9
+ import GlobalEvents from "../../../common/GlobalEvents.js";
9
10
 
10
11
  export default class SyncDnsZoneRecordsWorkflow extends Workflow {
11
12
 
@@ -24,6 +25,14 @@ export default class SyncDnsZoneRecordsWorkflow extends Workflow {
24
25
  await this.syncMX();
25
26
  await this.syncDomainKeys();
26
27
  await this.syncWebHosts();
28
+ await this.notifyDns();
29
+ }
30
+
31
+ @UniqueActivity
32
+ async notifyDns(
33
+ @Inject ge?: GlobalEvents
34
+ ) {
35
+ ge.notify("refresh-dns");
27
36
  }
28
37
 
29
38
  @UniqueActivity