Merge branch 'master' into chore--rm-extra-packages

This commit is contained in:
Danish Arora 2023-07-15 17:57:12 +02:00 committed by GitHub
commit 2cd04a1315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
34 changed files with 278 additions and 143 deletions

View File

@ -9,7 +9,7 @@ jobs:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.3.0
- uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/waku-org/projects/2
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}

View File

@ -57,7 +57,7 @@ jobs:
node:
runs-on: ubuntu-latest
env:
WAKUNODE_IMAGE: "statusteam/nim-waku:v0.17.0"
WAKUNODE_IMAGE: "statusteam/nim-waku:v0.18.0"
steps:
- uses: actions/checkout@v3

0
.gitmodules vendored
View File

View File

@ -1,12 +1,13 @@
{
"packages/utils": "0.0.7",
"packages/utils": "0.0.8",
"packages/proto": "0.0.5",
"packages/interfaces": "0.0.14",
"packages/message-hash": "0.1.3",
"packages/enr": "0.0.13",
"packages/peer-exchange": "0.0.12",
"packages/core": "0.0.19",
"packages/dns-discovery": "0.0.13",
"packages/message-encryption": "0.0.17",
"packages/relay": "0.0.2"
"packages/interfaces": "0.0.15",
"packages/message-hash": "0.1.4",
"packages/enr": "0.0.14",
"packages/peer-exchange": "0.0.13",
"packages/core": "0.0.20",
"packages/dns-discovery": "0.0.14",
"packages/message-encryption": "0.0.18",
"packages/relay": "0.0.3",
"packages/sdk": "0.0.16"
}

1
nwaku

@ -1 +0,0 @@
Subproject commit 03f0de365cfee3a946257a6ce8a61fe19284976c

118
package-lock.json generated
View File

@ -30907,13 +30907,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",
@ -31033,13 +31033,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",
@ -31056,7 +31056,7 @@
"@rollup/plugin-node-resolve": "^15.0.2",
"@types/chai": "^4.3.4",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"chai": "^4.3.7",
"cspell": "^6.31.1",
"karma": "^6.4.1",
@ -31076,7 +31076,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",
@ -31084,7 +31084,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"
},
@ -31098,7 +31098,7 @@
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"chai": "^4.3.7",
"cspell": "^6.31.1",
"karma": "^6.4.1",
@ -31121,7 +31121,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",
@ -31144,14 +31144,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"
},
@ -31190,11 +31190,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",
@ -31204,7 +31204,7 @@
"@types/debug": "^4.1.7",
"@types/mocha": "^10.0.1",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"chai": "^4.3.7",
"cspell": "^6.28.0",
"fast-check": "^3.7.0",
@ -31230,15 +31230,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",
@ -31254,7 +31254,7 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"chai": "^4.3.7",
"cspell": "^6.31.1",
"npm-run-all": "^4.1.5",
@ -31337,15 +31337,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"
@ -31372,10 +31372,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": {
@ -31397,7 +31398,6 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"cspell": "^6.31.1",
"interface-datastore": "^7.0.4",
"npm-run-all": "^4.1.5",
@ -31484,7 +31484,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",
@ -31498,7 +31498,7 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"cspell": "^6.31.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
@ -36884,9 +36884,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",
@ -36934,9 +36934,9 @@
"@rollup/plugin-node-resolve": "^15.0.2",
"@types/chai": "^4.3.4",
"@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",
@ -36972,8 +36972,8 @@
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"@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",
@ -37027,10 +37027,10 @@
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"@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",
@ -37061,8 +37061,8 @@
"@types/debug": "^4.1.7",
"@types/mocha": "^10.0.1",
"@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",
"fast-check": "^3.7.0",
@ -37097,11 +37097,11 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@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",
@ -37173,10 +37173,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",
"fast-check": "^3.8.1",
@ -37210,11 +37210,11 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@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",
"interface-datastore": "^7.0.4",
"libp2p": "^0.42.2",
@ -37295,7 +37295,7 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"cspell": "^6.31.1",
"debug": "^4.3.4",
"npm-run-all": "^4.1.5",

View File

