@lvce-editor/renderer-process 9.2.0 → 9.3.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.
|
@@ -836,14 +836,7 @@ const invoke$2 = async (ipc, method, ...params) => {
|
|
|
836
836
|
const result = unwrapJsonRpcResult(responseMessage);
|
|
837
837
|
return result;
|
|
838
838
|
};
|
|
839
|
-
|
|
840
|
-
// TODO deprecated old typings,
|
|
841
|
-
// always use automatic transferrable detection
|
|
842
|
-
const invokeAndTransfer$1 = async (ipc, handle, method, ...params) => {
|
|
843
|
-
if (typeof handle === 'string') {
|
|
844
|
-
params = [method, ...params];
|
|
845
|
-
method = handle;
|
|
846
|
-
}
|
|
839
|
+
const invokeAndTransfer$1 = async (ipc, method, ...params) => {
|
|
847
840
|
const {
|
|
848
841
|
message,
|
|
849
842
|
promise
|