diff --git a/example/README.md b/example/README.md index 612ab19..822a185 100644 --- a/example/README.md +++ b/example/README.md @@ -6,5 +6,5 @@ node index.js Run SDK client ```js -DEBUG=super-debug,super-curl node sdk.js +DEBUG=super-debug,super-curl babel-node sdk.js ``` \ No newline at end of file diff --git a/example/sdk.js b/example/sdk.js index 0301ea2..8d9011e 100644 --- a/example/sdk.js +++ b/example/sdk.js @@ -1,5 +1,5 @@ let superagent = require('superagent'); -let superdebug = require('../lib/index'); +let superdebug = require('../index').default; superagent .get('http://localhost:3000/debug')