@lvce-editor/extension-host-worker 1.8.0 → 1.9.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.
@@ -2201,9 +2201,9 @@ const createWebView = async (providerId, port, uri, uid, origin) => {
2201
2201
  // TODO allow creating multiple webviews per provider
2202
2202
  setWebView(providerId, rpc);
2203
2203
  };
2204
- const load = async providerId => {
2204
+ const load = async (providerId, savedState) => {
2205
2205
  const rpc = getWebView(providerId);
2206
- await rpc.provider.create(rpc, rpc.uri);
2206
+ await rpc.provider.create(rpc, rpc.uri, savedState);
2207
2207
  };
2208
2208
  const disposeWebView = id => {
2209
2209
  // TODO race condition
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/extension-host-worker",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "Webworker for the extension host functionality in Lvce Editor.",
5
5
  "main": "dist/extensionHostWorkerMain.js",
6
6
  "type": "module",