Compare commits

...

2 Commits

Author SHA1 Message Date
5c7d2de902 1.1.8 2019-09-06 18:28:40 +02:00
f105cdc806 fix(core): update 2019-09-06 18:28:39 +02:00
4 changed files with 4 additions and 4 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartnetwork",
"version": "1.1.7",
"version": "1.1.8",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartnetwork",
"version": "1.1.7",
"version": "1.1.8",
"private": false,
"description": "network diagnostics",
"main": "dist/index.js",

View File

@ -27,6 +27,6 @@ tap.test('should scan a port', async () => {
tap.test('should get the default gateways', async () => {
const gatewayResult = await testSmartNetwork.getDefaultGateway();
console.log(gatewayResult);
})
});
tap.start();

View File

@ -130,7 +130,7 @@ export class SmartNetwork {
}
public async getDefaultGateway() {
const result = {
const result = {
v4: await plugins.defaultGateway.v4(),
v6: await plugins.defaultGateway.v6()
};