feat: add cross peer dependency for @waku packages (#1889)

* move core package

* move dns-discovery

* move enr

* move local discovery

* move message encryption

* move message encryption[2]

* move message-hash

* move peer exchange

* move relay

* move sdk

* move utils
This commit is contained in:
Sasha 2024-03-12 02:18:40 +01:00 committed by GitHub
parent 8ff15db44b
commit 8f867404e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 231 additions and 3 deletions

116
package-lock.json generated
View File

@ -27796,11 +27796,19 @@
}, },
"peerDependencies": { "peerDependencies": {
"@multiformats/multiaddr": "^12.0.0", "@multiformats/multiaddr": "^12.0.0",
"@waku/enr": "^0.0.21",
"@waku/interfaces": "0.0.22",
"@waku/message-hash": "^0.1.11",
"@waku/proto": "0.0.6",
"@waku/utils": "0.0.15",
"libp2p": "^1.1.2" "libp2p": "^1.1.2"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"@multiformats/multiaddr": { "@multiformats/multiaddr": {
"optional": true "optional": true
},
"@waku/interfaces": {
"optional": true
} }
} }
}, },
@ -27834,6 +27842,16 @@
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=18"
},
"peerDependencies": {
"@waku/enr": "0.0.21",
"@waku/interfaces": "0.0.22",
"@waku/utils": "0.0.15"
},
"peerDependenciesMeta": {
"@waku/interfaces": {
"optional": true
}
} }
}, },
"packages/enr": { "packages/enr": {
@ -27870,6 +27888,19 @@
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=18"
},
"peerDependencies": {
"@multiformats/multiaddr": "^12.0.0",
"@waku/interfaces": "0.0.22",
"@waku/utils": "0.0.15"
},
"peerDependenciesMeta": {
"@multiformats/multiaddr": {
"optional": true
},
"@waku/interfaces": {
"optional": true
}
} }
}, },
"packages/interfaces": { "packages/interfaces": {
@ -27944,6 +27975,19 @@
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=18"
},
"peerDependencies": {
"@libp2p/interface": "^1.1.2",
"@waku/interfaces": "0.0.22",
"@waku/utils": "0.0.15"
},
"peerDependenciesMeta": {
"@libp2p/interface": {
"optional": true
},
"@waku/interfaces": {
"optional": true
}
} }
}, },
"packages/local-peer-cache-discovery/node_modules/@cspell/cspell-bundled-dicts": { "packages/local-peer-cache-discovery/node_modules/@cspell/cspell-bundled-dicts": {
@ -28418,6 +28462,17 @@
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=18"
},
"peerDependencies": {
"@waku/core": "0.0.27",
"@waku/interfaces": "0.0.22",
"@waku/proto": "0.0.6",
"@waku/utils": "0.0.15"
},
"peerDependenciesMeta": {
"@waku/interfaces": {
"optional": true
}
} }
}, },
"packages/message-hash": { "packages/message-hash": {
@ -28449,6 +28504,15 @@
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=18"
},
"peerDependencies": {
"@waku/interfaces": "0.0.22",
"@waku/utils": "0.0.15"
},
"peerDependenciesMeta": {
"@waku/interfaces": {
"optional": true
}
} }
}, },
"packages/peer-exchange": { "packages/peer-exchange": {
@ -28480,6 +28544,18 @@
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=18"
},
"peerDependencies": {
"@waku/core": "0.0.27",
"@waku/enr": "0.0.21",
"@waku/interfaces": "0.0.22",
"@waku/proto": "0.0.6",
"@waku/utils": "0.0.15"
},
"peerDependenciesMeta": {
"@waku/interfaces": {
"optional": true
}
} }
}, },
"packages/proto": { "packages/proto": {
@ -28528,6 +28604,21 @@
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=18"
},
"peerDependencies": {
"@chainsafe/libp2p-gossipsub": "^12.0.0",
"@waku/core": "0.0.27",
"@waku/interfaces": "0.0.22",
"@waku/proto": "0.0.6",
"@waku/utils": "0.0.15"
},
"peerDependenciesMeta": {
"@chainsafe/libp2p-gossipsub": {
"optional": true
},
"@waku/interfaces": {
"optional": true
}
} }
}, },
"packages/sdk": { "packages/sdk": {
@ -28565,7 +28656,22 @@
"node": ">=18" "node": ">=18"
}, },
"peerDependencies": { "peerDependencies": {
"@libp2p/bootstrap": "^10" "@libp2p/bootstrap": "^10",
"@waku/core": "0.0.27",
"@waku/dns-discovery": "0.0.21",
"@waku/interfaces": "0.0.22",
"@waku/local-peer-cache-discovery": "^1.0.0",
"@waku/peer-exchange": "^0.0.20",
"@waku/relay": "0.0.10",
"@waku/utils": "0.0.15"
},
"peerDependenciesMeta": {
"@libp2p/bootstrap": {
"optional": true
},
"@waku/interfaces": {
"optional": true
}
} }
}, },
"packages/tests": { "packages/tests": {
@ -28640,6 +28746,14 @@
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=18"
},
"peerDependencies": {
"@waku/interfaces": "0.0.22"
},
"peerDependenciesMeta": {
"@waku/interfaces": {
"optional": true
}
} }
} }
}, },

View File

