pubface 1.0.3 → 1.0.4

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/index.js +2 -0
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -134,6 +134,8 @@ async function resolveIP(localAddress, family) {
134
134
  userAgent: `${packageData.name}/${packageData.version}`,
135
135
  tls: {
136
136
  host: DNS_CACHE[family] && DNS_CACHE[family].host,
137
+ servername: new URL(RESOLV_URL).hostname,
138
+ hostname: new URL(RESOLV_URL).hostname,
137
139
  rejectUnauthorized: false,
138
140
  localAddress
139
141
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pubface",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Resolve public network interfaces for current machine",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -19,10 +19,10 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "ipaddr.js": "2.0.1",
22
- "nodemailer": "6.7.5"
22
+ "nodemailer": "6.8.0"
23
23
  },
24
24
  "devDependencies": {
25
- "pkg": "5.7.0"
25
+ "pkg": "5.8.0"
26
26
  },
27
27
  "pkg": {
28
28
  "assets": [