node-consul-service 1.0.52 → 1.0.53

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
@@ -19044,11 +19044,7 @@ async function callService(serviceName, options = {}) {
19044
19044
  headers,
19045
19045
  params,
19046
19046
  });
19047
- return {
19048
- success: true,
19049
- data: response.data,
19050
- status: response.status,
19051
- };
19047
+ return response.data;
19052
19048
  }
19053
19049
  catch (error) {
19054
19050
  return {
package/dist/index.esm.js CHANGED
@@ -19042,11 +19042,7 @@ async function callService(serviceName, options = {}) {
19042
19042
  headers,
19043
19043
  params,
19044
19044
  });
19045
- return {
19046
- success: true,
19047
- data: response.data,
19048
- status: response.status,
19049
- };
19045
+ return response.data;
19050
19046
  }
19051
19047
  catch (error) {
19052
19048
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-consul-service",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",