@social-mail/social-mail-web-server 1.7.76 → 1.7.78

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.76",
3
+ "version": "1.7.78",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -293,6 +293,8 @@ export default class EmailEvents extends AuthenticatedEvents<Email> {
293
293
  preJson(entity: Email): Email {
294
294
  if (entity.status === "published") {
295
295
  this.sessionSecurity.injectPublicKey(entity);
296
+ } else {
297
+ this.sessionSecurity.injectKey(entity);
296
298
  }
297
299
  entity.statePostReceiveInvoked = void 0;
298
300
  entity.stateReferencesUpdated = void 0;
@@ -3,7 +3,7 @@ import semver from "semver";
3
3
 
4
4
  export default async function seedUI(config: DBConfig) {
5
5
 
6
- const version = "1.4.95";
6
+ const version = "1.4.96";
7
7
 
8
8
  const existing = await config.getValue(UIPackageConfig, false);
9
9
  if (existing) {