Skip to content

Commit

Permalink
feat(interprocess): release v0.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
daltonmenezes committed Aug 1, 2023
1 parent 1a7b808 commit d53553e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
8 changes: 8 additions & 0 deletions packages/interprocess/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# interprocess

## 0.2.6

### Patch Changes

- fix: window.webContents.send to be catchable
- fix: where main or renderer handlers declaration are omitted and thrown undefined
- chore: docs and requirements

## 0.2.5

### Patch Changes
Expand Down
7 changes: 7 additions & 0 deletions packages/interprocess/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
- 🕸️ All edges connected (APIs to handle all processes)
- 💖 `invoke` and `handle` methods in both processes with the same expected behavior

# Requirements
- Node.js >= 14.0.0
- Electron >= 12.0.0
- TypeScript >= 4.8.0

# 💬 Installation
In your terminal, run:
```bash
Expand Down Expand Up @@ -84,6 +89,8 @@ export const { ipcMain, ipcRenderer, exposeApiToGlobalWindow } =

On the **main process**:

> :warning: Don't forget to add `sandbox: false` to the BrowserWindow because it's required to load the preload script properly!
```ts
import { BrowserWindow, app } from 'electron'

Expand Down
2 changes: 1 addition & 1 deletion packages/interprocess/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "interprocess",
"version": "0.2.5",
"version": "0.2.6",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit d53553e

Please sign in to comment.