ultravisor-beacon 0.0.4 → 0.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultravisor-beacon",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "Ultravisor Beacon: lightweight beacon client and Fable service for remote task execution",
5
5
  "main": "source/Ultravisor-Beacon-Service.cjs",
6
6
  "scripts": {
@@ -414,6 +414,12 @@ class UltravisorBeaconClient
414
414
  tmpBody.Operations = this._Config.Operations;
415
415
  }
416
416
 
417
+ // Include bind addresses so the coordinator knows how to reach us
418
+ if (Array.isArray(this._Config.BindAddresses) && this._Config.BindAddresses.length > 0)
419
+ {
420
+ tmpBody.BindAddresses = this._Config.BindAddresses;
421
+ }
422
+
417
423
  this._httpRequest('POST', '/Beacon/Register', tmpBody, fCallback);
418
424
  }
419
425
 
@@ -714,6 +720,10 @@ class UltravisorBeaconClient
714
720
  {
715
721
  tmpWSRegPayload.Operations = this._Config.Operations;
716
722
  }
723
+ if (Array.isArray(this._Config.BindAddresses) && this._Config.BindAddresses.length > 0)
724
+ {
725
+ tmpWSRegPayload.BindAddresses = this._Config.BindAddresses;
726
+ }
717
727
  this._wsSend(tmpWSRegPayload);
718
728
  });
719
729
 
@@ -252,6 +252,7 @@ class UltravisorBeaconService extends libFableServiceBase
252
252
  StagingPath: this.options.StagingPath || process.cwd(),
253
253
  Tags: this.options.Tags || {},
254
254
  Contexts: this.options.Contexts || {},
255
+ BindAddresses: this.options.BindAddresses || [],
255
256
  Operations: this._Operations.length > 0 ? this._Operations : undefined,
256
257
  // Pass empty Providers array — we'll register adapters directly
257
258
  Providers: []