Skip to content

readOnlyProvider

readOnlyProvider(provider): MailProvider

Defined in: src/safety/dry-run.ts:19

Wraps a provider so every method in MUTATING_METHODS throws DryRunViolation. Enforced at the transport boundary: a bug anywhere upstream physically cannot mutate mail in dry-run mode.

MailProvider

MailProvider