@tixyel/streamelements 4.5.0 → 4.5.2
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 +2 -2
- 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
|
@@ -2585,5 +2585,5 @@ declare global {
|
|
|
2585
2585
|
const SE_API: StreamElements.SE_API;
|
|
2586
2586
|
}
|
|
2587
2587
|
|
|
2588
|
-
export { Alejo, StreamElements, StreamElementsEvents, Tixyel, Twitch, TwitchEvents, USE_SE_API, YoutubeEvents, logger };
|
|
2589
|
-
export type { BttvEmote, ClientEvents$1 as ClientEvents, Provider$1 as Provider, SeventvEmote, TwitchEmote };
|
|
2588
|
+
export { Alejo, Button, Command, EventProvider, Logger, StreamElements, StreamElementsEvents, Tixyel, Twitch, TwitchEvents, USE_SE_API, YoutubeEvents, findEmotesInText, generateBadges, logger, replaceEmotesWithHTML, replaceYoutubeEmotesWithHTML, useComfyJs, useQueue, useStorage };
|
|
2589
|
+
export type { BadgeOptions, BttvEmote, ClientEvents$1 as ClientEvents, Emote, Provider$1 as Provider, SeventvEmote, TwitchEmote };
|
package/dist/index.es.js
CHANGED
|
@@ -7177,7 +7177,7 @@ class R {
|
|
|
7177
7177
|
run(e, a) {
|
|
7178
7178
|
}
|
|
7179
7179
|
verify(e, a, o) {
|
|
7180
|
-
return this.arguments === !0 && (!o || !o.length) ? !1 : this.admins.some((i) => e.toLocaleLowerCase() === i.toLocaleLowerCase())
|
|
7180
|
+
return this.arguments === !0 && (!o || !o.length) ? !1 : !!(this.admins.some((i) => e.toLocaleLowerCase() === i.toLocaleLowerCase()) || this.permissions === !0 || typeof this.permissions > "u" || Array.isArray(this.permissions) && !this.permissions.length || Array.isArray(this.permissions) && (this.permissions.some((i) => e.toLowerCase() === i.toLowerCase() || a.map((t) => t.toLowerCase()).includes(i.toLowerCase())) || this.permissions.includes("*")));
|
|
7181
7181
|
}
|
|
7182
7182
|
parse(e, a) {
|
|
7183
7183
|
if (!(window.client instanceof J)) return !1;
|