dankgrinder 5.0.7 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/grinder.js +3 -0
  2. package/package.json +1 -1
package/lib/grinder.js CHANGED
@@ -1998,10 +1998,13 @@ class AccountWorker {
1998
1998
  this.setStatus(`pls ${item.cmd}`);
1999
1999
 
2000
2000
  // Report "running" to dashboard
2001
+ const nextItemRun = this.commandQueue?.peek?.();
2001
2002
  reportCommandFeed(this.account.id, this.username, {
2002
2003
  phase: 'running',
2003
2004
  command: item.cmd,
2004
2005
  started_at: Date.now(),
2006
+ next_command: nextItemRun?.cmd || null,
2007
+ next_run_at: nextItemRun?.nextRunAt || null,
2005
2008
  });
2006
2009
 
2007
2010
  const beforeCoins = this.stats.coins;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dankgrinder",
3
- "version": "5.0.7",
3
+ "version": "5.3.0",
4
4
  "description": "Dank Memer automation engine — grind coins while you sleep",
5
5
  "bin": {
6
6
  "dankgrinder": "bin/dankgrinder.js"