Skip to content

Commit

Permalink
fix!: update multiformats (#1535)
Browse files Browse the repository at this point in the history
`multiformats@11.x.x` shipped with a [breaking change](multiformats/js-multiformats#230) to the return type of the `.toJSON` method of the `CID` class so update all deps using multiformats to the latest version.
  • Loading branch information
achingbrain authored Jan 7, 2023
1 parent 40fe372 commit ea8f279
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 30 deletions.
8 changes: 4 additions & 4 deletions examples/delegated-routing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"ipfs-core": "^0.15.4",
"ipfs-http-client": "^58.0.1",
"libp2p": "../../",
"@libp2p/delegated-content-routing": "^3.0.0",
"@libp2p/delegated-peer-routing": "^3.0.0",
"@libp2p/kad-dht": "^5.0.1",
"@libp2p/delegated-content-routing": "^4.0.0",
"@libp2p/delegated-peer-routing": "^4.0.0",
"@libp2p/kad-dht": "^7.0.0",
"@libp2p/mplex": "^7.0.0",
"@libp2p/webrtc-star": "^5.0.2",
"@libp2p/webrtc-star": "^6.0.0",
"@libp2p/websockets": "^5.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
Expand Down
4 changes: 2 additions & 2 deletions examples/libp2p-in-the-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"license": "ISC",
"dependencies": {
"@chainsafe/libp2p-noise": "^10.0.1",
"@libp2p/bootstrap": "^5.0.0",
"@libp2p/bootstrap": "^6.0.0",
"@libp2p/mplex": "^7.0.0",
"@libp2p/webrtc-star": "^5.0.2",
"@libp2p/webrtc-star": "^6.0.0",
"@libp2p/websockets": "^5.0.0",
"libp2p": "../../"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"license": "MIT",
"dependencies": {
"@libp2p/pubsub-peer-discovery": "^7.0.0",
"@libp2p/floodsub": "^5.0.0",
"@libp2p/pubsub-peer-discovery": "^8.0.0",
"@libp2p/floodsub": "^6.0.0",
"@nodeutils/defaults-deep": "^1.1.0",
"execa": "^6.1.0",
"fs-extra": "^10.1.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/webrtc-direct/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"license": "ISC",
"dependencies": {
"@libp2p/webrtc-direct": "^4.0.0",
"@libp2p/webrtc-direct": "^5.0.0",
"@chainsafe/libp2p-noise": "^10.0.1",
"@libp2p/bootstrap": "^5.0.0",
"@libp2p/mplex": "^7.0.0",
Expand Down
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@
"@libp2p/interface-connection": "^3.0.2",
"@libp2p/interface-connection-encrypter": "^3.0.1",
"@libp2p/interface-connection-manager": "^1.1.1",
"@libp2p/interface-content-routing": "^1.0.2",
"@libp2p/interface-dht": "^1.0.1",
"@libp2p/interface-content-routing": "^2.0.0",
"@libp2p/interface-dht": "^2.0.0",
"@libp2p/interface-libp2p": "^1.0.0",
"@libp2p/interface-metrics": "^4.0.0",
"@libp2p/interface-peer-discovery": "^1.0.1",
"@libp2p/interface-peer-id": "^1.0.4",
"@libp2p/interface-peer-id": "^2.0.0",
"@libp2p/interface-peer-info": "^1.0.3",
"@libp2p/interface-peer-routing": "^1.0.1",
"@libp2p/interface-peer-store": "^1.2.2",
Expand All @@ -116,11 +116,11 @@
"@libp2p/interfaces": "^3.0.3",
"@libp2p/logger": "^2.0.1",
"@libp2p/multistream-select": "^3.0.0",
"@libp2p/peer-collections": "^2.0.0",
"@libp2p/peer-id": "^1.1.15",
"@libp2p/peer-id-factory": "^1.0.18",
"@libp2p/peer-record": "^4.0.3",
"@libp2p/peer-store": "^5.0.0",
"@libp2p/peer-collections": "^3.0.0",
"@libp2p/peer-id": "^2.0.0",
"@libp2p/peer-id-factory": "^2.0.0",
"@libp2p/peer-record": "^5.0.0",
"@libp2p/peer-store": "^6.0.0",
"@libp2p/tracked-map": "^3.0.0",
"@libp2p/utils": "^3.0.2",
"@multiformats/mafmt": "^11.0.2",
Expand All @@ -146,7 +146,7 @@
"it-sort": "^2.0.0",
"it-stream-types": "^1.0.4",
"merge-options": "^3.0.4",
"multiformats": "^10.0.0",
"multiformats": "^11.0.0",
"node-forge": "^1.3.1",
"p-fifo": "^1.0.0",
"p-retry": "^5.0.0",
Expand All @@ -166,22 +166,22 @@
"devDependencies": {
"@chainsafe/libp2p-noise": "^10.0.1",
"@chainsafe/libp2p-yamux": "^3.0.3",
"@libp2p/bootstrap": "^5.0.0",
"@libp2p/daemon-client": "^3.0.5",
"@libp2p/daemon-server": "^3.0.4",
"@libp2p/floodsub": "^5.0.0",
"@libp2p/bootstrap": "^6.0.0",
"@libp2p/daemon-client": "^4.0.1",
"@libp2p/daemon-server": "^4.0.1",
"@libp2p/floodsub": "^6.0.0",
"@libp2p/interface-compliance-tests": "^3.0.2",
"@libp2p/interface-connection-compliance-tests": "^2.0.3",
"@libp2p/interface-connection-encrypter-compliance-tests": "^3.0.0",
"@libp2p/interface-mocks": "^8.0.0",
"@libp2p/interop": "^3.0.1",
"@libp2p/kad-dht": "^6.0.0",
"@libp2p/mdns": "^5.0.0",
"@libp2p/interface-connection-encrypter-compliance-tests": "^4.0.0",
"@libp2p/interface-mocks": "^9.0.0",
"@libp2p/interop": "^4.0.0",
"@libp2p/kad-dht": "^7.0.0",
"@libp2p/mdns": "^6.0.0",
"@libp2p/mplex": "^7.0.0",
"@libp2p/pubsub": "^5.0.0",
"@libp2p/pubsub": "^6.0.0",
"@libp2p/tcp": "^6.0.0",
"@libp2p/topology": "^3.0.1",
"@libp2p/webrtc-star": "^5.0.2",
"@libp2p/topology": "^4.0.0",
"@libp2p/webrtc-star": "^6.0.0",
"@libp2p/websockets": "^5.0.0",
"@types/node-forge": "^1.0.0",
"@types/p-fifo": "^1.0.0",
Expand Down

0 comments on commit ea8f279

Please sign in to comment.