Skip to content

Commit

Permalink
chore: optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Feb 22, 2024
1 parent 2fc5014 commit a1b58e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@agoraio-extensions/agora-rtc-sdk-ng-fake",
"version": "1.0.10",
"version": "1.0.11",
"private": true,
"description": "Fake Agora Web RTC for testing",
"repository": {
Expand Down
3 changes: 3 additions & 0 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ export class FakeRTCClient extends FakeAgoraEventEmitter {
//@ts-ignore websdk的私有属性
this.isStringUID = typeof uid === "string";
this.uid = randUuid();
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
//@ts-ignore websdk的私有属性
this._joinInfo?.uid = this.uid;
this.channelName = FAKE_CHANNEL_NAME;
return Promise.resolve(this.uid);
}
Expand Down

0 comments on commit a1b58e7

Please sign in to comment.