@tixyel/streamelements 4.4.0 → 4.5.0
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 +3 -3
- package/dist/index.es.js +452 -430
- 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
|
@@ -1548,7 +1548,7 @@ declare namespace StreamElements {
|
|
|
1548
1548
|
_id: string;
|
|
1549
1549
|
sessionTop: boolean;
|
|
1550
1550
|
type: 'superchat';
|
|
1551
|
-
originalEventName: 'superchat-
|
|
1551
|
+
originalEventName: 'superchat-latest';
|
|
1552
1552
|
}[];
|
|
1553
1553
|
}
|
|
1554
1554
|
interface Hypetrain {
|
|
@@ -2140,7 +2140,7 @@ declare namespace Simulation {
|
|
|
2140
2140
|
session: {
|
|
2141
2141
|
types: Record<string, StreamElements.Session.Config.Any>;
|
|
2142
2142
|
available(): StreamElements.Session.Config.Available.Data;
|
|
2143
|
-
get(): Promise<StreamElements.Session.Data>;
|
|
2143
|
+
get(startSession?: StreamElements.Session.Data): Promise<StreamElements.Session.Data>;
|
|
2144
2144
|
};
|
|
2145
2145
|
event: {
|
|
2146
2146
|
/**
|
|
@@ -2284,7 +2284,7 @@ declare namespace Simulation {
|
|
|
2284
2284
|
*/
|
|
2285
2285
|
export function typedEntries<K extends string, V>(obj: Record<K, V>): [K, V][];
|
|
2286
2286
|
export function probability<K extends string, V extends number>(items: Record<K, V>): K | undefined;
|
|
2287
|
-
export function start(fieldsFile?: string[], dataFiles?: string[]): Promise<void>;
|
|
2287
|
+
export function start(fieldsFile?: string[], dataFiles?: string[], session?: StreamElements.Session.Data): Promise<void>;
|
|
2288
2288
|
export {};
|
|
2289
2289
|
}
|
|
2290
2290
|
|