@bobfrankston/iflow 1.0.41 → 1.0.42

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.
@@ -530,9 +530,13 @@ export class NativeImapClient {
530
530
  this.pendingCommand.responses.push(resp);
531
531
  continue;
532
532
  }
533
- // Continuation — resolve if waiting
533
+ // Continuation response
534
534
  if (resp.tag === "+") {
535
- // Handled by waitForContinuation
535
+ // If not in IDLE and no one is waiting for continuation (APPEND),
536
+ // this is likely an AUTHENTICATE challenge — send empty line to cancel
537
+ if (!this.idleTag && this.pendingCommand) {
538
+ this.transport.write("\r\n").catch(() => { });
539
+ }
536
540
  continue;
537
541
  }
538
542
  // Tagged response — command complete
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/iflow",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
4
4
  "description": "IMAP client wrapper library",
5
5
  "main": "index.js",
6
6
  "types": "index.ts",