From b2e44c76934c46e424df5e69624ec2f74774d5a1 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Tue, 12 Mar 2024 14:36:38 +0200 Subject: [PATCH] Use base connection class for different connection types --- lib/api-client/base-client.js | 1 + lib/imap-connection.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/api-client/base-client.js b/lib/api-client/base-client.js index 617353c2..1c596ad8 100644 --- a/lib/api-client/base-client.js +++ b/lib/api-client/base-client.js @@ -1,5 +1,6 @@ 'use strict'; +const crypto = require('crypto'); const logger = require('../logger'); const { REDIS_PREFIX } = require('../consts'); diff --git a/lib/imap-connection.js b/lib/imap-connection.js index 26f2837d..ffe37f54 100644 --- a/lib/imap-connection.js +++ b/lib/imap-connection.js @@ -3672,4 +3672,4 @@ class IMAPConnection extends BaseClient { } } -module.exports.Connection = IMAPConnection; +module.exports = { IMAPConnection };