node-consul-service 1.0.40 → 1.0.42

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