mailgun.js 12.0.1 → 12.0.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.
package/Types/index.js CHANGED
@@ -4405,7 +4405,7 @@ var Request$1 = /** @class */ (function () {
4405
4405
  this.username = options.username;
4406
4406
  this.key = options.key;
4407
4407
  this.url = options.url;
4408
- this.timeout = options.timeout;
4408
+ this.timeout = options.timeout || 60000; // Default timeout is 60 seconds
4409
4409
  this.headers = this.makeHeadersFromObject(options.headers);
4410
4410
  this.formDataBuilder = new FormDataBuilder(formData);
4411
4411
  this.maxBodyLength = 52428800; // 50 MB
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mailgun.js",
3
- "version": "12.0.1",
3
+ "version": "12.0.2",
4
4
  "author": "Mailgun",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/version.md CHANGED
@@ -1 +1 @@
1
- 12.0.1
1
+ 12.0.2