@tixyel/streamelements 7.0.1 → 7.0.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 +4 -11
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -487,11 +487,11 @@ declare namespace Twitch {
|
|
|
487
487
|
|
|
488
488
|
declare namespace TwitchEvents {
|
|
489
489
|
namespace Message {
|
|
490
|
-
|
|
490
|
+
type Data = {
|
|
491
491
|
listener: 'message';
|
|
492
492
|
event: Event;
|
|
493
493
|
};
|
|
494
|
-
|
|
494
|
+
type Event = {
|
|
495
495
|
service: 'twitch';
|
|
496
496
|
data: {
|
|
497
497
|
time: number;
|
|
@@ -522,18 +522,11 @@ declare namespace TwitchEvents {
|
|
|
522
522
|
isAction: boolean;
|
|
523
523
|
userId: string;
|
|
524
524
|
msgId: string;
|
|
525
|
-
badges: Array<
|
|
525
|
+
badges: Array<Twitch.badge>;
|
|
526
526
|
emotes: Array<Emote>;
|
|
527
527
|
};
|
|
528
528
|
renderedText: string;
|
|
529
529
|
};
|
|
530
|
-
type Badge = {
|
|
531
|
-
type: string;
|
|
532
|
-
version: string;
|
|
533
|
-
description: string;
|
|
534
|
-
url: string;
|
|
535
|
-
};
|
|
536
|
-
export {};
|
|
537
530
|
}
|
|
538
531
|
namespace DeleteMessage {
|
|
539
532
|
type Data = {
|
|
@@ -3085,7 +3078,7 @@ type IdentifyTwitchResult = {
|
|
|
3085
3078
|
color: string;
|
|
3086
3079
|
role: Twitch.tags;
|
|
3087
3080
|
tags: Twitch.tags[];
|
|
3088
|
-
badges:
|
|
3081
|
+
badges: Twitch.badge[];
|
|
3089
3082
|
tier?: 1 | 2 | 3;
|
|
3090
3083
|
top: TopType;
|
|
3091
3084
|
};
|
package/dist/index.es.js
CHANGED
|
@@ -10379,7 +10379,7 @@ var N = class {
|
|
|
10379
10379
|
color: e.displayColor,
|
|
10380
10380
|
role: e.tags.badges.split(",")[0].split("/")[0],
|
|
10381
10381
|
tags: e.tags.badges.split(",").map((e) => e.split("/")[0]),
|
|
10382
|
-
badges: e.
|
|
10382
|
+
badges: e.badges,
|
|
10383
10383
|
tier: e.tags.badges.includes("subscriber") ? i : void 0,
|
|
10384
10384
|
top: r(e.displayName)
|
|
10385
10385
|
};
|