mailgun.js 12.4.0 → 12.5.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.
- package/AMD/definitions.amd.js +5 -4
- package/AMD/mailgun.amd.js +2 -2
- package/CHANGELOG.md +33 -0
- package/CJS/definitions.cjs +5 -4
- package/CJS/mailgun.node.cjs +2 -2
- package/ESM/definitions.browser.js +5 -4
- package/ESM/definitions.browser.js.map +1 -1
- package/ESM/definitions.node.js +5 -4
- package/ESM/definitions.node.js.map +1 -1
- package/ESM/mailgun.browser.js +2 -2
- package/ESM/mailgun.node.js +2 -2
- package/README.md +189 -29
- package/Types/Classes/BounceClassification/BounceClassificationClient.d.ts +11 -0
- package/Types/Classes/DKIM/DKIMManagment.d.ts +10 -0
- package/Types/Classes/MailgunClient.d.ts +3 -2
- package/Types/Enums/index.d.ts +4 -3
- package/Types/Interfaces/BounceClassification/IBounceClassificationClient.d.ts +4 -0
- package/Types/Interfaces/BounceClassification/index.d.ts +1 -0
- package/Types/Interfaces/DKIM/IDKIMManagementClient.d.ts +5 -0
- package/Types/Interfaces/DKIM/index.d.ts +1 -0
- package/Types/Interfaces/MailgunClient/IMailgunClient.d.ts +4 -0
- package/Types/Interfaces/index.d.ts +3 -0
- package/Types/Types/BounceClassification/BounceClassification.d.ts +73 -0
- package/Types/Types/BounceClassification/index.d.ts +1 -0
- package/Types/Types/Common/RequestOptions.d.ts +2 -1
- package/Types/Types/DKIM/DKIM.d.ts +29 -0
- package/Types/Types/DKIM/index.d.ts +1 -0
- package/Types/Types/index.d.ts +3 -0
- package/Types/index.js +90 -4
- package/package.json +1 -1
- package/version.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,39 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [12.5.0](https://github.com/mailgun/mailgun.js/compare/v12.4.1...v12.5.0) (2026-01-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* Add BounceClassification client ([9c0e440](https://github.com/mailgun/mailgun.js/commits/9c0e44093fe50a234d6849e7a7953d4ec8968156))
|
|
11
|
+
* Add DKIM Management client ([9c33bcc](https://github.com/mailgun/mailgun.js/commits/9c33bccba94f6c22ae0887534c7ff14eccf2d5f0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* Add accepted webhooks id ([fd8e59b](https://github.com/mailgun/mailgun.js/commits/fd8e59bdffd8ffb85ef0985dafcf6df3e8986fe9))
|
|
17
|
+
* **deps-dev:** bump qs from 6.14.0 to 6.14.1 ([5a63360](https://github.com/mailgun/mailgun.js/commits/5a63360df34379b43888b318c9d9b831b7e9e07a))
|
|
18
|
+
* Multiple attachments only include the first one ([d62db69](https://github.com/mailgun/mailgun.js/commits/d62db695389bbbeaf8e4be32669ed93a42bc6b7a))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Other changes
|
|
22
|
+
|
|
23
|
+
* Refresh dist ([3d7763a](https://github.com/mailgun/mailgun.js/commits/3d7763acf8fe517c92c25448fef24b368eccb2ff))
|
|
24
|
+
* Update readme ([35ddb9d](https://github.com/mailgun/mailgun.js/commits/35ddb9d34bdd7fddb540d39fe7672f74b2263390))
|
|
25
|
+
|
|
26
|
+
### [12.4.1](https://github.com/mailgun/mailgun.js/compare/v12.4.0...v12.4.1) (2025-12-29)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
* Export types for logs ([e2179d2](https://github.com/mailgun/mailgun.js/commits/e2179d25ab152be23595962b48af22ac01e05f66))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Other changes
|
|
35
|
+
|
|
36
|
+
* Fix readme with correct method in logs client ([9b1f5ff](https://github.com/mailgun/mailgun.js/commits/9b1f5ff6f80017e521af5759f4444a9b1221027e))
|
|
37
|
+
|
|
5
38
|
## [12.4.0](https://github.com/mailgun/mailgun.js/compare/v12.3.0...v12.4.0) (2025-12-04)
|
|
6
39
|
|
|
7
40
|
|
package/CJS/definitions.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// mailgun.js v12.
|
|
1
|
+
// mailgun.js v12.4.1 Copyright (c) 2026 Mailgun and contributors
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var Resolution;
|
|
@@ -17,12 +17,13 @@ var SuppressionModels;
|
|
|
17
17
|
var WebhooksIds;
|
|
18
18
|
(function (WebhooksIds) {
|
|
19
19
|
WebhooksIds["CLICKED"] = "clicked";
|
|
20
|
-
WebhooksIds["COMPLAINED"] = "complained";
|
|
21
|
-
WebhooksIds["DELIVERED"] = "delivered";
|
|
22
20
|
WebhooksIds["OPENED"] = "opened";
|
|
21
|
+
WebhooksIds["UNSUBSCRIBED"] = "unsubscribe";
|
|
22
|
+
WebhooksIds["DELIVERED"] = "delivered";
|
|
23
23
|
WebhooksIds["PERMANENT_FAIL"] = "permanent_fail";
|
|
24
24
|
WebhooksIds["TEMPORARY_FAIL"] = "temporary_fail";
|
|
25
|
-
WebhooksIds["
|
|
25
|
+
WebhooksIds["COMPLAINED"] = "complained";
|
|
26
|
+
WebhooksIds["ACCEPTED"] = "accepted";
|
|
26
27
|
})(WebhooksIds || (WebhooksIds = {}));
|
|
27
28
|
var YesNo;
|
|
28
29
|
(function (YesNo) {
|