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

Commit 7f93c84

Browse files
committed
chore: update dependencies
1 parent afd44c0 commit 7f93c84

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ A complete API definition is in the works. Meanwhile, you can learn how to you u
199199
200200
Every IPFS instance also exposes the libp2p API at `ipfs.libp2p`. The formal interface for this API hasn't been defined by you can find documentation at its implementations:
201201
202-
- [libp2p-ipfs](https://github.com/ipfs/js-libp2p-ipfs)
202+
- [libp2p-ipfs-nodejs](https://github.com/ipfs/js-libp2p-ipfs-nodejs)
203203
- [libp2p-ipfs-browser](https://github.com/ipfs/js-libp2p-ipfs-browser)
204204
205205
## Development

ROADMAP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ UPDATE:
9696
- [x] Do not assume that the Public Key is only transfered in secio
9797
- [x] Websockets support (really nice to have)
9898
- [x] use the defined protocol multicodecs https://github.com/ipfs/specs/blob/master/libp2p/7-properties.md#757-protocol-multicodecs
99-
- [x] go-libp2p scripts for libp2p interop testing https://github.com/ipfs/js-libp2p-ipfs/issues/15
99+
- [x] go-libp2p scripts for libp2p interop testing https://github.com/ipfs/js-libp2p-ipfs-nodejs/issues/15
100100

101101
### Notes:
102102

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"main": "src/core/index.js",
99
"browser": {
10-
"libp2p-ipfs": "libp2p-ipfs-browser",
10+
"libp2p-ipfs-nodejs": "libp2p-ipfs-browser",
1111
"./src/core/default-repo.js": "./src/core/default-repo-browser.js",
1212
"./src/core/components/init-assets.js": false,
1313
"./test/utils/temp-repo.js": "./test/utils/temp-repo-browser.js",
@@ -86,13 +86,13 @@
8686
"ipfs-block-service": "^0.7.0",
8787
"ipfs-multipart": "^0.1.0",
8888
"ipfs-repo": "^0.11.1",
89-
"ipfs-unixfs": "^0.1.5",
89+
"ipfs-unixfs": "^0.1.8",
9090
"ipfs-unixfs-engine": "^0.14.0",
9191
"ipld-resolver": "^0.3.0",
9292
"isstream": "^0.1.2",
9393
"joi": "^10.0.1",
94-
"libp2p-ipfs": "^0.15.0",
95-
"libp2p-ipfs-browser": "^0.16.0",
94+
"libp2p-ipfs-nodejs": "^0.16.0",
95+
"libp2p-ipfs-browser": "^0.17.0",
9696
"lodash.flatmap": "^4.5.0",
9797
"lodash.get": "^4.4.2",
9898
"lodash.has": "^4.5.2",
@@ -119,7 +119,7 @@
119119
"stream-to-pull-stream": "^1.7.2",
120120
"tar-stream": "^1.5.2",
121121
"temp": "^0.8.3",
122-
"through2": "^2.0.1",
122+
"through2": "^2.0.2",
123123
"update-notifier": "^1.0.2",
124124
"yargs": "^6.4.0"
125125
},
@@ -149,4 +149,4 @@
149149
"nginnever <[email protected]>",
150150
"npmcdn-to-unpkg-bot <[email protected]>"
151151
]
152-
}
152+
}

src/core/components/libp2p.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
'use strict'
22

3-
const Libp2pNode = require('libp2p-ipfs').Node
3+
const Node = require('libp2p-ipfs-nodejs')
44
const promisify = require('promisify-es6')
55

66
module.exports = function libp2p (self) {
77
// TODO Just expose libp2p API directly, this start stop wrapping doesn't make that much sense anymore :)
88
return {
99
start: promisify((callback) => {
10-
self._libp2pNode = new Libp2pNode(self._peerInfo)
10+
self._libp2pNode = new Node(self._peerInfo)
1111
self._libp2pNode.start((err) => {
1212
if (err) {
1313
return callback(err)

0 commit comments

Comments
 (0)