@tixyel/streamelements 6.4.3 → 6.4.5

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 CHANGED
@@ -2280,7 +2280,7 @@ declare namespace Helper {
2280
2280
  * // Output: '<span class="container" data-index="0"><span class="char" data-index="0">T</span><span class="char" data-index="1">e</span>...'
2281
2281
  * ```
2282
2282
  */
2283
- function splitTextToChars(htmlString: string, startIndex?: number): string;
2283
+ function splitTextToChars(htmlString: string, startIndex?: number, preserveInterElementWhitespace?: boolean): string;
2284
2284
  }
2285
2285
  namespace object {
2286
2286
  /**
@@ -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}, ${Twitch.roles}` | `${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;