fix(core): update
This commit is contained in:
parent
d8f409c191
commit
28d99ecb77
@ -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
|
||||
})
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user