@lvce-editor/embeds-worker 2.1.0 → 2.2.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.
@@ -756,6 +756,9 @@ const createRpc = ipc => {
756
756
  },
757
757
  invokeAndTransfer(method, ...params) {
758
758
  return invokeAndTransfer$1(ipc, method, ...params);
759
+ },
760
+ async dispose() {
761
+ await ipc?.dispose();
759
762
  }
760
763
  };
761
764
  return rpc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/embeds-worker",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "",
5
5
  "main": "dist/embedsWorkerMain.js",
6
6
  "type": "module",