Skip to content

Commit

Permalink
NewRelease 1.12.7
Browse files Browse the repository at this point in the history
  • Loading branch information
MinerGreggy committed Nov 6, 2021
1 parent e9d645c commit 9c15b32
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 27 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@

1.12.7 / 2021-11-06
==================

* Fix plotting stats on chia >= 1.2.11.

1.12.5 / 2021-08-18
===================

Expand Down
5 changes: 4 additions & 1 deletion lib/service/stats-collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class StatsCollection {
});

this.connection.addService(constants.SERVICE('skynet').walletUi);

this.connection.addService(`${this.connection.coin} plots create`); // Add the legacy plotter service to receive its events as well
this.connection.onError(err => logger.log({level: 'error', msg: `Stats Collection | ${err}`}));
this.walletApiClient = new ApiClient.Wallet({ connection: this.connection, origin: this.origin });
this.fullNodeApiClient = new ApiClient.FullNode({ connection: this.connection, origin: this.origin });
Expand Down Expand Up @@ -195,6 +195,9 @@ class StatsCollection {
if (this.isServiceEnabled(plotterService)) {
const jobLogs = new Map();
this.plotterApiClient.onNewPlottingQueueStats(async queue => {
if (!queue) {
return;
}
const plotterStats = this.stats.has(plotterService) ? this.stats.get(plotterService) : {};
if (!plotterStats.jobs) {
plotterStats.jobs = [];
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "skynet-dashboard-satellite",
"version": "1.12.6",
"version": "1.12.7",
"repository": "https://github.com/MinerGreggy/skynet-dashboard-satellite.git",
"bugs": "https://github.com/MinerGreggy/skynet-dashboard-satellite/issues",
"license": "GPL-3.0",
"dependencies": {
"axios": "^0.21.1",
"bignumber.js": "^9.0.1",
"chia-api": "^2.1.0",
"chia-api": "^3.0.0",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"mkdirp": "^1.0.4",
Expand Down
48 changes: 24 additions & 24 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ array-union@^2.1.0:
integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==

async@^3.2.0:
version "3.2.1"
resolved "https://registry.yarnpkg.com/async/-/async-3.2.1.tgz#d3274ec66d107a47476a4c49136aacdb00665fc8"
integrity sha512-XdD5lRO/87udXCMC9meWdYiR+Nq6ZjUfXidViUZGu2F1MO4T3XwZ1et0hb2++BgLfhyJwy44BGB/yx80ABx8hg==
version "3.2.2"
resolved "https://registry.yarnpkg.com/async/-/async-3.2.2.tgz#2eb7671034bb2194d45d30e31e24ec7e7f9670cd"
integrity sha512-H0E+qZaDEfx/FY4t7iLRv1W2fFI6+pyCeTw1uN20AQPiwqwM6ojPxHxdLv4z8hi2DtnW9BOckSspLucW7pIE5g==

at-least-node@^1.0.0:
version "1.0.0"
Expand Down Expand Up @@ -195,10 +195,10 @@ chalk@^4.1.0:
ansi-styles "^4.1.0"
supports-color "^7.1.0"

chia-api@^2.1.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/chia-api/-/chia-api-2.2.0.tgz#bfa679edb12408ccc4aa8f7edecf0521e117f65a"
integrity sha512-rSNSOtcetye47C0qsNiDwGQCBKimOFpQFlyFGeLYAfUhoiezx6OJsU6Pb5+5iLDpJnaQIBhZ89uxx/sTqy3NHg==
chia-api@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/chia-api/-/chia-api-3.0.0.tgz#23b93fa9cec9bd58bbce611a28c6fc69d842e986"
integrity sha512-raky02Wsl3wZadrG/i3ZGVRo+xEUlpGDs+dNNlydu04ydKK3z8zXjvPWOn6NpVmpTC/fuXc6p0h4Qerhqqxp7g==
dependencies:
json-bigint "^1.0.0"
ws "^7.5.0"
Expand Down Expand Up @@ -401,9 +401,9 @@ fill-range@^7.0.1:
to-regex-range "^5.0.1"

follow-redirects@^1.14.0:
version "1.14.4"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.4.tgz#838fdf48a8bbdd79e52ee51fb1c94e3ed98b9379"
integrity sha512-zwGkiSXC1MUJG/qmeIFH2HBJx9u0V46QGUe3YR1fXG8bXQxq7fLj0RjLZQ5nubr9qNJUZrH+xUcwXEoXNpfS+g==
version "1.14.5"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.5.tgz#f09a5848981d3c772b5392309778523f8d85c381"
integrity sha512-wtphSXy7d4/OR+MvIFbCVBDzZ5520qV8XfPklSN5QtxuMUJZ+b0Wnst1e1lCDocfzuCkHqj8k0FpZqO+UIaKNA==

from2@^2.3.0:
version "2.3.0"
Expand Down Expand Up @@ -529,9 +529,9 @@ ieee754@^1.1.13:
integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==

ignore@^5.1.4:
version "5.1.8"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57"
integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==
version "5.1.9"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.9.tgz#9ec1a5cbe8e1446ec60d4420060d43aa6e7382fb"
integrity sha512-2zeMQpbKz5dhZ9IwL0gbxSW5w0NK/MSAMtNuhgIHEPmaU3vPdKPL0UdvUCXs5SS4JAwsBxysK5sFMW8ocFiVjQ==

inflight@^1.0.4:
version "1.0.6"
Expand Down Expand Up @@ -751,9 +751,9 @@ node-abi@^2.7.0:
semver "^5.4.1"

node-fetch@^2.6.1:
version "2.6.5"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.5.tgz#42735537d7f080a7e5f78b6c549b7146be1742fd"
integrity sha512-mmlIVHJEu5rnIxgEgez6b9GgWXbkZj5YZ7fx+2r94a2E+Uirsp6HsPTPlomfdHtpt/B0cdKviwkoaM6pyvUOpQ==
version "2.6.6"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.6.tgz#1751a7c01834e8e1697758732e9efb6eeadfaf89"
integrity sha512-Z8/6vRlTUChSdIgMa51jxQ4lrw/Jy5SOW10ObaA47/RElsAN2c5Pn8bTgFGWn/ibwzXTE8qwr1Yzx28vsecXEA==
dependencies:
whatwg-url "^5.0.0"

Expand Down Expand Up @@ -831,10 +831,10 @@ picomatch@^2.2.3:
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"
integrity sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==

pkg-fetch@3.2.3:
version "3.2.3"
resolved "https://registry.yarnpkg.com/pkg-fetch/-/pkg-fetch-3.2.3.tgz#9825febf4eadd470c126d3f6bdc2cb6996861d36"
integrity sha512-bv9vYANgAZ2Lvxn5Dsq7E0rLqzcqYkV4gnwe2f7oHV9N4SVMfDOIjjFCRuuTltop5EmsOcu7XkQpB5A/pIgC1g==
pkg-fetch@3.2.4:
version "3.2.4"
resolved "https://registry.yarnpkg.com/pkg-fetch/-/pkg-fetch-3.2.4.tgz#5372734b12167d4bacd872be348217461b517390"
integrity sha512-ewUD26GP86/8+Fu93zrb30CpJjKOtT4maSgm4SwTX9Ujy1pfdUdv+1PubsY9tTJES0iBYItAtqbfkf7Wu5LV9w==
dependencies:
chalk "^4.1.0"
fs-extra "^9.1.0"
Expand All @@ -845,9 +845,9 @@ pkg-fetch@3.2.3:
yargs "^16.2.0"

pkg@^5.3.1:
version "5.4.0"
resolved "https://registry.yarnpkg.com/pkg/-/pkg-5.4.0.tgz#131a2e6d457a09df94efd8c036a04f235bd92569"
integrity sha512-OPLjbZ0NUwv7qlutITd9/2VI/4rtCdY5YeLsecj3qDz5hdL/pW55pnUWRCVcI04ZIXSC8YMVGN5+KJP+yKDwjQ==
version "5.4.1"
resolved "https://registry.yarnpkg.com/pkg/-/pkg-5.4.1.tgz#4d824e42c454f32131e471d7cd8d14bfdb3e1c4c"
integrity sha512-iJs3W6MCgeZ4MrH7iZtX6HTqsNzoh2U9rGILL3eOLbQFV43U8WPAzrqRK7cBQGuHx38UXxcGT6G/2yDl/GveRg==
dependencies:
"@babel/parser" "7.13.13"
"@babel/types" "7.13.12"
Expand All @@ -858,7 +858,7 @@ pkg@^5.3.1:
into-stream "^6.0.0"
minimist "^1.2.5"
multistream "^4.1.0"
pkg-fetch "3.2.3"
pkg-fetch "3.2.4"
prebuild-install "6.0.1"
progress "^2.0.3"
resolve "^1.20.0"
Expand Down

0 comments on commit 9c15b32

Please sign in to comment.