@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
The file is maintained by [Release Please](https://github.com/googleapis/release-please) based on [Conventional Commits](https://www.conventionalcommits.org) specification,
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.0.20](https://github.com/waku-org/js-waku/compare/core-v0.0.19...core-v0.0.20) (2023-06-08)
### ⚠ BREAKING CHANGES
* rename package from @waku/create to @waku/sdk ([#1386](https://github.com/waku-org/js-waku/issues/1386))
### Features
* Allow passing of multiple ENR URLs to DNS Discovery & dial multiple peers in parallel ([#1379](https://github.com/waku-org/js-waku/issues/1379)) ([f32d7d9](https://github.com/waku-org/js-waku/commit/f32d7d9fe0b930b4fa9c46b8644e6d21be45d5c1))
* Rename package from @waku/create to @waku/sdk ([#1386](https://github.com/waku-org/js-waku/issues/1386)) ([951ebda](https://github.com/waku-org/js-waku/commit/951ebdac9d5b594583acf5e4a21f6471fa81ff74))
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @waku/interfaces bumped from 0.0.14 to 0.0.15
* @waku/utils bumped from 0.0.7 to 0.0.8
## [0.0.19](https://github.com/waku-org/js-waku/compare/core-v0.0.18...core-v0.0.19) (2023-05-26)

View File

@ -1,6 +1,6 @@
{
"name": "@waku/core",
"version": "0.0.19",
"version": "0.0.20",
"description": "TypeScript implementation of the Waku v2 protocol",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
@ -73,9 +73,9 @@
},
"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",

View File

@ -47,21 +47,21 @@ export const fleets = {
"wakuv2.prod": {
"waku-websocket": {
"node-01.ac-cn-hongkong-c.wakuv2.prod":
"/dns4/node-01.ac-cn-hongkong-c.wakuv2.prod.statusim.net/tcp/443/wss/p2p/16Uiu2HAm4v86W3bmT1BiH6oSPzcsSr24iDQpSN5Qa992BCjjwgrD",
"/dns4/node-01.ac-cn-hongkong-c.wakuv2.prod.statusim.net/tcp/8000/wss/p2p/16Uiu2HAm4v86W3bmT1BiH6oSPzcsSr24iDQpSN5Qa992BCjjwgrD",
"node-01.do-ams3.wakuv2.prod":
"/dns4/node-01.do-ams3.wakuv2.prod.statusim.net/tcp/443/wss/p2p/16Uiu2HAmL5okWopX7NqZWBUKVqW8iUxCEmd5GMHLVPwCgzYzQv3e",
"/dns4/node-01.do-ams3.wakuv2.prod.statusim.net/tcp/8000/wss/p2p/16Uiu2HAmL5okWopX7NqZWBUKVqW8iUxCEmd5GMHLVPwCgzYzQv3e",
"node-01.gc-us-central1-a.wakuv2.prod":
"/dns4/node-01.gc-us-central1-a.wakuv2.prod.statusim.net/tcp/443/wss/p2p/16Uiu2HAmVkKntsECaYfefR1V2yCR79CegLATuTPE6B9TxgxBiiiA",
"/dns4/node-01.gc-us-central1-a.wakuv2.prod.statusim.net/tcp/8000/wss/p2p/16Uiu2HAmVkKntsECaYfefR1V2yCR79CegLATuTPE6B9TxgxBiiiA",
},
},
"wakuv2.test": {
"waku-websocket": {
"node-01.ac-cn-hongkong-c.wakuv2.test":
"/dns4/node-01.ac-cn-hongkong-c.wakuv2.test.statusim.net/tcp/443/wss/p2p/16Uiu2HAkvWiyFsgRhuJEb9JfjYxEkoHLgnUQmr1N5mKWnYjxYRVm",
"/dns4/node-01.ac-cn-hongkong-c.wakuv2.test.statusim.net/tcp/8000/wss/p2p/16Uiu2HAkvWiyFsgRhuJEb9JfjYxEkoHLgnUQmr1N5mKWnYjxYRVm",
"node-01.do-ams3.wakuv2.test":
"/dns4/node-01.do-ams3.wakuv2.test.statusim.net/tcp/443/wss/p2p/16Uiu2HAmPLe7Mzm8TsYUubgCAW1aJoeFScxrLj8ppHFivPo97bUZ",
"/dns4/node-01.do-ams3.wakuv2.test.statusim.net/tcp/8000/wss/p2p/16Uiu2HAmPLe7Mzm8TsYUubgCAW1aJoeFScxrLj8ppHFivPo97bUZ",
"node-01.gc-us-central1-a.wakuv2.test":
"/dns4/node-01.gc-us-central1-a.wakuv2.test.statusim.net/tcp/443/wss/p2p/16Uiu2HAmJb2e28qLXxT5kZxVUUoJt72EMzNGXB47Rxx5hw3q4YjS",
"/dns4/node-01.gc-us-central1-a.wakuv2.test.statusim.net/tcp/8000/wss/p2p/16Uiu2HAmJb2e28qLXxT5kZxVUUoJt72EMzNGXB47Rxx5hw3q4YjS",
},
},
},

View File

@ -46,6 +46,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* devDependencies
* @waku/interfaces bumped from 0.0.13 to 0.0.14
## [0.0.14](https://github.com/waku-org/js-waku/compare/dns-discovery-v0.0.13...dns-discovery-v0.0.14) (2023-06-08)
### Features
* Allow passing of multiple ENR URLs to DNS Discovery & dial multiple peers in parallel ([#1379](https://github.com/waku-org/js-waku/issues/1379)) ([f32d7d9](https://github.com/waku-org/js-waku/commit/f32d7d9fe0b930b4fa9c46b8644e6d21be45d5c1))
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @waku/enr bumped from 0.0.13 to 0.0.14
* @waku/utils bumped from 0.0.7 to 0.0.8
* devDependencies
* @waku/interfaces bumped from 0.0.14 to 0.0.15
## [0.0.12](https://github.com/waku-org/js-waku/compare/dns-discovery-v0.0.11...dns-discovery-v0.0.12) (2023-05-18)

View File

@ -1,6 +1,6 @@
{
"name": "@waku/dns-discovery",
"version": "0.0.13",
"version": "0.0.14",
"description": "DNS Peer Discovery (EIP-1459)",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
@ -53,8 +53,8 @@
"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",
@ -71,7 +71,7 @@
"@rollup/plugin-node-resolve": "^15.0.2",
"@types/chai": "^4.3.4",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"chai": "^4.3.7",
"cspell": "^6.31.1",
"karma": "^6.4.1",

View File

@ -43,6 +43,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* devDependencies
* @waku/interfaces bumped from 0.0.13 to 0.0.14
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @waku/utils bumped from 0.0.7 to 0.0.8
* devDependencies
* @waku/interfaces bumped from 0.0.14 to 0.0.15
## [0.0.12](https://github.com/waku-org/js-waku/compare/enr-v0.0.11...enr-v0.0.12) (2023-05-18)

View File

@ -1,6 +1,6 @@
{
"name": "@waku/enr",
"version": "0.0.13",
"version": "0.0.14",
"description": "ENR (EIP-778) for Waku",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
@ -56,7 +56,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"
},
@ -70,7 +70,7 @@
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"chai": "^4.3.7",
"cspell": "^6.31.1",
"karma": "^6.4.1",

View File

@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The file is maintained by [Release Please](https://github.com/googleapis/release-please) based on [Conventional Commits](https://www.conventionalcommits.org) specification,
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.0.15](https://github.com/waku-org/js-waku/compare/interfaces-v0.0.14...interfaces-v0.0.15) (2023-06-08)
### Features
* Allow passing of multiple ENR URLs to DNS Discovery & dial multiple peers in parallel ([#1379](https://github.com/waku-org/js-waku/issues/1379)) ([f32d7d9](https://github.com/waku-org/js-waku/commit/f32d7d9fe0b930b4fa9c46b8644e6d21be45d5c1))
## [0.0.14](https://github.com/waku-org/js-waku/compare/interfaces-v0.0.13...interfaces-v0.0.14) (2023-05-26)

View File

@ -1,6 +1,6 @@
{
"name": "@waku/interfaces",
"version": "0.0.14",
"version": "0.0.15",
"description": "Definition of Waku interfaces",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",

View File

@ -44,6 +44,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* @waku/proto bumped from * to 0.0.5
* @waku/utils bumped from 0.0.6 to 0.0.7
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @waku/core bumped from 0.0.19 to 0.0.20
* @waku/interfaces bumped from 0.0.14 to 0.0.15
* @waku/utils bumped from 0.0.7 to 0.0.8
## [0.0.16](https://github.com/waku-org/js-waku/compare/message-encryption-v0.0.15...message-encryption-v0.0.16) (2023-05-18)

View File

@ -1,6 +1,6 @@
{
"name": "@waku/message-encryption",
"version": "0.0.17",
"version": "0.0.18",
"description": "Waku Message Payload Encryption",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
@ -72,10 +72,10 @@
},
"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"
},

View File

@ -8,6 +8,14 @@
* devDependencies
* @waku/interfaces bumped from 0.0.13 to 0.0.14
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @waku/utils bumped from 0.0.7 to 0.0.8
* devDependencies
* @waku/interfaces bumped from 0.0.14 to 0.0.15
## [0.1.2](https://github.com/waku-org/js-waku/compare/message-hash-v0.1.1...message-hash-v0.1.2) (2023-05-18)

View File

@ -1,6 +1,6 @@
{
"name": "@waku/message-hash",
"version": "0.1.3",
"version": "0.1.4",
"description": "TypeScript implementation of the Deterministic Message Hashing as specified in 14/WAKU2-MESSAGE",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
@ -53,7 +53,7 @@
},
"dependencies": {
"@noble/hashes": "^1.2.0",
"@waku/utils": "0.0.7"
"@waku/utils": "0.0.8"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.1",
@ -63,7 +63,7 @@
"@types/debug": "^4.1.7",
"@types/mocha": "^10.0.1",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"chai": "^4.3.7",
"cspell": "^6.28.0",
"fast-check": "^3.7.0",

View File

@ -54,6 +54,16 @@
* devDependencies
* @waku/interfaces bumped from 0.0.13 to 0.0.14
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @waku/core bumped from 0.0.19 to 0.0.20
* @waku/enr bumped from 0.0.13 to 0.0.14
* @waku/utils bumped from 0.0.7 to 0.0.8
* devDependencies
* @waku/interfaces bumped from 0.0.14 to 0.0.15
## [0.0.11](https://github.com/waku-org/js-waku/compare/peer-exchange-v0.0.10...peer-exchange-v0.0.11) (2023-05-18)

View File

@ -1,6 +1,6 @@
{
"name": "@waku/peer-exchange",
"version": "0.0.12",
"version": "0.0.13",
"description": "Peer Exchange (https://rfc.vac.dev/spec/34/) protocol for Waku",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
@ -50,10 +50,10 @@
"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",
@ -69,7 +69,7 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"chai": "^4.3.7",
"cspell": "^6.31.1",
"npm-run-all": "^4.1.5",

View File

@ -9,6 +9,14 @@
* @waku/proto bumped from * to 0.0.5
* @waku/utils bumped from 0.0.6 to 0.0.7
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @waku/core bumped from 0.0.19 to 0.0.20
* @waku/interfaces bumped from 0.0.14 to 0.0.15
* @waku/utils bumped from 0.0.7 to 0.0.8
## 0.0.1 (2023-05-18)

View File

@ -1,6 +1,6 @@
{
"name": "@waku/relay",
"version": "0.0.2",
"version": "0.0.3",
"description": "Relay Protocol for Waku",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
@ -51,10 +51,10 @@
"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"

View File

@ -26,6 +26,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* devDependencies
* @waku/interfaces bumped from 0.0.11 to 0.0.12
## 0.0.16 (2023-06-08)
### ⚠ BREAKING CHANGES
* rename package from @waku/create to @waku/sdk ([#1386](https://github.com/waku-org/js-waku/issues/1386))
### Features
* Allow passing of multiple ENR URLs to DNS Discovery & dial multiple peers in parallel ([#1379](https://github.com/waku-org/js-waku/issues/1379)) ([f32d7d9](https://github.com/waku-org/js-waku/commit/f32d7d9fe0b930b4fa9c46b8644e6d21be45d5c1))
* Rename package from @waku/create to @waku/sdk ([#1386](https://github.com/waku-org/js-waku/issues/1386)) ([951ebda](https://github.com/waku-org/js-waku/commit/951ebdac9d5b594583acf5e4a21f6471fa81ff74))
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @waku/utils bumped from * to 0.0.8
* @waku/relay bumped from 0.0.2 to 0.0.3
* @waku/core bumped from 0.0.19 to 0.0.20
* @waku/dns-discovery bumped from 0.0.13 to 0.0.14
* devDependencies
* @waku/interfaces bumped from 0.0.14 to 0.0.15
## [0.0.15](https://github.com/waku-org/js-waku/compare/create-v0.0.14...create-v0.0.15) (2023-05-26)

View File

@ -51,10 +51,11 @@
"@chainsafe/libp2p-noise": "^11.0.0",
"@libp2p/mplex": "^7.1.1",
"@libp2p/websockets": "^5.0.3",
"@waku/utils": "*",
"@waku/relay": "0.0.2",
"@waku/core": "0.0.19",
"@waku/dns-discovery": "0.0.13",
"@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"
},
"devDependencies": {
@ -76,7 +77,6 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"cspell": "^6.31.1",
"interface-datastore": "^7.0.4",
"npm-run-all": "^4.1.5",

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";

View File

@ -14,7 +14,7 @@ export interface Args {
peerExchange?: boolean;
discv5Discovery?: boolean;
storeMessageDbUrl?: string;
topics?: string;
topic?: string;
rpcPrivate?: boolean;
websocketSupport?: boolean;
tcpPort?: number;

View File

@ -27,7 +27,7 @@ const WAKU_SERVICE_NODE_PARAMS =
const NODE_READY_LOG_LINE = "Node setup complete";
const DOCKER_IMAGE_NAME =
process.env.WAKUNODE_IMAGE || "statusteam/nim-waku:v0.17.0";
process.env.WAKUNODE_IMAGE || "statusteam/nim-waku:v0.18.0";
const isGoWaku = DOCKER_IMAGE_NAME.includes("go-waku");

View File

@ -4,7 +4,7 @@ import { promisify } from "util";
const execAsync = promisify(exec);
const WAKUNODE_IMAGE =
process.env.WAKUNODE_IMAGE || "statusteam/nim-waku:v0.17.0";
process.env.WAKUNODE_IMAGE || "statusteam/nim-waku:v0.18.0";
async function main() {
try {

View File

@ -23,34 +23,36 @@ const TestEncoder = createEncoder({
contentTopic: TestContentTopic,
});
async function runNodes(
context: Mocha.Context,
pubSubTopic?: string
): Promise<[NimGoNode, LightNode]> {
const nwakuOptional = pubSubTopic ? { topic: pubSubTopic } : {};
const nwaku = new NimGoNode(makeLogFileName(context));
await nwaku.start({
lightpush: true,
relay: true,
...nwakuOptional,
});
const waku = await createLightNode({
pubSubTopic,
staticNoiseKey: NOISE_KEY_1,
});
await waku.start();
await waku.dial(await nwaku.getMultiaddrWithId());
await waitForRemotePeer(waku, [Protocols.LightPush]);
return [nwaku, waku];
}
describe("Waku Light Push [node only]", () => {
let waku: LightNode;
let nwaku: NimGoNode;
const runNodes = async (
context: Mocha.Context,
pubSubTopic?: string
): Promise<void> => {
const nwakuOptional = pubSubTopic ? { topics: pubSubTopic } : {};
nwaku = new NimGoNode(makeLogFileName(context));
await nwaku.start({
lightpush: true,
relay: true,
...nwakuOptional,
});
waku = await createLightNode({
pubSubTopic,
staticNoiseKey: NOISE_KEY_1,
});
await waku.start();
await waku.dial(await nwaku.getMultiaddrWithId());
await waitForRemotePeer(waku, [Protocols.LightPush]);
};
beforeEach(async function () {
this.timeout(15_000);
await runNodes(this);
[nwaku, waku] = await runNodes(this);
});
afterEach(async function () {
@ -108,12 +110,29 @@ describe("Waku Light Push [node only]", () => {
expect(pushResponse.recipients.length).to.eq(0);
expect(pushResponse.error).to.eq(SendError.SIZE_TOO_BIG);
});
});
it("Push on custom pubsub topic", async function () {
describe("Waku Light Push [node only] - custom pubsub topic", () => {
let waku: LightNode;
let nwaku: NimGoNode;
const customPubSubTopic = "/waku/2/custom-dapp/proto";
beforeEach(async function () {
this.timeout(15_000);
[nwaku, waku] = await runNodes(this, customPubSubTopic);
});
const customPubSubTopic = "/waku/2/custom-dapp/proto";
await runNodes(this, customPubSubTopic);
afterEach(async function () {
try {
nwaku?.stop();
waku?.stop();
} catch (e) {
console.error("Failed to stop nodes: ", e);
}
});
it("Push message", async function () {
this.timeout(15_000);
const nimPeerId = await nwaku.getPeerId();
const messageText = "Light Push works!";

View File

@ -575,7 +575,7 @@ describe("Waku Store, custom pubsub topic", () => {
nwaku = new NimGoNode(makeLogFileName(this));
await nwaku.start({
store: true,
topics: customPubSubTopic,
topic: customPubSubTopic,
relay: true,
});
});

View File

@ -1,5 +1,11 @@
# Changelog
### Dependencies
* The following workspace dependencies were updated
* devDependencies
* @waku/interfaces bumped from 0.0.14 to 0.0.15
## [0.0.7](https://github.com/waku-org/js-waku/compare/utils-v0.0.6...utils-v0.0.7) (2023-05-26)

View File

@ -1,6 +1,6 @@
{
"name": "@waku/utils",
"version": "0.0.7",
"version": "0.0.8",
"description": "Different utilities for Waku",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
@ -76,7 +76,7 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@waku/build-utils": "*",
"@waku/interfaces": "0.0.14",
"@waku/interfaces": "0.0.15",
"cspell": "^6.31.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",

View File

@ -15,9 +15,7 @@
"packages/core": {},
"packages/dns-discovery": {},
"packages/message-encryption": {},
"packages/sdk": {
"release-as": "0.0.16"
},
"packages/sdk": {},
"packages/relay": {}
}
}