@waku/enr 0.0.5 → 0.0.7

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 (55) hide show
  1. package/CHANGELOG.md +44 -1
  2. package/bundle/index.js +5367 -5359
  3. package/dist/.tsbuildinfo +1 -0
  4. package/dist/creator.d.ts +7 -0
  5. package/dist/creator.js +26 -0
  6. package/dist/creator.js.map +1 -0
  7. package/dist/crypto.d.ts +0 -7
  8. package/dist/crypto.js +1 -7
  9. package/dist/crypto.js.map +1 -1
  10. package/dist/decoder.d.ts +5 -0
  11. package/dist/decoder.js +62 -0
  12. package/dist/decoder.js.map +1 -0
  13. package/dist/encoder.d.ts +7 -0
  14. package/dist/encoder.js +38 -0
  15. package/dist/encoder.js.map +1 -0
  16. package/dist/enr.d.ts +19 -68
  17. package/dist/enr.js +43 -336
  18. package/dist/enr.js.map +1 -1
  19. package/dist/get_multiaddr.d.ts +3 -0
  20. package/dist/get_multiaddr.js +31 -0
  21. package/dist/get_multiaddr.js.map +1 -0
  22. package/dist/index.d.ts +3 -1
  23. package/dist/index.js +3 -1
  24. package/dist/index.js.map +1 -1
  25. package/dist/peer_id.d.ts +4 -0
  26. package/dist/peer_id.js +25 -0
  27. package/dist/peer_id.js.map +1 -0
  28. package/dist/raw_enr.d.ts +56 -0
  29. package/dist/raw_enr.js +142 -0
  30. package/dist/raw_enr.js.map +1 -0
  31. package/dist/v4.js +1 -1
  32. package/dist/v4.js.map +1 -1
  33. package/package.json +39 -28
  34. package/src/creator.ts +36 -0
  35. package/src/crypto.ts +1 -9
  36. package/src/decoder.ts +84 -0
  37. package/src/encoder.ts +50 -0
  38. package/src/enr.ts +50 -411
  39. package/src/get_multiaddr.ts +47 -0
  40. package/src/index.ts +3 -1
  41. package/src/peer_id.ts +34 -0
  42. package/src/raw_enr.ts +204 -0
  43. package/src/v4.ts +1 -2
  44. package/dist/keypair/index.d.ts +0 -8
  45. package/dist/keypair/index.js +0 -53
  46. package/dist/keypair/index.js.map +0 -1
  47. package/dist/keypair/secp256k1.d.ts +0 -13
  48. package/dist/keypair/secp256k1.js +0 -57
  49. package/dist/keypair/secp256k1.js.map +0 -1
  50. package/dist/keypair/types.d.ts +0 -13
  51. package/dist/keypair/types.js +0 -7
  52. package/dist/keypair/types.js.map +0 -1
  53. package/src/keypair/index.ts +0 -76
  54. package/src/keypair/secp256k1.ts +0 -69
  55. package/src/keypair/types.ts +0 -14
package/CHANGELOG.md CHANGED
@@ -2,9 +2,52 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
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
+ ### Dependencies
9
+
10
+ * The following workspace dependencies were updated
11
+ * devDependencies
12
+ * @waku/interfaces bumped from 0.0.8 to 0.0.9
13
+
14
+ ## [0.0.6](https://github.com/waku-org/js-waku/compare/enr-v0.0.5...enr-v0.0.6) (2023-03-16)
15
+
16
+
17
+ ### ⚠ BREAKING CHANGES
18
+
19
+ * add exports map to @waku/utils ([#1201](https://github.com/waku-org/js-waku/issues/1201))
20
+ * directly convert from ENR to `PeerInfo`, remove unneeded utility
21
+ * extract encoder code
22
+ * extract decoder code
23
+ * bump typescript
24
+ * bump all prod dependencies
25
+ * bump libp2p dependencies
26
+
27
+ ### Bug Fixes
28
+
29
+ * Prettier and cspell ignore CHANGELOG ([#1235](https://github.com/waku-org/js-waku/issues/1235)) ([4d7b3e3](https://github.com/waku-org/js-waku/commit/4d7b3e39e6761afaf5d05a13cc4b3c23e15f9bd5))
30
+
31
+
32
+ ### Miscellaneous Chores
33
+
34
+ * Add exports map to @waku/utils ([#1201](https://github.com/waku-org/js-waku/issues/1201)) ([a30b2bd](https://github.com/waku-org/js-waku/commit/a30b2bd747dedeef69b46cfafb88898ba35d8f67))
35
+ * Bump all prod dependencies ([88cc76d](https://github.com/waku-org/js-waku/commit/88cc76d2b811e1fa4460207f38704ecfe18fb260))
36
+ * Bump libp2p dependencies ([803ae7b](https://github.com/waku-org/js-waku/commit/803ae7bd8ed3de665026446c23cde90e7eba9d36))
37
+ * Bump typescript ([12d86e6](https://github.com/waku-org/js-waku/commit/12d86e6abcc68e27c39ca86b4f0dc2b68cdd6000))
38
+ * Directly convert from ENR to `PeerInfo`, remove unneeded utility ([6dbcde0](https://github.com/waku-org/js-waku/commit/6dbcde041ab8fa8c2df75cc25319a0eccf6b0454))
39
+ * Extract decoder code ([130c49b](https://github.com/waku-org/js-waku/commit/130c49b636807063364f309da0da2a24a68f2178))
40
+ * Extract encoder code ([22ffcf5](https://github.com/waku-org/js-waku/commit/22ffcf571aa3998267f0f3b59576abc38f3f4281))
41
+
42
+
43
+ ### Dependencies
44
+
45
+ * The following workspace dependencies were updated
46
+ * dependencies
47
+ * @waku/utils bumped from * to 0.0.2
48
+ * devDependencies
49
+ * @waku/interfaces bumped from * to 0.0.8
50
+
8
51
  ## [Unreleased]
9
52
 
10
53
  ## [0.0.5] - 2023-01-25