nodemailer 6.7.1 → 6.7.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 6.7.2 2021-11-26
4
+
5
+ - Fix proxies for account verification
6
+
3
7
  ## 6.7.1 2021-11-15
4
8
 
5
9
  - fix verify on ses-transport (stanofsky)
@@ -95,6 +95,10 @@ class Mail extends EventEmitter {
95
95
  ['close', 'isIdle', 'verify'].forEach(method => {
96
96
  this[method] = (...args) => {
97
97
  if (typeof this.transporter[method] === 'function') {
98
+ if (method === 'verify' && typeof this.getSocket === 'function') {
99
+ this.transporter.getSocket = this.getSocket;
100
+ this.getSocket = false;
101
+ }
98
102
  return this.transporter[method](...args);
99
103
  } else {
100
104
  this.logger.warn(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodemailer",
3
- "version": "6.7.1",
3
+ "version": "6.7.2",
4
4
  "description": "Easy as cake e-mail sending from your Node.js applications",
5
5
  "main": "lib/nodemailer.js",
6
6
  "scripts": {