@tixyel/streamelements 4.0.0 → 4.1.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 +4 -0
- package/dist/index.es.js +453 -438
- 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 +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -2135,6 +2135,7 @@ declare class useComfyJs extends EventProvider<ComfyEvents> {
|
|
|
2135
2135
|
password?: string;
|
|
2136
2136
|
channels: string[];
|
|
2137
2137
|
isDebug: boolean;
|
|
2138
|
+
private init;
|
|
2138
2139
|
emulate: boolean;
|
|
2139
2140
|
/**
|
|
2140
2141
|
* Initializes a new ComfyJS instance and connects to Twitch chat.
|
|
@@ -2146,6 +2147,7 @@ declare class useComfyJs extends EventProvider<ComfyEvents> {
|
|
|
2146
2147
|
password?: string;
|
|
2147
2148
|
channels: string[];
|
|
2148
2149
|
isDebug?: boolean;
|
|
2150
|
+
init?: boolean;
|
|
2149
2151
|
}, emulate: boolean);
|
|
2150
2152
|
/**
|
|
2151
2153
|
* Loads the ComfyJS script if not already loaded.
|
|
@@ -2192,9 +2194,11 @@ type ClientStorage = {
|
|
|
2192
2194
|
};
|
|
2193
2195
|
type ClientOptions = {
|
|
2194
2196
|
id?: string;
|
|
2197
|
+
debug?: boolean | (() => boolean);
|
|
2195
2198
|
};
|
|
2196
2199
|
declare class Client extends EventProvider<ClientEvents> {
|
|
2197
2200
|
id: string;
|
|
2201
|
+
debug: boolean;
|
|
2198
2202
|
storage: useStorage<ClientStorage>;
|
|
2199
2203
|
fields: StreamElements.Event.onWidgetLoad['fieldData'];
|
|
2200
2204
|
session: StreamElements.Session.Data;
|