@zaclinley/dsh-mailharbor 0.10.0 → 0.10.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.
- package/CHANGELOG.md +15 -0
- package/lib/client.js +55 -7
- package/lib/client.js.map +3 -3
- package/lib/index.js +6 -2
- package/lib/index.js.map +3 -3
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -281,7 +281,7 @@ var init_imap = __esm({
|
|
|
281
281
|
await active.noop();
|
|
282
282
|
}).catch(() => {
|
|
283
283
|
});
|
|
284
|
-
},
|
|
284
|
+
}, 15e4);
|
|
285
285
|
this.keepalive.unref?.();
|
|
286
286
|
}
|
|
287
287
|
stopKeepalive() {
|
|
@@ -2410,7 +2410,7 @@ ${conversation.trim()}
|
|
|
2410
2410
|
}
|
|
2411
2411
|
|
|
2412
2412
|
// src/host/version.ts
|
|
2413
|
-
var VERSION = "0.10.
|
|
2413
|
+
var VERSION = "0.10.1";
|
|
2414
2414
|
|
|
2415
2415
|
// src/host/api.ts
|
|
2416
2416
|
init_smtp();
|
|
@@ -4920,6 +4920,10 @@ function apply(ctx) {
|
|
|
4920
4920
|
}
|
|
4921
4921
|
}
|
|
4922
4922
|
});
|
|
4923
|
+
const activeAccount2 = runtime.current.accounts.find((item) => item.id === runtime.current.activeAccountId);
|
|
4924
|
+
if (activeAccount2 !== void 0 && runtime.hasCredentials(activeAccount2)) {
|
|
4925
|
+
void runtime.provider(activeAccount2).warm().then(() => runtime.provider(activeAccount2).list("INBOX", 40)).catch(() => void 0);
|
|
4926
|
+
}
|
|
4923
4927
|
const handler = createApiHandler(runtime);
|
|
4924
4928
|
const disposers = [];
|
|
4925
4929
|
const start = () => {
|