node-consul-service 1.0.32 → 1.0.33

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/dist/index.cjs.js CHANGED
@@ -19496,7 +19496,7 @@ async function dataLink(data, schema) {
19496
19496
  }
19497
19497
  catch (error) {
19498
19498
  console.error(`❌ Failed to fetch from ${service}${path}:`, JSON.stringify(error, Object.getOwnPropertyNames(error), 2));
19499
- throw error;
19499
+ return error;
19500
19500
  }
19501
19501
  }
19502
19502
  for (const item of result) {
package/dist/index.esm.js CHANGED
@@ -19494,7 +19494,7 @@ async function dataLink(data, schema) {
19494
19494
  }
19495
19495
  catch (error) {
19496
19496
  console.error(`❌ Failed to fetch from ${service}${path}:`, JSON.stringify(error, Object.getOwnPropertyNames(error), 2));
19497
- throw error;
19497
+ return error;
19498
19498
  }
19499
19499
  }
19500
19500
  for (const item of result) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-consul-service",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",