@tixyel/streamelements 7.6.7 → 7.6.8
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 +1 -1
- package/dist/index.es.js +1 -1
- 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
|
@@ -3061,7 +3061,7 @@ declare class UtilsHelper {
|
|
|
3061
3061
|
userId: string;
|
|
3062
3062
|
name: string;
|
|
3063
3063
|
broadcasterId?: string;
|
|
3064
|
-
}, session: StreamElements.Session.Data, checkWithAPI?: boolean): Promise<
|
|
3064
|
+
}, session: StreamElements.Session.Data, checkWithAPI?: boolean): Promise<3 | 1 | 2>;
|
|
3065
3065
|
/**
|
|
3066
3066
|
* Identifies a user based on the received event and session data, returning their ID, name, role, badges, and top status.
|
|
3067
3067
|
* @param receivedEvent - The event received from the provider (Twitch or YouTube) containing user information.
|
package/dist/index.es.js
CHANGED
|
@@ -12470,7 +12470,7 @@ var ce = class extends H {
|
|
|
12470
12470
|
...e
|
|
12471
12471
|
};
|
|
12472
12472
|
this.save(t), this.emit("update", t, "internal:update");
|
|
12473
|
-
} else throw Error("Storage not loaded yet
|
|
12473
|
+
} else if (!this.loaded) throw Error("Storage not loaded yet");
|
|
12474
12474
|
}
|
|
12475
12475
|
add(e, t) {
|
|
12476
12476
|
if (!this.loaded) throw Error("Storage not loaded yet");
|