From 32ba5ce36ce3b89293d540b06b74c2643ced7119 Mon Sep 17 00:00:00 2001 From: Danial Raza Date: Tue, 19 Sep 2023 20:25:11 +0200 Subject: [PATCH] feat(ConnectionService): support twitter rebrand update (#819) --- deno/payloads/v10/user.ts | 6 +++++- deno/payloads/v9/user.ts | 6 +++++- payloads/v10/user.ts | 6 +++++- payloads/v9/user.ts | 6 +++++- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/deno/payloads/v10/user.ts b/deno/payloads/v10/user.ts index 58e78c39..9857c627 100644 --- a/deno/payloads/v10/user.ts +++ b/deno/payloads/v10/user.ts @@ -281,7 +281,11 @@ export enum ConnectionService { Steam = 'steam', TikTok = 'tiktok', Twitch = 'twitch', - Twitter = 'twitter', + X = 'twitter', + /** + * @deprecated This is the old name for {@apilink ConnectionService#X} + */ + Twitter = X, Xbox = 'xbox', YouTube = 'youtube', } diff --git a/deno/payloads/v9/user.ts b/deno/payloads/v9/user.ts index 35d5ed25..3cf43065 100644 --- a/deno/payloads/v9/user.ts +++ b/deno/payloads/v9/user.ts @@ -281,7 +281,11 @@ export enum ConnectionService { Steam = 'steam', TikTok = 'tiktok', Twitch = 'twitch', - Twitter = 'twitter', + X = 'twitter', + /** + * @deprecated This is the old name for {@apilink ConnectionService#X} + */ + Twitter = X, Xbox = 'xbox', YouTube = 'youtube', } diff --git a/payloads/v10/user.ts b/payloads/v10/user.ts index 415ae7f7..b5cba88d 100644 --- a/payloads/v10/user.ts +++ b/payloads/v10/user.ts @@ -281,7 +281,11 @@ export enum ConnectionService { Steam = 'steam', TikTok = 'tiktok', Twitch = 'twitch', - Twitter = 'twitter', + X = 'twitter', + /** + * @deprecated This is the old name for {@apilink ConnectionService#X} + */ + Twitter = X, Xbox = 'xbox', YouTube = 'youtube', } diff --git a/payloads/v9/user.ts b/payloads/v9/user.ts index c6f61a87..7c2d78c3 100644 --- a/payloads/v9/user.ts +++ b/payloads/v9/user.ts @@ -281,7 +281,11 @@ export enum ConnectionService { Steam = 'steam', TikTok = 'tiktok', Twitch = 'twitch', - Twitter = 'twitter', + X = 'twitter', + /** + * @deprecated This is the old name for {@apilink ConnectionService#X} + */ + Twitter = X, Xbox = 'xbox', YouTube = 'youtube', }