@relayrail/server 0.1.8 → 0.1.9
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/cli.js +6 -0
- package/dist/index.js +6 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1825,6 +1825,12 @@ var RelayRailServer = class {
|
|
|
1825
1825
|
};
|
|
1826
1826
|
}
|
|
1827
1827
|
try {
|
|
1828
|
+
if (this.isProxyMode()) {
|
|
1829
|
+
const result2 = await this.proxyApiCall("get-pending-commands", params);
|
|
1830
|
+
return {
|
|
1831
|
+
content: [{ type: "text", text: JSON.stringify(result2) }]
|
|
1832
|
+
};
|
|
1833
|
+
}
|
|
1828
1834
|
const result = await getPendingCommands(
|
|
1829
1835
|
params,
|
|
1830
1836
|
{
|
package/dist/index.js
CHANGED
|
@@ -1823,6 +1823,12 @@ var RelayRailServer = class {
|
|
|
1823
1823
|
};
|
|
1824
1824
|
}
|
|
1825
1825
|
try {
|
|
1826
|
+
if (this.isProxyMode()) {
|
|
1827
|
+
const result2 = await this.proxyApiCall("get-pending-commands", params);
|
|
1828
|
+
return {
|
|
1829
|
+
content: [{ type: "text", text: JSON.stringify(result2) }]
|
|
1830
|
+
};
|
|
1831
|
+
}
|
|
1826
1832
|
const result = await getPendingCommands(
|
|
1827
1833
|
params,
|
|
1828
1834
|
{
|