diff --git a/lib/index.js b/lib/index.js index 82c2c936..8096a48c 100644 --- a/lib/index.js +++ b/lib/index.js @@ -19,12 +19,26 @@ const { STATUS_CODE, stringToFlags, } = require('./protocol/SFTP.js'); +const { + SUPPORTED_KEX, + SUPPORTED_SERVER_HOST_KEY, + SUPPORTED_CIPHER, + SUPPORTED_MAC, + SUPPORTED_COMPRESSION, +} = require('./protocol/constants'); module.exports = { AgentProtocol, BaseAgent, createAgent, Client: require('./client.js'), + constants: { + SUPPORTED_KEX, + SUPPORTED_SERVER_HOST_KEY, + SUPPORTED_CIPHER, + SUPPORTED_MAC, + SUPPORTED_COMPRESSION, + }, CygwinAgent, HTTPAgent, HTTPSAgent,