This repository was archived by the owner on Mar 10, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ <a name =" 0.130.0 " ></a >
2+ # [ 0.130.0] ( https://github.com/ipfs/interface-ipfs-core/compare/v0.129.0...v0.130.0 ) (2020-01-29)
3+
4+
5+ ### Code Refactoring
6+
7+ * return peer ids as strings ([ #581 ] ( https://github.com/ipfs/interface-ipfs-core/issues/581 ) ) ([ 153fd24] ( https://github.com/ipfs/interface-ipfs-core/commit/153fd24 ) )
8+
9+
10+ ### BREAKING CHANGES
11+
12+ * Where ` PeerID ` s were previously [ CID] s, now they are Strings
13+
14+ - ` ipfs.bitswap.stat().peers[n] ` is now a String (was a CID)
15+ - ` ipfs.dht.findPeer().id ` is now a String (was a CID)
16+ - ` ipfs.dht.findProvs()[n].id ` is now a String (was a CID)
17+ - ` ipfs.dht.provide()[n].id ` is now a String (was a CID)
18+ - ` ipfs.dht.put()[n].id ` is now a String (was a CID)
19+ - ` ipfs.dht.query()[n].id ` is now a String (was a CID)
20+ - ` ipfs.id().id ` is now a String (was a CID)
21+ - ` ipfs.id().addresses[n] ` are now [ Multiaddr] s (were Strings)
22+
23+ [ CID ] : https://www.npmjs.com/package/cids
24+ [ Multiaddr ] : https://www.npmjs.com/package/multiaddr
25+
26+
27+
128<a name =" 0.129.0 " ></a >
229# [ 0.129.0] ( https://github.com/ipfs/interface-ipfs-core/compare/v0.128.0...v0.129.0 ) (2020-01-23)
330
You can’t perform that action at this time.
0 commit comments