mailgun.js 4.2.0 → 4.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.
@@ -4,4 +4,4 @@
4
4
 
5
5
  /*! https://mths.be/punycode v1.3.2 by @mathias */
6
6
 
7
- /*! mailgun.js v4.1.6 */
7
+ /*! mailgun.js v4.2.2 */
package/lib/request.ts CHANGED
@@ -83,9 +83,7 @@ class Request {
83
83
  params.searchParams = options.query;
84
84
  delete params.query;
85
85
  }
86
- console.log('url --------->', urljoin(this.url, url));
87
- console.log('method --------->', method);
88
- console.log('params --------->', params);
86
+
89
87
  const response = await ky(
90
88
  urljoin(this.url, url),
91
89
  {
@@ -113,7 +111,7 @@ class Request {
113
111
  body: await response?.json(),
114
112
  status: response?.status
115
113
  };
116
- console.log('res ------------->', res);
114
+
117
115
  return res;
118
116
  }
119
117
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mailgun.js",
3
- "version": "4.2.0",
3
+ "version": "4.2.3",
4
4
  "main": "dist/mailgun.node.js",
5
5
  "browser": "dist/mailgun.web.js",
6
6
  "types": "dist/index.d.ts",