Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
e11157fe44 | |||
28d99ecb77 |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartnetwork",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"private": false,
|
||||
"description": "network diagnostics",
|
||||
"main": "dist_ts/index.js",
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartnetwork',
|
||||
version: '3.0.1',
|
||||
version: '3.0.2',
|
||||
description: 'network diagnostics'
|
||||
}
|
||||
|
@ -123,10 +123,14 @@ export class SmartNetwork {
|
||||
v4: await plugins.publicIp.publicIpv4({
|
||||
timeout: 1000,
|
||||
onlyHttps: true,
|
||||
}).catch(async (err) => {
|
||||
return null
|
||||
}),
|
||||
v6: await plugins.publicIp.publicIpv6({
|
||||
timeout: 1000,
|
||||
onlyHttps: true,
|
||||
}).catch(async (err) => {
|
||||
return null
|
||||
})
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user