@waku/core 0.0.28-efe9b8d.0 → 0.0.28
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 +30 -0
- package/package.json +136 -1
package/CHANGELOG.md
CHANGED
@@ -5,6 +5,36 @@ 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.28](https://github.com/waku-org/js-waku/compare/core-v0.0.27...core-v0.0.28) (2024-04-09)
|
9
|
+
|
10
|
+
|
11
|
+
### ⚠ BREAKING CHANGES
|
12
|
+
|
13
|
+
* **store:** move protocol implementation opinions to `@waku/sdk` ([#1913](https://github.com/waku-org/js-waku/issues/1913))
|
14
|
+
* **lightpush:** move protocol implementation opinions to `@waku/sdk` ([#1887](https://github.com/waku-org/js-waku/issues/1887))
|
15
|
+
|
16
|
+
### Features
|
17
|
+
|
18
|
+
* Add cross peer dependency for [@waku](https://github.com/waku) packages ([#1889](https://github.com/waku-org/js-waku/issues/1889)) ([8f86740](https://github.com/waku-org/js-waku/commit/8f867404e3e950b6e491c8831068962c6968ed4e))
|
19
|
+
* **metadata:** Use error codes ([#1904](https://github.com/waku-org/js-waku/issues/1904)) ([1882023](https://github.com/waku-org/js-waku/commit/1882023c58c830fc31921fe786bce734536ac1da))
|
20
|
+
* Peer-exchange uses error codes ([#1907](https://github.com/waku-org/js-waku/issues/1907)) ([877fe1d](https://github.com/waku-org/js-waku/commit/877fe1dc1daf6826b60ac5011af2915c47864d90))
|
21
|
+
|
22
|
+
|
23
|
+
### Miscellaneous Chores
|
24
|
+
|
25
|
+
* **lightpush:** Move protocol implementation opinions to `@waku/sdk` ([#1887](https://github.com/waku-org/js-waku/issues/1887)) ([8deab11](https://github.com/waku-org/js-waku/commit/8deab11890160b40a22e7d11926a2307afb93af4))
|
26
|
+
* **store:** Move protocol implementation opinions to `@waku/sdk` ([#1913](https://github.com/waku-org/js-waku/issues/1913)) ([bf42c8f](https://github.com/waku-org/js-waku/commit/bf42c8f53a291172d6af64cbf72c4092146899df))
|
27
|
+
|
28
|
+
|
29
|
+
### Dependencies
|
30
|
+
|
31
|
+
* The following workspace dependencies were updated
|
32
|
+
* dependencies
|
33
|
+
* @waku/enr bumped from ^0.0.21 to ^0.0.22
|
34
|
+
* @waku/interfaces bumped from 0.0.22 to 0.0.23
|
35
|
+
* @waku/message-hash bumped from ^0.1.11 to ^0.1.12
|
36
|
+
* @waku/utils bumped from 0.0.15 to 0.0.16
|
37
|
+
|
8
38
|
## [0.0.27](https://github.com/waku-org/js-waku/compare/core-v0.0.26...core-v0.0.27) (2024-03-04)
|
9
39
|
|
10
40
|
|
package/package.json
CHANGED
@@ -1 +1,136 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"name": "@waku/core",
|
3
|
+
"version": "0.0.28",
|
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": "NODE_ENV=test run-s test:*",
|
64
|
+
"test:node": "NODE_ENV=test TS_NODE_PROJECT=./tsconfig.dev.json mocha",
|
65
|
+
"test:browser": "NODE_ENV=test 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
|
+
"@libp2p/ping": "^1.0.12",
|
76
|
+
"@waku/enr": "^0.0.22",
|
77
|
+
"@waku/interfaces": "0.0.23",
|
78
|
+
"@waku/message-hash": "^0.1.12",
|
79
|
+
"@waku/proto": "0.0.6",
|
80
|
+
"@waku/utils": "0.0.16",
|
81
|
+
"debug": "^4.3.4",
|
82
|
+
"it-all": "^3.0.4",
|
83
|
+
"it-length-prefixed": "^9.0.4",
|
84
|
+
"it-pipe": "^3.0.1",
|
85
|
+
"p-event": "^6.0.1",
|
86
|
+
"uint8arraylist": "^2.4.3",
|
87
|
+
"uuid": "^9.0.0"
|
88
|
+
},
|
89
|
+
"devDependencies": {
|
90
|
+
"@multiformats/multiaddr": "^12.0.0",
|
91
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
92
|
+
"@rollup/plugin-json": "^6.0.0",
|
93
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
94
|
+
"@types/chai": "^4.3.11",
|
95
|
+
"@types/debug": "^4.1.12",
|
96
|
+
"@types/mocha": "^10.0.6",
|
97
|
+
"@types/uuid": "^9.0.8",
|
98
|
+
"@waku/build-utils": "*",
|
99
|
+
"chai": "^4.3.10",
|
100
|
+
"cspell": "^8.6.1",
|
101
|
+
"fast-check": "^3.15.1",
|
102
|
+
"ignore-loader": "^0.1.2",
|
103
|
+
"isomorphic-fetch": "^3.0.0",
|
104
|
+
"mocha": "^10.3.0",
|
105
|
+
"npm-run-all": "^4.1.5",
|
106
|
+
"process": "^0.11.10",
|
107
|
+
"rollup": "^4.12.0"
|
108
|
+
},
|
109
|
+
"peerDependencies": {
|
110
|
+
"@multiformats/multiaddr": "^12.0.0",
|
111
|
+
"libp2p": "^1.1.2",
|
112
|
+
"@waku/enr": "^0.0.21",
|
113
|
+
"@waku/interfaces": "0.0.22",
|
114
|
+
"@waku/message-hash": "^0.1.11",
|
115
|
+
"@waku/proto": "0.0.6",
|
116
|
+
"@waku/utils": "0.0.15"
|
117
|
+
},
|
118
|
+
"peerDependenciesMeta": {
|
119
|
+
"@multiformats/multiaddr": {
|
120
|
+
"optional": true
|
121
|
+
},
|
122
|
+
"@waku/interfaces": {
|
123
|
+
"optional": true
|
124
|
+
}
|
125
|
+
},
|
126
|
+
"files": [
|
127
|
+
"dist",
|
128
|
+
"bundle",
|
129
|
+
"src/**/*.ts",
|
130
|
+
"!**/*.spec.*",
|
131
|
+
"!**/*.json",
|
132
|
+
"CHANGELOG.md",
|
133
|
+
"LICENSE",
|
134
|
+
"README.md"
|
135
|
+
]
|
136
|
+
}
|