@lvce-editor/status-bar-worker 3.16.1 → 3.16.3

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.
@@ -1713,7 +1713,7 @@ const renderItems = (oldState, newState) => {
1713
1713
  uid
1714
1714
  } = newState;
1715
1715
  if (initial) {
1716
- return [SetDom2, uid, []];
1716
+ return [];
1717
1717
  }
1718
1718
  const dom = getStatusBarVirtualDom(statusBarItemsLeft, statusBarItemsRight);
1719
1719
  return [SetDom2, uid, dom];
@@ -1786,6 +1786,12 @@ const renderOutOfBand = async uid => {
1786
1786
  if (!isConnected()) {
1787
1787
  return;
1788
1788
  }
1789
+ const {
1790
+ newState
1791
+ } = get$3(uid);
1792
+ if (newState.initial) {
1793
+ return;
1794
+ }
1789
1795
  const diffResult = diff2(uid);
1790
1796
  if (diffResult.length === 0) {
1791
1797
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/status-bar-worker",
3
- "version": "3.16.1",
3
+ "version": "3.16.3",
4
4
  "description": "Status Bar Worker",
5
5
  "repository": {
6
6
  "type": "git",