diff --git a/dist/index.d.ts b/dist/index.d.ts index 2b0375b..80d80c5 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1,2 +1,2 @@ import { Client } from './Client'; -export default Client; +export = Client; diff --git a/dist/index.js b/dist/index.js index 604b2b8..080a035 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,4 +1,3 @@ "use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); const Client_1 = require("./Client"); -exports.default = Client_1.Client; +module.exports = Client_1.Client; diff --git a/src/index.ts b/src/index.ts index 179f429..ff85e2c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,3 @@ import { Client } from './Client'; -export default Client; +export = Client; diff --git a/test/test.js b/test/test.js index 958d9ed..e4f1716 100644 --- a/test/test.js +++ b/test/test.js @@ -1,5 +1,5 @@ 'use strict'; -const guardian = require('../dist').default; +const guardian = require('../dist'); let api = new guardian('test_api_key', false);