coin-hive-stratum
Advanced tools
Comparing version 2.6.6 to 2.6.7
@@ -232,2 +232,8 @@ "use strict"; | ||
if (this.online) { | ||
if (error.error === "invalid_site_key") { | ||
this.sendToMiner({ | ||
type: "error", | ||
params: error | ||
}); | ||
} | ||
this.emit("error", { | ||
@@ -234,0 +240,0 @@ id: this.id, |
{ | ||
"name": "coin-hive-stratum", | ||
"version": "2.6.6", | ||
"version": "2.6.7", | ||
"description": "proxy to use CoinHive miner on any stratum pool", | ||
@@ -8,7 +8,6 @@ "main": "build", | ||
"scripts": { | ||
"start": "`npm bin`/watch 'npm run build' src", | ||
"clear:build": "rm -rf ./build && mkdir build", | ||
"build:js": "`npm bin`/tsc -p tsconfig.json", | ||
"build": "npm run clear:build && npm run build:js", | ||
"now-start": "./bin/coin-hive-stratum 8892 --dynamic-pool", | ||
"start": "node server", | ||
"prepublish": "npm run build" | ||
@@ -15,0 +14,0 @@ }, |
@@ -206,2 +206,8 @@ import * as EventEmitter from "events"; | ||
if (this.online) { | ||
if (error.error === "invalid_site_key") { | ||
this.sendToMiner({ | ||
type: "error", | ||
params: error | ||
}); | ||
} | ||
this.emit("error", { | ||
@@ -208,0 +214,0 @@ id: this.id, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
98337
33
2648