feat: export interfaces and relay from sdk (#1409)

This commit is contained in:
Sasha 2023-06-28 18:12:44 +02:00 committed by GitHub
parent ee9a4d711f
commit 0d9265aaf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 62 additions and 60 deletions

118
package-lock.json generated
View File

@ -30906,13 +30906,13 @@
},
"packages/core": {
"name": "@waku/core",
"version": "0.0.19",
"version": "0.0.20",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@noble/hashes": "^1.3.0",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"@waku/proto": "0.0.5",
"@waku/utils": "0.0.7",
"@waku/utils": "0.0.8",
"debug": "^4.3.4",
"it-all": "^3.0.2",
"it-length-prefixed": "^9.0.1",
@ -31038,13 +31038,13 @@
},
"packages/dns-discovery": {
"name": "@waku/dns-discovery",
"version": "0.0.13",
"version": "0.0.14",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@libp2p/interface-peer-discovery": "^1.0.5",
"@libp2p/interfaces": "^3.3.1",
"@waku/enr": "0.0.13",
"@waku/utils": "0.0.7",
"@waku/enr": "0.0.14",
"@waku/utils": "0.0.8",
"debug": "^4.3.4",
"dns-query": "^0.11.2",
"hi-base32": "^0.5.1",
@ -31063,7 +31063,7 @@
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.59.8",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"chai": "^4.3.7",
"cspell": "^6.31.1",
"eslint": "^8.41.0",
@ -31089,7 +31089,7 @@
},
"packages/enr": {
"name": "@waku/enr",
"version": "0.0.13",
"version": "0.0.14",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@ethersproject/rlp": "^5.7.0",
@ -31097,7 +31097,7 @@
"@libp2p/peer-id": "^2.0.3",
"@multiformats/multiaddr": "^12.0.0",
"@noble/secp256k1": "^1.7.1",
"@waku/utils": "0.0.7",
"@waku/utils": "0.0.8",
"debug": "^4.3.4",
"js-sha3": "^0.8.0"
},
@ -31113,7 +31113,7 @@
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.59.8",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"chai": "^4.3.7",
"cspell": "^6.31.1",
"eslint": "^8.41.0",
@ -31142,7 +31142,7 @@
},
"packages/interfaces": {
"name": "@waku/interfaces",
"version": "0.0.14",
"version": "0.0.15",
"license": "MIT OR Apache-2.0",
"devDependencies": {
"@chainsafe/libp2p-gossipsub": "^6.1.0",
@ -31173,14 +31173,14 @@
},
"packages/message-encryption": {
"name": "@waku/message-encryption",
"version": "0.0.17",
"version": "0.0.18",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@noble/secp256k1": "^1.7.1",
"@waku/core": "0.0.19",
"@waku/interfaces": "0.0.14",
"@waku/core": "0.0.20",
"@waku/interfaces": "0.0.15",
"@waku/proto": "0.0.5",
"@waku/utils": "0.0.7",
"@waku/utils": "0.0.8",
"debug": "^4.3.4",
"js-sha3": "^0.8.0"
},
@ -31227,11 +31227,11 @@
},
"packages/message-hash": {
"name": "@waku/message-hash",
"version": "0.1.3",
"version": "0.1.4",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@noble/hashes": "^1.2.0",
"@waku/utils": "0.0.7"
"@waku/utils": "0.0.8"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.1",
@ -31243,7 +31243,7 @@
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.59.8",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"chai": "^4.3.7",
"cspell": "^6.28.0",
"eslint": "^8.41.0",
@ -31275,15 +31275,15 @@
},
"packages/peer-exchange": {
"name": "@waku/peer-exchange",
"version": "0.0.12",
"version": "0.0.13",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@libp2p/interface-peer-discovery": "^1.0.5",
"@libp2p/interfaces": "^3.3.1",
"@waku/core": "0.0.19",
"@waku/enr": "0.0.13",
"@waku/core": "0.0.20",
"@waku/enr": "0.0.14",
"@waku/proto": "0.0.5",
"@waku/utils": "0.0.7",
"@waku/utils": "0.0.8",
"debug": "^4.3.4",
"it-all": "^3.0.2",
"it-length-prefixed": "^9.0.1",
@ -31301,7 +31301,7 @@
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.59.8",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"chai": "^4.3.7",
"cspell": "^6.31.1",
"eslint": "^8.41.0",
@ -31390,15 +31390,15 @@
},
"packages/relay": {
"name": "@waku/relay",
"version": "0.0.2",
"version": "0.0.3",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@chainsafe/libp2p-gossipsub": "^6.1.0",
"@noble/hashes": "^1.3.0",
"@waku/core": "0.0.19",
"@waku/interfaces": "0.0.14",
"@waku/core": "0.0.20",
"@waku/interfaces": "0.0.15",
"@waku/proto": "0.0.5",
"@waku/utils": "0.0.7",
"@waku/utils": "0.0.8",
"chai": "^4.3.7",
"debug": "^4.3.4",
"fast-check": "^3.8.1"
@ -31431,10 +31431,11 @@
"@chainsafe/libp2p-noise": "^11.0.0",
"@libp2p/mplex": "^7.1.1",
"@libp2p/websockets": "^5.0.3",
"@waku/core": "0.0.19",
"@waku/dns-discovery": "0.0.13",
"@waku/relay": "0.0.2",
"@waku/utils": "*",
"@waku/core": "0.0.20",
"@waku/dns-discovery": "0.0.14",
"@waku/interfaces": "0.0.15",
"@waku/relay": "0.0.3",
"@waku/utils": "0.0.8",
"libp2p": "^0.42.2"
},
"devDependencies": {
@ -31458,7 +31459,6 @@
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.59.8",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"cspell": "^6.31.1",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.6.0",
@ -31559,7 +31559,7 @@
},
"packages/utils": {
"name": "@waku/utils",
"version": "0.0.7",
"version": "0.0.8",
"license": "MIT OR Apache-2.0",
"dependencies": {
"debug": "^4.3.4",
@ -31575,7 +31575,7 @@
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.59.8",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"cspell": "^6.31.1",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
@ -36976,9 +36976,9 @@
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.59.8",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"@waku/proto": "0.0.5",
"@waku/utils": "0.0.7",
"@waku/utils": "0.0.8",
"chai": "^4.3.7",
"cspell": "^6.31.1",
"debug": "^4.3.4",
@ -37034,9 +37034,9 @@
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.59.8",
"@waku/build-utils": "*",
"@waku/enr": "0.0.13",
"@waku/interfaces": "0.0.14",
"@waku/utils": "0.0.7",
"@waku/enr": "0.0.14",
"@waku/interfaces": "0.0.15",
"@waku/utils": "0.0.8",
"chai": "^4.3.7",
"cspell": "^6.31.1",
"debug": "^4.3.4",
@ -37080,8 +37080,8 @@
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.59.8",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/utils": "0.0.7",
"@waku/interfaces": "0.0.15",
"@waku/utils": "0.0.8",
"chai": "^4.3.7",
"cspell": "^6.31.1",
"debug": "^4.3.4",
@ -37151,10 +37151,10 @@
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.59.8",
"@waku/build-utils": "*",
"@waku/core": "0.0.19",
"@waku/interfaces": "0.0.14",
"@waku/core": "0.0.20",
"@waku/interfaces": "0.0.15",
"@waku/proto": "0.0.5",
"@waku/utils": "0.0.7",
"@waku/utils": "0.0.8",
"chai": "^4.3.7",
"cspell": "^6.31.1",
"debug": "^4.3.4",
@ -37193,8 +37193,8 @@
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.59.8",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/utils": "0.0.7",
"@waku/interfaces": "0.0.15",
"@waku/utils": "0.0.8",
"chai": "^4.3.7",
"cspell": "^6.28.0",
"eslint": "^8.41.0",
@ -37237,11 +37237,11 @@
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.59.8",
"@waku/build-utils": "*",
"@waku/core": "0.0.19",
"@waku/enr": "0.0.13",
"@waku/interfaces": "0.0.14",
"@waku/core": "0.0.20",
"@waku/enr": "0.0.14",
"@waku/interfaces": "0.0.15",
"@waku/proto": "0.0.5",
"@waku/utils": "0.0.7",
"@waku/utils": "0.0.8",
"chai": "^4.3.7",
"cspell": "^6.31.1",
"debug": "^4.3.4",
@ -37319,10 +37319,10 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@waku/build-utils": "*",
"@waku/core": "0.0.19",
"@waku/interfaces": "0.0.14",
"@waku/core": "0.0.20",
"@waku/interfaces": "0.0.15",
"@waku/proto": "0.0.5",
"@waku/utils": "0.0.7",
"@waku/utils": "0.0.8",
"chai": "^4.3.7",
"debug": "^4.3.4",
"eslint": "^8.41.0",
@ -37364,11 +37364,11 @@
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.59.8",
"@waku/build-utils": "*",
"@waku/core": "0.0.19",
"@waku/dns-discovery": "0.0.13",
"@waku/interfaces": "0.0.14",
"@waku/relay": "0.0.2",
"@waku/utils": "*",
"@waku/core": "0.0.20",
"@waku/dns-discovery": "0.0.14",
"@waku/interfaces": "0.0.15",
"@waku/relay": "0.0.3",
"@waku/utils": "0.0.8",
"cspell": "^6.31.1",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.6.0",
@ -37465,7 +37465,7 @@
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.59.8",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"cspell": "^6.31.1",
"debug": "^4.3.4",
"eslint": "^8.35.0",

View File

@ -54,6 +54,7 @@
"@waku/utils": "0.0.8",
"@waku/relay": "0.0.3",
"@waku/core": "0.0.20",
"@waku/interfaces": "0.0.15",
"@waku/dns-discovery": "0.0.14",
"libp2p": "^0.42.2"
},
@ -78,7 +79,6 @@
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.59.8",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.15",
"cspell": "^6.31.1",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.6.0",

View File

@ -15,3 +15,5 @@ export { utf8ToBytes, bytesToUtf8 } from "@waku/utils/bytes";
export * from "./create.js";
export * as waku from "@waku/core";
export * as utils from "@waku/utils";
export * from "@waku/interfaces";
export * as relay from "@waku/relay";