@bernierllc/sender-identity-verification 2.0.0 → 3.0.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,34 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.0.0](https://github.com/bernierllc/tools/compare/@bernierllc/sender-identity-verification@1.6.1...@bernierllc/sender-identity-verification@3.0.0) (2026-05-20)
7
+
8
+
9
+ * feat(sender-identity-verification)!: migrate to ES2022 error.cause ([5c56769](https://github.com/bernierllc/tools/commit/5c56769cf5ad33b4f14ea54510b6e1e4479cdf1a))
10
+
11
+
12
+ ### BREAKING CHANGES
13
+
14
+ * SenderErrorCode enum removed; use the new
15
+ SenderVerificationErrorCode string-literal union (e.g. 'SENDER_NOT_FOUND')
16
+ instead. SenderVerificationError constructor signature changed from
17
+ (message, code, details) to (message, options?) where options is
18
+ { cause?, code?, context? }. The details field is replaced by context;
19
+ former details payloads should be passed as context: { details: ... }.
20
+ Underlying errors must chain via options.cause and are read back through
21
+ native error.cause. handleSenderError continues to populate
22
+ errors: [error.code] since code is now a string literal.
23
+
24
+ External consumer sweep found no other package importing SenderErrorCode
25
+ or SenderVerificationError; only the in-package test file required
26
+ updates. Coverage gap in SenderIdentityVerification.ts is pre-existing
27
+ baseline (verified via git stash) and unrelated to this change; errors.ts
28
+ itself remains at 100% coverage.
29
+
30
+
31
+
32
+
33
+
6
34
  ## [1.6.1](https://github.com/bernierllc/tools/compare/@bernierllc/sender-identity-verification@1.6.0...@bernierllc/sender-identity-verification@1.6.1) (2026-05-20)
7
35
 
8
36
  **Note:** Version bump only for package @bernierllc/sender-identity-verification
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bernierllc/sender-identity-verification",
3
- "version": "2.0.0",
3
+ "version": "3.0.0",
4
4
  "description": "Individual sender email address verification service for email production compliance",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,10 +19,10 @@
19
19
  "author": "Bernier LLC",
20
20
  "license": "SEE LICENSE IN LICENSE",
21
21
  "dependencies": {
22
- "@bernierllc/email-sender": "5.7.0",
23
- "@bernierllc/logger": "1.7.0",
24
22
  "@bernierllc/crypto-utils": "1.4.0",
23
+ "@bernierllc/email-sender": "5.7.0",
25
24
  "@bernierllc/email-sender-manager": "1.6.0",
25
+ "@bernierllc/logger": "1.7.0",
26
26
  "@bernierllc/neverhub-adapter": "0.4.0",
27
27
  "@bernierllc/retry-policy": "0.7.0",
28
28
  "@bernierllc/validators-email": "0.7.0"