diff --git a/packages/interop/.aegir.js b/packages/interop/.aegir.js index 498799a..35da9fa 100644 --- a/packages/interop/.aegir.js +++ b/packages/interop/.aegir.js @@ -12,7 +12,7 @@ export default { host: '127.0.0.1', port: ipfsdPort }, { - ipfsBin: (await import('go-ipfs')).default.path(), + ipfsBin: (await import('kubo')).default.path(), kuboRpcModule: kuboRpcClient, ipfsOptions: { config: { diff --git a/packages/interop/package.json b/packages/interop/package.json index 549fd8e..99c135c 100644 --- a/packages/interop/package.json +++ b/packages/interop/package.json @@ -58,10 +58,10 @@ "aegir": "^41.0.0", "blockstore-core": "^4.0.1", "datastore-core": "^9.0.3", - "go-ipfs": "^0.22.0", "helia": "^2.0.3", "ipfs-core-types": "^0.14.0", "ipfsd-ctl": "^13.0.0", + "kubo": "^0.23.0", "kubo-rpc-client": "^3.0.0", "libp2p": "^0.46.12", "merge-options": "^3.0.4", @@ -70,7 +70,7 @@ }, "browser": { "./dist/test/fixtures/create-helia.js": "./dist/test/fixtures/create-helia.browser.js", - "go-ipfs": false + "kubo": false }, "private": true, "typedoc": { diff --git a/packages/interop/test/fixtures/create-kubo.ts b/packages/interop/test/fixtures/create-kubo.ts index c032e86..75f2281 100644 --- a/packages/interop/test/fixtures/create-kubo.ts +++ b/packages/interop/test/fixtures/create-kubo.ts @@ -1,5 +1,5 @@ -import * as goIpfs from 'go-ipfs' import { type Controller, type ControllerOptions, createController } from 'ipfsd-ctl' +import * as kubo from 'kubo' import * as kuboRpcClient from 'kubo-rpc-client' import mergeOptions from 'merge-options' import { isElectronMain, isNode } from 'wherearewe' @@ -7,7 +7,7 @@ import { isElectronMain, isNode } from 'wherearewe' export async function createKuboNode (options: ControllerOptions<'go'> = {}): Promise { const opts = mergeOptions({ kuboRpcModule: kuboRpcClient, - ipfsBin: isNode || isElectronMain ? goIpfs.path() : undefined, + ipfsBin: isNode || isElectronMain ? kubo.path() : undefined, test: true, endpoint: process.env.IPFSD_SERVER, ipfsOptions: {