Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Nov 28, 2016
1 parent afd44c0 commit 7f93c84
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ A complete API definition is in the works. Meanwhile, you can learn how to you u
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:
- [libp2p-ipfs](https://github.com/ipfs/js-libp2p-ipfs)
- [libp2p-ipfs-nodejs](https://github.com/ipfs/js-libp2p-ipfs-nodejs)
- [libp2p-ipfs-browser](https://github.com/ipfs/js-libp2p-ipfs-browser)
## Development
Expand Down
2 changes: 1 addition & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ UPDATE:
- [x] Do not assume that the Public Key is only transfered in secio
- [x] Websockets support (really nice to have)
- [x] use the defined protocol multicodecs https://github.com/ipfs/specs/blob/master/libp2p/7-properties.md#757-protocol-multicodecs
- [x] go-libp2p scripts for libp2p interop testing https://github.com/ipfs/js-libp2p-ipfs/issues/15
- [x] go-libp2p scripts for libp2p interop testing https://github.com/ipfs/js-libp2p-ipfs-nodejs/issues/15

### Notes:

Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"main": "src/core/index.js",
"browser": {
"libp2p-ipfs": "libp2p-ipfs-browser",
"libp2p-ipfs-nodejs": "libp2p-ipfs-browser",
"./src/core/default-repo.js": "./src/core/default-repo-browser.js",
"./src/core/components/init-assets.js": false,
"./test/utils/temp-repo.js": "./test/utils/temp-repo-browser.js",
Expand Down Expand Up @@ -86,13 +86,13 @@
"ipfs-block-service": "^0.7.0",
"ipfs-multipart": "^0.1.0",
"ipfs-repo": "^0.11.1",
"ipfs-unixfs": "^0.1.5",
"ipfs-unixfs": "^0.1.8",
"ipfs-unixfs-engine": "^0.14.0",
"ipld-resolver": "^0.3.0",
"isstream": "^0.1.2",
"joi": "^10.0.1",
"libp2p-ipfs": "^0.15.0",
"libp2p-ipfs-browser": "^0.16.0",
"libp2p-ipfs-nodejs": "^0.16.0",
"libp2p-ipfs-browser": "^0.17.0",
"lodash.flatmap": "^4.5.0",
"lodash.get": "^4.4.2",
"lodash.has": "^4.5.2",
Expand All @@ -119,7 +119,7 @@
"stream-to-pull-stream": "^1.7.2",
"tar-stream": "^1.5.2",
"temp": "^0.8.3",
"through2": "^2.0.1",
"through2": "^2.0.2",
"update-notifier": "^1.0.2",
"yargs": "^6.4.0"
},
Expand Down Expand Up @@ -149,4 +149,4 @@
"nginnever <ginneversource@gmail.com>",
"npmcdn-to-unpkg-bot <npmcdn-to-unpkg-bot@users.noreply.github.com>"
]
}
}
4 changes: 2 additions & 2 deletions src/core/components/libp2p.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
'use strict'

const Libp2pNode = require('libp2p-ipfs').Node
const Node = require('libp2p-ipfs-nodejs')
const promisify = require('promisify-es6')

module.exports = function libp2p (self) {
// TODO Just expose libp2p API directly, this start stop wrapping doesn't make that much sense anymore :)
return {
start: promisify((callback) => {
self._libp2pNode = new Libp2pNode(self._peerInfo)
self._libp2pNode = new Node(self._peerInfo)
self._libp2pNode.start((err) => {
if (err) {
return callback(err)
Expand Down

0 comments on commit 7f93c84

Please sign in to comment.