mailgun.js 8.1.0 → 8.2.1

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 CHANGED
@@ -2,6 +2,32 @@
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
+ ### [8.2.1](https://github.com/mailgun/mailgun.js/compare/v8.2.0...v8.2.1) (2023-03-06)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **#342:** Items Can be Missing When Paging ([95ca758](https://github.com/mailgun/mailgun.js/commits/95ca7587eba6067a278179f7f015366c97a4f757)), closes [#342](https://github.com/mailgun/mailgun.js/issues/342)
11
+
12
+
13
+ ### Other changes
14
+
15
+ * Udpate build ([1db5554](https://github.com/mailgun/mailgun.js/commits/1db555450f63d21f415c164cfef43de377399133))
16
+ * Update eslit rules for tests ([0d0a00d](https://github.com/mailgun/mailgun.js/commits/0d0a00db7a2dc342dfc3e615ce51a07c597cdbc1))
17
+ * Update suppressions tests to decrease usage of any ([2d3754a](https://github.com/mailgun/mailgun.js/commits/2d3754a4b632a074d7275535ea708380bfa064ad))
18
+
19
+ ## [8.2.0](https://github.com/mailgun/mailgun.js/compare/v8.1.0...v8.2.0) (2023-03-02)
20
+
21
+
22
+ ### Features
23
+
24
+ * Add type propert to errors ([71efcc5](https://github.com/mailgun/mailgun.js/commits/71efcc534ec69400b335091950dc59f372263486))
25
+
26
+
27
+ ### Other changes
28
+
29
+ * Update d.ts file ([b25f2bf](https://github.com/mailgun/mailgun.js/commits/b25f2bf1bc996b30dba14181cddb31bd0b80b4d8))
30
+
5
31
  ## [8.1.0](https://github.com/mailgun/mailgun.js/compare/v8.0.6...v8.1.0) (2023-02-23)
6
32
 
7
33
 
package/error.d.ts CHANGED
@@ -3,5 +3,6 @@ export default class APIError extends Error {
3
3
  status: number | string;
4
4
  stack: string;
5
5
  details: string;
6
+ type: string;
6
7
  constructor({ status, statusText, message, body }: APIErrorOptions);
7
8
  }
@@ -39,11 +39,11 @@ export declare type MailgunMessageData = MailgunMessageContent & {
39
39
  /**
40
40
  * Same as `To` but for `carbon copy`
41
41
  */
42
- cc?: string;
42
+ cc?: string | string[];
43
43
  /**
44
44
  * Same as `To` but for `blind carbon copy`
45
45
  */
46
- bcc?: string;
46
+ bcc?: string | string[];
47
47
  /**
48
48
  * Message subject
49
49
  */