@pmate/cli 0.42.5 → 0.42.6

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.
@@ -22,8 +22,9 @@ function installDesktopApps({ ipcMain, BrowserWindow, session, config, installNa
22
22
  webPreferences: { session, nodeIntegration: false, contextIsolation: true, sandbox: true, webSecurity: true },
23
23
  })
24
24
  children.add(child)
25
- microphoneOrigins.set(child.webContents, target.origin)
26
- child.on('closed', () => { children.delete(child); microphoneOrigins.delete(child.webContents) })
25
+ const contents = child.webContents
26
+ microphoneOrigins.set(contents, target.origin)
27
+ child.on('closed', () => { children.delete(child); microphoneOrigins.delete(contents) })
27
28
  // The child application owns its own document links. Keep shared authentication
28
29
  // origins available in Electron, without inheriting Merry's external-link policy.
29
30
  installNavigationRestrictions(child, { ...config, origin: target.origin, externalOrigins: [] }, openExternal)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pmate/cli",
3
- "version": "0.42.5",
3
+ "version": "0.42.6",
4
4
  "description": "CLI utilities for the pMate project",
5
5
  "license": "MIT",
6
6
  "bin": {