@ws-ui/store 0.2.12 → 0.2.14

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 CHANGED
@@ -9057,9 +9057,7 @@ const YP = () => hR(), qn = yR, Xc = W(
9057
9057
  ), GD = (...e) => W(
9058
9058
  Ja,
9059
9059
  (n) => e.length > 0 ? Re.pick(n, e) : n
9060
- ), qD = (e) => W(Ja, (n) => n[e]), YD = (e) => W(Ja, (n) => [
9061
- "states"
9062
- ].includes(e) ? !0 : !!n[`features.experimental.${e}`]), PR = W(
9060
+ ), qD = (e) => W(Ja, (n) => n[e]), YD = (e) => W(Ja, (n) => ["states"].includes(e) ? !0 : !!n[`features.experimental.${e}`]), PR = W(
9063
9061
  (e) => e.settings,
9064
9062
  (e) => e.project
9065
9063
  ), zD = W(
@@ -12959,7 +12957,7 @@ const Yg = Vt({
12959
12957
  ...t,
12960
12958
  // update error time (to force re-rendering)
12961
12959
  time: Date.now()
12962
- }, (t == null ? void 0 : t.type) === ic.SOCKET_CLOSURE && !(t != null && t.reason) && e.meta.state === Ar.DETACHED)
12960
+ }, (t == null ? void 0 : t.type) === ic.SOCKET_CLOSURE && (t == null ? void 0 : t.code) === 1e3 && !(t != null && t.reason) && e.meta.state === Ar.DETACHED)
12963
12961
  return;
12964
12962
  }
12965
12963
  e.meta.state = n.payload.state;