-
Notifications
You must be signed in to change notification settings - Fork 20
Conversation
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.
LGTM 👍
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.
There are a number of occasions in this file where we're accessing the non-wrapped Key
class:
These all need to be changed otherwise they create Key
objects that don't have the '@ipfs/interface-datastore/key' symbol and so aren't considered to be instances of Key
when used with Key.isKey
.
@alanshaw just fixed your review. Thanks! |
@pgte can you drive this merge and get it released? |
@vasco-santos could you please rebase from master? |
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.
LGTM
ac11b5e
to
3cc97b3
Compare
Rebased @pgte ! |
3cc97b3
to
5a377ed
Compare
Landed on v0.6.0. |
As `instance of` fails using different versions of a module, it was changed to use `class-is`. Needs: - [x] [js-peer-id#84](libp2p/js-peer-id#84) - [x] [interface-datastore#24](ipfs/interface-datastore#24) Fixes #1615
The
instance of
fails when using different versions of a module. This way, we end up with problems using this in other places, such as js-ipfs/core/ipns/publisher.js#L93.In the context of js-ipfs/issues/1615