Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

fix: update ipfs repo #3671

Merged
merged 2 commits into from
May 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/custom-ipfs-repo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"datastore-fs": "4.0.0",
"ipfs": "^0.54.4",
"ipfs-repo": "^9.1.4",
"ipfs-repo": "^9.1.6",
"it-all": "^1.0.4"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion examples/running-multiple-nodes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ await IPFS.create({
'/ip4/127.0.0.1/tcp/4013/ws'
],
API: '/ip4/127.0.0.1/tcp/5012',
Gateway: '/ip4/127.0.0.1/tcp/9191'
Gateway: '/ip4/127.0.0.1/tcp/9191',
RPC: '/ip4/127.0.0.1/tcp/4839'
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion examples/running-multiple-nodes/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ async function startCliNode () {
await execa(ipfs, ['config', 'Addresses.Swarm', '--json', JSON.stringify([`/ip4/0.0.0.0/tcp/0`, `/ip4/127.0.0.1/tcp/0/ws`])], opts)
await execa(ipfs, ['config', 'Addresses.API', `/ip4/127.0.0.1/tcp/0`], opts)
await execa(ipfs, ['config', 'Addresses.Gateway', `/ip4/127.0.0.1/tcp/0`], opts)
await execa(ipfs, ['config', 'Addresses.RPC', `/ip4/127.0.0.1/tcp/0`], opts)

return waitForOutput('Daemon is ready', ipfs, ['daemon'], opts)
}
Expand All @@ -53,7 +54,8 @@ async function startProgramaticNode () {
`/ip4/127.0.0.1/tcp/0/ws`
],
API: `/ip4/127.0.0.1/tcp/0`,
Gateway: `/ip4/127.0.0.1/tcp/0`
Gateway: `/ip4/127.0.0.1/tcp/0`,
RPC: `/ip4/127.0.0.1/tcp/0`
},
Bootstrap: []
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"ipfs-core-utils": "^0.7.2",
"ipfs-daemon": "^0.5.4",
"ipfs-http-client": "^49.0.4",
"ipfs-repo": "^9.1.4",
"ipfs-repo": "^9.1.6",
"ipfs-utils": "^7.0.0",
"ipld-dag-cbor": "^1.0.0",
"ipld-dag-pb": "^0.22.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-core-types/src/config/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export interface AddressConfig {
}

export interface APIConfig {
HTTPHeaders?: Record<string, string>
HTTPHeaders?: Record<string, string[]>
}

export interface DiscoveryConfig {
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"ipfs-block-service": "^0.19.0",
"ipfs-core-types": "^0.3.1",
"ipfs-core-utils": "^0.7.2",
"ipfs-repo": "^9.1.4",
"ipfs-repo": "^9.1.6",
"ipfs-unixfs": "^4.0.3",
"ipfs-unixfs-exporter": "^5.0.3",
"ipfs-unixfs-importer": "^7.0.3",
Expand Down