@waku/message-encryption 0.0.8 → 0.0.10
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 +54 -2
- package/bundle/ecies.js +1 -1
- package/bundle/index-a56f7af2.js +8260 -0
- package/bundle/index.js +1 -1
- package/bundle/symmetric.js +1 -1
- package/dist/.tsbuildinfo +1 -0
- package/dist/crypto/ecies.js +1 -1
- package/dist/crypto/ecies.js.map +1 -1
- package/dist/crypto/index.js +1 -1
- package/dist/crypto/index.js.map +1 -1
- package/dist/decoded_message.d.ts +9 -0
- package/dist/decoded_message.js +13 -0
- package/dist/decoded_message.js.map +1 -0
- package/dist/ecies.d.ts +18 -14
- package/dist/ecies.js +18 -24
- package/dist/ecies.js.map +1 -1
- package/dist/index.d.ts +3 -10
- package/dist/index.js +0 -12
- package/dist/index.js.map +1 -1
- package/dist/symmetric.d.ts +17 -13
- package/dist/symmetric.js +18 -23
- package/dist/symmetric.js.map +1 -1
- package/dist/waku_payload.js +1 -1
- package/dist/waku_payload.js.map +1 -1
- package/package.json +42 -26
- package/src/crypto/ecies.ts +1 -1
- package/src/crypto/index.ts +1 -1
- package/src/decoded_message.ts +27 -0
- package/src/ecies.ts +41 -27
- package/src/index.ts +2 -27
- package/src/symmetric.ts +37 -31
- package/src/waku_payload.ts +1 -1
- package/bundle/index-fb7e6ca5.js +0 -15285
package/CHANGELOG.md
CHANGED
@@ -2,11 +2,62 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
-
The
|
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.10](https://github.com/waku-org/js-waku/compare/message-encryption-v0.0.9...message-encryption-v0.0.10) (2023-03-16)
|
9
|
+
|
10
|
+
|
11
|
+
### ⚠ BREAKING CHANGES
|
12
|
+
|
13
|
+
* add exports map to @waku/utils ([#1201](https://github.com/waku-org/js-waku/issues/1201))
|
14
|
+
* enable encoding of `meta` field
|
15
|
+
* expose pubsub topic in `IDecodedMessage`
|
16
|
+
* update message.proto: payload and content topic are always defined
|
17
|
+
* bump typescript
|
18
|
+
|
19
|
+
### Features
|
20
|
+
|
21
|
+
* Enable encoding of `meta` field ([bd983ea](https://github.com/waku-org/js-waku/commit/bd983ea48ee73fda5a7137d5ef681965aeabb4a5))
|
22
|
+
* Export `Decoder`, `Encoder` and `DecodedMessage` types from root ([da1b18d](https://github.com/waku-org/js-waku/commit/da1b18d9956259af4cb2e6f7c1f06de52b6ec3ac)), closes [#1010](https://github.com/waku-org/js-waku/issues/1010)
|
23
|
+
* Expose pubsub topic in `IDecodedMessage` ([628ac50](https://github.com/waku-org/js-waku/commit/628ac50d7104ec3c1dff44db58077a85db6b6aa1)), closes [#1208](https://github.com/waku-org/js-waku/issues/1208)
|
24
|
+
|
25
|
+
|
26
|
+
### Bug Fixes
|
27
|
+
|
28
|
+
* 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))
|
29
|
+
|
30
|
+
|
31
|
+
### Miscellaneous Chores
|
32
|
+
|
33
|
+
* 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))
|
34
|
+
* Bump typescript ([12d86e6](https://github.com/waku-org/js-waku/commit/12d86e6abcc68e27c39ca86b4f0dc2b68cdd6000))
|
35
|
+
* Update message.proto: payload and content topic are always defined ([5cf8ed2](https://github.com/waku-org/js-waku/commit/5cf8ed2030c9efbc4c4b66aa801827482c1e4249))
|
36
|
+
|
37
|
+
|
38
|
+
### Dependencies
|
39
|
+
|
40
|
+
* The following workspace dependencies were updated
|
41
|
+
* dependencies
|
42
|
+
* @waku/core bumped from * to 0.0.11
|
43
|
+
* @waku/interfaces bumped from * to 0.0.8
|
44
|
+
* @waku/proto bumped from * to 0.0.3
|
45
|
+
* @waku/utils bumped from * to 0.0.2
|
46
|
+
|
8
47
|
## [Unreleased]
|
9
48
|
|
49
|
+
### Changed
|
50
|
+
|
51
|
+
- `createEncoder` now take an object of type `EncoderOptions` instead of `contentTopic` and `ephemeral`
|
52
|
+
- For Ecies, `createEncoder` now take an object of type `EncoderOptions` instead of `contentTopic`, `ephemeral`, `publicKey` and `sigPrivKey`
|
53
|
+
- For Symmetric, `createEncoder` now take an object of type `EncoderOptions` instead of `contentTopic`, `ephemeral`, `symKey` and `sigPrivKey`
|
54
|
+
|
55
|
+
## [0.0.9] - 2023-01-25
|
56
|
+
|
57
|
+
### Fixed
|
58
|
+
|
59
|
+
- Moved `@chai` and `@fast-check` to `devDependencies` list.
|
60
|
+
|
10
61
|
## [0.0.8] - 2023-01-18
|
11
62
|
|
12
63
|
### Changed
|
@@ -48,7 +99,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
48
99
|
|
49
100
|
- Alpha version of `@waku/message-encryption`.
|
50
101
|
|
51
|
-
[unreleased]: https://github.com/waku-org/js-waku/compare/@waku/message-encryption@0.0.
|
102
|
+
[unreleased]: https://github.com/waku-org/js-waku/compare/@waku/message-encryption@0.0.9...HEAD
|
103
|
+
[0.0.9]: https://github.com/waku-org/js-waku/compare/@waku/message-encryption@0.0.8...@waku/message-encryption@0.0.9
|
52
104
|
[0.0.8]: https://github.com/waku-org/js-waku/compare/@waku/message-encryption@0.0.7...@waku/message-encryption@0.0.8
|
53
105
|
[0.0.7]: https://github.com/waku-org/js-waku/compare/@waku/message-encryption@0.0.6...@waku/message-encryption@0.0.7
|
54
106
|
[0.0.6]: https://github.com/waku-org/js-waku/compare/@waku/message-encryption@0.0.5...@waku/message-encryption@0.0.6
|
package/bundle/ecies.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export {
|
1
|
+
export { b as createDecoder, c as createEncoder, g as generatePrivateKey, a as getPublicKey } from './index-a56f7af2.js';
|