@odla-ai/cli 0.31.0 → 0.31.1

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runCli
4
- } from "./chunk-5VH4EWV7.js";
4
+ } from "./chunk-Y3W7YKWI.js";
5
5
  import {
6
6
  exitCodeFor
7
7
  } from "./chunk-UKLSRQ5J.js";
@@ -9,4 +9,4 @@ export {
9
9
  exitCodeFor,
10
10
  runCli
11
11
  };
12
- //# sourceMappingURL=cli-CCQVA7VV.js.map
12
+ //# sourceMappingURL=cli-Q2U7TCMV.js.map
package/dist/index.cjs CHANGED
@@ -452,7 +452,7 @@ async function freshHandshake(ctx, waitMs) {
452
452
  } catch (err) {
453
453
  const code = err instanceof import_db.OdlaError ? err.code : void 0;
454
454
  if (code === "handshake_pending" && started) throw stillPending(started, ctx.email);
455
- if (code === "handshake_denied" || code === "handshake_expired" || code === "handshake_timeout") {
455
+ if (code === "handshake_duplicate" || code === "handshake_denied" || code === "handshake_expired" || code === "handshake_timeout") {
456
456
  clearPendingHandshake(ctx.pendingFile);
457
457
  }
458
458
  throw err;