Commit Graph

1082 Commits

Author SHA1 Message Date
Franck R f9d066252c
Merge pull request #404 from status-im/eip-1459-2 2022-01-14 13:10:01 +11:00
Franck Royer 99763322db
Import Karma settings instead of duplicating them 2022-01-14 12:57:29 +11:00
Franck Royer 8e591f22db
Update changelog 2022-01-14 12:49:40 +11:00
Franck Royer 2c16f0befb
Separate tests that use DNS data in CI 2022-01-14 12:44:06 +11:00
Franck Royer 0bfe9c9a64
Do not run command on js-waku lib when running examples scripts
This was happening when `d=./examples/README.md`.
2022-01-13 16:40:11 +11:00
Franck Royer 4fd2db608b
Update caniuse in all examples 2022-01-13 16:40:11 +11:00
Franck Royer b65ab17cb9
Expose types to ensure documentation is complete 2022-01-13 16:40:11 +11:00
Franck Royer 6276b1537f
Remove unnecessary declaration of Buffer
It's handled by the polyfill config in webpack.
2022-01-13 16:40:10 +11:00
Franck Royer fa4e94750f
Make parseBootstrap a class
Makes it easier to use the resulting function and document defaults.
2022-01-13 16:40:10 +11:00
Franck Royer ae0faa2146
Clarify default DNS servers 2022-01-13 16:39:52 +11:00
Franck Royer f0eb9d1609
Rename libp2p bootstrap import
To avoid name conflict.
2022-01-13 16:39:52 +11:00
Franck Royer e871da056f
Export enr, dns, entree modules 2022-01-13 16:39:52 +11:00
Franck Royer 4bfe060064
Export BootstrapOptions 2022-01-13 16:39:52 +11:00
Franck Royer 284644b822
Fix-up new bootstrap API 2022-01-13 16:39:52 +11:00
Franck Royer e47335f4c0
Implement DNS Discovery and ENR tree 2022-01-13 15:38:22 +11:00
Franck Royer e244bae03d
Renamed `getBootstrapNodes` to `getNodesFromHostedJson`
So that the name better matches the function's behaviour.
2022-01-13 15:33:37 +11:00
Franck Royer f4f6b4a808
Create discovery submodule 2022-01-12 14:54:00 +11:00
Franck R 005309b824
Merge pull request #403 from status-im/dependabot/npm_and_yarn/examples/web-chat/cspell-5.15.2
Bump cspell from 5.15.1 to 5.15.2 in /examples/web-chat
2022-01-12 13:37:00 +11:00
dependabot[bot] 1a17523c1c
Bump cspell from 5.15.1 to 5.15.2 in /examples/web-chat
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 5.15.1 to 5.15.2.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v5.15.1...v5.15.2)

