geonix 1.10.6 → 1.10.8

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/package.json +1 -1
  2. package/src/Request.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonix",
3
- "version": "1.10.6",
3
+ "version": "1.10.8",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "bin": {
package/src/Request.js CHANGED
@@ -67,8 +67,9 @@ export async function Request(service, method, args = [], context = [], options)
67
67
  let identifier = null
68
68
 
69
69
  // get service instance identifier and wait for it if it's not available
70
+ const registryTimeout = options?.timeout ?? REGISTRY_TIMEOUT
70
71
  const delay = 5
71
- let retries = Math.floor(REGISTRY_TIMEOUT / delay)
72
+ let retries = Math.floor(registryTimeout / delay)
72
73
  while (identifier == null && retries-- > 0) {
73
74
  identifier = registry.getIdentifier(name, version, id)
74
75
  if (!identifier)