dcp-worker 4.1.0 → 4.1.1

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.
package/bin/dcp-worker CHANGED
@@ -286,7 +286,7 @@ async function main()
286
286
 
287
287
  if (cliArgs.paymentAddress)
288
288
  workerConfig.paymentAddress = new wallet.Address(cliArgs.paymentAddress);
289
- else if (typeof workerConfig.paymentAddress === 'string')
289
+ else if (typeof dcpConfig.worker.paymentAddress === 'string')
290
290
  workerConfig.paymentAddress = new wallet.Address(workerConfig.paymentAddress);
291
291
  else if (!workerConfig.paymentAddress)
292
292
  workerConfig.paymentAddress = (await wallet.get({ oAuth: false })).address;
@@ -184,7 +184,7 @@ exports.init = function dashboard$$init(worker, options, bannerLogCumulative)
184
184
 
185
185
  replaceSandboxEventHandler('job', function dashboard$$sandboxJob(sandbox, sandboxData, job) {
186
186
  sandboxData.job = job;
187
- sandboxData.label = job.name ? `${job.name} ${job.opaqueId.slice(0,8)}` : `<job ${job.opaqueId}>`;
187
+ sandboxData.label = job.name ? `${job.name} ${job.id.slice(0,8)}` : `<job ${job.id}>`;
188
188
  if (job.description)
189
189
  sandboxData.label += ': ' + job.description;
190
190
  sandboxPane.update();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcp-worker",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "Node.js Worker for Distributive Compute Platform",
5
5
  "main": "bin/dcp-worker",
6
6
  "keywords": [
@@ -39,7 +39,7 @@
39
39
  "blessed": "^0.1.81",
40
40
  "blessed-contrib": "4.11.0",
41
41
  "chalk": "^4.1.0",
42
- "dcp-client": "^5.0.0",
42
+ "dcp-client": "^5.0.1",
43
43
  "kvin": "^1.2.7",
44
44
  "posix-getopt": "^1.2.1",
45
45
  "semver": "^7.3.8",