From 86badc68044c46896ed92c898fafa1ceb2bc0130 Mon Sep 17 00:00:00 2001 From: Stevche Radevski Date: Wed, 2 Oct 2024 10:40:26 +0200 Subject: [PATCH] fix: Export all classes and types from the SDK (#9422) --- packages/core/js-sdk/src/index.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/packages/core/js-sdk/src/index.ts b/packages/core/js-sdk/src/index.ts index 9ad987dadb..0cb79bd528 100644 --- a/packages/core/js-sdk/src/index.ts +++ b/packages/core/js-sdk/src/index.ts @@ -21,4 +21,18 @@ class Medusa { } export default Medusa -export { FetchError } from "./client" + +export { FetchError, Client } from "./client" +export { Admin } from "./admin" +export { Auth } from "./auth" +export { Store } from "./store" +export { + Config, + ClientHeaders, + ClientFetch, + FetchArgs, + FetchInput, + FetchStreamResponse, + Logger, + ServerSentEventMessage, +} from "./types"