chore: fix dependencies for @waku/peer-exchange` package

This commit is contained in:
fryorcraken.eth 2023-02-09 14:03:34 +11:00
parent 719ec8e2e7
commit ab735908d3
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
3 changed files with 28 additions and 33 deletions

40
package-lock.json generated
View File

@ -27949,32 +27949,29 @@
"version": "0.0.3",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@libp2p/interface-connection": "^3.0.8",
"@libp2p/interface-peer-discovery": "^1.0.5",
"@libp2p/interface-peer-id": "^2.0.1",
"@libp2p/interface-peer-info": "^1.0.8",
"@libp2p/interface-peer-store": "^1.2.8",
"@waku/core": "*",
"@libp2p/interfaces": "^3.3.1",
"@waku/enr": "*",
"@waku/interfaces": "*",
"@waku/proto": "*",
"@waku/utils": "*",
"debug": "^4.3.4",
"it-all": "^1.0.6",
"it-length-prefixed": "^8.0.2",
"it-pipe": "^2.0.4",
"uint8arraylist": "^2.3.2"
"it-pipe": "^2.0.4"
},
"devDependencies": {
"@libp2p/interface-connection": "^3.0.8",
"@libp2p/interface-connection-manager": "^1.3.7",
"@libp2p/interface-libp2p": "^1.1.1",
"@libp2p/interface-peer-id": "^2.0.1",
"@libp2p/interface-peer-info": "^1.0.8",
"@libp2p/interface-peer-store": "^1.2.8",
"@libp2p/interface-registrar": "^2.0.8",
"@libp2p/peer-id-factory": "^2.0.1",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"@waku/interfaces": "*",
"chai": "^4.3.6",
"cspell": "^6.17.0",
"eslint": "^8.6.0",
@ -27988,7 +27985,7 @@
"rollup": "^2.75.0",
"ts-loader": "^9.4.1",
"typescript": "^4.6.3",
"uint8arrays": "^4.0.2"
"uint8arraylist": "^2.3.2"
},
"engines": {
"node": ">=16"
@ -27998,6 +27995,7 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@libp2p/interface-peer-id/-/interface-peer-id-2.0.1.tgz",
"integrity": "sha512-k01hKHTAZWMOiBC+yyFsmBguEMvhPkXnQtqLtFqga2fVZu8Zve7zFAtQYLhQjeJ4/apeFtO6ddTS8mCE6hl4OA==",
"dev": true,
"dependencies": {
"multiformats": "^11.0.0"
},
@ -28010,6 +28008,7 @@
"version": "11.0.1",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.1.tgz",
"integrity": "sha512-atWruyH34YiknSdL5yeIir00EDlJRpHzELYQxG7Iy29eCyL+VrZHpPrX5yqlik3jnuqpLpRKVZ0SGVb9UzKaSA==",
"dev": true,
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
@ -32584,21 +32583,19 @@
"@waku/peer-exchange": {
"version": "file:packages/peer-exchange",
"requires": {
"@libp2p/interface-connection": "^3.0.8",
"@libp2p/interface-connection": "*",
"@libp2p/interface-connection-manager": "^1.3.7",
"@libp2p/interface-libp2p": "^1.1.1",
"@libp2p/interface-peer-discovery": "^1.0.5",
"@libp2p/interface-peer-id": "^2.0.1",
"@libp2p/interface-peer-info": "^1.0.8",
"@libp2p/interface-peer-store": "^1.2.8",
"@libp2p/interface-peer-id": "*",
"@libp2p/interface-peer-info": "*",
"@libp2p/interface-peer-store": "*",
"@libp2p/interface-registrar": "^2.0.8",
"@libp2p/peer-id-factory": "^2.0.1",
"@libp2p/interfaces": "^3.3.1",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"@waku/core": "*",
"@waku/enr": "*",
"@waku/interfaces": "*",
"@waku/proto": "*",
@ -32620,14 +32617,14 @@
"rollup": "^2.75.0",
"ts-loader": "^9.4.1",
"typescript": "^4.6.3",
"uint8arraylist": "^2.3.2",
"uint8arrays": "^4.0.2"
"uint8arraylist": "^2.3.2"
},
"dependencies": {
"@libp2p/interface-peer-id": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@libp2p/interface-peer-id/-/interface-peer-id-2.0.1.tgz",
"integrity": "sha512-k01hKHTAZWMOiBC+yyFsmBguEMvhPkXnQtqLtFqga2fVZu8Zve7zFAtQYLhQjeJ4/apeFtO6ddTS8mCE6hl4OA==",
"dev": true,
"requires": {
"multiformats": "^11.0.0"
}
@ -32635,7 +32632,8 @@
"multiformats": {
"version": "11.0.1",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.1.tgz",
"integrity": "sha512-atWruyH34YiknSdL5yeIir00EDlJRpHzELYQxG7Iy29eCyL+VrZHpPrX5yqlik3jnuqpLpRKVZ0SGVb9UzKaSA=="
"integrity": "sha512-atWruyH34YiknSdL5yeIir00EDlJRpHzELYQxG7Iy29eCyL+VrZHpPrX5yqlik3jnuqpLpRKVZ0SGVb9UzKaSA==",
"dev": true
}
}
},

View File

@ -50,32 +50,29 @@
"node": ">=16"
},
"dependencies": {
"@libp2p/interface-connection": "^3.0.8",
"@libp2p/interface-peer-discovery": "^1.0.5",
"@libp2p/interface-peer-id": "^2.0.1",
"@libp2p/interface-peer-info": "^1.0.8",
"@libp2p/interface-peer-store": "^1.2.8",
"@waku/core": "*",
"@libp2p/interfaces": "^3.3.1",
"@waku/enr": "*",
"@waku/interfaces": "*",
"@waku/proto": "*",
"@waku/utils": "*",
"debug": "^4.3.4",
"it-all": "^1.0.6",
"it-length-prefixed": "^8.0.2",
"it-pipe": "^2.0.4",
"uint8arraylist": "^2.3.2"
"it-pipe": "^2.0.4"
},
"devDependencies": {
"@libp2p/interface-connection": "^3.0.8",
"@libp2p/interface-connection-manager": "^1.3.7",
"@libp2p/interface-libp2p": "^1.1.1",
"@libp2p/interface-peer-id": "^2.0.1",
"@libp2p/interface-peer-info": "^1.0.8",
"@libp2p/interface-peer-store": "^1.2.8",
"@libp2p/interface-registrar": "^2.0.8",
"@libp2p/peer-id-factory": "^2.0.1",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"@waku/interfaces": "*",
"chai": "^4.3.6",
"cspell": "^6.17.0",
"eslint": "^8.6.0",
@ -89,7 +86,7 @@
"rollup": "^2.75.0",
"ts-loader": "^9.4.1",
"typescript": "^4.6.3",
"uint8arrays": "^4.0.2"
"uint8arraylist": "^2.3.2"
},
"typedoc": {
"entryPoint": "./src/index.ts"

View File

@ -1,5 +1,5 @@
import { proto_peer_exchange as proto } from "@waku/proto";
import { Uint8ArrayList } from "uint8arraylist";
import type { Uint8ArrayList } from "uint8arraylist";
/**
* PeerExchangeRPC represents a message conforming to the Waku Peer Exchange protocol