@lvce-editor/activity-bar-worker 7.15.1 → 7.16.0

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.
@@ -3661,6 +3661,13 @@ const setUserLoginState = (state, userLoginState, userInfo) => {
3661
3661
  };
3662
3662
  };
3663
3663
 
3664
+ const sleep = uid => {
3665
+ const {
3666
+ newState
3667
+ } = get$2(uid);
3668
+ return newState;
3669
+ };
3670
+
3664
3671
  const toggleActivityBarItem = async (state, itemId) => {
3665
3672
  const {
3666
3673
  activityBarItems,
@@ -3685,6 +3692,10 @@ const toggleActivityBarItem = async (state, itemId) => {
3685
3692
  };
3686
3693
  };
3687
3694
 
3695
+ const wakeUp = sleepState => {
3696
+ set$3(sleepState.uid, sleepState, sleepState);
3697
+ };
3698
+
3688
3699
  const commandMap = {
3689
3700
  'ActivityBar.create': create$9,
3690
3701
  'ActivityBar.diff2': diff2,
@@ -3725,8 +3736,10 @@ const commandMap = {
3725
3736
  'ActivityBar.selectCurrent': wrapCommand(selectCurrent),
3726
3737
  'ActivityBar.setAccountEnabled': wrapCommand(setAccountEnabled),
3727
3738
  'ActivityBar.setUserLoginState': wrapCommand(setUserLoginState),
3739
+ 'ActivityBar.sleep': sleep,
3728
3740
  'ActivityBar.terminate': terminate,
3729
- 'ActivityBar.toggleActivityBarItem': wrapCommand(toggleActivityBarItem)
3741
+ 'ActivityBar.toggleActivityBarItem': wrapCommand(toggleActivityBarItem),
3742
+ 'ActivityBar.wakeUp': wakeUp
3730
3743
  };
3731
3744
 
3732
3745
  const send = async port => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/activity-bar-worker",
3
- "version": "7.15.1",
3
+ "version": "7.16.0",
4
4
  "description": "Explorer Worker",
5
5
  "repository": {
6
6
  "type": "git",