Commit Graph

1981 Commits

Author SHA1 Message Date
fryorcraken.eth 49e16de396
feat: `WakuLightPush.push` and `WakuRelay.send` returns `SendResult` with the list of recipients. 2022-09-21 10:58:20 +10:00
fryorcraken.eth ae46640ba8
test: group encoder/decoder declaration 2022-09-21 10:58:20 +10:00
fryorcraken.eth 8679adcf80
feat: enable store queries with multiple content topics and decoders 2022-09-21 10:58:18 +10:00
fryorcraken.eth c0c4965e28
feat: use a content topic only decoder for first pass decoding 2022-09-21 10:57:53 +10:00
fryorcraken.eth 52005f8963
feat: enable custom Message type on Decoder
This enables the type passed on the callback functions to match the
decoder's so the consumer can access implementation specific fields.
2022-09-20 14:48:49 +10:00
fryorcraken.eth 9ff602da7e
doc: fix changelog 2022-09-20 12:38:24 +10:00
fryorcraken.eth c0e2bb04d4
Merge pull request #935 from waku-org/waku-message-interface 2022-09-20 12:31:15 +10:00
fryorcraken.eth b2c7e4185f
feat: make message encoding more generic 2022-09-20 12:23:01 +10:00
fryorcraken.eth 96e8d0ebd5
Merge pull request #962 from waku-org/release/0.28.1 2022-09-20 12:08:02 +10:00
fryorcraken.eth d891c35f86
chore: release 0.28.1
### Added

- `WakuRelay.addObserver` now returns a function to delete the observer.

### Changed

- `queryCallbackOnPromise`'s return value has been simplified to
  `Promise<void>`.
- doc: clarified behaviour of `WakuStore` query functions.
2022-09-20 11:42:02 +10:00
fryorcraken.eth f93dc15768
Merge pull request #961 from waku-org/return-delete 2022-09-19 14:53:11 +10:00
fryorcraken.eth 1295a34481
feat: return function to delete observer 2022-09-19 14:44:52 +10:00
fryorcraken.eth 32a55f707a
Merge pull request #960 from waku-org/simplify-store-return 2022-09-19 14:41:00 +10:00
fryorcraken.eth f70d4e4041
feat: simplified and clarified behaviour of `WakuStore` query functions 2022-09-19 14:13:34 +10:00
fryorcraken.eth e5103adfef
Merge pull request #959 from waku-org/release/0.28.0 2022-09-16 13:25:59 +10:00
fryorcraken.eth 3874843e7b
Release 0.28.0 2022-09-16 12:45:14 +10:00
fryorcraken.eth 2df4c5b968
Merge pull request #958 from waku-org/go-waku-0.2.2 2022-09-16 12:35:19 +10:00
fryorcraken.eth 5421008ff3
ci: bump go-waku to 0.2.2 2022-09-16 12:29:40 +10:00
fryorcraken.eth 8daa6d5c95
Merge pull request #947 from waku-org/split-waku-store 2022-09-15 11:34:22 +10:00
fryorcraken.eth 5a529c1cd7
feat: provide several API for store queries 2022-09-14 23:02:19 +10:00
fryorcraken.eth 65511a5888
feat: store callback takes promises
This enables the consumer to decide between:

1. Waiting for all promises, less efficient but maintain order;
2. Process promises as they resolve, faster to get messages through but
disrupt message order.
2022-09-14 22:55:03 +10:00
fryorcraken.eth 930c7beaef
refactor: extract peer selection logic 2022-09-14 22:55:03 +10:00
fryorcraken.eth bdf1c9b7e3
fix: rename to avoid conflict with eponymous TypeScript type 2022-09-14 22:55:03 +10:00
fryorcraken.eth 056aed59fb
refactor: selectRandomPeer doesn't need to be async 2022-09-14 22:55:02 +10:00
fryorcraken.eth 3b05bfe988
refact: getPeersForProtocol only needs the peer store 2022-09-14 22:55:02 +10:00
fryorcraken.eth 0c83953e55
Merge pull request #957 from waku-org/relay-type 2022-09-14 22:54:13 +10:00
fryorcraken.eth b113f3fc25
fix: correct options type to enable passing gossipsub options on create* 2022-09-14 22:24:00 +10:00
fryorcraken.eth d34b64a671
Merge pull request #955 from waku-org/release/0.27.0 2022-09-13 23:02:04 +10:00
fryorcraken.eth a25b16cb54
chore: add peer id log 2022-09-13 22:55:23 +10:00
fryorcraken.eth 0906125834
Release 0.27.0 2022-09-13 22:55:22 +10:00
fryorcraken.eth d83b2b7419
Merge pull request #956 from waku-org/log-peer-id 2022-09-13 20:39:56 +10:00
fryorcraken.eth 2a355df487
chore: add peer id log 2022-09-13 20:25:40 +10:00
fryorcraken.eth c193ba10c5
Merge pull request #954 from waku-org/audit 2022-09-13 13:49:20 +10:00
fryorcraken.eth ade8277c00
chore: fix spelling 2022-09-13 13:37:52 +10:00
fryorcraken.eth 3a562ebfcf
chore: run npm update 2022-09-13 13:25:11 +10:00
fryorcraken.eth f2d667d418
Merge pull request #953 from waku-org/restore-mplex 2022-09-13 13:20:38 +10:00
fryorcraken.eth 69a1e9988b
Revert "fix: downgrade @libp2p/mplex"
This reverts commit 4755f28969.
2022-09-13 13:14:24 +10:00
fryorcraken.eth 9a4834a824
Merge pull request #952 from waku-org/downgrade-mplex 2022-09-13 12:08:27 +10:00
fryorcraken.eth 4755f28969
fix: downgrade @libp2p/mplex
Ref: https://github.com/libp2p/js-libp2p-mplex/issues/215
2022-09-13 12:03:19 +10:00
fryorcraken.eth fb47fcc8a6
Merge pull request #951 from waku-org/revert-util 2022-09-13 11:01:34 +10:00
fryorcraken.eth 9a50e5e65c
Revert "fix: util polyfill not needed"
This reverts commit cf6eafdff3.
2022-09-13 10:05:27 +10:00
fryorcraken.eth b8640e89bd
Merge pull request #948 from waku-org/no-util-polyfill
fix: util polyfill not needed
2022-09-12 15:15:00 +10:00
fryorcraken.eth cf6eafdff3
fix: util polyfill not needed
Ref: https://github.com/libp2p/js-libp2p-mplex/pull/213#issuecomment-1243219007
2022-09-12 14:57:10 +10:00
fryorcraken.eth bbd035f248
Merge pull request #946 from waku-org/rpc-type 2022-09-11 08:25:12 +10:00
fryorcraken.eth ff292f37ba
test: fix typing of JSON RPC response
Ref: https://github.com/status-im/nwaku/issues/1139
2022-09-11 02:10:59 +10:00
fryorcraken.eth 9c43905444
Merge pull request #945 from waku-org/ci/change-domain 2022-09-11 00:55:46 +10:00
fryorcraken.eth f47affad45
doc: update changelog 2022-09-11 00:39:02 +10:00
fryorcraken.eth 54ac43677f
doc: fix infra link 2022-09-11 00:38:12 +10:00
Jakub Sokołowski 91fbcb5fb9
ci: fix deploy.js script to use import
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-11 00:38:11 +10:00
Jakub Sokołowski fa43c0ce05
ci: update site domain to js.waku.org
Resolves: https://github.com/waku-org/js-waku/issues/943

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-11 00:38:11 +10:00