@emailens/engine 0.11.0 → 0.11.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/dist/compile/index.d.cts +2 -2
- package/dist/compile/index.d.ts +2 -2
- package/dist/index.cjs +202 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -5
- package/dist/index.d.ts +25 -5
- package/dist/index.js +201 -10
- package/dist/index.js.map +1 -1
- package/dist/{react-email-D24HkW2Z.d.ts → react-email-BROBcC8u.d.ts} +1 -1
- package/dist/{react-email-BWIfwG7U.d.cts → react-email-DuZAgJtw.d.cts} +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/{types-BFhPXh3c.d.cts → types-bvGDId6f.d.cts} +9 -1
- package/dist/{types-BFhPXh3c.d.ts → types-bvGDId6f.d.ts} +9 -1
- package/package.json +1 -1
package/dist/server.d.cts
CHANGED
package/dist/server.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
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.
|
|
3
|
+
"version": "0.11.1",
|
|
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": {
|