Commit Graph

2656 Commits

Author SHA1 Message Date
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
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
dependabot[bot] b624a1afd5
chore(deps)(deps): bump protons-runtime from 5.0.0 to 5.0.2 (#1561)
Bumps [protons-runtime](https://github.com/ipfs/protons) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/ipfs/protons/releases)
- [Commits](https://github.com/ipfs/protons/compare/protons-runtime-v5.0.0...protons-runtime-v5.0.2)

---
updated-dependencies:
- dependency-name: protons-runtime
  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-09-15 16:50:08 +05:30
dependabot[bot] ea2ab025d4
chore(deps)(deps): bump @libp2p/mplex from 9.0.2 to 9.0.5 (#1550)
Bumps [@libp2p/mplex](https://github.com/libp2p/js-libp2p) from 9.0.2 to 9.0.5.
- [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/mdns-v9.0.2...mdns-v9.0.5)

---
updated-dependencies:
- dependency-name: "@libp2p/mplex"
  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-09-15 16:18:16 +05:30
Sasha d049ebbc34
fix: throw error when no response (#1567) 2023-09-14 13:35:10 +02:00
fbarbu15 999e95a24a fix typo 2023-09-13 11:20:50 +03:00
fbarbu15 7a52dd64a5 move back node to workflows 2023-09-13 11:12:12 +03:00
fbarbu15 9baf52af5c move back node to workflows 2023-09-13 11:12:01 +03:00
fbarbu15 a15b027c37 remove file name from the node call 2023-09-13 11:00:28 +03:00
fbarbu15 442e18cee7 add sha to the node call 2023-09-13 10:58:24 +03:00
fbarbu15 c577b2cce8 add ref to the node call 2023-09-13 10:55:33 +03:00
fbarbu15 8eac299654 move node to action folder 2023-09-13 10:52:41 +03:00
fbarbu15 ba49fa1f7d Merge branch 'master' of https://github.com/waku-org/js-waku into chore/split-ci-into-chunks 2023-09-13 10:33:33 +03:00
fbarbu15 b42601d156
chore: new filter tests (#1552)
* add bulk of tests

* refactored and improved tests

* add more comments

* fixes after CI run

* split filter tests into mulitple suites

* split filter tests into mulitple suites
2023-09-12 23:31:35 +02:00
fbarbu15 5b9935e118 fix debug mismatch 2023-09-12 18:12:18 +03:00
fbarbu15 7fd6803ec1 small fix after ci run 2023-09-12 18:01:21 +03:00
fbarbu15 a95202f8f5 small fix after ci run 2023-09-12 18:00:45 +03:00
fbarbu15 27ec0752f6 small fix after ci run 2023-09-12 17:59:31 +03:00
fbarbu15 4683d246ea make reusable test node workflow 2023-09-12 17:33:34 +03:00
fbarbu15 c3c31b192e remove ref 2023-09-12 15:53:21 +03:00
fbarbu15 1dbb1e5636 fix calling the node 2023-09-12 15:38:18 +03:00
fbarbu15 4c9233e2c3 split node from CI 2023-09-12 15:28:46 +03:00
Sasha 833b02abdb
fix: enable logging for npm install action (#1559)
* add debug step to npm action
* add another log
* up package-lock
2023-09-11 15:30:36 +02:00