@yozz.app/imap 0.1.5 → 0.1.6

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/index.d.mts CHANGED
@@ -255,9 +255,9 @@ type ImapClient = {
255
255
  readonly uidExpunge: (uidSet: string) => Promise<ImapResult<void>>;
256
256
  readonly uidSearchHeader: (header: string, value: string) => Promise<ImapResult<readonly number[]>>;
257
257
  /**
258
- * The selected mailbox's uids whose subject, sender or body contains `text`, ascending. One
259
- * search per field and a union: `TEXT` alone is the body on Forward Email's server, and its `OR`
260
- * answers a subset of what the operands do.
258
+ * The selected mailbox's uids whose subject, sender, `To` or body contains `text`, ascending.
259
+ * One search per field and a union: `TEXT` alone is the body on Forward Email's server, and its
260
+ * `OR` answers a subset of what the operands do.
261
261
  */
262
262
  readonly uidSearchText: (text: string) => Promise<ImapResult<readonly number[]>>;
263
263
  /** RFC 6851. Answers with the RFC 4315 `COPYUID`, or null when the server gave none. Refuses without MOVE. */
package/dist/index.mjs CHANGED
@@ -2047,6 +2047,7 @@ const createImapClient = (transport, options) => {
2047
2047
  for (const key of [
2048
2048
  "SUBJECT",
2049
2049
  "FROM",
2050
+ "TO",
2050
2051
  "TEXT"
2051
2052
  ]) {
2052
2053
  const res = await executeCommand((tag) => buildUidSearchTextCommand(tag, key, text));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yozz.app/imap",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Transport-agnostic IMAP4rev2/rev1 client core: literals, total parsing, RFC 2047, SASL PLAIN/LOGIN, IDLE, UID MOVE, APPEND with APPENDUID, UID EXPUNGE.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/fishballapp/yozz",
@@ -30,9 +30,9 @@
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^24.13.4",
33
- "@yozz.app/smtp": "0.1.5",
34
- "@yozz.app/tls": "0.1.5",
35
- "@yozz.app/x509": "0.1.5",
33
+ "@yozz.app/smtp": "0.1.6",
34
+ "@yozz.app/tls": "0.1.6",
35
+ "@yozz.app/x509": "0.1.6",
36
36
  "tsdown": "^0.23.0"
37
37
  },
38
38
  "scripts": {