@emailens/engine 0.11.0 → 0.11.2

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 { w as InputFormat } from './types-BFhPXh3c.js';
1
+ import { x as InputFormat } from './types-bvGDId6f.js';
2
2
 
3
3
  /**
4
4
  * Unified error class for all email compilation failures.
@@ -1,4 +1,4 @@
1
- import { w as InputFormat } from './types-BFhPXh3c.cjs';
1
+ import { x as InputFormat } from './types-bvGDId6f.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 { l as DeliverabilityReport } from './types-BFhPXh3c.cjs';
2
+ import { m as DeliverabilityReport } from './types-bvGDId6f.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 { l as DeliverabilityReport } from './types-BFhPXh3c.js';
2
+ import { m as DeliverabilityReport } from './types-bvGDId6f.js';
3
3
 
4
4
  /**
5
5
  * DNS-based email deliverability checker.
@@ -327,6 +327,14 @@ interface OverflowReport {
327
327
  hasOverflow: boolean;
328
328
  issues: OverflowIssue[];
329
329
  }
330
+ interface VmlIssue extends BaseIssue {
331
+ detail?: string;
332
+ }
333
+ interface VmlReport {
334
+ /** True when the email contains any VML inside Outlook conditional comments. */
335
+ hasVml: boolean;
336
+ issues: VmlIssue[];
337
+ }
330
338
  interface VisualIssue extends BaseIssue {
331
339
  detail?: string;
332
340
  /** Concrete correction to apply (e.g. a background-color / font-family line). */
@@ -376,4 +384,4 @@ interface DesignReport {
376
384
  };
377
385
  }
378
386
 
379
- export { type AiProvider as A, type BaseIssue as B, type CSSWarning as C, type DiffResult as D, type EmailClient as E, type Framework as F, type SizeIssue as G, type SourceLocation as H, type ImageReport as I, type SpamIssue as J, type TemplateIssue as K, type LinkReport as L, type TokenEstimate as M, type TokenEstimateWithWarnings as N, type OverflowReport as O, type PreviewResult as P, type VisualIssue as Q, estimateAiFixTokens as R, type SupportLevel as S, type TransformResult as T, generateFixPrompt as U, type VisualReport as V, heuristicTokenCount as W, type CodeFix as a, type ExportPromptOptions as b, type AiFixResult as c, type SpamAnalysisOptions as d, type SpamReport as e, type AccessibilityReport as f, type AccessibilityIssue as g, type InboxPreview as h, type SizeReport as i, type TemplateReport as j, type DesignReport as k, type DeliverabilityReport as l, type ClientTruncation as m, type DeliverabilityCheck as n, type DeliverabilityIssue as o, type DesignIssue as p, type EstimateOptions as q, type ExportScope as r, type FixType as s, type ImageInfo as t, type ImageIssue as u, type InboxPreviewIssue as v, type InputFormat as w, type LinkIssue as x, type OverflowIssue as y, type Severity as z };
387
+ export { type AiProvider as A, type BaseIssue as B, type CSSWarning as C, type DiffResult as D, type EmailClient as E, type Framework as F, type Severity as G, type SizeIssue as H, type ImageReport as I, type SourceLocation as J, type SpamIssue as K, type LinkReport as L, type TemplateIssue as M, type TokenEstimate as N, type OverflowReport as O, type PreviewResult as P, type TokenEstimateWithWarnings as Q, type VisualIssue as R, type SupportLevel as S, type TransformResult as T, type VmlIssue as U, type VmlReport as V, estimateAiFixTokens as W, generateFixPrompt as X, heuristicTokenCount as Y, type CodeFix as a, type ExportPromptOptions as b, type AiFixResult as c, type SpamAnalysisOptions as d, type SpamReport as e, type AccessibilityReport as f, type AccessibilityIssue as g, type InboxPreview as h, type SizeReport as i, type TemplateReport as j, type VisualReport as k, type DesignReport as l, type DeliverabilityReport as m, type ClientTruncation as n, type DeliverabilityCheck as o, type DeliverabilityIssue as p, type DesignIssue as q, type EstimateOptions as r, type ExportScope as s, type FixType as t, type ImageInfo as u, type ImageIssue as v, type InboxPreviewIssue as w, type InputFormat as x, type LinkIssue as y, type OverflowIssue as z };
@@ -327,6 +327,14 @@ interface OverflowReport {
327
327
  hasOverflow: boolean;
328
328
  issues: OverflowIssue[];
329
329
  }
