diff --git a/packages/http-logger/readme.md b/packages/http-logger/readme.md index 877be46..6faf48e 100644 --- a/packages/http-logger/readme.md +++ b/packages/http-logger/readme.md @@ -18,7 +18,7 @@ yarn add @sliit-foss/http-logger ```js # using require -const httpLogger = require("@sliit-foss/http-logger"); +const httpLogger = require("@sliit-foss/http-logger").default; # using import import httpLogger from "@sliit-foss/http-logger"; diff --git a/packages/service-connector/readme.md b/packages/service-connector/readme.md index 007f545..6976787 100644 --- a/packages/service-connector/readme.md +++ b/packages/service-connector/readme.md @@ -18,7 +18,7 @@ yarn add @sliit-foss/service-connector ```js # using require -const serviceConnector = require("@sliit-foss/service-connector"); +const serviceConnector = require("@sliit-foss/service-connector").default; # using import import serviceConnector from "@sliit-foss/service-connector";