Commit Graph

2112 Commits

Author SHA1 Message Date
fryorcraken.eth 280d4a60dc
chore: make no-console an error
We use `debug` across the codebase, this ensures no `console.log` slips
in by mistake.
2022-12-02 13:23:57 +11:00
Danish Arora 50c6ea9ea9
Merge pull request #1031 from waku-org/danisharora/improve-cursor-api
feat: improve the cursor API
2022-11-22 23:06:50 +05:30
danisharora099 1314930765
fix: store 2022-11-22 23:03:31 +05:30
danisharora099 b8c5d27a3c
chore: redeploy 2022-11-22 22:53:15 +05:30
danisharora099 9c8d7a5cd4
chore: redeploy 2022-11-22 22:47:04 +05:30
Danish Arora 2215e44985
Merge branch 'master' into danisharora/improve-cursor-api 2022-11-21 17:56:18 +05:30
danisharora099 36a01c3c30
address comments 2022-11-21 13:20:21 +05:30
fryorcraken.eth a85db50abd
Merge pull request #1029 from waku-org/feat/multiaddr-optional-dep 2022-11-21 11:14:02 +11:00
fryorcraken.eth 2ecb761ea7
feat: add `@multiformats/multiaddr` as peer dep
This dep often has breakings changes on type and is used by several
APIs. Declaring as an optional peer dependency will hopefully help the
user know what version to install.
2022-11-21 11:02:39 +11:00
fryorcraken.eth 5ba874065d
Merge pull request #900 from waku-org/filter 2022-11-21 10:57:52 +11:00
fryorcraken.eth 2a0b06f361
test: use `createLightNode` instead of a full node
As full node was only necessary due to an issue nwaku v0.11.

Ref: https://github.com/status-im/nwaku/pull/1090
2022-11-21 10:52:33 +11:00
fryorcraken.eth 613cfea023
Merge pull request #985 from waku-org/dependabot/npm_and_yarn/uuid-9.0.0 2022-11-21 10:37:02 +11:00
dependabot[bot] 62f300ce81
build(deps): bump uuid from 8.3.2 to 9.0.0
Bumps [uuid](https://github.com/uuidjs/uuid) from 8.3.2 to 9.0.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v8.3.2...v9.0.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-18 15:58:49 +00:00
fryorcraken.eth 110f15d16b
Merge pull request #1028 from waku-org/release/core-0.0.6 2022-11-18 13:49:24 +11:00
fryorcraken.eth ab861431d5
doc: release core@0.0.6 (changelog) 2022-11-18 13:35:09 +11:00
fryorcraken.eth dfa7c6b107
chore: release core@0.0.6 2022-11-18 13:27:36 +11:00
Danish Arora a3da9f4f9b
Merge pull request #1024 from waku-org/danisharora/cursor-support-store
feat!: support for cursors on store API
2022-11-17 13:07:56 +05:30
danisharora099 9f0493221e
commit package-lock 2022-11-17 13:03:36 +05:30
danisharora099 100eb4c4b4
Merge branch 'master' into danisharora/cursor-support-store 2022-11-17 13:00:48 +05:30
Danish Arora 9860ef496f
Merge pull request #1016 from waku-org/danisharora/add-user-agent
feat!: add support for adding/setting user agent
2022-11-17 12:56:52 +05:30
fryorcraken.eth ee009742c3
Merge branch 'master' of github.com:waku-org/js-waku into danisharora/add-user-agent 2022-11-17 14:41:01 +11:00
fryorcraken.eth 83e4b2713c
Merge pull request #1026 from waku-org/chore/libp2p-0.40.0 2022-11-17 14:35:32 +11:00
fryorcraken.eth a8ab53a6c5
tests: Use in-memory DB instead of sqlite (in memory) 2022-11-17 14:28:01 +11:00
fryorcraken.eth 8984721d47
chore: upgrade artifact action, ensure no artifact override 2022-11-17 13:01:00 +11:00
fryorcraken.eth 0cabd9a38e
chore: move debug log to file, upload it 2022-11-17 12:53:51 +11:00
fryorcraken.eth 12de3a14e7
chore: fix log path for ci upload 2022-11-17 12:53:38 +11:00
fryorcraken.eth c8e286a42a
test: Fix flaky ephemeral test and general improvement
The messages were sent at the same time over light push so there was
no strong order preservation from the behaviour.
Correction: order does not matter, just check that messages aren't
present.

Messages were only checked for `ephemeral` being false + one test was
doing several checks.
Correction: split the test and use light push + filter to check
ephemeral field value preservation.
2022-11-17 12:31:33 +11:00
fryorcraken.eth ee7e22b17d
doc: update changelog 2022-11-17 12:31:33 +11:00
fryorcraken.eth b6faebc422
test: fix flaky test 2022-11-17 12:31:32 +11:00
fryorcraken.eth 909a8f94c2
test: set nwaku logs to trace
Can now be done via command line argument.
2022-11-17 12:07:53 +11:00
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 e3e1197a91
fix: correct usage of the libp2p API 2022-11-17 11:30:07 +11:00
fryorcraken.eth c7920f09f3
test: check both custom and default agents 2022-11-17 11:29:34 +11:00
danisharora099 1cfba385c9
rn persist 2022-11-17 01:34:49 +05:30
Danish Arora 708d48a914
Merge branch 'master' into danisharora/add-user-agent 2022-11-17 01:21:46 +05:30
danisharora099 07d6d226a4
chore: redeploy 2022-11-17 00:49:48 +05:30
danisharora099 0e0660f5b1
revert: timeout 2022-11-16 19:06:32 +05:30
danisharora099 0627a803ea
verbose error message 2022-11-16 19:06:04 +05:30
danisharora099 0f73c0f331
address comments 2022-11-16 19:00:09 +05:30
danisharora099 5c4118041e
fix: cursor 2022-11-16 18:57:46 +05:30
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
Danish Arora 9613e9c41d
Merge branch 'master' into danisharora/cursor-support-store 2022-11-16 13:26:35 +05:30
fryorcraken.eth efe5b326a5
Merge pull request #1014 from waku-org/danisharora/add-ephemeral-support 2022-11-16 11:06:42 +11:00
fryorcraken.eth 59992832fe
feat!: add Waku Message ephemeral support 2022-11-16 11:00:43 +11:00
fryorcraken.eth 07e3a1ad69
Merge pull request #1025 from waku-org/nwaku-v0.13.0 2022-11-16 10:11:49 +11:00
danisharora099 f3575afdfd
add: test case 2022-11-16 00:57:42 +05:30
danisharora099 a49786fc83
chore: redeploy 2022-11-15 23:56:21 +05:30
Danish Arora ae5ab0d1e0
Merge branch 'master' into danisharora/add-user-agent 2022-11-15 23:45:48 +05:30