@dbx-tools/email 0.3.13 → 0.3.15

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/package.json CHANGED
@@ -19,15 +19,15 @@
19
19
  "juice": "^12.1.1",
20
20
  "marked": "^18.0.5",
21
21
  "nodemailer": "^7.0.13",
22
- "@dbx-tools/shared-core": "0.3.13",
23
- "@dbx-tools/shared-email": "0.3.13"
22
+ "@dbx-tools/shared-email": "0.3.15",
23
+ "@dbx-tools/shared-core": "0.3.15"
24
24
  },
25
25
  "main": "index.ts",
26
26
  "license": "UNLICENSED",
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "version": "0.3.13",
30
+ "version": "0.3.15",
31
31
  "types": "index.ts",
32
32
  "type": "module",
33
33
  "exports": {
package/src/config.ts CHANGED
@@ -19,6 +19,8 @@
19
19
  * `SMTP_SECURE`, `SMTP_USER`, `SMTP_PASSWORD`, plus `EMAIL_DOMAIN` for
20
20
  * the derived sender's domain, `EMAIL_FROM` for an explicit override,
21
21
  * and `EMAIL_OUTBOX_DIR` for the outbox directory.
22
+ *
23
+ * @module
22
24
  */
23
25
  import type { BasePluginConfig } from "@databricks/appkit";
24
26
  import type { JSONSchema7 } from "json-schema";
package/src/email-html.ts CHANGED
@@ -11,6 +11,8 @@
11
11
  * Outlook) strip `<style>` blocks and ignore class selectors; the same
12
12
  * renderer feeds both the local outbox preview and the SMTP HTML part,
13
13
  * so a browser and an inbox show the same thing.
14
+ *
15
+ * @module
14
16
  */
15
17
 
16
18
  import { string } from "@dbx-tools/shared-core";
package/src/markdown.ts CHANGED
@@ -7,6 +7,8 @@
7
7
  * separator row - so they render as a `<hr>` / `<table>` rather than
8
8
  * literal text. The prompt steers the model away from ASCII art; this is
9
9
  * the belt-and-suspenders fallback.
10
+ *
11
+ * @module
10
12
  */
11
13
 
12
14
  import { marked } from "marked";
package/src/outbox.ts CHANGED
@@ -9,6 +9,8 @@
9
9
  * {@link renderEmailHtml}. Attachments are listed by filename in the
10
10
  * header table but not written to disk - the outbox previews the
11
11
  * envelope, it doesn't reproduce the wire payload.
12
+ *
13
+ * @module
12
14
  */
13
15
 
14
16
  import type { EmailMessage } from "@dbx-tools/shared-email";
package/src/plugin.ts CHANGED
@@ -16,6 +16,8 @@
16
16
  * The plugin mounts one route under its base path (`/api/email`):
17
17
  * `GET /senders` returns the permitted `From` options for the calling
18
18
  * user, so a compose UI can offer them in a dropdown.
19
+ *
20
+ * @module
19
21
  */
20
22
 
21
23
  import {
package/src/sender.ts CHANGED
@@ -15,6 +15,8 @@
15
15
  * bare `domain.com`, matching any local part on that domain), or `*`
16
16
  * (any). {@link listSenderOptions} expands the allow-list into the
17
17
  * concrete addresses a UI dropdown can offer for the current user.
18
+ *
19
+ * @module
18
20
  */
19
21
 
20
22
  import { net } from "@dbx-tools/shared-core";
package/src/tool.ts CHANGED
@@ -8,6 +8,8 @@
8
8
  * The sender derivation runs inside the AppKit user scope, so
9
9
  * `getExecutionContext()` returns the OBO user whose local-part seeds
10
10
  * the address (see {@link deriveSenderAddress}).
11
+ *
12
+ * @module
11
13
  */
12
14
 
13
15
  import { getExecutionContext } from "@databricks/appkit";
package/src/transport.ts CHANGED
@@ -7,6 +7,8 @@
7
7
  * holds no transport and {@link sendEmail} writes HTML to disk instead.
8
8
  * The first caller (normally the plugin at setup) primes it with the
9
9
  * plugin's config; later callers reuse it.
10
+ *
11
+ * @module
10
12
  */
11
13
 
12
14
  import type { EmailAttachment, EmailMessage, EmailResult } from "@dbx-tools/shared-email";