@social-mail/social-mail-web-server 1.8.2 → 1.8.4

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.8.2",
3
+ "version": "1.8.4",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/src/WebServer.ts CHANGED
@@ -254,6 +254,7 @@ export default class WebServer {
254
254
  ServiceCollection.registerMultiple("Singleton", [AppSocketService, SocketService], AppSocketService);
255
255
  ServiceCollection.registerMultiple("Singleton", [AppKeyProvider, KeyProvider], AppKeyProvider);
256
256
  ServiceCollection.registerMultiple("Singleton", [ ContextEvents ], SocialMailContextEvents);
257
+ ServiceCollection.registerMultiple("Singleton", [AppWorkflowContext, SocialWorkflowContext], SocialWorkflowContext);
257
258
 
258
259
  // Set public key
259
260
  SessionSecurity.prototype.publicKey = globalEnv.publicKey;
@@ -5,7 +5,7 @@ export default async function seedUI(config: DBConfig) {
5
5
  await config.saveVersion(UIPackageConfig, {
6
6
  package: "@social-mail/social-mail-client",
7
7
  view: "dist/web/AppIndex",
8
- version: "1.8.206"
8
+ version: "1.8.207"
9
9
  });
10
10
 
11
11
  await config.saveVersion(WebComponentsPackageConfig, {
@@ -32,7 +32,7 @@ export default class WebSiteVersionService {
32
32
  && x.remoteUrl !== null)
33
33
  .include((x) => x.folder)
34
34
  .first();
35
- if (!site) {
35
+ if (!site?.remoteUrl) {
36
36
  return;
37
37
  }
38
38
  return this.ensureNewVersion(site);