Skip to content

Commit

Permalink
v0.1.1 - fix
Browse files Browse the repository at this point in the history
  • Loading branch information
itzTheMeow committed Sep 16, 2023
1 parent aa157b9 commit ab10d4e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion voice/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@revkit/voice",
"version": "0.1.0",
"version": "0.1.1",
"description": "Voice library for Revolt that works in the browser and node.js!",
"main": "dist/cjs/index.js",
"module": "dist/es6/index.js",
Expand Down
1 change: 0 additions & 1 deletion voice/src/VoiceClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ export class VoiceClient<
this.supported = this.msc.detectDevice() !== undefined;
if (client instanceof Client) {
this.client = client;
this.sessionDetails = { token: this.client.session.token, type: this.client.session.type };
} else {
this.client = new Client(client.apiURL ? { apiURL: client.apiURL } : undefined);
this.sessionDetails = { token: client.token, type: client.type };
Expand Down

0 comments on commit ab10d4e

Please sign in to comment.