@ -109,11 +109,19 @@
}, },
"peerDependencies": { "peerDependencies": {
"@multiformats/multiaddr": "^12.0.0", "@multiformats/multiaddr": "^12.0.0",
"libp2p": "^1.1.2" "libp2p": "^1.1.2",
"@waku/enr": "^0.0.21",
"@waku/interfaces": "0.0.22",
"@waku/message-hash": "^0.1.11",
"@waku/proto": "0.0.6",
"@waku/utils": "0.0.15"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"@multiformats/multiaddr": { "@multiformats/multiaddr": {
"optional": true "optional": true
},
"@waku/interfaces": {
"optional": true
} }
}, },
"files": [ "files": [

View File

@ -74,6 +74,16 @@
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"rollup": "^4.12.0" "rollup": "^4.12.0"
}, },
"peerDependencies": {
"@waku/enr": "0.0.21",
"@waku/utils": "0.0.15",
"@waku/interfaces": "0.0.22"
},
"peerDependenciesMeta": {
"@waku/interfaces": {
"optional": true
}
},
"files": [ "files": [
"dist", "dist",
"bundle", "bundle",

View File

@ -78,6 +78,19 @@
"rollup": "^4.12.0", "rollup": "^4.12.0",
"uint8arrays": "^5.0.1" "uint8arrays": "^5.0.1"
}, },
"peerDependencies": {
"@waku/utils": "0.0.15",
"@waku/interfaces": "0.0.22",
"@multiformats/multiaddr": "^12.0.0"
},
"peerDependenciesMeta": {
"@waku/interfaces": {
"optional": true
},
"@multiformats/multiaddr": {
"optional": true
}
},
"files": [ "files": [
"dist", "dist",
"bundle", "bundle",

View File

@ -70,6 +70,19 @@
"rollup": "^4.12.0", "rollup": "^4.12.0",
"sinon": "^17.0.1" "sinon": "^17.0.1"
}, },
"peerDependencies": {
"@libp2p/interface": "^1.1.2",
"@waku/utils": "0.0.15",
"@waku/interfaces": "0.0.22"
},
"peerDependenciesMeta": {
"@waku/interfaces": {
"optional": true
},
"@libp2p/interface": {
"optional": true
}
},
"files": [ "files": [
"dist", "dist",
"bundle", "bundle",

View File

@ -99,6 +99,17 @@
"process": "^0.11.10", "process": "^0.11.10",
"rollup": "^4.12.0" "rollup": "^4.12.0"
}, },
"peerDependencies": {
"@waku/core": "0.0.27",
"@waku/interfaces": "0.0.22",
"@waku/proto": "0.0.6",
"@waku/utils": "0.0.15"
},
"peerDependenciesMeta": {
"@waku/interfaces": {
"optional": true
}
},
"files": [ "files": [
"dist", "dist",
"bundle", "bundle",

View File

@ -72,6 +72,15 @@
"process": "^0.11.10", "process": "^0.11.10",
"rollup": "^4.12.0" "rollup": "^4.12.0"
}, },
"peerDependencies": {
"@waku/interfaces": "0.0.22",
"@waku/utils": "0.0.15"
},
"peerDependenciesMeta": {
"@waku/interfaces": {
"optional": true
}
},
"files": [ "files": [
"dist", "dist",
"bundle", "bundle",

View File

@ -70,6 +70,18 @@
"rollup": "^4.12.0", "rollup": "^4.12.0",
"uint8arraylist": "^2.4.3" "uint8arraylist": "^2.4.3"
}, },
"peerDependencies": {
"@waku/core": "0.0.27",
"@waku/enr": "0.0.21",
"@waku/interfaces": "0.0.22",
"@waku/proto": "0.0.6",
"@waku/utils": "0.0.15"
},
"peerDependenciesMeta": {
"@waku/interfaces": {
"optional": true
}
},
"files": [ "files": [
"dist", "dist",
"bundle", "bundle",

View File

@ -66,6 +66,21 @@
"@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-node-resolve": "^15.2.3",
"rollup": "^4.12.0" "rollup": "^4.12.0"
}, },
"peerDependencies": {
"@waku/core": "0.0.27",
"@waku/interfaces": "0.0.22",
"@waku/proto": "0.0.6",
"@waku/utils": "0.0.15",
"@chainsafe/libp2p-gossipsub": "^12.0.0"
},
"peerDependenciesMeta": {
"@waku/interfaces": {
"optional": true
},
"@chainsafe/libp2p-gossipsub": {
"optional": true
}
},
"files": [ "files": [
"dist", "dist",
"bundle", "bundle",

View File

@ -88,7 +88,22 @@
"rollup": "^4.12.0" "rollup": "^4.12.0"
}, },
"peerDependencies": { "peerDependencies": {
"@libp2p/bootstrap": "^10" "@libp2p/bootstrap": "^10",
"@waku/core": "0.0.27",
"@waku/dns-discovery": "0.0.21",
"@waku/interfaces": "0.0.22",
"@waku/local-peer-cache-discovery": "^1.0.0",
"@waku/peer-exchange": "^0.0.20",
"@waku/relay": "0.0.10",
"@waku/utils": "0.0.15"
},
"peerDependenciesMeta": {
"@waku/interfaces": {
"optional": true
},
"@libp2p/bootstrap": {
"optional": true
}
}, },
"files": [ "files": [
"dist", "dist",

View File

@ -83,6 +83,14 @@
"fast-check": "^3.15.1", "fast-check": "^3.15.1",
"rollup": "^4.12.0" "rollup": "^4.12.0"
}, },
"peerDependencies": {
"@waku/interfaces": "0.0.22"
},
"peerDependenciesMeta": {
"@waku/interfaces": {
"optional": true
}
},
"files": [ "files": [
"dist", "dist",
"bundle", "bundle",