Skip to content

Commit

Permalink
refactor(ClientOptions): remove $ prefix from ws.properties keys (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidx committed Jun 17, 2022
1 parent 386c41f commit 90a98fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/discord.js/src/util/Options.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ class Options extends null {
large_threshold: 50,
compress: false,
properties: {
$os: process.platform,
$browser: 'discord.js',
$device: 'discord.js',
os: process.platform,
browser: 'discord.js',
device: 'discord.js',
},
version: 10,
},
Expand Down
6 changes: 3 additions & 3 deletions packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5342,9 +5342,9 @@ export interface WebSocketOptions {
}

export interface WebSocketProperties {
$os?: string;
$browser?: string;
$device?: string;
os?: string;
browser?: string;
device?: string;
}

export interface WidgetActivity {
Expand Down

0 comments on commit 90a98fe

Please sign in to comment.