@lvce-editor/ipc 7.3.0 → 7.4.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -582,11 +582,12 @@ const listen$1 = ({
582
582
  };
583
583
  const getData = (event, message) => {
584
584
  const {
585
- ports
585
+ ports,
586
+ sender
586
587
  } = event;
587
588
  const data = {
588
589
  ...message,
589
- params: [...message.params, ...ports]
590
+ params: [...message.params, ...ports, sender.id]
590
591
  };
591
592
  return data;
592
593
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/ipc",
3
- "version": "7.3.0",
3
+ "version": "7.4.0",
4
4
  "description": "Inter Process Communication for Lvce Editor",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",