@lotics/cli 0.318.37 → 0.318.39

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/README.md CHANGED
@@ -331,6 +331,7 @@ import { LoticsClient } from "@lotics/cli";
331
331
 
332
332
  const client = new LoticsClient({ apiKey: "ltk_..." });
333
333
 
334
+ // Every call waits for the server's answer. The client's `timeoutMs` (not an argument of `execute`) stops the wait. A call that writes and gets no answer throws `OutcomeUnknownError`, carrying `request_id`; a read throws `NoAnswerError`.
334
335
  const { result } = await client.execute("get_workspace", {});
335
336
  const upload = await client.uploadFiles(["./report.pdf", "./data.csv"]);
336
337
  await client.downloadFile(url, "./output.xlsx");