diff --git a/src/index.js b/src/index.js index 2022ccd0..4847ddce 100644 --- a/src/index.js +++ b/src/index.js @@ -17,14 +17,13 @@ const { Collection } = require('./collection'); const MemoryStore = require('./memory-store'); const OktaApiError = require('./api-error'); +module.exports.Client = Client +module.exports.RequestExecutor = RequestExecutor +module.exports.DefaultRequestExecutor = DefaultRequestExecutor +module.exports.Collection = Collection +module.exports.MemoryStore = MemoryStore +module.exports.OktaApiError = OktaApiError module.exports = Object.assign( - {}, { - Client, - RequestExecutor, - DefaultRequestExecutor, - Collection, - MemoryStore, - OktaApiError, - }, + module.exports, require('./generated'), );