node-consul-service 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.
package/dist/index.cjs.js CHANGED
@@ -19414,7 +19414,11 @@ async function callService(serviceName, options = {}) {
19414
19414
  headers,
19415
19415
  params,
19416
19416
  });
19417
- return response;
19417
+ return {
19418
+ success: true,
19419
+ data: response.data,
19420
+ status: response.status,
19421
+ };
19418
19422
  }
19419
19423
  catch (error) {
19420
19424
  return {
package/dist/index.esm.js CHANGED
@@ -19412,7 +19412,11 @@ async function callService(serviceName, options = {}) {
19412
19412
  headers,
19413
19413
  params,
19414
19414
  });
19415
- return response;
19415
+ return {
19416
+ success: true,
19417
+ data: response.data,
19418
+ status: response.status,
19419
+ };
19416
19420
  }
19417
19421
  catch (error) {
19418
19422
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-consul-service",
3
- "version": "1.0.41",
3
+ "version": "1.0.43",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",