@bobfrankston/miscassists 1.0.12 → 1.0.13
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.js +1 -2
- package/index.js.map +1 -1
- package/index.ts +6 -5
- package/jserve.js +3 -0
- package/jserve.js.map +1 -0
- package/jserve.ts +10 -0
- package/maker.js +1 -0
- package/maker.js.map +1 -1
- package/maker.ts +3 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { resolve4, resolveLocal4, isLocalIP, isThisMachine, default_fqdn } from './dnsassist.js';
|
|
2
|
-
export { resolve4, resolveLocal4, isLocalIP, isThisMachine, default_fqdn } from './dnsassist.js';
|
|
3
2
|
import { ports, mqtt } from './ports.js';
|
|
4
|
-
export { ports, mqtt }
|
|
3
|
+
export { resolve4, resolveLocal4, isLocalIP, isThisMachine, default_fqdn, ports, mqtt };
|
|
5
4
|
export default {
|
|
6
5
|
resolve4,
|
|
7
6
|
resolveLocal4,
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAChG,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAChG,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAIxC,OAAO,EACH,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,EAAE,YAAY,EAC/D,KAAK,EAAE,IAAI,EACd,CAAC;AAEF,eAAe;IACX,QAAQ;IACR,aAAa;IACb,SAAS;IACT,aAAa;IACb,YAAY;IACZ,KAAK;IACL,IAAI;CACP,CAAA"}
|
package/index.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { resolve4, resolveLocal4, isLocalIP, isThisMachine, default_fqdn } from './dnsassist.js'
|
|
2
|
-
export { resolve4, resolveLocal4, isLocalIP, isThisMachine, default_fqdn } from './dnsassist.js'
|
|
3
|
-
|
|
4
2
|
import { ports, mqtt } from './ports.js'
|
|
5
|
-
export { ports, mqtt } from './ports.js'
|
|
6
|
-
|
|
7
3
|
import { makerPayload } from './maker.js';
|
|
8
|
-
|
|
4
|
+
import { jSubSiteInfo } from './jserve.js';
|
|
5
|
+
|
|
6
|
+
export {
|
|
7
|
+
resolve4, resolveLocal4, isLocalIP, isThisMachine, default_fqdn,
|
|
8
|
+
ports, mqtt, makerPayload, jSubSiteInfo
|
|
9
|
+
};
|
|
9
10
|
|
|
10
11
|
export default {
|
|
11
12
|
resolve4,
|
package/jserve.js
ADDED
package/jserve.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jserve.js","sourceRoot":"","sources":["jserve.ts"],"names":[],"mappings":"AAAA,qCAAqC"}
|
package/jserve.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Support for connecting with jserve
|
|
2
|
+
|
|
3
|
+
// This can be passed via the default value or, better, via the JSubSite
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export interface jSubSiteInfo {
|
|
7
|
+
app: object; // Express -- so we don't nee the Express definition in miscassists
|
|
8
|
+
AppInit?: () => Promise<void>
|
|
9
|
+
subClients?: string[]; // Dirname or path to html file
|
|
10
|
+
}
|
package/maker.js
CHANGED
package/maker.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maker.js","sourceRoot":"","sources":["maker.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"maker.js","sourceRoot":"","sources":["maker.ts"],"names":[],"mappings":"AAAA,iCAAiC"}
|
package/maker.ts
CHANGED