@tixyel/streamelements 7.6.2 → 7.6.4
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.es.js +2 -7
- 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.es.js
CHANGED
|
@@ -10614,12 +10614,7 @@ window.addEventListener("onWidgetLoad", async (e) => {
|
|
|
10614
10614
|
t.emit("event", "youtube", n.data);
|
|
10615
10615
|
break;
|
|
10616
10616
|
}
|
|
10617
|
-
|
|
10618
|
-
n.data, t.emit("event", "kick", n.data);
|
|
10619
|
-
break;
|
|
10620
|
-
case "facebook":
|
|
10621
|
-
n.data, t.emit("event", "facebook", n.data);
|
|
10622
|
-
break;
|
|
10617
|
+
default: t.emit("event", n.provider, n.data);
|
|
10623
10618
|
}
|
|
10624
10619
|
t.debug && ![
|
|
10625
10620
|
"bot:counter",
|
|
@@ -13079,7 +13074,7 @@ var le = class {
|
|
|
13079
13074
|
}, r = new CustomEvent("onEventReceived", { detail: n });
|
|
13080
13075
|
return this.history.push({
|
|
13081
13076
|
detail: n,
|
|
13082
|
-
timestamp:
|
|
13077
|
+
timestamp: Date.now(),
|
|
13083
13078
|
origin: P?.[0]?.id
|
|
13084
13079
|
}), localStorage.setItem("SE_API-EVENTS", JSON.stringify(this.history)), window.dispatchEvent(r) ? { ok: !0 } : { ok: !1 };
|
|
13085
13080
|
},
|