single-file-core 1.6.29 → 1.6.30
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.
package/package.json
CHANGED
|
@@ -104,7 +104,9 @@ if (TOP_WINDOW) {
|
|
|
104
104
|
return Promise.resolve({});
|
|
105
105
|
} else if (message.method == GET_OPTIONS_MESSAGE) {
|
|
106
106
|
const session = sessions.get(message.sessionId);
|
|
107
|
-
|
|
107
|
+
if (session) {
|
|
108
|
+
return Promise.resolve({ options: session.options });
|
|
109
|
+
}
|
|
108
110
|
}
|
|
109
111
|
});
|
|
110
112
|
}
|