@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