yxuse 2.0.35 → 2.0.36

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.
@@ -202,6 +202,9 @@ const getCownDownTime = (time) => {
202
202
  }
203
203
  return formattedTime;
204
204
  };
205
+ function isTabActive() {
206
+ return document.visibilityState === "visible" && document.hasFocus();
207
+ }
205
208
  class YxSubscribe {
206
209
  constructor() {
207
210
  __publicField(this, "subscribers");
@@ -7053,10 +7056,11 @@ export {
7053
7056
  copyText as c,
7054
7057
  isDarkColor as d,
7055
7058
  enumToArray as e,
7056
- yxSubscribe as f,
7059
+ isTabActive as f,
7057
7060
  getCownDownTime as g,
7058
- commonjsRequire as h,
7061
+ yxSubscribe as h,
7059
7062
  isColorEqual as i,
7063
+ commonjsRequire as j,
7060
7064
  mqtt_minExports as m,
7061
7065
  notifyMessageToSystems as n,
7062
7066
  receiveMessage as r,
Binary file