2 Commits

Author SHA1 Message Date
5fb5979c91 1.0.12 2022-02-25 21:48:26 +01:00
cf61de9093 fix(core): update 2022-02-25 21:48:26 +01:00
4 changed files with 9 additions and 9 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@mojoio/bobcat",
"version": "1.0.11",
"version": "1.0.12",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@mojoio/bobcat",
"version": "1.0.11",
"version": "1.0.12",
"license": "MIT",
"dependencies": {
"@pushrocks/smartnetwork": "^2.0.14",

View File

@ -1,6 +1,6 @@
{
"name": "@mojoio/bobcat",
"version": "1.0.11",
"version": "1.0.12",
"private": false,
"description": "a module to talk to bobcat miners",
"main": "dist_ts/index.js",

View File

@ -8,8 +8,12 @@ export class Bobcat {
// STATIC
public static async createFromNetworkAddress(networkAddressArg: string) {
const newBobcat = new Bobcat(networkAddressArg);
await newBobcat.checkMinerStatus().catch();
await newBobcat.gatherMinerDetails().catch();
try {
await newBobcat.checkMinerStatus();
await newBobcat.gatherMinerDetails();
} catch(err) {
console.log('initial adding completed with errors');
}
return newBobcat;
}

View File

@ -21,8 +21,4 @@ export class BobcatManager {
await bobcat.runMaintenance();
}
};
public async restart() {
}
}