@trawlme/cli 4.0.4 → 4.0.5

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.
@@ -715,7 +715,9 @@ export function attachDataCommand(parent, attachOpts = {}) {
715
715
  reportDataState(`Last run failed — see: trawl data ${id} --errors`, 1, 'run_failed', opts.json);
716
716
  return;
717
717
  }
718
- const detail = await api.get(`/api/historys/${last._id}`);
718
+ const detail = await api.getLongRunning(`/api/historys/${last._id}`, {
719
+ timeoutMs: LONG_RUN_TIMEOUT_MS,
720
+ });
719
721
  let items;
720
722
  if (typeof detail?.data === 'string' && detail.data) {
721
723
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trawlme/cli",
3
- "version": "4.0.4",
3
+ "version": "4.0.5",
4
4
  "description": "Trawl CLI — manage scraps from the terminal",
5
5
  "type": "module",
6
6
  "bin": {