---
updated-dependencies:
- dependency-name: cspell
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-11 15:25:33 +00:00
Franck R e2a35ca0b4
Merge pull request #392 from status-im/dependabot-config
Add daily PR but one at a time to avoid too much rebasing
2022-01-10 19:05:12 +11:00
Franck Royer c967cabb77
Add daily PR but one at a time to avoid too much rebasing 2022-01-10 15:59:54 +11:00
Franck R 975d25e3f9
Merge pull request #402 from status-im/dependabot/npm_and_yarn/libp2p-bootstrap-0.14.0 2022-01-10 15:59:36 +11:00
dependabot[bot] 2bc4582765
Bump libp2p-bootstrap from 0.13.0 to 0.14.0
Bumps [libp2p-bootstrap](https://github.com/libp2p/js-libp2p-bootstrap) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/libp2p/js-libp2p-bootstrap/releases)
- [Changelog](https://github.com/libp2p/js-libp2p-bootstrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/libp2p/js-libp2p-bootstrap/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: libp2p-bootstrap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 04:49:57 +00:00
Franck R c58adff1c0
Merge pull request #401 from status-im/dependabot/npm_and_yarn/ts-proto-1.100.0 2022-01-10 15:49:01 +11:00
dependabot[bot] 7adb51a9cc
Bump ts-proto from 1.97.0 to 1.100.0
Bumps [ts-proto](https://github.com/stephenh/ts-proto) from 1.97.0 to 1.100.0.
- [Release notes](https://github.com/stephenh/ts-proto/releases)
- [Changelog](https://github.com/stephenh/ts-proto/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stephenh/ts-proto/compare/v1.97.0...v1.100.0)

---
updated-dependencies:
- dependency-name: ts-proto
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 15:31:46 +11:00
Franck R 432f27e5d7
Merge pull request #400 from status-im/dependabot/npm_and_yarn/istanbuljs/nyc-config-typescript-1.0.2 2022-01-10 14:48:18 +11:00
dependabot[bot] c008e697b9
Bump @istanbuljs/nyc-config-typescript from 1.0.1 to 1.0.2
Bumps [@istanbuljs/nyc-config-typescript](https://github.com/istanbuljs/istanbuljs/tree/HEAD/packages/nyc-config-typescript) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/istanbuljs/istanbuljs/releases)
- [Changelog](https://github.com/istanbuljs/istanbuljs/blob/master/packages/nyc-config-typescript/CHANGELOG.md)
- [Commits](https://github.com/istanbuljs/istanbuljs/commits/istanbul-reports@1.0.2/packages/nyc-config-typescript)

---
updated-dependencies:
- dependency-name: "@istanbuljs/nyc-config-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 03:41:19 +00:00
Franck R ff2a118f04
Merge pull request #382 from status-im/dependabot/npm_and_yarn/ts-node-10.4.0 2022-01-10 14:40:19 +11:00
dependabot[bot] 8f4e94e2b1
Bump ts-node from 9.1.1 to 10.4.0
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 9.1.1 to 10.4.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v9.1.1...v10.4.0)

---
updated-dependencies:
- dependency-name: ts-node
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 02:43:23 +00:00
Franck R ee24a2953f
Merge pull request #383 from status-im/dependabot/npm_and_yarn/types/uuid-8.3.4 2022-01-10 13:41:59 +11:00
dependabot[bot] 220beff41b
Bump @types/uuid from 8.3.0 to 8.3.4
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 8.3.0 to 8.3.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

---
updated-dependencies:
- dependency-name: "@types/uuid"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 02:10:41 +00:00
Franck R 71f368a5b7
Merge pull request #390 from status-im/dependabot/npm_and_yarn/examples/web-chat/cspell-5.15.1 2022-01-10 13:09:35 +11:00
dependabot[bot] a4d8e01c09
Bump cspell from 5.14.0 to 5.15.1 in /examples/web-chat
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 5.14.0 to 5.15.1.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v5.14.0...v5.15.1)

---
updated-dependencies:
- dependency-name: cspell
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 01:59:38 +00:00
Franck R d0dad219dd
Merge pull request #398 from status-im/automerge2 2022-01-10 12:58:34 +11:00
Franck Royer 2826d47cf2
Setup automerge action
https://github.com/marketplace/actions/merge-pull-requests-automerge-action
2022-01-10 12:51:30 +11:00
Franck R fa28f46c15
Merge pull request #397 from status-im/rework-nim-waku-cache 2022-01-10 12:50:52 +11:00
Franck Royer a1ad50f55b
Do not build nim-waku
But get the asset from GitHub.
2022-01-10 12:44:00 +11:00
Franck Royer 6d5ec49e5b
Debugging nim-waku caching
It always builds for some reason.
2022-01-10 12:42:03 +11:00
Franck R 484d83a136
Merge pull request #388 from status-im/example-upgrade 2022-01-10 12:40:07 +11:00
Franck Royer a5259e04ae
Upgrade store example to react-scripts 5.0.0 2022-01-10 12:27:09 +11:00
Franck Royer e55f7ac6db
Remove min-reactjs-chat
As it was done with old react-scripts 4.
Replaced by relay-reactjs-chat.
2022-01-10 12:27:09 +11:00
Franck Royer aa4d66fab5
Add to CI 2022-01-10 12:27:09 +11:00
Franck Royer b73efdb124
Update README 2022-01-10 12:27:09 +11:00
Franck Royer dae4ca4345
Display received messages 2022-01-10 12:27:09 +11:00
Franck Royer d643735296
Handle incoming messages 2022-01-10 12:27:09 +11:00
Franck Royer 5eb14d7826
Send message 2022-01-10 12:27:09 +11:00
Franck Royer e8c0728a49
Wait for connected peers 2022-01-10 12:27:08 +11:00
Franck Royer 673869bdff
Use cra-webpack-rewired, display Waku status 2022-01-10 12:27:08 +11:00
Franck Royer 80c0ab5b20
Init relay-reactjs-chat
New example using create-react-app 5.
2022-01-10 12:27:08 +11:00
Franck Royer c31bb83f6a
Add BigInt fix 2022-01-10 12:27:08 +11:00