From 52993f53a5025d37ee9c0a7fe9f224db4b72b181 Mon Sep 17 00:00:00 2001 From: Donald Chen Date: Fri, 16 Aug 2024 09:36:08 -0700 Subject: [PATCH 1/2] add LAUNCH_ACTIVITY interaction callback type --- src/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/index.ts b/src/index.ts index a3bac65..000252e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -63,6 +63,11 @@ export enum InteractionResponseType { * Respond with an upgrade prompt. */ PREMIUM_REQUIRED = 10, + + /** + * Launch an Activity. + */ + LAUNCH_ACTIVITY = 12, } /** From 502c8d2da41f3b30703d48578614450166e311fe Mon Sep 17 00:00:00 2001 From: Colin Loretz Date: Mon, 26 Aug 2024 10:17:10 -0700 Subject: [PATCH 2/2] bump to 4.1.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e364381..dfe847a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "discord-interactions", - "version": "4.0.0", + "version": "4.1.0", "description": "Helpers for discord interactions", "main": "dist/index.js", "license": "MIT",