Skip to content

Commit

Permalink
fix!: update libp2p deps to 2.x.x (#846)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: uses libp2p@2.x.x deps
  • Loading branch information
achingbrain authored Sep 12, 2024
1 parent 9fd1036 commit 04479ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@
"dependencies": {
"@hapi/boom": "^10.0.0",
"@hapi/hapi": "^21.1.0",
"@libp2p/interface": "^1.2.0",
"@libp2p/logger": "^4.0.10",
"execa": "^8.0.1",
"@libp2p/interface": "^2.0.1",
"@libp2p/logger": "^5.0.1",
"execa": "^9.3.1",
"joi": "^17.2.1",
"kubo-rpc-client": "^4.0.1",
"kubo-rpc-client": "^5.0.0",
"merge-options": "^3.0.1",
"nanoid": "^5.0.7",
"p-defer": "^4.0.1",
Expand Down
4 changes: 2 additions & 2 deletions src/kubo/daemon.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from 'node:fs/promises'
import { logger } from '@libp2p/logger'
import { execa, type ExecaChildProcess } from 'execa'
import { execa, type ResultPromise } from 'execa'
import mergeOptions from 'merge-options'
import pDefer from 'p-defer'
import waitFor from 'p-wait-for'
Expand All @@ -25,7 +25,7 @@ export default class KuboDaemon implements KuboNode {
public options: KuboOptions & Required<Pick<KuboOptions, 'rpc'>>

private readonly disposable: boolean
private subprocess?: ExecaChildProcess
private subprocess?: ResultPromise
private _api?: KuboRPCClient
private readonly repo: string
private readonly stdout: Logger
Expand Down

0 comments on commit 04479ec

Please sign in to comment.