From 61566aa6ce282f22f97d089e4735e520fe9c898d Mon Sep 17 00:00:00 2001 From: ThulinaWickramasinghe Date: Sun, 14 Apr 2024 18:25:56 +0530 Subject: [PATCH] Docs: update require statements for default exports --- packages/http-logger/readme.md | 2 +- packages/service-connector/readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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";