diff --git a/src/index.ts b/src/index.ts index 061b936..173a2c9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -24,4 +24,4 @@ export const FakeAgoraRTCWrapper = { getFakeAgoraRTC: getFakeAgoraRTC, }; -export default FakeAgoraRTC; +export default FakeAgoraRTCWrapper; diff --git a/tsup.config.ts b/tsup.config.ts index acc2e76..0617040 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -36,7 +36,7 @@ export default defineConfig([ define: { "process.env.NODE_ENV": JSON.stringify("production"), }, - globalName: "AgoraRTCFake", + globalName: "FakeAgoraRTCWrapper", platform: "browser", }, ]);