@emailens/engine 0.9.4 → 0.9.5

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.
@@ -1,4 +1,4 @@
1
- import { u as InputFormat } from './types-Duj14jTL.js';
1
+ import { u as InputFormat } from './types-p9e1n-G_.js';
2
2
 
3
3
  /**
4
4
  * Unified error class for all email compilation failures.
@@ -1,4 +1,4 @@
1
- import { u as InputFormat } from './types-Duj14jTL.cjs';
1
+ import { u as InputFormat } from './types-p9e1n-G_.cjs';
2
2
 
3
3
  /**
4
4
  * Unified error class for all email compilation failures.
package/dist/server.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { promises } from 'node:dns';
2
- import { j as DeliverabilityReport } from './types-Duj14jTL.cjs';
2
+ import { j as DeliverabilityReport } from './types-p9e1n-G_.cjs';
3
3
 
4
4
  /**
5
5
  * DNS-based email deliverability checker.
package/dist/server.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { promises } from 'node:dns';
2
- import { j as DeliverabilityReport } from './types-Duj14jTL.js';
2
+ import { j as DeliverabilityReport } from './types-p9e1n-G_.js';
3
3
 
4
4
  /**
5
5
  * DNS-based email deliverability checker.
@@ -11,6 +11,8 @@ interface ExportPromptOptions {
11
11
  scope: ExportScope;
12
12
  selectedClientId?: string;
13
13
  format?: "html" | "jsx" | "mjml" | "maizzle";
14
+ /** Optional user goal for the fix (e.g. "keep the gradient header"). */
15
+ intent?: string;
14
16
  }
15
17
  declare function generateFixPrompt(options: ExportPromptOptions): string;
16
18
 
@@ -11,6 +11,8 @@ interface ExportPromptOptions {
11
11
  scope: ExportScope;
12
12
  selectedClientId?: string;
13
13
  format?: "html" | "jsx" | "mjml" | "maizzle";
14
+ /** Optional user goal for the fix (e.g. "keep the gradient header"). */
15
+ intent?: string;
14
16
  }
15
17
  declare function generateFixPrompt(options: ExportPromptOptions): string;
16
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emailens/engine",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "description": "Email compatibility engine — transforms CSS per email client, scores compatibility, simulates dark mode, suggests fixes, and runs spam, accessibility, link, and image quality analysis.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -118,4 +118,4 @@
118
118
  "bugs": {
119
119
  "url": "https://github.com/emailens/engine/issues"
120
120
  }
121
- }
121
+ }