fryorcraken.eth
bff9b857ec
fix: export Encoder and Decoder types
...
Enables API consumer to use the types.
2022-12-20 16:11:41 +11:00
fryorcraken.eth
75c8e2be8d
fix: incorrect proto import
2022-12-19 16:27:26 +11:00
fryorcraken.eth
574f3ee80f
refactor: remove waku_ from module names
...
This is redundant with the context (waku package).
2022-12-12 22:36:13 +11:00
fryorcraken.eth
cc691e26ce
feat: added I prefix to message/codec interfaces
...
To make it easier to differentiate with their implementations.
2022-12-12 22:13:46 +11:00
fryorcraken.eth
80d7215e15
doc: createEncoder and createDecoder
2022-12-05 16:05:20 +11:00
fryorcraken.eth
a4ddb45af1
chore: do not use Partial when not needed
2022-12-05 15:14:51 +11:00
fryorcraken.eth
f7fabec8b3
feat: easy import by having an export map for each type of encryption
2022-12-05 15:14:17 +11:00
fryorcraken.eth
563b66eab5
refactor: separate symmetric and asymmetric encoders
2022-12-05 09:34:17 +11:00
fryorcraken.eth
1d727b2bc0
refactor: extract 26/WAKU-PAYLOAD related function to waku_payload.ts
2022-12-05 09:34:17 +11:00
fryorcraken.eth
e65e0a0a80
refactor: move module that define cryptographic operations to crypto/
...
This is to prepare the split of encoder/decoder/message definition
from index.ts.
2022-12-05 09:34:17 +11:00
fryorcraken.eth
ad15f861c3
feat!: hide Decoder/Encoder classes to user
...
Reasoning: by exposing the `Decoder` and `Encoder` classes to the user,
the user may care about them, try to use the method etc.
By "hiding" them away and providing `create*` help, the aim is for the
user to just call a function instead of instantiating a class.
Also, `V0` does not provide much information to the user so removing it.
2022-12-05 09:34:17 +11:00
fryorcraken.eth
59992832fe
feat!: add Waku Message ephemeral support
2022-11-16 11:00:43 +11:00
fryorcraken.eth
148123a756
fix: missing extension
2022-11-04 16:18:55 +11:00
fryorcraken.eth
8aa9b43f61
feat!: split outgoing and incoming message interface
...
While the data structure are similar, they serve different purposes.
Having the same type has show to confuse API consumers
Resolves #979
2022-11-04 14:30:59 +11:00
fryorcraken.eth
1a09aa18d5
chore: fix tests
2022-11-04 11:45:15 +11:00
fryorcraken.eth
e6efd0438c
chore: make message-encryption compile
2022-11-04 11:38:32 +11:00