Florin Barbu
29d83786b2
chore: update org ( #1632 )
...
* update org
* update other images as well
* small fix
2023-10-03 16:11:41 +05:30
fbarbu15
6778eb3809
new test
2023-10-03 12:46:22 +03:00
fbarbu15
a7ef4b80da
Merge branch 'master' of https://github.com/waku-org/js-waku into chore/new-store-tests
2023-10-03 10:06:14 +03:00
fbarbu15
9371477069
new store tests
2023-10-03 10:05:32 +03:00
Florin Barbu
856d3de265
chore: add missing ensureSubscriptions call ( #1628 )
...
Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
2023-10-02 22:32:18 +02:00
dependabot[bot]
d02838164f
chore(deps)(deps): bump fast-check from 3.13.0 to 3.13.1 ( #1629 )
...
Bumps [fast-check](https://github.com/dubzzz/fast-check/tree/HEAD/packages/fast-check ) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/dubzzz/fast-check/releases )
- [Changelog](https://github.com/dubzzz/fast-check/blob/main/packages/fast-check/CHANGELOG.md )
- [Commits](https://github.com/dubzzz/fast-check/commits/v3.13.1/packages/fast-check )
---
updated-dependencies:
- dependency-name: fast-check
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-10-02 22:28:51 +05:30
dependabot[bot]
64f38651bf
chore(deps)(deps): bump libp2p from 0.46.11 to 0.46.12 ( #1630 )
...
Bumps [libp2p](https://github.com/libp2p/js-libp2p ) from 0.46.11 to 0.46.12.
- [Release notes](https://github.com/libp2p/js-libp2p/releases )
- [Changelog](https://github.com/libp2p/js-libp2p/blob/master/.release-please.json )
- [Commits](https://github.com/libp2p/js-libp2p/compare/libp2p-v0.46.11...libp2p-v0.46.12 )
---
updated-dependencies:
- dependency-name: libp2p
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 22:11:49 +05:30
fbarbu15
2ff19c7901
merge master
2023-10-02 13:11:12 +03:00
Florin Barbu
f1d8d6097f
chore(static sharding): add tests for multiple pubsub topics ( #1624 )
...
* new tests for static sharding
* store tests
* small fixes after ci run
* small fixes after ci run
* small fixes after ci run
* multiple pubsubtopics on nwaku node
2023-10-02 15:07:00 +05:30
dependabot[bot]
94b8fd34ca
chore(deps)(deps): bump sinon from 15.2.0 to 16.0.0 ( #1611 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 15.2.0 to 16.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v15.2.0...v16.0.0 )
---
updated-dependencies:
- dependency-name: sinon
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 13:38:23 +05:30
fbarbu15
c1f21a65df
Merge branch 'master' of https://github.com/waku-org/js-waku into chore/new-store-tests
2023-10-02 10:04:06 +03:00
dependabot[bot]
fa6510040c
chore(deps)(deps): bump p-event from 5.0.1 to 6.0.0 ( #1610 )
...
Bumps [p-event](https://github.com/sindresorhus/p-event ) from 5.0.1 to 6.0.0.
- [Release notes](https://github.com/sindresorhus/p-event/releases )
- [Commits](https://github.com/sindresorhus/p-event/compare/v5.0.1...v6.0.0 )
---
updated-dependencies:
- dependency-name: p-event
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-10-02 10:29:45 +05:30
fbarbu15
c83b976621
refactor store tests
2023-09-29 19:10:03 +03:00
fbarbu15
f307e9b6c6
intermediat commit
2023-09-29 14:03:43 +03:00
Danish Arora
a3c45b6e1a
feat(static-sharding)!: allow multiple pubSubTopics ( #1586 )
...
* `ProtocolCreateOptions` now has `pubSubTopic` as `pubSubTopic[]`
* chore: update encoder & decoder to support `PubSubTopic`
* feat(protocols): allow multiple `PubSubTopic[]`
* feat(relay): allow multiple `PubSubTopic[]`
* chore(tests): update for new API
* chore: minor fixes
* chore: make store more robust
* fix(relay): correctly set types
* chore(address comments): update terminology around configured pubsub topics
* chore(address comments): minor refactoring
* chore(relay): split `subscribe` into smaller functions for readability & modularity
* chore(address comments): refactor `waitForGossipSubPeerInMesh`
* chore(store): only allow to query one `pubSubTopic`
* fix: `store` bug
* feat(tests): add some basic tests
* sharding utils
* address comments
* feat(relay): re-add API for `getMeshPeers`
* update error message
Co-authored-by: fryorcraken <110212804+fryorcraken@users.noreply.github.com>
* refactor for new API
* feat: simplify handling of observers (#1614 )
* refactor: simplify handling of observers
* refactor: Remove redundant PubSubTopic from Observer
* use `??` instead of `||`
* update `pubsubTopic` to `pubSubTopic`
* update `interval` typo
* change occurence of `pubsubTopic` to `pubSubTopic`
* relay: rm `getAllMeshPeers` and make `pubSubTopics` public
* relay: use `push_or_init_map` and move to `utils`
* fix: update API for tests
* fix: relay waitForRemotePeer
---------
Co-authored-by: fryorcraken <110212804+fryorcraken@users.noreply.github.com>
2023-09-27 15:28:07 +05:30
Sasha
077d9a76d3
remove webkit from running ( #1621 )
2023-09-27 15:15:07 +05:30
Anton Iakimov
408f5702e4
chore: update wakuv2 fleet DNS discovery enrtree ( #1616 )
...
https://github.com/status-im/infra-misc/issues/171
2023-09-26 23:57:40 +02:00
Simon-Pierre Vivier
6fa106aa7f
fix: subscription RPC & added test subscriptions ( #1587 )
...
Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
2023-09-26 00:24:49 +02:00
Florin Barbu
bcd65a1935
chore: add comment warnings to node ci ( #1609 )
...
Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
2023-09-25 23:57:29 +02:00
Sasha
d9e4bcbe3f
feat: add Firefox and Webkit to karma ( #1598 )
...
* add Firefox and Webkit to karma testing
* try adding install to CI
* add display var
* try container prop
* try FirefoxHeadless
* set env var differently
* apply for all configs
* use root karma config
* fix relative link in karma config
* add log
* return as before
* fix path pattern
* move karma to the root
* try moving tsconfig
* return ts config
* use container for playwright
* add FF for firefox and chrome
* use command for playwright
* add retries
* remove retries
2023-09-22 17:48:07 +02:00
Ivan Folgueira Bande
db4621728b
chore: README.md: fix quick start link ( #1607 )
...
Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
2023-09-22 17:32:34 +02:00
Sasha
281d9b2c9d
feat: add playwright CI testing ( #1542 )
...
* add tests-browser package
* rename to browser
* add playwright and experiment with karma
* add lock
* remove karma
* remove readme
* replace default app, rename
* add and configure playwright
* up package-lock
* use @waku/create-app, add scripts to handle it
* remove tsconfig
* update playwright script
* move dependency to root
* set folder
* up
* try install step
* add playwright dep
* remove step
* add es module utils
* fix import issue
* run on master
* use image prop
* use dotenv-flow, set .env.local
* add log, use dotenv-flow
* add env var to ci
* add env vars to CI
* return install of deps
* return container & log build step
* upgrade @waku/create-app
* fix firefox in container problem
2023-09-22 14:34:16 +02:00
Danish Arora
a718c40882
chore: ensure that we can dial `tls` multiaddrs ( #1580 )
...
* add a test to dial tls version of a multiaddr
* generate new lockfile
ref: https://github.com/libp2p/js-libp2p/pull/2059#issuecomment-1724031879
2023-09-22 15:56:52 +05:30
dependabot[bot]
36785fcb15
chore(deps)(deps-dev): bump lint-staged from 13.2.2 to 14.0.1 ( #1582 )
...
Bumps [lint-staged](https://github.com/okonet/lint-staged ) from 13.2.2 to 14.0.1.
- [Release notes](https://github.com/okonet/lint-staged/releases )
- [Changelog](https://github.com/okonet/lint-staged/blob/master/CHANGELOG.md )
- [Commits](https://github.com/okonet/lint-staged/compare/v13.2.2...v14.0.1 )
---
updated-dependencies:
- dependency-name: lint-staged
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-22 15:15:42 +05:30
dependabot[bot]
3f469ddd22
chore(deps)(deps-dev): bump size-limit from 8.2.6 to 9.0.0 ( #1596 )
...
Bumps [size-limit](https://github.com/ai/size-limit ) from 8.2.6 to 9.0.0.
- [Changelog](https://github.com/ai/size-limit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/size-limit/compare/8.2.6...9.0.0 )
---
updated-dependencies:
- dependency-name: size-limit
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-22 15:02:22 +05:30
Danish Arora
8f9faf4aed
chore: upgrade engine to 18 ( #1604 )
2023-09-22 14:37:34 +05:30
Florin Barbu
9ab4e86f19
chore: bump nwaku version to 0.20 ( #1591 )
2023-09-22 02:55:49 +02:00
Sasha
020463c358
chore: update typescript ( #1528 )
...
* update typescript, define in root package.json
* update typedoc and fix typedoc comments
* update dev version of tsconfig
* set module and resolution for tsconfig dev
* bump ts plugins
* set order of typedoc generation
* turn off warnings as errors setting
2023-09-21 10:57:37 +02:00
fryorcraken
c8def0c577
Merge pull request #1584 from waku-org/fix/lightpush-error-1569
2023-09-21 18:40:26 +10:00
fbarbu15
bbd3f61bc4
increase timeout and use tearDownNodes
2023-09-21 11:29:27 +03:00
fryorcraken.eth
8cbd4c1d00
test: light push should not throw an exception
2023-09-21 12:39:00 +10:00
fryorcraken.eth
fb37c89e40
fix: catch top level exception when preemptively creating streams
2023-09-21 12:39:00 +10:00
fryorcraken.eth
4a9360d4e3
test: fail on unhandled rejections and uncaught exceptions
2023-09-21 12:39:00 +10:00
fryorcraken.eth
3acc4fc86f
refactor: group import
2023-09-21 12:38:59 +10:00
fryorcraken
6d7b235eec
Merge pull request #1585 from waku-org/fix/light-error-1553
2023-09-21 12:38:28 +10:00
fryorcraken.eth
feb6e1b92c
test: nwaku does not behave as expected
2023-09-21 12:25:38 +10:00
fryorcraken.eth
053b6545ad
feat!: return `REMOTE_PEER_REJECTED` if remote peer rejected the message
2023-09-21 11:56:02 +10:00
fryorcraken.eth
6807185f3b
doc: document potential errors
2023-09-21 11:56:02 +10:00
fryorcraken.eth
a31b6e472e
refactor: Remove nest of try/catch in favor of sequential try/catch
2023-09-21 11:56:02 +10:00
fryorcraken.eth
b696a89572
fix: catch stream creation promise rejection for `lightPush.send`
2023-09-21 11:56:02 +10:00
fryorcraken
a0c96bb3f3
Merge pull request #1566 from waku-org/chore/split-ci-into-chunks
2023-09-21 11:54:31 +10:00
Sasha
4d54027f35
Merge branch 'master' into chore/split-ci-into-chunks
2023-09-21 03:36:06 +02:00
Simon-Pierre Vivier
7905aa478b
fix: explicit nwaku subscriptions in tests ( #1572 )
...
* Nwaku subscriptions explicit in tests
* Subscription before each & renaming
* Fix
2023-09-19 22:45:27 +02:00
fbarbu15
e284c78701
chore: new lightpush tests ( #1571 )
...
* new lightpush tests
* fixes after CI run
* split tests into 2 files
* small fix
* address code review comments
* small fix after CI run
---------
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-09-19 15:51:03 +05:30
fbarbu15
884d37634c
merge master into branch and resolve conflicts
2023-09-18 19:42:22 +03:00
dependabot[bot]
4bce7295e0
chore(deps)(deps-dev): bump rollup from 3.29.0 to 3.29.2 ( #1577 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 3.29.0 to 3.29.2.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v3.29.0...v3.29.2 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 21:33:23 +05:30
dependabot[bot]
05ea276c4f
chore(deps)(deps-dev): bump karma from 6.4.1 to 6.4.2 ( #1576 )
...
Bumps [karma](https://github.com/karma-runner/karma ) from 6.4.1 to 6.4.2.
- [Release notes](https://github.com/karma-runner/karma/releases )
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md )
- [Commits](https://github.com/karma-runner/karma/compare/v6.4.1...v6.4.2 )
---
updated-dependencies:
- dependency-name: karma
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 21:20:28 +05:30
fbarbu15
aae1d9f68b
chore: move the failed retries on test level ( #1573 )
...
Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
2023-09-18 11:48:47 +02:00
dependabot[bot]
bb4fdaa248
chore(deps)(deps-dev): bump datastore-core from 9.2.2 to 9.2.3 ( #1574 )
...
Bumps [datastore-core](https://github.com/ipfs/js-stores ) from 9.2.2 to 9.2.3.
- [Release notes](https://github.com/ipfs/js-stores/releases )
- [Commits](https://github.com/ipfs/js-stores/compare/datastore-core-v9.2.2...datastore-core-v9.2.3 )
---
updated-dependencies:
- dependency-name: datastore-core
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-09-18 13:04:11 +05:30
dependabot[bot]
8312871789
chore(deps)(deps-dev): bump interface-datastore from 7.0.4 to 8.2.5 ( #1575 )
...
Bumps [interface-datastore](https://github.com/ipfs/js-stores ) from 7.0.4 to 8.2.5.
- [Release notes](https://github.com/ipfs/js-stores/releases )
- [Commits](https://github.com/ipfs/js-stores/compare/interface-datastore-v7.0.4...interface-datastore-v8.2.5 )
---
updated-dependencies:
- dependency-name: interface-datastore
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-17 00:55:20 +05:30