Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps!: Update multiformats and related dependencies #170

Merged
merged 2 commits into from
Jan 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions packages/libp2p-daemon-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,27 +135,26 @@
},
"dependencies": {
"@libp2p/daemon-protocol": "^3.0.0",
"@libp2p/interface-peer-id": "^1.0.2",
"@libp2p/interface-peer-id": "^2.0.0",
"@libp2p/interface-peer-info": "^1.0.1",
"@libp2p/interface-transport": "^2.0.0",
"@libp2p/logger": "^2.0.0",
"@libp2p/peer-id": "^1.1.10",
"@libp2p/peer-id": "^2.0.0",
"@libp2p/tcp": "^5.0.0",
"@multiformats/multiaddr": "^11.0.0",
"err-code": "^3.0.1",
"it-stream-types": "^1.0.4",
"multiformats": "^10.0.0",
"multiformats": "^11.0.0",
"uint8arraylist": "^2.3.2"
},
"devDependencies": {
"@libp2p/components": "^3.0.1",
"@libp2p/daemon-server": "^3.0.0",
"@libp2p/interface-compliance-tests": "^3.0.1",
"@libp2p/interface-dht": "^1.0.0",
"@libp2p/interface-mocks": "^7.0.1",
"@libp2p/interface-dht": "^2.0.0",
"@libp2p/interface-mocks": "^9.0.0",
"@libp2p/interface-peer-store": "^1.0.0",
"@libp2p/interface-pubsub": "^3.0.0",
"@libp2p/peer-id-factory": "^1.0.9",
"@libp2p/peer-id-factory": "^2.0.0",
"aegir": "^37.2.0",
"it-all": "^2.0.0",
"it-pipe": "^2.0.3",
Expand Down
16 changes: 7 additions & 9 deletions packages/libp2p-daemon-client/test/stream.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string'
import { toString as uint8ArrayToString } from 'uint8arrays/to-string'
import all from 'it-all'
import { pipe } from 'it-pipe'
import { Components } from '@libp2p/components'

const defaultMultiaddr = multiaddr('/ip4/0.0.0.0/tcp/0')

Expand Down Expand Up @@ -65,14 +64,13 @@ describe('daemon stream client', function () {
)
})

const [peerAtoPeerB] = connectionPair(
new Components({
peerId: peerA,
registrar: registrarA
}), new Components({
peerId: peerB,
registrar: registrarB
})
const [peerAtoPeerB] = connectionPair({
peerId: peerA,
registrar: registrarA
}, {
peerId: peerB,
registrar: registrarB
}
)

libp2p.dial.withArgs(peerB).resolves(peerAtoPeerB)
Expand Down
8 changes: 4 additions & 4 deletions packages/libp2p-daemon-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,20 +140,20 @@
"dependencies": {
"@libp2p/daemon-protocol": "^3.0.0",
"@libp2p/interface-connection": "^3.0.1",
"@libp2p/interface-dht": "^1.0.0",
"@libp2p/interface-peer-id": "^1.0.2",
"@libp2p/interface-dht": "^2.0.0",
"@libp2p/interface-peer-id": "^2.0.0",
"@libp2p/interface-registrar": "^2.0.1",
"@libp2p/interface-transport": "^2.0.0",
"@libp2p/interfaces": "^3.0.2",
"@libp2p/logger": "^2.0.0",
"@libp2p/peer-id": "^1.1.10",
"@libp2p/peer-id": "^2.0.0",
"@libp2p/tcp": "^5.0.0",
"@multiformats/multiaddr": "^11.0.0",
"it-drain": "^2.0.0",
"it-length-prefixed": "^8.0.2",
"it-pipe": "^2.0.3",
"it-pushable": "^3.0.0",
"multiformats": "^10.0.0",
"multiformats": "^11.0.0",
"uint8arrays": "^4.0.2"
},
"devDependencies": {
Expand Down