Skip to content

feat!: update to libp2p@2.x.x #772

feat!: update to libp2p@2.x.x

feat!: update to libp2p@2.x.x #772

Triggered via pull request September 9, 2024 18:36
Status Failure
Total duration 35s
Artifacts

main.yml

on: pull_request
Matrix: test-node
test-chrome
0s
test-chrome
test-firefox
0s
test-firefox
Matrix: test-node-e2e
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
check: src/index.ts#L2
Module '"@libp2p/peer-id"' has no exported member 'peerIdFromMultihash'.
check: src/index.ts#L625
Object literal may only specify known properties, and 'runOnLimitedConnection' does not exist in type 'StreamHandlerOptions'.
check: src/index.ts#L652
Object literal may only specify known properties, and 'notifyOnLimitedConnection' does not exist in type 'Topology'.
check: src/index.ts#L823
Object literal may only specify known properties, and 'runOnLimitedConnection' does not exist in type 'NewStreamOptions'.
check: src/index.ts#L2622
Property 'toMultihash' does not exist on type 'Ed25519PeerId | Secp256k1PeerId | RSAPeerId | URLPeerId'. Did you mean 'multihash'?
check: src/utils/buildRawMessage.ts#L2
Module '"@libp2p/crypto/keys"' has no exported member 'publicKeyFromProtobuf'.
check: src/utils/buildRawMessage.ts#L4
Module '"@libp2p/peer-id"' has no exported member 'peerIdFromMultihash'.
check: src/utils/buildRawMessage.ts#L28
Property 'toMultihash' does not exist on type 'PeerId'. Did you mean 'multihash'?
check: src/utils/buildRawMessage.ts#L127
Argument of type 'Uint8Array' is not assignable to parameter of type 'PublicKey<"Ed25519">'.
check: src/utils/buildRawMessage.ts#L134
Type 'Uint8Array' is not assignable to type 'PublicKey<"Ed25519">'.
check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/