Commit Graph

1961 Commits

Author SHA1 Message Date
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
fryorcraken.eth 70547db2be
Merge pull request #940 from waku-org/ignored-promise 2022-09-11 00:32:06 +10:00
fryorcraken.eth 07007eadb0
fix: do not ignore promise in `addPeerToAddressBook` 2022-09-11 00:16:07 +10:00
fryorcraken.eth 31873e2ee2
Merge pull request #944 from waku-org/fix-project-action
ci: remove classic project actions
2022-09-09 18:58:10 +10:00
fryorcraken.eth e4362c80e1
ci: remove classic project actions 2022-09-09 16:41:19 +10:00
fryorcraken.eth 7cc0289132
Merge pull request #939 from status-im/gen-doc 2022-09-09 13:41:19 +10:00
fryorcraken.eth 01baf4b6e6
docs: reinstate Jenkins deployment of docs 2022-09-09 10:18:49 +10:00
fryorcraken.eth 4d29698128
Merge pull request #931 from status-im/optional-protocols 2022-09-08 19:30:00 +10:00
fryorcraken.eth c9963a4aea
docs: fix links 2022-09-08 18:44:16 +10:00
fryorcraken.eth 6ef0a69d07
ci: fix size-limit config 2022-09-08 18:35:21 +10:00
fryorcraken.eth 91e4d1b435
test: uses full nodes in tests
Ref:  https://github.com/status-im/nwaku/issues/1085
2022-09-08 18:35:21 +10:00
fryorcraken.eth 9fc16143fa
feat: createLightNode and createPrivacyNode helpers 2022-09-08 18:35:20 +10:00
fryorcraken.eth f56f6e2e83
feat: define `Waku` interface 2022-09-08 18:35:20 +10:00
fryorcraken.eth aee054d9d6
feat: merge gossipsub type in CreateOptions interface 2022-09-08 18:35:20 +10:00
fryorcraken.eth a54494dbbf
build: run `make update` before building nwaku 2022-09-08 18:35:13 +10:00
fryorcraken.eth 39f5b83501
Merge pull request #936 from status-im/release/0.26.0 2022-09-08 17:31:10 +10:00
fryorcraken.eth f9abc79297
Release 0.26.0 2022-09-08 15:08:53 +10:00
fryorcraken.eth bcb9082ea1
Merge pull request #926 from status-im/console-log
refactor: remove console.log usage
2022-09-08 15:00:43 +10:00
fryorcraken.eth d97201d6df
style: use `log` for `debug` across codebase 2022-09-08 13:18:07 +10:00
fryorcraken.eth 3c5f1d89df
style: add warning for usage of console 2022-09-08 13:18:07 +10:00
fryorcraken.eth c5e1f50cc8
refactor: remove `console.log` usage 2022-09-08 13:18:07 +10:00