mailgun.js 10.2.1 → 10.2.3
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/CHANGELOG.md +9 -0
- package/README.md +3 -3
- package/mailgun.node.js +2 -2
- package/mailgun.node.js.LICENSE.txt +1 -1
- package/mailgun.web.js +2 -2
- package/mailgun.web.js.LICENSE.txt +1 -1
- package/package.json +2 -2
- package/version.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
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
|
+
### [10.2.3](https://github.com/mailgun/mailgun.js/compare/v10.2.2...v10.2.3) (2024-07-18)
|
|
6
|
+
|
|
7
|
+
### [10.2.2](https://github.com/mailgun/mailgun.js/compare/v10.2.1...v10.2.2) (2024-07-17)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* Update dependencies ([0d810fb](https://github.com/mailgun/mailgun.js/commits/0d810fb40d12c2406fcb12dbc9b61861afe52350))
|
|
13
|
+
|
|
5
14
|
### [10.2.1](https://github.com/mailgun/mailgun.js/compare/v10.2.0...v10.2.1) (2024-02-16)
|
|
6
15
|
|
|
7
16
|
|
package/README.md
CHANGED
|
@@ -54,7 +54,7 @@ Once the package is installed, you can import the library using `import` or `req
|
|
|
54
54
|
const mg = mailgun.client({username: 'api', key: process.env.MAILGUN_API_KEY || 'key-yourkeyhere'});
|
|
55
55
|
```
|
|
56
56
|
```js
|
|
57
|
-
import
|
|
57
|
+
import FormData from 'form-data';
|
|
58
58
|
import Mailgun from 'mailgun.js';
|
|
59
59
|
const mailgun = new Mailgun(FormData);
|
|
60
60
|
const mg = mailgun.client({username: 'api', key: process.env.MAILGUN_API_KEY || 'key-yourkeyhere'});
|
|
@@ -62,7 +62,7 @@ Once the package is installed, you can import the library using `import` or `req
|
|
|
62
62
|
### Using Subaccounts
|
|
63
63
|
Primary accounts can make API calls on behalf of their subaccounts. [API documentation](https://documentation.mailgun.com/en/latest/subaccounts.html#subaccounts)
|
|
64
64
|
```js
|
|
65
|
-
import
|
|
65
|
+
import FormData from 'form-data';
|
|
66
66
|
import Mailgun from 'mailgun.js';
|
|
67
67
|
const mailgun = new Mailgun(FormData);
|
|
68
68
|
const mg = mailgun.client({username: 'api', key: process.env.MAILGUN_API_KEY || 'key-yourkeyhere'});
|
|
@@ -75,7 +75,7 @@ Primary accounts can make API calls on behalf of their subaccounts. [API documen
|
|
|
75
75
|
By leveraging client configuration options, users can effortlessly establish proxy connections that align with their network requirements.
|
|
76
76
|
Ex:
|
|
77
77
|
```js
|
|
78
|
-
import
|
|
78
|
+
import FormData from 'form-data';
|
|
79
79
|
import Mailgun from 'mailgun.js';
|
|
80
80
|
const mailgun = new Mailgun(FormData);
|
|
81
81
|
|