@lvce-editor/about-view 7.20.1 → 7.20.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.
@@ -2519,20 +2519,10 @@ var handleClick = async (state, name) => {
2519
2519
  return state;
2520
2520
  };
2521
2521
 
2522
- // packages/notification-center-view/src/parts/HandleNotificationsChanged/HandleNotificationsChanged.ts
2523
- var handleNotificationsChanged = (state, notifications) => {
2524
- return { ...state, notifications };
2525
- };
2526
-
2527
2522
  // packages/notification-center-view/src/parts/HandleNotificationsChangedAll/HandleNotificationsChangedAll.ts
2528
- var handleNotificationsChangedAll = (notifications) => {
2523
+ var handleNotificationsChangedAll = async (notifications) => {
2529
2524
  for (const uid of getKeys()) {
2530
- const { newState, oldState } = get3(uid);
2531
- const newerState = handleNotificationsChanged(newState, notifications);
2532
- if (newState === newerState || oldState === newerState) {
2533
- continue;
2534
- }
2535
- set8(uid, oldState, newerState);
2525
+ await RendererWorker_exports.invoke("Viewlet.executeViewletCommand", uid, "handleNotificationsChanged", notifications);
2536
2526
  }
2537
2527
  };
2538
2528
 
@@ -2545,6 +2535,11 @@ var handleExtensionManagementMessagePort = async (port) => {
2545
2535
  ExtensionManagementWorker_exports.set(rpc);
2546
2536
  };
2547
2537
 
2538
+ // packages/notification-center-view/src/parts/HandleNotificationsChanged/HandleNotificationsChanged.ts
2539
+ var handleNotificationsChanged = (state, notifications) => {
2540
+ return { ...state, notifications };
2541
+ };
2542
+
2548
2543
  // packages/notification-center-view/src/parts/LoadContent/LoadContent.ts
2549
2544
  var loadContent = async (state) => {
2550
2545
  const notifications = await ExtensionManagementWorker_exports.invoke("Extensions.getNotifications");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/about-view",
3
- "version": "7.20.1",
3
+ "version": "7.20.3",
4
4
  "description": "About View Worker",
5
5
  "keywords": [
6
6
  "about-view"