Commit Graph

89 Commits

Author SHA1 Message Date
fryorcraken.eth a372307a30
refactor: adopt dependency injection patter for other Waku protocols
It actually simplies the API as the caller does not need to pass
libp2p to each protocol anymore (when not using a `create*` helper).
2022-11-17 12:06:43 +11:00
fryorcraken.eth 8dfb133cd7
fix: libp2p upgrade (no more autodial + constructor dependency injection) 2022-11-16 21:27:33 +11:00
fryorcraken.eth 910fc5a6b2
chore: bump several libp2p dependencies 2022-11-16 21:27:33 +11:00
fryorcraken.eth 9d2df1d620
chore: bump libp2p to 0.40.0 2022-11-16 21:27:32 +11:00
fryorcraken.eth 59992832fe
feat!: add Waku Message ephemeral support 2022-11-16 11:00:43 +11:00
fryorcraken.eth a0162febc7
chore: remove unnecessary ts-ignore 2022-11-15 22:01:27 +11:00
fryorcraken.eth 12fa89c930
fix: defaults to mounted protocol when dialing 2022-11-15 22:01:27 +11:00
fryorcraken.eth 1b85373472
test: use `esnext` for NodeJS tests 2022-11-15 22:01:27 +11:00
fryorcraken.eth 74d7bb90c7
test: compare all messages at once
Makes it easier to understand the order mismatch.
2022-11-15 22:01:27 +11:00
fryorcraken.eth 11c9823a9d
test: use byte payload to more easily read nwaku's logs 2022-11-15 22:01:27 +11:00
fryorcraken.eth c3c3833b1b
test: nwaku's store now reject messages older than 20s 2022-11-15 22:01:27 +11:00
fryorcraken.eth 862a33f239
test: reduce log verbosity 2022-11-15 22:01:27 +11:00
fryorcraken.eth 584fe29b39
chore: improve log format 2022-11-15 22:01:26 +11:00
fryorcraken.eth 66270836f8
test: need to specify in memory sqlite
So that messages are not persisted between tests.
2022-11-15 22:01:26 +11:00
fryorcraken.eth 9cdc9f96ac
test: nwaku's --persist-message is now deprecated
`--store=true` is enough to enable message persist for waku store.
2022-11-15 22:01:26 +11:00
fryorcraken.eth e05216a282
chore: update changelog 2022-11-11 16:49:12 +11:00
fryorcraken.eth 7a75eb03b7
chore(interfaces): release @waku/interfaces@0.0.4 2022-11-11 16:47:28 +11:00
fryorcraken.eth 56568b7f79
chore(core): release @waku/core@0.0.5 2022-11-11 16:45:40 +11:00
fryorcraken.eth 3ab78eacee
chore(interfaces/core): bump libp2p to 0.39.5
Fixes connection-manager bug
2022-11-11 16:12:52 +11:00
fryorcraken.eth bca31a6fa5
chore(interfaces): release 0.0.3 2022-11-11 15:48:14 +11:00
fryorcraken.eth 0a3944ee8c
chore(core): release 0.0.4 2022-11-09 15:47:34 +11:00
fryorcraken.eth 063fac71e2
chore(interfaces): bump libp2p 2022-11-09 14:48:44 +11:00
fryorcraken.eth a60f2e529c
test: remove todo now that @multiformats/multiaddr@11 is used by all deps 2022-11-09 14:47:13 +11:00
fryorcraken.eth 81422b7abb
chore(core): bump libp2p 2022-11-09 14:44:03 +11:00
fryorcraken.eth ea822b206e
chore(core): bump @libp2p/interface-connection 2022-11-09 13:28:55 +11:00
fryorcraken.eth b678772ca3
chore(create): release 0.0.3 2022-11-04 16:43:09 +11:00
fryorcraken.eth bf6992effb
chore(core): release 0.0.3 2022-11-04 16:42:13 +11:00
fryorcraken.eth cb835ada65
fix(core,create): dependencies mismatch
Some `create` dependencies were still in the `core` package.json file.
2022-11-04 16:35:42 +11:00
fryorcraken.eth 5d64f8b90a
chore(message-encryption): release 0.0.3 2022-11-04 16:26:53 +11:00
fryorcraken.eth 148123a756
fix: missing extension 2022-11-04 16:18:55 +11:00
fryorcraken.eth d9cdb78f8a
fix: missing dependency 2022-11-04 16:18:54 +11:00
fryorcraken.eth d9799ada56
chore: remove unneeded `release` script
We now release from the root.
2022-11-04 15:26:50 +11:00
fryorcraken.eth be45358e9c
Release 0.0.2 2022-11-04 14:54:12 +11:00
fryorcraken.eth 2be2718531
chore: `check:tsc` needs to check test files too 2022-11-04 14:31:15 +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
fryorcraken.eth 256b7223f3
chore!: extract version-1 from chore 2022-11-04 11:28:14 +11:00
fryorcraken.eth a20b7809d6
chore: init message-encryption package 2022-11-04 11:25:53 +11:00
fryorcraken.eth 5a78b5f246
chore: Remove semantic-release-monorepo, move semantic-release to root 2022-11-04 10:04:38 +11:00
fryorcraken.eth 55192a2774
chore: fix tests test + karma tests 2022-11-03 22:40:42 +11:00
fryorcraken.eth e901e7f69d
chore: fix tests build 2022-11-03 21:48:04 +11:00
fryorcraken.eth d78a40f273
chore: fix dns-discovery build 2022-11-03 21:37:55 +11:00
fryorcraken.eth 81c855314d
chore: move dependencies from core to enr 2022-11-03 14:42:01 +11:00
fryorcraken.eth 21e5e41b0a
chore: build core package 2022-11-03 14:24:08 +11:00
fryorcraken.eth 25dfe9d969
chore: get dns-discovery to compile (almost) 2022-11-03 14:24:08 +11:00
fryorcraken.eth 9cc32c1032
tests: fix karma 2022-11-03 14:24:08 +11:00
fryorcraken.eth 8a00bc1b85
chore!: extract utils from core 2022-11-03 14:24:08 +11:00
fryorcraken.eth f7f28f03b0
feat!: extract dns discovery and enr from core 2022-11-03 14:24:08 +11:00
fryorcraken.eth 093d84605f
chore: release 0.0.1 2022-11-02 15:36:11 +11:00