fix(core): update

This commit is contained in:
Philipp Kunz 2022-10-22 17:39:29 +02:00
parent d8f409c191
commit 28d99ecb77
2 changed files with 5 additions and 1 deletions

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