@tixyel/streamelements 4.3.1 → 4.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -647,7 +647,7 @@ declare namespace YoutubeEvents {
|
|
|
647
647
|
listener: 'event';
|
|
648
648
|
event: Event;
|
|
649
649
|
};
|
|
650
|
-
type Event = Superchat;
|
|
650
|
+
type Event = Superchat | Subscriber | Sponsor | CommunityGiftedSponsor;
|
|
651
651
|
interface Superchat extends BaseEvent {
|
|
652
652
|
type: 'superchat';
|
|
653
653
|
data: {
|
|
@@ -1073,8 +1073,9 @@ declare namespace StreamElements {
|
|
|
1073
1073
|
};
|
|
1074
1074
|
namespace Provider {
|
|
1075
1075
|
namespace YouTube {
|
|
1076
|
-
type Events =
|
|
1076
|
+
type Events = Message | Event | Superchat | Subscriber | Sponsor;
|
|
1077
1077
|
type Message = YoutubeEvents.Message.Data;
|
|
1078
|
+
type Event = YoutubeEvents.Event.Data;
|
|
1078
1079
|
type Superchat = YoutubeEvents.Superchat.Data;
|
|
1079
1080
|
type Subscriber = YoutubeEvents.Subscriber.Data;
|
|
1080
1081
|
type Sponsor = YoutubeEvents.Sponsor.Data;
|
|
@@ -1083,7 +1084,7 @@ declare namespace StreamElements {
|
|
|
1083
1084
|
type spam = YoutubeEvents.Sponsor.spam;
|
|
1084
1085
|
}
|
|
1085
1086
|
namespace StreamElements {
|
|
1086
|
-
type Events =
|
|
1087
|
+
type Events = Tip | Event | KVStore | EventSkip | EventTest | BotCounter | AlertService;
|
|
1087
1088
|
type Tip = StreamElementsEvents.Tip.Data;
|
|
1088
1089
|
type Event = StreamElementsEvents.Event.Data;
|
|
1089
1090
|
type KVStore = StreamElementsEvents.KVStore.Data;
|
|
@@ -1093,7 +1094,7 @@ declare namespace StreamElements {
|
|
|
1093
1094
|
type AlertService = StreamElementsEvents.AlertService.Data;
|
|
1094
1095
|
}
|
|
1095
1096
|
namespace Twitch {
|
|
1096
|
-
type Events =
|
|
1097
|
+
type Events = Raid | Event | Cheer | Message | Follower | Subscriber | DeleteMessage | DeleteMessages;
|
|
1097
1098
|
type SubscriberTier = TwitchEvents.Subscriber.SubscriberTier;
|
|
1098
1099
|
type Raid = TwitchEvents.Raid.Data;
|
|
1099
1100
|
type Event = TwitchEvents.Event.Data;
|
package/package.json
CHANGED