330
+ interface VmlIssue extends BaseIssue {
331
+ detail?: string;
332
+ }
333
+ interface VmlReport {
334
+ /** True when the email contains any VML inside Outlook conditional comments. */
335
+ hasVml: boolean;
336
+ issues: VmlIssue[];
337
+ }
330
338
  interface VisualIssue extends BaseIssue {
331
339
  detail?: string;
332
340
  /** Concrete correction to apply (e.g. a background-color / font-family line). */
@@ -376,4 +384,4 @@ interface DesignReport {
376
384
  };
377
385
  }
378
386
 
379
- export { type AiProvider as A, type BaseIssue as B, type CSSWarning as C, type DiffResult as D, type EmailClient as E, type Framework as F, type SizeIssue as G, type SourceLocation as H, type ImageReport as I, type SpamIssue as J, type TemplateIssue as K, type LinkReport as L, type TokenEstimate as M, type TokenEstimateWithWarnings as N, type OverflowReport as O, type PreviewResult as P, type VisualIssue as Q, estimateAiFixTokens as R, type SupportLevel as S, type TransformResult as T, generateFixPrompt as U, type VisualReport as V, heuristicTokenCount as W, type CodeFix as a, type ExportPromptOptions as b, type AiFixResult as c, type SpamAnalysisOptions as d, type SpamReport as e, type AccessibilityReport as f, type AccessibilityIssue as g, type InboxPreview as h, type SizeReport as i, type TemplateReport as j, type DesignReport as k, type DeliverabilityReport as l, type ClientTruncation as m, type DeliverabilityCheck as n, type DeliverabilityIssue as o, type DesignIssue as p, type EstimateOptions as q, type ExportScope as r, type FixType as s, type ImageInfo as t, type ImageIssue as u, type InboxPreviewIssue as v, type InputFormat as w, type LinkIssue as x, type OverflowIssue as y, type Severity as z };
387
+ export { type AiProvider as A, type BaseIssue as B, type CSSWarning as C, type DiffResult as D, type EmailClient as E, type Framework as F, type Severity as G, type SizeIssue as H, type ImageReport as I, type SourceLocation as J, type SpamIssue as K, type LinkReport as L, type TemplateIssue as M, type TokenEstimate as N, type OverflowReport as O, type PreviewResult as P, type TokenEstimateWithWarnings as Q, type VisualIssue as R, type SupportLevel as S, type TransformResult as T, type VmlIssue as U, type VmlReport as V, estimateAiFixTokens as W, generateFixPrompt as X, heuristicTokenCount as Y, type CodeFix as a, type ExportPromptOptions as b, type AiFixResult as c, type SpamAnalysisOptions as d, type SpamReport as e, type AccessibilityReport as f, type AccessibilityIssue as g, type InboxPreview as h, type SizeReport as i, type TemplateReport as j, type VisualReport as k, type DesignReport as l, type DeliverabilityReport as m, type ClientTruncation as n, type DeliverabilityCheck as o, type DeliverabilityIssue as p, type DesignIssue as q, type EstimateOptions as r, type ExportScope as s, type FixType as t, type ImageInfo as u, type ImageIssue as v, type InboxPreviewIssue as w, type InputFormat as x, type LinkIssue as y, type OverflowIssue as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emailens/engine",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "description": "Email compatibility engine for HTML, MJML, Maizzle and React Email: 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": {