@waku/core 0.0.19 → 0.0.21

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.
Files changed (60) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/bundle/index.js +404 -350
  3. package/bundle/lib/base_protocol.js +11 -6
  4. package/bundle/lib/message/version_0.js +1 -1
  5. package/bundle/lib/predefined_bootstrap_nodes.js +6 -6
  6. package/bundle/{version_0-9c941081.js → version_0-86411fdf.js} +3 -3
  7. package/dist/index.d.ts +2 -4
  8. package/dist/index.js +2 -4
  9. package/dist/index.js.map +1 -1
  10. package/dist/lib/base_protocol.d.ts +9 -5
  11. package/dist/lib/base_protocol.js +11 -6
  12. package/dist/lib/base_protocol.js.map +1 -1
  13. package/dist/lib/connection_manager.d.ts +14 -4
  14. package/dist/lib/connection_manager.js +174 -28
  15. package/dist/lib/connection_manager.js.map +1 -1
  16. package/dist/lib/filter/filter_rpc.js.map +1 -0
  17. package/dist/lib/filter/index.d.ts +2 -0
  18. package/dist/lib/filter/{v2/index.js → index.js} +14 -19
  19. package/dist/lib/filter/index.js.map +1 -0
  20. package/dist/lib/keep_alive_manager.d.ts +2 -2
  21. package/dist/lib/keep_alive_manager.js +1 -1
  22. package/dist/lib/keep_alive_manager.js.map +1 -1
  23. package/dist/lib/light_push/index.d.ts +1 -2
  24. package/dist/lib/light_push/index.js +1 -3
  25. package/dist/lib/light_push/index.js.map +1 -1
  26. package/dist/lib/predefined_bootstrap_nodes.js +6 -6
  27. package/dist/lib/predefined_bootstrap_nodes.js.map +1 -1
  28. package/dist/lib/store/index.d.ts +1 -2
  29. package/dist/lib/store/index.js +1 -3
  30. package/dist/lib/store/index.js.map +1 -1
  31. package/dist/lib/wait_for_remote_peer.d.ts +1 -1
  32. package/dist/lib/wait_for_remote_peer.js +4 -4
  33. package/dist/lib/wait_for_remote_peer.js.map +1 -1
  34. package/dist/lib/waku.d.ts +3 -4
  35. package/dist/lib/waku.js.map +1 -1
  36. package/package.json +11 -19
  37. package/src/index.ts +2 -5
  38. package/src/lib/base_protocol.ts +23 -9
  39. package/src/lib/connection_manager.ts +230 -42
  40. package/src/lib/filter/{v2/index.ts → index.ts} +19 -26
  41. package/src/lib/keep_alive_manager.ts +3 -3
  42. package/src/lib/light_push/index.ts +3 -3
  43. package/src/lib/predefined_bootstrap_nodes.ts +6 -6
  44. package/src/lib/store/index.ts +3 -3
  45. package/src/lib/wait_for_remote_peer.ts +8 -10
  46. package/src/lib/waku.ts +3 -4
  47. package/dist/lib/filter/v1/filter_rpc.d.ts +0 -23
  48. package/dist/lib/filter/v1/filter_rpc.js +0 -45
  49. package/dist/lib/filter/v1/filter_rpc.js.map +0 -1
  50. package/dist/lib/filter/v1/index.d.ts +0 -6
  51. package/dist/lib/filter/v1/index.js +0 -153
  52. package/dist/lib/filter/v1/index.js.map +0 -1
  53. package/dist/lib/filter/v2/filter_rpc.js.map +0 -1
  54. package/dist/lib/filter/v2/index.d.ts +0 -3
  55. package/dist/lib/filter/v2/index.js.map +0 -1
  56. package/src/lib/filter/v1/filter_rpc.ts +0 -53
  57. package/src/lib/filter/v1/index.ts +0 -248
  58. /package/dist/lib/filter/{v2/filter_rpc.d.ts → filter_rpc.d.ts} +0 -0
  59. /package/dist/lib/filter/{v2/filter_rpc.js → filter_rpc.js} +0 -0
  60. /package/src/lib/filter/{v2/filter_rpc.ts → filter_rpc.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -5,6 +5,53 @@ 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.21](https://github.com/waku-org/js-waku/compare/core-v0.0.20...core-v0.0.21) (2023-07-26)
9
+
10
+
11
+ ### ⚠ BREAKING CHANGES
12
+
13
+ * remove filter v1 ([#1433](https://github.com/waku-org/js-waku/issues/1433))
14
+ * upgrade to libp2p@0.45 ([#1400](https://github.com/waku-org/js-waku/issues/1400))
15
+
16
+ ### Features
17
+
18
+ * Enable event emission for peer discovery/connection in ConnectionManager ([#1438](https://github.com/waku-org/js-waku/issues/1438)) ([6ce898d](https://github.com/waku-org/js-waku/commit/6ce898d77132f30b5d8f33b48c7f6276992a486e))
19
+ * Spec test for connection manager ([#1417](https://github.com/waku-org/js-waku/issues/1417)) ([d2f675d](https://github.com/waku-org/js-waku/commit/d2f675d690f4a648dc7294455891f2d66a49ea76))
20
+ * Upgrade to libp2p@0.45 ([#1400](https://github.com/waku-org/js-waku/issues/1400)) ([420e6c6](https://github.com/waku-org/js-waku/commit/420e6c698dd8f44d40d34e47d876da5d2e1ce85e))
21
+
22
+
23
+ ### Miscellaneous Chores
24
+
25
+ * Remove filter v1 ([#1433](https://github.com/waku-org/js-waku/issues/1433)) ([d483644](https://github.com/waku-org/js-waku/commit/d483644a4bb4350df380719b9bcfbdd0b1439482))
26
+
27
+
28
+ ### Dependencies
29
+
30
+ * The following workspace dependencies were updated
31
+ * dependencies
32
+ * @waku/interfaces bumped from 0.0.15 to 0.0.16
33
+ * @waku/utils bumped from 0.0.8 to 0.0.9
34
+
35
+ ## [0.0.20](https://github.com/waku-org/js-waku/compare/core-v0.0.19...core-v0.0.20) (2023-06-08)
36
+
37
+
38
+ ### ⚠ BREAKING CHANGES
39
+
40
+ * rename package from @waku/create to @waku/sdk ([#1386](https://github.com/waku-org/js-waku/issues/1386))
41
+
42
+ ### Features
43
+
44
+ * 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))
45
+ * 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))
46
+
47
+
48
+ ### Dependencies
49
+
50
+ * The following workspace dependencies were updated
51
+ * dependencies
52
+ * @waku/interfaces bumped from 0.0.14 to 0.0.15
53
+ * @waku/utils bumped from 0.0.7 to 0.0.8
54
+
8
55
  ## [0.0.19](https://github.com/waku-org/js-waku/compare/core-v0.0.18...core-v0.0.19) (2023-05-26)
9
56
 
10
57