Skip to content

Commit

Permalink
fix: update libp2p
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-pousette committed Dec 31, 2023
1 parent 07ced3e commit d555de1
Show file tree
Hide file tree
Showing 11 changed files with 730 additions and 853 deletions.
2 changes: 1 addition & 1 deletion packages/clients/peerbit-server/test-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"devDependencies": {
"@peerbit/test-utils": "*",
"libp2p": "^1.0.11"
"libp2p": "^1.1.0"
},
"dependencies": {
"@peerbit/string": "*",
Expand Down
12 changes: 6 additions & 6 deletions packages/clients/peerbit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@
"@peerbit/uint8arrays": "3.0.1",
"datastore-level": "^10.1.5",
"@dao-xyz/libp2p-noise": "^14.1.2",
"@libp2p/mplex": "^10.0.8",
"@libp2p/mplex": "^10.0.9",
"@chainsafe/libp2p-yamux": "^6.0.1",
"@libp2p/webrtc": "^4.0.11",
"@libp2p/websockets": "^8.0.8",
"@libp2p/identify": "^1.0.7",
"@libp2p/circuit-relay-v2": "^1.0.8",
"@libp2p/tcp": "^9.0.8",
"@libp2p/webrtc": "^4.0.13",
"@libp2p/websockets": "^8.0.9",
"@libp2p/identify": "^1.0.8",
"@libp2p/circuit-relay-v2": "^1.0.9",
"@libp2p/tcp": "^9.0.9",
"level": "^8.0.0",
"memory-level": "^1.0.0",
"path-browserify": "^1.0.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/log/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@peerbit/blocks-interface": "^1.1.3",
"@peerbit/crypto": "1.0.10",
"@peerbit/logger": "1.0.1",
"libp2p": "^1.0.11",
"libp2p": "^1.1.0",
"p-queue": "^7.3.3",
"path-browserify": "^1.0.1",
"yallist": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/transport/blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@
"@peerbit/blocks-interface": "1.1.3",
"@peerbit/crypto": "1.0.10",
"@ipld/dag-cbor": "^9.0.2",
"libp2p": "^1.0.11"
"libp2p": "^1.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/transport/blocks/src/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as dagCbor from "@ipld/dag-cbor";
import { sha256 } from "multiformats/hashes/sha2";
import { base58btc } from "multiformats/bases/base58";
import * as Block from "multiformats/block";
import type { MultihashHasher } from "multiformats/hashes/hasher";
import type { MultihashHasher } from "multiformats/hashes/interface";

const unsupportedCodecError = () => new Error("unsupported codec");

Expand Down
14 changes: 7 additions & 7 deletions packages/transport/libp2p-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@
"license": "MIT",
"dependencies": {
"@dao-xyz/libp2p-noise": "^14.1.2",
"@libp2p/mplex": "^10.0.8",
"@libp2p/tcp": "^9.0.8",
"@libp2p/webrtc": "^4.0.11",
"@libp2p/websockets": "^8.0.8",
"@libp2p/identify": "^1.0.7",
"@libp2p/circuit-relay-v2": "^1.0.8",
"libp2p": "^1.0.11"
"@libp2p/mplex": "^10.0.9",
"@libp2p/tcp": "^9.0.9",
"@libp2p/webrtc": "^4.0.13",
"@libp2p/websockets": "^8.0.9",
"@libp2p/identify": "^1.0.8",
"@libp2p/circuit-relay-v2": "^1.0.9",
"libp2p": "^1.1.0"
},
"devDependencies": {
"@peerbit/time": "1.0.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/transport/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@
"@peerbit/stream": "1.0.20",
"@peerbit/logger": "1.0.1",
"@peerbit/uint8arrays": "3.0.1",
"libp2p": "^1.0.11"
"libp2p": "^1.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/transport/stream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@peerbit/cache": "1.1.1",
"@peerbit/crypto": "1.0.10",
"@peerbit/stream-interface": "^1.0.11",
"libp2p": "^1.0.11",
"libp2p": "^1.1.0",
"yallist": "^4.0.0",
"abortable-iterator": "^5.0.1"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@peerbit/stream": "^1.0.20",
"libp2p": "^1.0.11"
"libp2p": "^1.1.0"
},
"devDependencies": {
"@types/react": "^18.2.12",
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"@stablelib/sha256": "^1.0.1",
"@peerbit/uint8arrays": "3.0.1",
"@ethersproject/wallet": "^5.7.0",
"@libp2p/crypto": "^3.0.2",
"@libp2p/peer-id": "^4.0.2",
"@libp2p/crypto": "^3.0.3",
"@libp2p/peer-id": "^4.0.3",
"libsodium-wrappers": "^0.7.13"
}
}
Loading

0 comments on commit d555de1

Please sign in to comment.