@tixyel/streamelements 6.4.2 → 6.4.4
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 +18 -2
- package/dist/index.es.js +669 -636
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2317,10 +2317,13 @@ declare namespace Helper {
|
|
|
2317
2317
|
function keys<K extends string, V>(obj: Record<K, V>): K[];
|
|
2318
2318
|
}
|
|
2319
2319
|
namespace message {
|
|
2320
|
-
type BadgeOptions = Twitch.roles[] | Twitch.roles | `${Twitch.roles}
|
|
2320
|
+
type BadgeOptions = Twitch.roles[] | Twitch.roles | `${Twitch.roles}/${number}` | `${Twitch.roles}/${number}`[];
|
|
2321
2321
|
type TwitchResult = {
|
|
2322
2322
|
keys: Twitch.roles[];
|
|
2323
2323
|
badges: Twitch.badge[];
|
|
2324
|
+
amount: {
|
|
2325
|
+
[K in Twitch.roles]?: number;
|
|
2326
|
+
};
|
|
2324
2327
|
};
|
|
2325
2328
|
type YouTubeResult = {
|
|
2326
2329
|
isVerified: boolean;
|
|
@@ -2771,6 +2774,19 @@ declare namespace Local {
|
|
|
2771
2774
|
msgId: string;
|
|
2772
2775
|
channel: string;
|
|
2773
2776
|
time: number;
|
|
2777
|
+
firstMsg: boolean;
|
|
2778
|
+
returningChatter: boolean;
|
|
2779
|
+
reply: {
|
|
2780
|
+
msgId: string;
|
|
2781
|
+
userId: string;
|
|
2782
|
+
login: string;
|
|
2783
|
+
name: string;
|
|
2784
|
+
text: string;
|
|
2785
|
+
};
|
|
2786
|
+
thread: {
|
|
2787
|
+
msgId: string;
|
|
2788
|
+
name: string;
|
|
2789
|
+
};
|
|
2774
2790
|
}>): void;
|
|
2775
2791
|
deleteMessage(msgId: string): void;
|
|
2776
2792
|
deleteMessages(userId: string): void;
|
|
@@ -2964,7 +2980,7 @@ declare const main: {
|
|
|
2964
2980
|
declare global {
|
|
2965
2981
|
interface Window {
|
|
2966
2982
|
Tixyel: typeof main;
|
|
2967
|
-
client: InstanceType<typeof main.Client
|
|
2983
|
+
client: InstanceType<typeof main.Client> | undefined;
|
|
2968
2984
|
ComfyJS?: ComfyJSInstance;
|
|
2969
2985
|
}
|
|
2970
2986
|
interface WindowEventMap {
|