@bobfrankston/miscinfo 1.0.5 → 1.0.6

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 (3) hide show
  1. package/package.json +6 -3
  2. package/ports.d.ts +2 -0
  3. package/ports.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/miscinfo",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Browser-compatible shared constants including port definitions and MQTT configuration",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -10,9 +10,9 @@
10
10
  "watch": "tsc -w",
11
11
  "prerelease:local": "git add -A && (git diff-index --quiet HEAD || git commit -m \"Pre-release commit\")",
12
12
  "preversion": "npm run build && git add -A",
13
- "postversion": "git push && git push --tags",
14
13
  "release": "npmglobalize",
15
- "old-release": "npm run prerelease:local && npm version patch && npm publish"
14
+ "old-release": "npm run prerelease:local && npm version patch && npm publish",
15
+ "postversion": "git push && git push --tags"
16
16
  },
17
17
  "keywords": [],
18
18
  "author": "",
@@ -20,5 +20,8 @@
20
20
  "repository": {
21
21
  "type": "git",
22
22
  "url": "https://github.com/BobFrankston/miscinfo.git"
23
+ },
24
+ "publishConfig": {
25
+ "access": "public"
23
26
  }
24
27
  }
package/ports.d.ts CHANGED
@@ -7,6 +7,7 @@ export declare const ports: {
7
7
  jserve2s: number;
8
8
  devlisten: number;
9
9
  halisten: number;
10
+ haport: number;
10
11
  rmfsite: number;
11
12
  rmfsites: number;
12
13
  rmfprod: number;
@@ -42,6 +43,7 @@ export declare const ports: {
42
43
  cardaid: number;
43
44
  oauth: number;
44
45
  alerter: number;
46
+ mailx: number;
45
47
  };
46
48
  /** MQTT broker configuration */
47
49
  export declare const mqtt: {
package/ports.js CHANGED
@@ -7,6 +7,7 @@ export const ports = {
7
7
  jserve2s: 10443, // For now, we use the same port for http and https
8
8
  devlisten: 9070, // Hubitat MakerAPI http server
9
9
  halisten: 9071, // Home Assistant MakerAPI http server
10
+ haport: 8123, // Home Assistant REST API port
10
11
  rmfsite: 9081, // These will be phased out for the new version
11
12
  rmfsites: 9082, // used to be for SSL but now any port is ssl or not
12
13
  rmfprod: 9081, // Secondary port for production version (debugging)
@@ -42,7 +43,8 @@ export const ports = {
42
43
  carder: 9329,
43
44
  cardaid: 9330,
44
45
  oauth: 9331,
45
- alerter: 9332
46
+ alerter: 9332,
47
+ mailx: 9333
46
48
  };
47
49
  const mqttHost = "pi4c";
48
50
  const mqttPort = 1883;