trajectories-sh 1.18.8 → 1.18.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 CHANGED
@@ -98,7 +98,7 @@ async function uploadTrajectoryAction(pathArg, opts) {
98
98
  );
99
99
  }
100
100
  if (isZip) {
101
- const { uploadZip } = await import("./upload-5RQ45JUQ.js");
101
+ const { uploadZip } = await import("./upload-2OUEVJOQ.js");
102
102
  const slug2 = opts.slug ?? pathArg.replace(/\.zip$/i, "").replace(/\/+$/, "").split("/").pop();
103
103
  console.log(chalk.bold(`
104
104
  Uploading ZIP ${pathArg} \u2192 ${chalk.cyan(slug2)}
@@ -127,7 +127,7 @@ async function uploadTrajectoryAction(pathArg, opts) {
127
127
  Uploading trajectory ${pathArg} \u2192 ${chalk.cyan(slug)}
128
128
  `));
129
129
  try {
130
- const { uploadJob } = await import("./upload-5RQ45JUQ.js");
130
+ const { uploadJob } = await import("./upload-2OUEVJOQ.js");
131
131
  const result = await uploadJob(pathArg, {
132
132
  slug,
133
133
  name: opts.name
@@ -65,7 +65,7 @@ async function uploadZip(zipPath, opts) {
65
65
  method: "POST",
66
66
  headers: { Authorization: auth, "Content-Type": "application/json" },
67
67
  body: "{}",
68
- signal: AbortSignal.timeout(3e4)
68
+ signal: AbortSignal.timeout(12e4)
69
69
  });
70
70
  if (!infoResp.ok) {
71
71
  throw new Error(`Failed to get upload info: ${await infoResp.text()}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trajectories-sh",
3
- "version": "1.18.8",
3
+ "version": "1.18.9",
4
4
  "description": "CLI for uploading trajectory jobs to trajectories.sh",
5
5
  "type": "module",
6
6
  "bin": {