-
Notifications
You must be signed in to change notification settings - Fork 18
update the dial interface to cope with new pull additions #8
Conversation
@@ -96,12 +94,7 @@ This method dials a transport to the Peer listening on `multiaddr`. | |||
|
|||
`callback` should follow the `function (err, conn)` signature. | |||
|
|||
`conn` is the same `conn` that gets returned by call, which should follow [`interface-connection`](https://github.com/diasdavid/interface-connection). This `conn` object can emit 3 extra events: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The callback now has the signature of only function (err)
not with the conn
inside
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't want to leave the conn inside too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not at this point at least
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to keep it there too, it is convenient when used with waterfall flows, fine :)
@@ -15,9 +30,12 @@ | |||
"url": "https://github.com/diasdavid/interface-transport/issues" | |||
}, | |||
"homepage": "https://github.com/diasdavid/interface-transport", | |||
"devDependencies": {}, | |||
"devDependencies": { | |||
"aegir": "^7.0.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is aegir 7 working?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sometimes :D
I see you added tests 👍 now it needs a rebase :) |
72f1241
to
aff8834
Compare
99abe2c
to
9e489b2
Compare
9e489b2
to
d50224d
Compare
No description provided.