From 6df6d9283b9c39429ff5f10491bcd6bbddd6b6eb Mon Sep 17 00:00:00 2001 From: afterlifepro Date: Fri, 25 Jul 2025 12:20:07 +0100 Subject: [PATCH] Update exports and add client safe version --- src/components/playing/spotify/client.ts | 2 ++ src/components/playing/spotify/index.ts | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 src/components/playing/spotify/client.ts diff --git a/src/components/playing/spotify/client.ts b/src/components/playing/spotify/client.ts new file mode 100644 index 0000000..618e272 --- /dev/null +++ b/src/components/playing/spotify/client.ts @@ -0,0 +1,2 @@ +export * from "./types"; +export * from "./errors" \ No newline at end of file diff --git a/src/components/playing/spotify/index.ts b/src/components/playing/spotify/index.ts index af37d73..250c1ee 100644 --- a/src/components/playing/spotify/index.ts +++ b/src/components/playing/spotify/index.ts @@ -1,5 +1,5 @@ import getAccessCode from "./access"; -import { SpotifyError } from "./errors"; -import { getSpotifyApi, spotifyNowPlaying as nowPlaying } from "./api"; - -export { getAccessCode, getSpotifyApi, nowPlaying, SpotifyError }; +export { getAccessCode }; +export * from "./errors"; +export * from "./api"; +export * from "./types" -- 2.51.2