mailery 0.1.0 → 0.1.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.
@@ -956,4 +956,4 @@ declare class NullProvider implements MailProvider {
956
956
  reset(): void;
957
957
  }
958
958
 
959
- export { type AdapterFilter as A, type BroadcastDoc as B, type ContactAdapter as C, type TemplateVersionDoc as D, type EventDoc as E, type FlowDoc as F, ensureIndexes as G, type HealthDoc as H, getCollections as I, type LeadDoc as L, type MailProvider as M, type NormalizedEvent as N, type OutboxDoc as O, type Predicate as P, type RedisOptions as R, type SendArgs as S, type TemplateDoc as T, type WebhookEventDoc as W, type Contact as a, type SendResult as b, Mailer as c, type SuppressionScope as d, type AuditLogDoc as e, type BroadcastStatus as f, type CircuitBreakerThresholds as g, type Collections as h, type ContactTagDoc as i, type FlowGoal as j, type FlowRunDoc as k, type FlowRunStatus as l, type FlowStep as m, type FlowVersionDoc as n, type HealthStatus as o, type MailerConfig as p, NullProvider as q, type SegmentDefinition as r, type SegmentFilter as s, type SendDoc as t, type SendStatus as u, type SubscriptionDoc as v, type SubscriptionStatus as w, type SuppressionDoc as x, type SuppressionReason as y, type TemplateKind as z };
959
+ export { type AdapterFilter as A, type BroadcastDoc as B, type ContactAdapter as C, type TemplateKind as D, type EventDoc as E, type FlowStep as F, type TemplateVersionDoc as G, type HealthDoc as H, ensureIndexes as I, getCollections as J, type LeadDoc as L, type MailProvider as M, type NormalizedEvent as N, type OutboxDoc as O, type Predicate as P, type RunnerContext as R, type SendArgs as S, type TemplateDoc as T, type WebhookEventDoc as W, type Contact as a, type SendResult as b, Mailer as c, type SuppressionScope as d, type SegmentFilter as e, type AuditLogDoc as f, type BroadcastStatus as g, type CircuitBreakerThresholds as h, type Collections as i, type ContactTagDoc as j, type FlowDoc as k, type FlowGoal as l, type FlowRunDoc as m, type FlowRunStatus as n, type FlowVersionDoc as o, type HealthStatus as p, type MailerConfig as q, NullProvider as r, type RedisOptions as s, type SegmentDefinition as t, type SendDoc as u, type SendStatus as v, type SubscriptionDoc as w, type SubscriptionStatus as x, type SuppressionDoc as y, type SuppressionReason as z };
@@ -956,4 +956,4 @@ declare class NullProvider implements MailProvider {
956
956
  reset(): void;
957
957
  }
958
958
 
959
- export { type AdapterFilter as A, type BroadcastDoc as B, type ContactAdapter as C, type TemplateVersionDoc as D, type EventDoc as E, type FlowDoc as F, ensureIndexes as G, type HealthDoc as H, getCollections as I, type LeadDoc as L, type MailProvider as M, type NormalizedEvent as N, type OutboxDoc as O, type Predicate as P, type RedisOptions as R, type SendArgs as S, type TemplateDoc as T, type WebhookEventDoc as W, type Contact as a, type SendResult as b, Mailer as c, type SuppressionScope as d, type AuditLogDoc as e, type BroadcastStatus as f, type CircuitBreakerThresholds as g, type Collections as h, type ContactTagDoc as i, type FlowGoal as j, type FlowRunDoc as k, type FlowRunStatus as l, type FlowStep as m, type FlowVersionDoc as n, type HealthStatus as o, type MailerConfig as p, NullProvider as q, type SegmentDefinition as r, type SegmentFilter as s, type SendDoc as t, type SendStatus as u, type SubscriptionDoc as v, type SubscriptionStatus as w, type SuppressionDoc as x, type SuppressionReason as y, type TemplateKind as z };
959
+ export { type AdapterFilter as A, type BroadcastDoc as B, type ContactAdapter as C, type TemplateKind as D, type EventDoc as E, type FlowStep as F, type TemplateVersionDoc as G, type HealthDoc as H, ensureIndexes as I, getCollections as J, type LeadDoc as L, type MailProvider as M, type NormalizedEvent as N, type OutboxDoc as O, type Predicate as P, type RunnerContext as R, type SendArgs as S, type TemplateDoc as T, type WebhookEventDoc as W, type Contact as a, type SendResult as b, Mailer as c, type SuppressionScope as d, type SegmentFilter as e, type AuditLogDoc as f, type BroadcastStatus as g, type CircuitBreakerThresholds as h, type Collections as i, type ContactTagDoc as j, type FlowDoc as k, type FlowGoal as l, type FlowRunDoc as m, type FlowRunStatus as n, type FlowVersionDoc as o, type HealthStatus as p, type MailerConfig as q, NullProvider as r, type RedisOptions as s, type SegmentDefinition as t, type SendDoc as u, type SendStatus as v, type SubscriptionDoc as w, type SubscriptionStatus as x, type SuppressionDoc as y, type SuppressionReason as z };
@@ -1,5 +1,5 @@
1
1
  import { Db } from 'mongodb';
2
- import { C as ContactAdapter, a as Contact, A as AdapterFilter, c as Mailer, q as NullProvider } from './null-7gnz1V98.cjs';
2
+ import { C as ContactAdapter, a as Contact, A as AdapterFilter, c as Mailer, r as NullProvider } from './null-OzIqP7A8.cjs';
3
3
  import 'ioredis';
4
4
  import 'zod';
5
5
  import 'handlebars';
package/dist/testing.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Db } from 'mongodb';
2
- import { C as ContactAdapter, a as Contact, A as AdapterFilter, c as Mailer, q as NullProvider } from './null-7gnz1V98.js';
2
+ import { C as ContactAdapter, a as Contact, A as AdapterFilter, c as Mailer, r as NullProvider } from './null-OzIqP7A8.js';
3
3
  import 'ioredis';
4
4
  import 'zod';
5
5
  import 'handlebars';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mailery",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Embedded, MongoDB-backed email automation for Node.js. Triggered flows, broadcasts, tracking, suppression, and an admin UI you mount inside your Express app.",
5
5
  "license": "MIT",
6
6
  "author": "Jeff Jassky <jeff@jeffjassky.com>",
@@ -56,6 +56,8 @@
56
56
  "dev:client": "vite --config src/client/vite.config.ts",
57
57
  "test": "vitest run",
58
58
  "test:watch": "vitest",
59
+ "test:e2e": "playwright test",
60
+ "test:e2e:ui": "playwright test --ui",
59
61
  "typecheck": "tsc --noEmit && tsc -p src/client/tsconfig.json",
60
62
  "clean": "rm -rf dist coverage",
61
63
  "prepublishOnly": "yarn clean && yarn typecheck && yarn test && yarn build",
@@ -67,6 +69,7 @@
67
69
  "express": "^4.18.0 || ^5.0.0"
68
70
  },
69
71
  "devDependencies": {
72
+ "@playwright/test": "^1.60.0",
70
73
  "@types/express": "^5.0.6",
71
74
  "@types/html-to-text": "^9.0.4",
72
75
  "@types/ioredis-mock": "^8.2.7",
@@ -82,6 +85,7 @@
82
85
  "react": "^18.3.0",
83
86
  "react-dom": "^18.3.0",
84
87
  "tsup": "^8.3.0",
88
+ "tsx": "^4.21.0",
85
89
  "typescript": "^5.6.0",
86
90
  "vite": "^5.4.0",
87
91
  "vitepress": "^1.4.0",