Skip to content

Commit f13daae

Browse files
authored
deps: go-ipfs -> kubo (#53)
1 parent 6c68f4e commit f13daae

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/interop/.aegir.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default {
1212
host: '127.0.0.1',
1313
port: ipfsdPort
1414
}, {
15-
ipfsBin: (await import('go-ipfs')).default.path(),
15+
ipfsBin: (await import('kubo')).default.path(),
1616
kuboRpcModule: kuboRpcClient,
1717
ipfsOptions: {
1818
config: {

packages/interop/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@
5858
"aegir": "^41.0.0",
5959
"blockstore-core": "^4.0.1",
6060
"datastore-core": "^9.0.3",
61-
"go-ipfs": "^0.22.0",
6261
"helia": "^2.0.3",
6362
"ipfs-core-types": "^0.14.0",
6463
"ipfsd-ctl": "^13.0.0",
64+
"kubo": "^0.23.0",
6565
"kubo-rpc-client": "^3.0.0",
6666
"libp2p": "^0.46.12",
6767
"merge-options": "^3.0.4",
@@ -70,7 +70,7 @@
7070
},
7171
"browser": {
7272
"./dist/test/fixtures/create-helia.js": "./dist/test/fixtures/create-helia.browser.js",
73-
"go-ipfs": false
73+
"kubo": false
7474
},
7575
"private": true,
7676
"typedoc": {

packages/interop/test/fixtures/create-kubo.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import * as goIpfs from 'go-ipfs'
21
import { type Controller, type ControllerOptions, createController } from 'ipfsd-ctl'
2+
import * as kubo from 'kubo'
33
import * as kuboRpcClient from 'kubo-rpc-client'
44
import mergeOptions from 'merge-options'
55
import { isElectronMain, isNode } from 'wherearewe'
66

77
export async function createKuboNode (options: ControllerOptions<'go'> = {}): Promise<Controller> {
88
const opts = mergeOptions({
99
kuboRpcModule: kuboRpcClient,
10-
ipfsBin: isNode || isElectronMain ? goIpfs.path() : undefined,
10+
ipfsBin: isNode || isElectronMain ? kubo.path() : undefined,
1111
test: true,
1212
endpoint: process.env.IPFSD_SERVER,
1313
ipfsOptions: {

0 commit comments

Comments
 (0)