@stlite/desktop 0.30.0 → 0.30.1

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.
@@ -45,6 +45,10 @@ const createWindow = () => {
45
45
  const streamlitAppDir = path.resolve(__dirname, "../streamlit_app");
46
46
  return (0, file_1.walkRead)(streamlitAppDir);
47
47
  });
48
+ mainWindow.on("closed", () => {
49
+ electron_1.ipcMain.removeHandler("readSitePackagesSnapshot");
50
+ electron_1.ipcMain.removeHandler("readStreamlitAppDirectory");
51
+ });
48
52
  // Even when the entrypoint is a local file like the production build,
49
53
  // we use .loadURL() with an absolute URL with the `file://` schema
50
54
  // instead of passing a file path to .loadFile()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stlite/desktop",
3
- "version": "0.30.0",
3
+ "version": "0.30.1",
4
4
  "license": "Apache-2.0",
5
5
  "homepage": "/",
6
6
  "main": "./build/electron/main.js",
@@ -57,9 +57,9 @@
57
57
  },
58
58
  "devDependencies": {
59
59
  "@craco/craco": "^7.0.0",
60
- "@stlite/common": "^0.30.0",
61
- "@stlite/common-react": "^0.30.0",
62
- "@stlite/kernel": "^0.30.0",
60
+ "@stlite/common": "^0.30.1",
61
+ "@stlite/common-react": "^0.30.1",
62
+ "@stlite/kernel": "^0.30.1",
63
63
  "@testing-library/react": "^12.1.4",
64
64
  "@testing-library/user-event": "^14.0.0",
65
65
  "@types/jest": "^27.4.3",