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 +1 -5
- package/dist/index.esm.js +1 -5
- package/package.json +1 -1
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 {
|