@bobfrankston/mailx 1.0.461 → 1.0.463

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.
Files changed (29) hide show
  1. package/client/lib/message-state.js +31 -12
  2. package/client/lib/message-state.js.map +1 -1
  3. package/client/lib/message-state.ts +31 -11
  4. package/package.json +5 -4
  5. package/packages/mailx-api/package.json +1 -1
  6. package/packages/mailx-core/package.json +1 -1
  7. package/packages/mailx-imap/.gitattributes +10 -0
  8. package/packages/mailx-imap/index.d.ts +442 -0
  9. package/packages/mailx-imap/index.d.ts.map +1 -0
  10. package/packages/mailx-imap/index.js +3684 -0
  11. package/packages/mailx-imap/index.js.map +1 -0
  12. package/packages/mailx-imap/index.ts +3652 -0
  13. package/packages/mailx-imap/package-lock.json +131 -0
  14. package/packages/mailx-imap/package.json +25 -0
  15. package/packages/mailx-imap/providers/gmail-api.d.ts +8 -0
  16. package/packages/mailx-imap/providers/gmail-api.d.ts.map +1 -0
  17. package/packages/mailx-imap/providers/gmail-api.js +8 -0
  18. package/packages/mailx-imap/providers/gmail-api.js.map +1 -0
  19. package/packages/mailx-imap/providers/gmail-api.ts +8 -0
  20. package/packages/mailx-imap/providers/outlook-api.ts +7 -0
  21. package/packages/mailx-imap/providers/types.d.ts +9 -0
  22. package/packages/mailx-imap/providers/types.d.ts.map +1 -0
  23. package/packages/mailx-imap/providers/types.js +9 -0
  24. package/packages/mailx-imap/providers/types.js.map +1 -0
  25. package/packages/mailx-imap/providers/types.ts +9 -0
  26. package/packages/mailx-imap/tsconfig.json +9 -0
  27. package/packages/mailx-imap/tsconfig.tsbuildinfo +1 -0
  28. package/packages/mailx-server/package.json +1 -1
  29. package/packages/mailx-service/package.json +1 -1
