From 9d097b15a5fda9a1fef1c17607c9b30445306e6d Mon Sep 17 00:00:00 2001 From: gxz Date: Mon, 16 Oct 2023 11:43:19 +0800 Subject: [PATCH] chore: change default export to FakeAgoraRTCWrapper --- src/index.ts | 2 +- tsup.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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", }, ]);