File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default {
12
12
host : '127.0.0.1' ,
13
13
port : ipfsdPort
14
14
} , {
15
- ipfsBin : ( await import ( 'go-ipfs ' ) ) . default . path ( ) ,
15
+ ipfsBin : ( await import ( 'kubo ' ) ) . default . path ( ) ,
16
16
kuboRpcModule : kuboRpcClient ,
17
17
ipfsOptions : {
18
18
config : {
Original file line number Diff line number Diff line change 58
58
"aegir" : " ^41.0.0" ,
59
59
"blockstore-core" : " ^4.0.1" ,
60
60
"datastore-core" : " ^9.0.3" ,
61
- "go-ipfs" : " ^0.22.0" ,
62
61
"helia" : " ^2.0.3" ,
63
62
"ipfs-core-types" : " ^0.14.0" ,
64
63
"ipfsd-ctl" : " ^13.0.0" ,
64
+ "kubo" : " ^0.23.0" ,
65
65
"kubo-rpc-client" : " ^3.0.0" ,
66
66
"libp2p" : " ^0.46.12" ,
67
67
"merge-options" : " ^3.0.4" ,
70
70
},
71
71
"browser" : {
72
72
"./dist/test/fixtures/create-helia.js" : " ./dist/test/fixtures/create-helia.browser.js" ,
73
- "go-ipfs " : false
73
+ "kubo " : false
74
74
},
75
75
"private" : true ,
76
76
"typedoc" : {
Original file line number Diff line number Diff line change 1
- import * as goIpfs from 'go-ipfs'
2
1
import { type Controller , type ControllerOptions , createController } from 'ipfsd-ctl'
2
+ import * as kubo from 'kubo'
3
3
import * as kuboRpcClient from 'kubo-rpc-client'
4
4
import mergeOptions from 'merge-options'
5
5
import { isElectronMain , isNode } from 'wherearewe'
6
6
7
7
export async function createKuboNode ( options : ControllerOptions < 'go' > = { } ) : Promise < Controller > {
8
8
const opts = mergeOptions ( {
9
9
kuboRpcModule : kuboRpcClient ,
10
- ipfsBin : isNode || isElectronMain ? goIpfs . path ( ) : undefined ,
10
+ ipfsBin : isNode || isElectronMain ? kubo . path ( ) : undefined ,
11
11
test : true ,
12
12
endpoint : process . env . IPFSD_SERVER ,
13
13
ipfsOptions : {
You can’t perform that action at this time.
0 commit comments