Merge pull request #1122 from waku-org/release/core@0.0.9

This commit is contained in:
fryorcraken.eth 2023-01-18 16:27:44 +11:00 committed by GitHub
commit 6fb6615484
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 88 additions and 54 deletions

76
package-lock.json generated
View File

@ -6801,7 +6801,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/app-root-path/-/app-root-path-3.1.0.tgz",
"integrity": "sha512-biN3PwB2gUtjaYy/isrU3aNWI5w+fAfvHkSvCKeQGxhmYpwKFUxudR3Yya+KqVRHBmEDYh+/lTozYCFbmzX4nA==",
"dev": true,
"engines": {
"node": ">= 6.0.0"
}
@ -11368,7 +11367,6 @@
"version": "2.25.0",
"resolved": "https://registry.npmjs.org/fast-check/-/fast-check-2.25.0.tgz",
"integrity": "sha512-wRUT2KD2lAmT75WNIJIHECawoUUMHM0I5jrlLXGtGeqmPL8jl/EldUDjY1VCp6fDY8yflyfUeIOsOBrIbIiArg==",
"dev": true,
"dependencies": {
"pure-rand": "^5.0.1"
},
@ -16617,7 +16615,6 @@
"version": "0.5.6",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz",
"integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==",
"dev": true,
"dependencies": {
"minimist": "^1.2.6"
},
@ -22091,7 +22088,6 @@
"version": "1.0.32",
"resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.32.tgz",
"integrity": "sha512-on2ZJVVDXRADWE6jnQaX0ioEylzgBpQk8r55NE4wjXW1ZxO+BgDlY6DXwj20i0V8eB4SenDQ00WEaxfiIQPcxg==",
"dev": true,
"dependencies": {
"async": "^2.6.4",
"debug": "^3.2.7",
@ -22105,7 +22101,6 @@
"version": "3.2.7",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
"integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
"dev": true,
"dependencies": {
"ms": "^2.1.1"
}
@ -22971,7 +22966,6 @@
"version": "5.0.3",
"resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-5.0.3.tgz",
"integrity": "sha512-9N8x1h8dptBQpHyC7aZMS+iNOAm97WMGY0AFrguU1cpfW3I5jINkWe5BIY5md0ofy+1TCIELsVcm/GJXZSaPbw==",
"dev": true,
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/fast-check"
@ -25459,7 +25453,6 @@
"version": "2.2.4",
"resolved": "https://registry.npmjs.org/tail/-/tail-2.2.4.tgz",
"integrity": "sha512-PX8klSxW1u3SdgDrDeewh5GNE+hkJ4h02JvHfV6YrHqWOVJ88nUdSQqtsUf/gWhgZlPAws3fiZ+F1f8euspcuQ==",
"dev": true,
"engines": {
"node": ">= 6.0.0"
}
@ -27399,7 +27392,7 @@
},
"packages/core": {
"name": "@waku/core",
"version": "0.0.8",
"version": "0.0.9",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@chainsafe/libp2p-gossipsub": "^5.2.1",
@ -27419,7 +27412,9 @@
"@waku/libp2p-utils": "*",
"@waku/peer-exchange": "*",
"@waku/proto": "*",
"chai": "^4.3.4",
"debug": "^4.3.4",
"fast-check": "^2.14.0",
"it-all": "^1.0.6",
"it-length-prefixed": "^8.0.2",
"it-pipe": "^2.0.4",
@ -27443,7 +27438,6 @@
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"app-root-path": "^3.0.0",
"chai": "^4.3.4",
"cspell": "^6.17.0",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
@ -27451,7 +27445,6 @@
"eslint-plugin-functional": "^4.0.2",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^4.0.0",
"fast-check": "^2.14.0",
"gh-pages": "^3.2.3",
"ignore-loader": "^0.1.2",
"isomorphic-fetch": "^3.0.0",
@ -27545,7 +27538,7 @@
},
"packages/dns-discovery": {
"name": "@waku/dns-discovery",
"version": "0.0.3",
"version": "0.0.4",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@libp2p/interface-peer-discovery": "^1.0.0",
@ -27555,6 +27548,7 @@
"@waku/byte-utils": "*",
"@waku/enr": "*",
"@waku/libp2p-utils": "*",
"chai": "^4.3.4",
"debug": "^4.3.4",
"dns-query": "^0.11.2",
"hi-base32": "^0.5.1",
@ -27570,7 +27564,6 @@
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"@waku/interfaces": "*",
"chai": "^4.3.4",
"cspell": "^6.17.0",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
@ -27589,7 +27582,7 @@
},
"packages/enr": {
"name": "@waku/enr",
"version": "0.0.3",
"version": "0.0.4",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@ethersproject/rlp": "^5.5.0",
@ -27599,6 +27592,8 @@
"@multiformats/multiaddr": "^11.0.6",
"@noble/secp256k1": "^1.3.4",
"@waku/byte-utils": "*",
"chai": "^4.3.6",
"debug": "^4.3.4",
"js-sha3": "^0.8.0"
},
"devDependencies": {
@ -27609,9 +27604,7 @@
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"@waku/interfaces": "*",
"chai": "^4.3.6",
"cspell": "^6.17.0",
"debug": "^4.3.4",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-eslint-comments": "^3.2.0",
@ -27631,7 +27624,7 @@
},
"packages/interfaces": {
"name": "@waku/interfaces",
"version": "0.0.6",
"version": "0.0.7",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@chainsafe/libp2p-gossipsub": "^5.2.1",
@ -27661,7 +27654,7 @@
},
"packages/libp2p-utils": {
"name": "@waku/libp2p-utils",
"version": "0.0.1",
"version": "0.0.2",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@libp2p/interface-connection": "^3.0.3",
@ -27669,7 +27662,8 @@
"@libp2p/interface-peer-info": "^1.0.1",
"@libp2p/interface-peer-store": "^1.2.3",
"@libp2p/peer-id": "^1.1.10",
"@multiformats/multiaddr": "^11.0.6"
"@multiformats/multiaddr": "^11.0.6",
"debug": "^4.3.4"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.0",
@ -27678,7 +27672,6 @@
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"cspell": "^6.17.0",
"debug": "^4.3.4",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-eslint-comments": "^3.2.0",
@ -27696,7 +27689,7 @@
},
"packages/message-encryption": {
"name": "@waku/message-encryption",
"version": "0.0.7",
"version": "0.0.8",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@noble/secp256k1": "^1.3.4",
@ -27704,6 +27697,9 @@
"@waku/core": "*",
"@waku/interfaces": "*",
"@waku/proto": "*",
"chai": "^4.3.6",
"debug": "^4.3.4",
"fast-check": "^2.14.0",
"js-sha3": "^0.8.0"
},
"devDependencies": {
@ -27712,16 +27708,13 @@
"@rollup/plugin-node-resolve": "^13.3.0",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"chai": "^4.3.6",
"cspell": "^6.17.0",
"debug": "^4.3.4",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-functional": "^4.0.2",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^4.0.0",
"fast-check": "^2.14.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.1",
"rollup": "^2.75.0",
@ -27734,7 +27727,7 @@
},
"packages/peer-exchange": {
"name": "@waku/peer-exchange",
"version": "0.0.1",
"version": "0.0.2",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@libp2p/interface-connection": "^3.0.3",
@ -27782,7 +27775,7 @@
},
"packages/proto": {
"name": "@waku/proto",
"version": "0.0.1",
"version": "0.0.2",
"license": "MIT OR Apache-2.0",
"dependencies": {
"protons-runtime": "^3.1.0"
@ -27818,30 +27811,32 @@
"@waku/byte-utils": "*",
"@waku/core": "*",
"@waku/create": "*",
"@waku/dns-discovery": "*",
"@waku/enr": "*",
"@waku/interfaces": "*",
"@waku/message-encryption": "*"
"@waku/message-encryption": "*",
"@waku/peer-exchange": "*",
"app-root-path": "^3.0.0",
"chai": "^4.3.6",
"debug": "^4.3.4",
"mocha": "^9.1.3",
"p-timeout": "^6.0.0",
"portfinder": "^1.0.28",
"tail": "^2.2.0"
},
"devDependencies": {
"@libp2p/bootstrap": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"app-root-path": "^3.0.0",
"chai": "^4.3.6",
"cspell": "^6.17.0",
"debug": "^4.3.4",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-functional": "^4.0.2",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^4.0.0",
"mocha": "^9.1.3",
"npm-run-all": "^4.1.5",
"p-timeout": "^6.0.0",
"portfinder": "^1.0.28",
"prettier": "^2.1.1",
"tail": "^2.2.0",
"typescript": "^4.6.3"
},
"engines": {
@ -31985,9 +31980,11 @@
"@waku/byte-utils": "*",
"@waku/core": "*",
"@waku/create": "*",
"@waku/dns-discovery": "*",
"@waku/enr": "*",
"@waku/interfaces": "*",
"@waku/message-encryption": "*",
"@waku/peer-exchange": "*",
"app-root-path": "^3.0.0",
"chai": "^4.3.6",
"cspell": "^6.17.0",
@ -33262,8 +33259,7 @@
"app-root-path": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/app-root-path/-/app-root-path-3.1.0.tgz",
"integrity": "sha512-biN3PwB2gUtjaYy/isrU3aNWI5w+fAfvHkSvCKeQGxhmYpwKFUxudR3Yya+KqVRHBmEDYh+/lTozYCFbmzX4nA==",
"dev": true
"integrity": "sha512-biN3PwB2gUtjaYy/isrU3aNWI5w+fAfvHkSvCKeQGxhmYpwKFUxudR3Yya+KqVRHBmEDYh+/lTozYCFbmzX4nA=="
},
"append-transform": {
"version": "2.0.0",
@ -36534,7 +36530,6 @@
"version": "2.25.0",
"resolved": "https://registry.npmjs.org/fast-check/-/fast-check-2.25.0.tgz",
"integrity": "sha512-wRUT2KD2lAmT75WNIJIHECawoUUMHM0I5jrlLXGtGeqmPL8jl/EldUDjY1VCp6fDY8yflyfUeIOsOBrIbIiArg==",
"dev": true,
"requires": {
"pure-rand": "^5.0.1"
}
@ -40305,7 +40300,6 @@
"version": "0.5.6",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz",
"integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==",
"dev": true,
"requires": {
"minimist": "^1.2.6"
}
@ -43956,7 +43950,6 @@
"version": "1.0.32",
"resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.32.tgz",
"integrity": "sha512-on2ZJVVDXRADWE6jnQaX0ioEylzgBpQk8r55NE4wjXW1ZxO+BgDlY6DXwj20i0V8eB4SenDQ00WEaxfiIQPcxg==",
"dev": true,
"requires": {
"async": "^2.6.4",
"debug": "^3.2.7",
@ -43967,7 +43960,6 @@
"version": "3.2.7",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
"integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
"dev": true,
"requires": {
"ms": "^2.1.1"
}
@ -44587,8 +44579,7 @@
"pure-rand": {
"version": "5.0.3",
"resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-5.0.3.tgz",
"integrity": "sha512-9N8x1h8dptBQpHyC7aZMS+iNOAm97WMGY0AFrguU1cpfW3I5jINkWe5BIY5md0ofy+1TCIELsVcm/GJXZSaPbw==",
"dev": true
"integrity": "sha512-9N8x1h8dptBQpHyC7aZMS+iNOAm97WMGY0AFrguU1cpfW3I5jINkWe5BIY5md0ofy+1TCIELsVcm/GJXZSaPbw=="
},
"q": {
"version": "1.5.1",
@ -46464,8 +46455,7 @@
"tail": {
"version": "2.2.4",
"resolved": "https://registry.npmjs.org/tail/-/tail-2.2.4.tgz",
"integrity": "sha512-PX8klSxW1u3SdgDrDeewh5GNE+hkJ4h02JvHfV6YrHqWOVJ88nUdSQqtsUf/gWhgZlPAws3fiZ+F1f8euspcuQ==",
"dev": true
"integrity": "sha512-PX8klSxW1u3SdgDrDeewh5GNE+hkJ4h02JvHfV6YrHqWOVJ88nUdSQqtsUf/gWhgZlPAws3fiZ+F1f8euspcuQ=="
},
"tapable": {
"version": "2.2.1",

View File

@ -7,10 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [@waku/core@0.0.9] - 2023-01-18
### Changed
- Removed `/vac/waku/relay/2.0.0-beta2` from `WakuRelay` protocols.
- Moved `@chai` and `@fast-check` to `dependencies` list.
- Remove peer exchange from protocols to expect in `waitForRemotePeer` by default.
### Fixed
@ -643,7 +646,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [ReactJS Chat App example](./examples/web-chat).
- [Typedoc Documentation](https://js-waku.wakuconnect.dev/).
[unreleased]: https://github.com/status-im/js-waku/compare/@waku/core@0.0.8...HEAD
[unreleased]: https://github.com/status-im/js-waku/compare/@waku/core@0.0.9...HEAD
[@waku/core@0.0.9]: https://github.com/waku-org/js-waku/compare/@waku/core@0.0.8...@waku/core@0.0.9
[@waku/core@0.0.8]: https://github.com/waku-org/js-waku/compare/@waku/core@0.0.7...@waku/core@0.0.8
[@waku/core@0.0.7]: https://github.com/waku-org/js-waku/compare/@waku/core@0.0.6...@waku/core@0.0.7
[@waku/core@0.0.6]: https://github.com/waku-org/js-waku/compare/@waku/core@0.0.5...@waku/core@0.0.6

View File

@ -1,6 +1,6 @@
{
"name": "@waku/core",
"version": "0.0.8",
"version": "0.0.9",
"description": "TypeScript implementation of the Waku v2 protocol",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",

View File

@ -0,0 +1,17 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.0.4] - 2023-01-18
### Changed
- Improved test coverage, various fixes.
[unreleased]: https://github.com/waku-org/js-waku/compare/@waku/dns-discovery@0.0.4...HEAD
[0.0.4]: https://github.com/status-im/js-waku/compare/f7f28f03b01fa5bc89eaeb083b68981169b45c39...@waku/dns-discovery@0.0.4

View File

@ -1,6 +1,6 @@
{
"name": "@waku/dns-discovery",
"version": "0.0.3",
"version": "0.0.4",
"description": "DNS Peer Discovery (EIP-1459)",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",

17
packages/enr/CHANGELOG.md Normal file
View File

@ -0,0 +1,17 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.0.4] - 2023-01-18
### Fixed
- Dependencies.
[unreleased]: https://github.com/waku-org/js-waku/compare/@waku/enr@0.0.4...HEAD
[0.0.4]: https://github.com/status-im/js-waku/compare/f7f28f03b01fa5bc89eaeb083b68981169b45c39...@waku/enr@0.0.4

View File

@ -1,6 +1,6 @@
{
"name": "@waku/enr",
"version": "0.0.3",
"version": "0.0.4",
"description": "ENR (EIP-778) for Waku",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",

View File

@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.0.7] - 2023-01-18
### Added
- `IPeerExchange` interface.
@ -26,7 +28,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Alpha version of `@waku/interfaces`.
[unreleased]: https://github.com/waku-org/js-waku/compare/@waku/interfaces@0.0.6...HEAD
[unreleased]: https://github.com/waku-org/js-waku/compare/@waku/interfaces@0.0.7...HEAD
[0.0.7]: https://github.com/waku-org/js-waku/compare/@waku/interfaces@0.0.6...@waku/interfaces@0.0.7
[0.0.6]: https://github.com/waku-org/js-waku/compare/@waku/interfaces@0.0.5...@waku/interfaces@0.0.6
[0.0.5]: https://github.com/waku-org/js-waku/compare/@waku/interfaces@0.0.4...@waku/interfaces@0.0.5
[0.0.4]: https://github.com/waku-org/js-waku/compare/@waku/interfaces@0.0.3...@waku/interfaces@0.0.4

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@waku/libp2p-utils",
"version": "0.0.1",
"version": "0.0.2",
"description": "Utilities to help with libp2p",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",

View File

@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.0.8] - 2023-01-18
### Changed
- Export `Encoder` and `Decoder` types.
@ -46,7 +48,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Alpha version of `@waku/message-encryption`.
[unreleased]: https://github.com/waku-org/js-waku/compare/@waku/message-encryption@0.0.7...HEAD
[unreleased]: https://github.com/waku-org/js-waku/compare/@waku/message-encryption@0.0.8...HEAD
[0.0.8]: https://github.com/waku-org/js-waku/compare/@waku/message-encryption@0.0.7...@waku/message-encryption@0.0.8
[0.0.7]: https://github.com/waku-org/js-waku/compare/@waku/message-encryption@0.0.6...@waku/message-encryption@0.0.7
[0.0.6]: https://github.com/waku-org/js-waku/compare/@waku/message-encryption@0.0.5...@waku/message-encryption@0.0.6
[0.0.5]: https://github.com/waku-org/js-waku/compare/@waku/message-encryption@0.0.4...@waku/message-encryption@0.0.5

View File

@ -1,6 +1,6 @@
{
"name": "@waku/message-encryption",
"version": "0.0.7",
"version": "0.0.8",
"description": "Waku Message Payload Encryption",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",

View File

@ -1,6 +1,6 @@
{
"name": "@waku/peer-exchange",
"version": "0.0.1",
"version": "0.0.2",
"description": "Peer Exchange (https://rfc.vac.dev/spec/34/) protocol for Waku",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",

View File

@ -1,6 +1,6 @@
{
"name": "@waku/proto",
"version": "0.0.1",
"version": "0.0.2",
"description": "Protobuf definitions for Waku",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",