@tixyel/streamelements 4.2.1 → 4.2.3
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 +6 -6
- package/dist/index.es.js +622 -613
- 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
|
@@ -1627,7 +1627,7 @@ interface QueueOptions<T> {
|
|
|
1627
1627
|
/**
|
|
1628
1628
|
* Duration between processing each item in milliseconds. Set to `0` or `false` for immediate processing.
|
|
1629
1629
|
*/
|
|
1630
|
-
duration
|
|
1630
|
+
duration?: QueueDuration | 'client';
|
|
1631
1631
|
/**
|
|
1632
1632
|
* Function to process each item in the queue.
|
|
1633
1633
|
*/
|
|
@@ -2020,17 +2020,17 @@ declare namespace Simulation {
|
|
|
2020
2020
|
onEventReceived(provider?: Provider$1 | "random", type?: StreamElements.Event.onEventReceived["listener"] | "random" | "tip" | "cheer" | "follower" | "raid" | "subscriber", options?: Record<string, string | number | boolean>): Promise<StreamElements.Event.onEventReceived | null>;
|
|
2021
2021
|
};
|
|
2022
2022
|
};
|
|
2023
|
-
export
|
|
2024
|
-
listener:
|
|
2023
|
+
export var queue: useQueue<{
|
|
2024
|
+
listener: 'onEventReceived';
|
|
2025
2025
|
data: StreamElements.Event.onEventReceived;
|
|
2026
2026
|
session?: boolean;
|
|
2027
2027
|
} | {
|
|
2028
|
-
listener:
|
|
2028
|
+
listener: 'onWidgetLoad';
|
|
2029
2029
|
data: StreamElements.Event.onWidgetLoad;
|
|
2030
2030
|
} | {
|
|
2031
|
-
listener:
|
|
2031
|
+
listener: 'onSessionUpdate';
|
|
2032
2032
|
data: StreamElements.Event.onSessionUpdate;
|
|
2033
|
-
}
|
|
2033
|
+
}> | undefined;
|
|
2034
2034
|
export const emulate: {
|
|
2035
2035
|
twitch: {
|
|
2036
2036
|
message(data?: Partial<{
|