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 +5 -1
- package/dist/index.esm.js +5 -1
- package/package.json +1 -1
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
|
|
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
|
|
19415
|
+
return {
|
|
19416
|
+
success: true,
|
|
19417
|
+
data: response.data,
|
|
19418
|
+
status: response.status,
|
|
19419
|
+
};
|
|
19416
19420
|
}
|
|
19417
19421
|
catch (error) {
|
|
19418
19422
|
return {
|