Compare commits

...

2 Commits

Author SHA1 Message Date
e11157fe44 3.0.2 2022-10-22 17:39:29 +02:00
28d99ecb77 fix(core): update 2022-10-22 17:39:29 +02:00
3 changed files with 6 additions and 2 deletions

View File

@ -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",

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@pushrocks/smartnetwork',
version: '3.0.1',
version: '3.0.2',
description: 'network diagnostics'
}

View File

@ -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
})
};
}