@nsshunt/stsrunnerframework 1.0.41 → 1.0.43

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.
@@ -22972,8 +22972,8 @@ ${newlined}
22972
22972
  entname: `${STS_RF_RES_ENT_PREFIX}${runner.id}`,
22973
22973
  data: JSON.stringify(runner.asyncRunnerContext)
22974
22974
  };
22975
- return await __privateGet(this, _rest01Client).PostResource(resourceEntityTestRunnerMetadata, (error) => {
22976
- stsutils.defaultLogger.error(`WorkerInstance: #AddRunner.PutEntity.Error(): [${error}]`);
22975
+ return await __privateGet(this, _rest01Client).PostEntity(resourceEntityTestRunnerMetadata, (error) => {
22976
+ stsutils.defaultLogger.error(`WorkerInstance: #AddRunner.PostEntity.Error(): [${error}]`);
22977
22977
  });
22978
22978
  });
22979
22979
  __publicField(this, "GetResources", async () => {
@@ -23525,6 +23525,7 @@ ${newlined}
23525
23525
  };
23526
23526
  __privateGet(this, _STSInstrumentController).LogEx(chalk$1.yellow(`pid: [${process.pid}] Creating new worker: [${stsWorkerEx.id}]`));
23527
23527
  __privateGet(this, _debug2).call(this, `Adding worker: [${stsWorkerEx.id}]`);
23528
+ await __privateGet(this, _rest01Client3).AddResource(stsWorkerEx);
23528
23529
  const {
23529
23530
  port1,
23530
23531
  // process message port
@@ -23585,7 +23586,6 @@ ${newlined}
23585
23586
  }
23586
23587
  __privateGet(this, _workersEx)[stsWorkerEx.id] = stsWorkerEx;
23587
23588
  __privateGet(this, _debug2).call(this, `Added worker: [${stsWorkerEx.id}]`);
23588
- __privateGet(this, _rest01Client3).AddResource(stsWorkerEx);
23589
23589
  return stsWorkerEx;
23590
23590
  });
23591
23591
  __publicField(this, "AddRunnerToWorker", (stsWorkerEx, runnerOptions) => {