@tdxvolt/volt-client-grpc 0.11.5 → 0.11.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/lib/index.cjs CHANGED
@@ -1800,7 +1800,7 @@ class VoltClient extends EventEmitter__default["default"] {
1800
1800
  }
1801
1801
 
1802
1802
  if (this.isRemote) {
1803
- if (!this._config?.relay?.address) {
1803
+ if (!this._voltConfig?.relay?.address) {
1804
1804
  throw new Error(
1805
1805
  "Remote connection enabled but no Relay address - have you called start()?",
1806
1806
  );
@@ -1810,7 +1810,7 @@ class VoltClient extends EventEmitter__default["default"] {
1810
1810
  return createClient(
1811
1811
  this._grpc,
1812
1812
  serviceDescriptors,
1813
- this._config.relay.address,
1813
+ this._voltConfig.relay.address,
1814
1814
  this._credential,
1815
1815
  false,
1816
1816
  service.volt_id,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.11.5",
6
+ "version": "0.11.6",
7
7
  "description": "tdx Volt library for nodejs clients",
8
8
  "type": "module",
9
9
  "exports": {
@@ -231,7 +231,7 @@ export class VoltClient extends EventEmitter {
231
231
  }
232
232
 
233
233
  if (this.isRemote) {
234
- if (!this._config?.relay?.address) {
234
+ if (!this._voltConfig?.relay?.address) {
235
235
  throw new Error(
236
236
  "Remote connection enabled but no Relay address - have you called start()?",
237
237
  );
@@ -241,7 +241,7 @@ export class VoltClient extends EventEmitter {
241
241
  return createGrpcClient(
242
242
  this._grpc,
243
243
  serviceDescriptors,
244
- this._config.relay.address,
244
+ this._voltConfig.relay.address,
245
245
  this._credential,
246
246
  false,
247
247
  service.volt_id,