@lvce-editor/search-process 9.0.0 → 9.1.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 +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1260,6 +1260,10 @@ const handleElectronMessagePort = async messagePort => {
1260
1260
  };
1261
1261
 
1262
1262
  const handleWebSocket = async (handle, request) => {
1263
+ if (!handle || !request) {
1264
+ // socket might have been closed during transfer
1265
+ return;
1266
+ }
1263
1267
  object(handle);
1264
1268
  object(request);
1265
1269
  await NodeWebSocketRpcClient.create({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/search-process",
3
- "version": "9.0.0",
3
+ "version": "9.1.0",
4
4
  "description": "Search Process",
5
5
  "keywords": [
6
6
  "Lvce Editor",