Skip to content

Commit

Permalink
updated pear-ipc exports
Browse files Browse the repository at this point in the history
  • Loading branch information
rafapaezbas committed Nov 7, 2024
1 parent c2e86e3 commit 05b1b1a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ crasher('cli', SWAP)
cli()

async function cli () {
const ipc = new IPC.PearIPCClient({
const ipc = new IPC.Client({
lock: PLATFORM_LOCK,
socketPath: SOCKET_PATH,
connectTimeout: CONNECT_TIMEOUT,
Expand Down
2 changes: 1 addition & 1 deletion gui/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ class PearGUI extends ReadyResource {
constructor ({ socketPath, connectTimeout, tryboot, state }) {
super()
this.state = state
this.ipc = new IPC.PearIPCClient({
this.ipc = new IPC.Client({
lock: constants.PLATFORM_LOCK,
socketPath,
connectTimeout,
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"paparam": "^1.4.0",
"pear-changelog": "^1.0.1",
"pear-interface": "^1.0.0",
"pear-ipc": "github:holepunchto/pear-ipc#refactor",
"pear-ipc": "^3.0.0",
"pear-link": "^2.0.1",
"pear-updater": "^3.1.0",
"pear-updater-bootstrap": "^1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion subsystems/sidecar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class Sidecar extends ReadyResource {
this.corestore = corestore
this.gunk = gunk

this.ipc = new IPC.PearIPCServer({
this.ipc = new IPC.Server({
handlers: this,
lock: PLATFORM_LOCK,
socketPath: SOCKET_PATH
Expand Down
2 changes: 1 addition & 1 deletion test/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class OperationError extends Error {
}
}

class Helper extends IPC.PearIPCClient {
class Helper extends IPC.Client {
static Rig = Rig
static tmp = tmp
static PLATFORM_DIR = PLATFORM_DIR
Expand Down

0 comments on commit 05b1b1a

Please sign in to comment.