@waku/core 0.0.25-a42b7be.0 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/package.json +127 -1
package/CHANGELOG.md
CHANGED
@@ -5,6 +5,31 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The file is maintained by [Release Please](https://github.com/googleapis/release-please) based on [Conventional Commits](https://www.conventionalcommits.org) specification,
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## [0.0.25](https://github.com/waku-org/js-waku/compare/core-v0.0.24...core-v0.0.25) (2023-11-01)
|
9
|
+
|
10
|
+
|
11
|
+
### Features
|
12
|
+
|
13
|
+
* Fail early when trying to send empty payload ([#1642](https://github.com/waku-org/js-waku/issues/1642)) ([6bad4ea](https://github.com/waku-org/js-waku/commit/6bad4ea7d1dee79c296c550390da57ffa824e2cf))
|
14
|
+
* Logger with log levels ([#1672](https://github.com/waku-org/js-waku/issues/1672)) ([0f7d63e](https://github.com/waku-org/js-waku/commit/0f7d63ef93716223dc8fea7e8cb09e12e267b386))
|
15
|
+
|
16
|
+
|
17
|
+
### Bug Fixes
|
18
|
+
|
19
|
+
* Don't dial discovered peers if have already been attempted dial ([#1657](https://github.com/waku-org/js-waku/issues/1657)) ([1892f50](https://github.com/waku-org/js-waku/commit/1892f5093da540530d7ee5640178ebaa46cf769f))
|
20
|
+
* Filter subscription with `pubsubTopic1` and decoder with `pubsubTopic2` ([#1675](https://github.com/waku-org/js-waku/issues/1675)) ([491366b](https://github.com/waku-org/js-waku/commit/491366bd4f96d5b72f83ca47dea5a93389ec5a27))
|
21
|
+
* Handle all empty responses in filter ([#1688](https://github.com/waku-org/js-waku/issues/1688)) ([b3864f8](https://github.com/waku-org/js-waku/commit/b3864f8772b072e804954c1096510554ea578424))
|
22
|
+
* Measure total message size ([#1643](https://github.com/waku-org/js-waku/issues/1643)) ([b7dc3d7](https://github.com/waku-org/js-waku/commit/b7dc3d7576e9444a5acbb036812c05cfccb25815))
|
23
|
+
|
24
|
+
|
25
|
+
### Dependencies
|
26
|
+
|
27
|
+
* The following workspace dependencies were updated
|
28
|
+
* dependencies
|
29
|
+
* @waku/enr bumped from ^0.0.18 to ^0.0.19
|
30
|
+
* @waku/interfaces bumped from 0.0.19 to 0.0.20
|
31
|
+
* @waku/utils bumped from 0.0.12 to 0.0.13
|
32
|
+
|
8
33
|
## [0.0.24](https://github.com/waku-org/js-waku/compare/core-v0.0.23...core-v0.0.24) (2023-10-16)
|
9
34
|
|
10
35
|
|
package/package.json
CHANGED
@@ -1 +1,127 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"name": "@waku/core",
|
3
|
+
"version": "0.0.25",
|
4
|
+
"description": "TypeScript implementation of the Waku v2 protocol",
|
5
|
+
"types": "./dist/index.d.ts",
|
6
|
+
"module": "./dist/index.js",
|
7
|
+
"exports": {
|
8
|
+
".": {
|
9
|
+
"types": "./dist/index.d.ts",
|
10
|
+
"import": "./dist/index.js"
|
11
|
+
},
|
12
|
+
"./lib/predefined_bootstrap_nodes": {
|
13
|
+
"types": "./dist/lib/predefined_bootstrap_nodes.d.ts",
|
14
|
+
"import": "./dist/lib/predefined_bootstrap_nodes.js"
|
15
|
+
},
|
16
|
+
"./lib/message/version_0": {
|
17
|
+
"types": "./dist/lib/message/version_0.d.ts",
|
18
|
+
"import": "./dist/lib/message/version_0.js"
|
19
|
+
},
|
20
|
+
"./lib/base_protocol": {
|
21
|
+
"types": "./dist/lib/base_protocol.d.ts",
|
22
|
+
"import": "./dist/lib/base_protocol.js"
|
23
|
+
}
|
24
|
+
},
|
25
|
+
"typesVersions": {
|
26
|
+
"*": {
|
27
|
+
"lib/*": [
|
28
|
+
"dist/lib/*"
|
29
|
+
],
|
30
|
+
"constants/*": [
|
31
|
+
"dist/constants/*"
|
32
|
+
]
|
33
|
+
}
|
34
|
+
},
|
35
|
+
"type": "module",
|
36
|
+
"homepage": "https://github.com/waku-org/js-waku/tree/master/packages/core#readme",
|
37
|
+
"repository": {
|
38
|
+
"type": "git",
|
39
|
+
"url": "https://github.com/waku-org/js-waku.git"
|
40
|
+
},
|
41
|
+
"bugs": {
|
42
|
+
"url": "https://github.com/waku-org/js-waku/issues"
|
43
|
+
},
|
44
|
+
"license": "MIT OR Apache-2.0",
|
45
|
+
"keywords": [
|
46
|
+
"waku",
|
47
|
+
"decentralised",
|
48
|
+
"communication",
|
49
|
+
"web3",
|
50
|
+
"ethereum",
|
51
|
+
"dapps"
|
52
|
+
],
|
53
|
+
"scripts": {
|
54
|
+
"build": "run-s build:**",
|
55
|
+
"build:esm": "tsc",
|
56
|
+
"build:bundle": "rollup --config rollup.config.js",
|
57
|
+
"fix": "run-s fix:*",
|
58
|
+
"fix:lint": "eslint src *.js --fix",
|
59
|
+
"check": "run-s check:*",
|
60
|
+
"check:tsc": "tsc -p tsconfig.dev.json",
|
61
|
+
"check:lint": "eslint src *.js",
|
62
|
+
"check:spelling": "cspell \"{README.md,src/**/*.ts}\"",
|
63
|
+
"test": "run-s test:*",
|
64
|
+
"test:node": "TS_NODE_PROJECT=./tsconfig.dev.json mocha",
|
65
|
+
"test:browser": "karma start karma.conf.cjs",
|
66
|
+
"watch:build": "tsc -p tsconfig.json -w",
|
67
|
+
"watch:test": "mocha --watch",
|
68
|
+
"prepublish": "npm run build",
|
69
|
+
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
|
70
|
+
},
|
71
|
+
"engines": {
|
72
|
+
"node": ">=18"
|
73
|
+
},
|
74
|
+
"dependencies": {
|
75
|
+
"@noble/hashes": "^1.3.2",
|
76
|
+
"@waku/enr": "^0.0.19",
|
77
|
+
"@waku/interfaces": "0.0.20",
|
78
|
+
"@waku/proto": "0.0.5",
|
79
|
+
"@waku/utils": "0.0.13",
|
80
|
+
"debug": "^4.3.4",
|
81
|
+
"it-all": "^3.0.3",
|
82
|
+
"it-length-prefixed": "^9.0.1",
|
83
|
+
"it-pipe": "^3.0.1",
|
84
|
+
"p-event": "^6.0.0",
|
85
|
+
"uint8arraylist": "^2.4.3",
|
86
|
+
"uuid": "^9.0.0"
|
87
|
+
},
|
88
|
+
"devDependencies": {
|
89
|
+
"@multiformats/multiaddr": "^12.0.0",
|
90
|
+
"@rollup/plugin-commonjs": "^25.0.4",
|
91
|
+
"@rollup/plugin-json": "^6.0.0",
|
92
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
93
|
+
"@types/chai": "^4.3.5",
|
94
|
+
"@types/debug": "^4.1.10",
|
95
|
+
"@types/mocha": "^10.0.1",
|
96
|
+
"@types/uuid": "^9.0.3",
|
97
|
+
"@waku/build-utils": "*",
|
98
|
+
"chai": "^4.3.7",
|
99
|
+
"cspell": "^7.3.2",
|
100
|
+
"fast-check": "^3.13.1",
|
101
|
+
"ignore-loader": "^0.1.2",
|
102
|
+
"isomorphic-fetch": "^3.0.0",
|
103
|
+
"mocha": "^10.2.0",
|
104
|
+
"npm-run-all": "^4.1.5",
|
105
|
+
"process": "^0.11.10",
|
106
|
+
"rollup": "^3.29.2"
|
107
|
+
},
|
108
|
+
"peerDependencies": {
|
109
|
+
"@multiformats/multiaddr": "^12.0.0",
|
110
|
+
"libp2p": "^0.46.3"
|
111
|
+
},
|
112
|
+
"peerDependenciesMeta": {
|
113
|
+
"@multiformats/multiaddr": {
|
114
|
+
"optional": true
|
115
|
+
}
|
116
|
+
},
|
117
|
+
"files": [
|
118
|
+
"dist",
|
119
|
+
"bundle",
|
120
|
+
"src/**/*.ts",
|
121
|
+
"!**/*.spec.*",
|
122
|
+
"!**/*.json",
|
123
|
+
"CHANGELOG.md",
|
124
|
+
"LICENSE",
|
125
|
+
"README.md"
|
126
|
+
]
|
127
|
+
}
|