@@ -0,0 +1,131 @@
1
+ {
2
+ "name": "@bobfrankston/mailx-imap",
3
+ "version": "0.1.14",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "@bobfrankston/mailx-imap",
9
+ "version": "0.1.14",
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "@bobfrankston/iflow-direct": "^0.1.27",
13
+ "@bobfrankston/mailx-settings": "^0.1.5",
14
+ "@bobfrankston/mailx-store": "^0.1.4",
15
+ "@bobfrankston/mailx-sync": "^0.1.10",
16
+ "@bobfrankston/mailx-types": "^0.1.4",
17
+ "@bobfrankston/oauthsupport": "^1.0.25",
18
+ "@bobfrankston/smtp-direct": "^0.1.5",
19
+ "@bobfrankston/tcp-transport": "^0.1.5"
20
+ }
21
+ },
22
+ "../../../../projects/oauth/oauthsupport": {
23
+ "name": "@bobfrankston/oauthsupport",
24
+ "version": "1.0.25",
25
+ "license": "MIT",
26
+ "devDependencies": {
27
+ "@types/node": "^25.2.1"
28
+ },
29
+ "engines": {
30
+ "node": ">=18.0.0"
31
+ }
32
+ },
33
+ "../../../MailApps/iflow-direct": {
34
+ "name": "@bobfrankston/iflow-direct",
35
+ "version": "0.1.27",
36
+ "license": "ISC",
37
+ "dependencies": {
38
+ "@bobfrankston/tcp-transport": "file:../tcp-transport"
39
+ },
40
+ "devDependencies": {
41
+ "@types/node": "^25.6.0"
42
+ }
43
+ },
44
+ "../../../MailApps/mailx-sync": {
45
+ "name": "@bobfrankston/mailx-sync",
46
+ "version": "0.1.10",
47
+ "license": "ISC",
48
+ "dependencies": {
49
+ "@bobfrankston/iflow-direct": "file:../iflow-direct",
50
+ "@bobfrankston/tcp-transport": "file:../tcp-transport"
51
+ },
52
+ "devDependencies": {
53
+ "@types/node": "^25.6.0"
54
+ }
55
+ },
56
+ "../../../MailApps/smtp-direct": {
57
+ "name": "@bobfrankston/smtp-direct",
58
+ "version": "0.1.5",
59
+ "license": "ISC",
60
+ "dependencies": {
61
+ "@bobfrankston/tcp-transport": "file:../tcp-transport"
62
+ },
63
+ "devDependencies": {
64
+ "@types/node": "^25.6.0"
65
+ }
66
+ },
67
+ "../../../MailApps/tcp-transport": {
68
+ "name": "@bobfrankston/tcp-transport",
69
+ "version": "0.1.5",
70
+ "license": "ISC",
71
+ "devDependencies": {
72
+ "@types/node": "^25.6.0"
73
+ }
74
+ },
75
+ "../../app/packages/mailx-settings": {
76
+ "name": "@bobfrankston/mailx-settings",
77
+ "version": "0.1.6",
78
+ "license": "ISC",
79
+ "dependencies": {
80
+ "@bobfrankston/mailx-types": "file:../mailx-types",
81
+ "jsonc-parser": "^3.3.1"
82
+ }
83
+ },
84
+ "../../app/packages/mailx-store": {
85
+ "name": "@bobfrankston/mailx-store",
86
+ "version": "0.1.5",
87
+ "license": "ISC",
88
+ "dependencies": {
89
+ "@bobfrankston/mailx-settings": "file:../mailx-settings",
90
+ "@bobfrankston/mailx-types": "file:../mailx-types"
91
+ }
92
+ },
93
+ "../../app/packages/mailx-types": {
94
+ "name": "@bobfrankston/mailx-types",
95
+ "version": "0.1.5",
96
+ "license": "ISC"
97
+ },
98
+ "node_modules/@bobfrankston/iflow-direct": {
99
+ "resolved": "../../../MailApps/iflow-direct",
100
+ "link": true
101
+ },
102
+ "node_modules/@bobfrankston/mailx-settings": {
103
+ "resolved": "../../app/packages/mailx-settings",
104
+ "link": true
105
+ },
106
+ "node_modules/@bobfrankston/mailx-store": {
107
+ "resolved": "../../app/packages/mailx-store",
108
+ "link": true
109
+ },
110
+ "node_modules/@bobfrankston/mailx-sync": {
111
+ "resolved": "../../../MailApps/mailx-sync",
112
+ "link": true
113
+ },
114
+ "node_modules/@bobfrankston/mailx-types": {
115
+ "resolved": "../../app/packages/mailx-types",
116
+ "link": true
117
+ },
118
+ "node_modules/@bobfrankston/oauthsupport": {
119
+ "resolved": "../../../../projects/oauth/oauthsupport",
120
+ "link": true
121
+ },
122
+ "node_modules/@bobfrankston/smtp-direct": {
123
+ "resolved": "../../../MailApps/smtp-direct",
124
+ "link": true
125
+ },
126
+ "node_modules/@bobfrankston/tcp-transport": {
127
+ "resolved": "../../../MailApps/tcp-transport",
128
+ "link": true
129
+ }
130
+ }
131
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "@bobfrankston/mailx-imap",
3
+ "version": "0.1.14",
4
+ "type": "module",
5
+ "main": "index.js",
6
+ "types": "index.d.ts",
7
+ "scripts": {
8
+ "build": "tsc"
9
+ },
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "@bobfrankston/mailx-types": "file:../mailx-types",
13
+ "@bobfrankston/mailx-settings": "file:../mailx-settings",
14
+ "@bobfrankston/mailx-store": "file:../mailx-store",
15
+ "@bobfrankston/iflow-direct": "file:../../../../MailApps/iflow-direct",
16
+ "@bobfrankston/tcp-transport": "file:../../../../MailApps/tcp-transport",
17
+ "@bobfrankston/smtp-direct": "file:../../../../MailApps/smtp-direct",
18
+ "@bobfrankston/mailx-sync": "file:../../../../MailApps/mailx-sync",
19
+ "@bobfrankston/oauthsupport": "file:../../../../../projects/oauth/oauthsupport"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "https://github.com/BobFrankston/mailx-imap.git"
24
+ }
25
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Back-compat re-export. The canonical Gmail provider lives in
3
+ * @bobfrankston/mailx-sync. mailx-imap re-exports it under its old name so
4
+ * call sites here keep compiling. Both desktop (this package) and Android
5
+ * (mailx-store-web) consume the same single implementation now.
6
+ */
7
+ export { GmailApiProvider } from "@bobfrankston/mailx-sync";
8
+ //# sourceMappingURL=gmail-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gmail-api.d.ts","sourceRoot":"","sources":["gmail-api.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Back-compat re-export. The canonical Gmail provider lives in
3
+ * @bobfrankston/mailx-sync. mailx-imap re-exports it under its old name so
4
+ * call sites here keep compiling. Both desktop (this package) and Android
5
+ * (mailx-store-web) consume the same single implementation now.
6
+ */
7
+ export { GmailApiProvider } from "@bobfrankston/mailx-sync";
8
+ //# sourceMappingURL=gmail-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gmail-api.js","sourceRoot":"","sources":["gmail-api.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Back-compat re-export. The canonical Gmail provider lives in
3
+ * @bobfrankston/mailx-sync. mailx-imap re-exports it under its old name so
4
+ * call sites here keep compiling. Both desktop (this package) and Android
5
+ * (mailx-store-web) consume the same single implementation now.
6
+ */
7
+
8
+ export { GmailApiProvider } from "@bobfrankston/mailx-sync";
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Back-compat re-export. Canonical Outlook provider lives in
3
+ * @bobfrankston/mailx-sync. Same Provider abstraction as Gmail + IMAP — when
4
+ * Android adds Outlook support, both platforms share this single class.
5
+ */
6
+
7
+ export { OutlookApiProvider } from "@bobfrankston/mailx-sync";
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Back-compat re-export. The canonical mail provider types live in
3
+ * @bobfrankston/mailx-sync. New code should import from there directly.
4
+ *
5
+ * This shim keeps existing `import { ... } from "./types.js"` paths inside
6
+ * mailx-imap working without churn.
7
+ */
8
+ export type { MailProvider, ProviderFolder, ProviderMessage, FetchOptions } from "@bobfrankston/mailx-sync";
9
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Back-compat re-export. The canonical mail provider types live in
3
+ * @bobfrankston/mailx-sync. New code should import from there directly.
4
+ *
5
+ * This shim keeps existing `import { ... } from "./types.js"` paths inside
6
+ * mailx-imap working without churn.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Back-compat re-export. The canonical mail provider types live in
3
+ * @bobfrankston/mailx-sync. New code should import from there directly.
4
+ *
5
+ * This shim keeps existing `import { ... } from "./types.js"` paths inside
6
+ * mailx-imap working without churn.
7
+ */
8
+
9
+ export type { MailProvider, ProviderFolder, ProviderMessage, FetchOptions } from "@bobfrankston/mailx-sync";
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": "../../tsconfig.base.json",
3
+ "compilerOptions": {
4
+ "outDir": ".",
5
+ "rootDir": "."
6
+ },
7
+ "include": ["*.ts"],
8
+ "exclude": ["node_modules", "prev", "cruft", "tests"]
9
+ }
@@ -0,0 +1 @@
1
+ {"root":["./index.ts"],"version":"5.9.2"}
@@ -11,7 +11,7 @@
11
11
  "dependencies": {
12
12
  "@bobfrankston/mailx-types": "file:../mailx-types",
13
13
  "@bobfrankston/mailx-store": "file:../mailx-store",
14
- "@bobfrankston/mailx-imap": "file:../../../packages/mailx-imap",
14
+ "@bobfrankston/mailx-imap": "file:../mailx-imap",
15
15
  "@bobfrankston/mailx-api": "file:../mailx-api",
16
16
  "@bobfrankston/mailx-settings": "file:../mailx-settings",
17
17
  "express": "^4.21.0",
@@ -11,7 +11,7 @@
11
11
  "dependencies": {
12
12
  "@bobfrankston/mailx-types": "file:../mailx-types",
13
13
  "@bobfrankston/mailx-store": "file:../mailx-store",
14
- "@bobfrankston/mailx-imap": "file:../../../packages/mailx-imap",
14
+ "@bobfrankston/mailx-imap": "file:../mailx-imap",
15
15
  "@bobfrankston/mailx-settings": "file:../mailx-settings",
16
16
  "mailparser": "^3.7.2"
17
17
  },