fix(core): update
This commit is contained in:
@ -150,4 +150,13 @@ export class SmartNetwork {
|
||||
ipv6: defaultGateway[1]
|
||||
};
|
||||
}
|
||||
|
||||
public async getPublicIps () {
|
||||
return {
|
||||
v4: await plugins.publicIp.v4({
|
||||
timeout: 1000,
|
||||
onlyHttps: true
|
||||
})
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,8 @@ export { smartpromise, smartstring };
|
||||
|
||||
// @third party scope
|
||||
import * as portscanner from 'portscanner';
|
||||
import publicIp from 'public-ip';
|
||||
import speedtestNet from 'speedtest-net';
|
||||
import * as systeminformation from 'systeminformation';
|
||||
|
||||
export { speedtestNet, portscanner, systeminformation };
|
||||
export { portscanner, publicIp, speedtestNet, systeminformation };
|
||||
|
Reference in New Issue
Block a user