@metric-im/administrate 1.1.8 → 1.1.9

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,10 +1,16 @@
1
1
  {
2
2
  "permissions": {
3
3
  "allow": [
4
- "Read(//home/msprague/workspace/sitewell/**)",
5
- "Read(//home/msprague/workspace/rootz/data-wallet-demos/**)"
4
+ "Read(//home/msprague/workspace/rootz/epistery/docs/**)",
5
+ "Read(//home/msprague/workspace/rootz/epistery/src/**)",
6
+ "Read(//home/msprague/workspace/rootz/epistery/**)",
7
+ "Read(//home/msprague/workspace/rootz/rhonda/node_modules/epistery/**)",
8
+ "Read(//home/msprague/workspace/rootz/rhonda/**)",
9
+ "Read(//home/msprague/workspace/metric-im/account-control/**)",
10
+ "Bash(sed:*)",
11
+ "Bash(git checkout:*)"
6
12
  ],
7
13
  "deny": [],
8
14
  "ask": []
9
15
  }
10
- }
16
+ }
package/multisite.mjs CHANGED
@@ -356,7 +356,7 @@ export class Site {
356
356
  this.options = options;
357
357
  this.parent = parent;
358
358
  try {
359
- const envars = JSON.parse(process.env.SITE_ENV||{});
359
+ const envars = JSON.parse(process.env.SITE_ENV||'{}');
360
360
  Object.assign(this.options.env,envars[this.name]||{});
361
361
  } catch(e) {
362
362
  console.log(`Unable to parse SITE_ENV... continuing: ${e.message}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metric-im/administrate",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "Tools for site administration",
5
5
  "homepage": "https://github.com/metric-im/administrate#readme",
6
6
  "bugs": {
@@ -21,7 +21,7 @@
21
21
  "@metric-im/componentry": "^1.4.4",
22
22
  "acme-client": "^5.4.0",
23
23
  "axios": "^1.7.0",
24
- "epistery": "^1.1.0",
24
+ "epistery": "^1.1.4",
25
25
  "express": "^5.1.0",
26
26
  "moment": "^2.30.1"
27
27
  }