@react-grab/cli 0.0.77 → 0.0.80

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.cjs CHANGED
@@ -1268,7 +1268,7 @@ var add = new commander.Command().name("add").description("add an agent integrat
1268
1268
  handleError(error);
1269
1269
  }
1270
1270
  });
1271
- var VERSION = "0.0.77";
1271
+ var VERSION = "0.0.80";
1272
1272
  var REPORT_URL = "https://react-grab.com/api/report-cli";
1273
1273
  var DOCS_URL = "https://github.com/aidenybai/react-grab";
1274
1274
  var reportToCli = async (type, config, error) => {
@@ -1686,10 +1686,7 @@ var start = new commander.Command().name("start").alias("proxy").description("st
1686
1686
  preserveHeaderKeyCase: true,
1687
1687
  xfwd: true,
1688
1688
  on: {
1689
- error: (error, _request, response) => {
1690
- logger.error(
1691
- `Proxy error${error?.message ? `: ${error.message}` : ""}`
1692
- );
1689
+ error: (_error, _request, response) => {
1693
1690
  if ("writeHead" in response && !response.headersSent) {
1694
1691
  response.writeHead(503, { "Content-Type": "text/plain" });
1695
1692
  response.end(`Proxy error: Unable to connect to ${targetUrl}`);
@@ -1788,7 +1785,7 @@ var start = new commander.Command().name("start").alias("proxy").description("st
1788
1785
  });
1789
1786
 
1790
1787
  // src/cli.ts
1791
- var VERSION2 = "0.0.77";
1788
+ var VERSION2 = "0.0.80";
1792
1789
  var VERSION_API_URL = "https://react-grab.com/api/version";
1793
1790
  process.on("SIGINT", () => process.exit(0));
1794
1791
  process.on("SIGTERM", () => process.exit(0));
package/dist/cli.js CHANGED
@@ -1261,7 +1261,7 @@ var add = new Command().name("add").description("add an agent integration").argu
1261
1261
  handleError(error);
1262
1262
  }
1263
1263
  });
1264
- var VERSION = "0.0.77";
1264
+ var VERSION = "0.0.80";
1265
1265
  var REPORT_URL = "https://react-grab.com/api/report-cli";
1266
1266
  var DOCS_URL = "https://github.com/aidenybai/react-grab";
1267
1267
  var reportToCli = async (type, config, error) => {
@@ -1679,10 +1679,7 @@ var start = new Command().name("start").alias("proxy").description("start a prox
1679
1679
  preserveHeaderKeyCase: true,
1680
1680
  xfwd: true,
1681
1681
  on: {
1682
- error: (error, _request, response) => {
1683
- logger.error(
1684
- `Proxy error${error?.message ? `: ${error.message}` : ""}`
1685
- );
1682
+ error: (_error, _request, response) => {
1686
1683
  if ("writeHead" in response && !response.headersSent) {
1687
1684
  response.writeHead(503, { "Content-Type": "text/plain" });
1688
1685
  response.end(`Proxy error: Unable to connect to ${targetUrl}`);
@@ -1781,7 +1778,7 @@ var start = new Command().name("start").alias("proxy").description("start a prox
1781
1778
  });
1782
1779
 
1783
1780
  // src/cli.ts
1784
- var VERSION2 = "0.0.77";
1781
+ var VERSION2 = "0.0.80";
1785
1782
  var VERSION_API_URL = "https://react-grab.com/api/version";
1786
1783
  process.on("SIGINT", () => process.exit(0));
1787
1784
  process.on("SIGTERM", () => process.exit(0));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-grab/cli",
3
- "version": "0.0.77",
3
+ "version": "0.0.80",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "react-grab": "./dist/cli.js"