feat!: update to libp2p@2.x.x #771
Annotations
10 errors and 2 warnings
src/index.ts#L2
Module '"@libp2p/peer-id"' has no exported member 'peerIdFromMultihash'.
|
src/index.ts#L625
Object literal may only specify known properties, and 'runOnLimitedConnection' does not exist in type 'StreamHandlerOptions'.
|
src/index.ts#L652
Object literal may only specify known properties, and 'notifyOnLimitedConnection' does not exist in type 'Topology'.
|
src/index.ts#L823
Object literal may only specify known properties, and 'runOnLimitedConnection' does not exist in type 'NewStreamOptions'.
|
src/index.ts#L2622
Property 'toMultihash' does not exist on type 'Ed25519PeerId | Secp256k1PeerId | RSAPeerId'. Did you mean 'multihash'?
|
src/utils/buildRawMessage.ts#L2
Module '"@libp2p/crypto/keys"' has no exported member 'publicKeyFromProtobuf'.
|
src/utils/buildRawMessage.ts#L4
Module '"@libp2p/peer-id"' has no exported member 'peerIdFromMultihash'.
|
src/utils/buildRawMessage.ts#L28
Property 'toMultihash' does not exist on type 'PeerId'. Did you mean 'multihash'?
|
src/utils/buildRawMessage.ts#L127
Argument of type 'Uint8Array' is not assignable to parameter of type 'PublicKey<"Ed25519">'.
|
src/utils/buildRawMessage.ts#L134
Type 'Uint8Array' is not assignable to type 'PublicKey<"Ed25519">'.
|
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/
|
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/
|
This job failed
Loading