@bobfrankston/miscinfo 1.0.16 → 1.0.18
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/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/ports.d.ts +7 -0
- package/ports.js +8 -1
package/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default_fqdn, ports, mqtt, endsWithFQDN } from './ports.js';
|
|
1
|
+
export { default_fqdn, ports, mqtt, endsWithFQDN, primaryHost, primaryHostIP4, primaryFQDN } from './ports.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default_fqdn, ports, mqtt, endsWithFQDN } from './ports.js';
|
|
1
|
+
export { default_fqdn, ports, mqtt, endsWithFQDN, primaryHost, primaryHostIP4, primaryFQDN } from './ports.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
package/ports.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
/** Default fully qualified domain name */
|
|
2
2
|
export declare const default_fqdn = "aaz.lt";
|
|
3
3
|
export declare function endsWithFQDN(dns: string): boolean;
|
|
4
|
+
/** Short name of the primary home-control host — jserv, vdevice and SQL all live here.
|
|
5
|
+
* Defined here rather than in each consumer so there is one place to change it; hlib
|
|
6
|
+
* re-exports these for the browser. */
|
|
7
|
+
export declare const primaryHost = "rmf39";
|
|
8
|
+
export declare const primaryHostIP4 = "172.20.3.39";
|
|
9
|
+
/** Fully qualified name of the primary host, e.g. rmf39.aaz.lt */
|
|
10
|
+
export declare const primaryFQDN = "rmf39.aaz.lt";
|
|
4
11
|
/** Centralized port definitions for all services */
|
|
5
12
|
export declare const ports: {
|
|
6
13
|
jserve2: number;
|
package/ports.js
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
/** Default fully qualified domain name */
|
|
2
2
|
export const default_fqdn = 'aaz.lt';
|
|
3
3
|
export function endsWithFQDN(dns) { return /\.aaz\.lt$/i.test(dns); }
|
|
4
|
+
/** Short name of the primary home-control host — jserv, vdevice and SQL all live here.
|
|
5
|
+
* Defined here rather than in each consumer so there is one place to change it; hlib
|
|
6
|
+
* re-exports these for the browser. */
|
|
7
|
+
export const primaryHost = 'rmf39';
|
|
8
|
+
export const primaryHostIP4 = '172.20.3.39';
|
|
9
|
+
/** Fully qualified name of the primary host, e.g. rmf39.aaz.lt */
|
|
10
|
+
export const primaryFQDN = `${primaryHost}.${default_fqdn}`;
|
|
4
11
|
/** Centralized port definitions for all services */
|
|
5
12
|
export const ports = {
|
|
6
13
|
jserve2: 10080,
|
|
@@ -13,7 +20,7 @@ export const ports = {
|
|
|
13
20
|
rmfprod: 9081, // Secondary port for production version (debugging)
|
|
14
21
|
rmfbeta: 9082, // Secondary port for beta version (debugging)
|
|
15
22
|
rmfalpha: 9083, // Secondary port for the alpha version
|
|
16
|
-
shim: 9084, //
|
|
23
|
+
shim: 9084, // Warning -- these are current forwarded!
|
|
17
24
|
shims: 9085, //
|
|
18
25
|
jvport: 9180, // These are copied in hlib
|
|
19
26
|
jvports: 9143,
|