@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.
- package/dist/index.js +3 -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
|
};
|