@live-change/email-service 0.8.97 → 0.8.99

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/render.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/email-service",
3
- "version": "0.8.97",
3
+ "version": "0.8.99",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -21,7 +21,7 @@
21
21
  "url": "https://www.viamage.com/"
22
22
  },
23
23
  "dependencies": {
24
- "@live-change/framework": "^0.8.97",
24
+ "@live-change/framework": "^0.8.99",
25
25
  "got": "^11.8.3",
26
26
  "html-to-text": "8.1.0",
27
27
  "inline-css": "4.0.2",
@@ -29,6 +29,6 @@
29
29
  "juice": "11.0.0",
30
30
  "nodemailer": "^6.7.2"
31
31
  },
32
- "gitHead": "5e1beea2df2a168d9da8f9fa802f4340de9d75e6",
32
+ "gitHead": "7d9970c62f5d019473e04353c5b4890683fa5dd6",
33
33
  "type": "module"
34
34
  }
package/render.js CHANGED
@@ -13,7 +13,9 @@ const config = definition.config
13
13
 
14
14
  const publicDir = config.publicDir || 'front/public/'
15
15
 
16
- const authenticationKey = new ObservableValue(crypto.randomBytes(24).toString('hex'))
16
+ const authenticationKey = new ObservableValue(
17
+ config.rendererAuthenticationKey ?? crypto.randomBytes(24).toString('hex')
18
+ )
17
19
  definition.view({
18
20
  internal: true,
19
21
  global: true,