Commit Graph

238 Commits

Author SHA1 Message Date
dependabot[bot] 7277a6e075
Bump @types/react from 17.0.11 to 17.0.38 in /examples/eth-pm (#446)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.11 to 17.0.38.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  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>
2022-01-27 18:25:51 +11:00
dependabot[bot] 325a3108a4
Bump @types/react-dom from 17.0.7 to 17.0.11 in /examples/eth-pm (#444)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 17.0.7 to 17.0.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  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>
2022-01-27 17:45:54 +11:00
dependabot[bot] c5d1ea86f1
Bump @testing-library/jest-dom in /examples/eth-pm-wallet-encryption (#448)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.14.1 to 5.16.1.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.14.1...v5.16.1)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-27 17:38:03 +11:00
dependabot[bot] fa0a2bd7ee
Bump cspell from 5.6.6 to 5.17.0 in /examples/eth-pm-wallet-encryption (#447)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-27 15:50:04 +11:00
Franck R 6cb2b6615b
Update to latest typescript (#438) 2022-01-27 15:25:17 +11:00
dependabot[bot] c4577827e0
Bump @types/node from 17.0.10 to 17.0.12 in /examples/web-chat (#434)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.10 to 17.0.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  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>
2022-01-26 21:02:47 +11:00
dependabot[bot] adcec18c3e
Bump typescript from 4.5.4 to 4.5.5 in /examples/web-chat (#425)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.4 to 4.5.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.4...v4.5.5)

---
updated-dependencies:
- dependency-name: typescript
  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>
2022-01-24 19:38:04 +11:00
dependabot[bot] a821bbfa76
Bump cspell from 5.15.3 to 5.16.0 in /examples/web-chat (#423)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 5.15.3 to 5.16.0.
- [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.3...v5.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 19:20:50 +11:00
Franck R 41b7ef17e1
Remove web-vitals (#429) 2022-01-24 18:19:11 +11:00
Franck R c7fe1bd789
Rename DappConnect to Waku Connect (#427) 2022-01-24 15:00:11 +11:00
dependabot[bot] 1f0f96e66f
Bump web-vitals from 2.1.3 to 2.1.4 in /examples/store-reactjs-chat (#426)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 11:08:16 +11:00
dependabot[bot] d4e72af664
Bump cspell from 5.15.2 to 5.15.3 in /examples/web-chat (#422)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-21 14:29:07 +11:00
dependabot[bot] 8a0ccd123b
Bump @types/node from 17.0.8 to 17.0.10 in /examples/web-chat (#416)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-19 14:36:01 +11:00
Franck Royer 4fd2db608b
Update caniuse in all examples 2022-01-13 16:40:11 +11:00
Franck Royer 284644b822
Fix-up new bootstrap API 2022-01-13 16:39:52 +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
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 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 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
Franck Royer 290828baff
Remove unneeded comments 2022-01-07 15:19:33 +11:00
Franck Royer add78bce71
Format js config file 2022-01-07 15:18:37 +11:00
Franck Royer e18c4f1619
Ignore source map warnings
This is for debugging purposes and out of scope for this example.
2022-01-07 15:17:31 +11:00
Franck Royer eaae1e5372
Replace react-app-rewired with cra-webpack-rewired
The second is more appropriate for react 5
2022-01-07 15:05:40 +11:00
Franck Royer 6a372cd27f
Update other deps 2022-01-06 17:42:16 +11:00
Franck Royer cd7a8784d3
Upgrade few dependencies 2022-01-06 17:39:08 +11:00
Franck Royer 761c92d28f
Run `npm audit fix` 2022-01-06 17:15:23 +11:00
Franck Royer 0de6b52e87
Update caniuse-lite 2022-01-06 17:10:58 +11:00
Franck Royer 942b3ded75
Fix Cannot convert BigInt value to a number
By not transpiling for older browsers that do not support BigInt.
2022-01-05 16:49:46 +11:00
F 07d2c81d1d
Example: rename file and point to docs website
- GitHub automatically print README.md file in folder.
- Point to docs website that contains some external examples.
2021-12-13 11:38:12 +11:00
F 8909164f6d
Use ESM in JavaScript examples
As it is what JS projects would use when using the js-waku npm package.
2021-11-26 21:24:05 +11:00
Franck Royer 4ecd4fd377
Correct unpkg link
Latest release now contains UMD bundle.
2021-10-13 11:45:26 +11:00
Franck Royer cb0b93d3f1
Remove todo 2021-10-12 16:32:04 +11:00
Franck Royer 0d86c91720
Add Pure JS example 2021-10-12 15:36:11 +11:00
Franck Royer 6ebcc46f9e
Remove ReactJS warning about webpack
Because this is not a monorepo, ReactJS projects are examples.
2021-10-12 11:43:29 +11:00
Franck Royer 899e0c89e7
Add time filter to the guide 2021-10-05 13:36:04 +11:00
Franck Royer f5a0416efd
Rename to page direction
As the direction only affects the page ordering,
not the message ordering in the pages.
2021-10-05 13:36:03 +11:00
Franck Royer 087f5bf774
guide/example: Demonstrate how to use the store callback option
This option is better than using the returned value.
This is because the returned value is returned only once **all** pages
are received, which can be very long if the `timeFilter` option is not
used.
2021-10-05 13:36:03 +11:00
Franck Royer a352cb0b38
Examples with no async/await syntax
Useful for those using ClojureScript.

Resolves #182.
2021-09-07 14:44:33 +10:00
Franck Royer c468bfd662
Minor correct, simplify code 2021-09-07 14:17:29 +10:00
Franck Royer 893e0b1af9
Add guide to use Waku Store in ReactJS 2021-09-07 14:17:29 +10:00
Franck Royer 064bad5a75
Remove interval 2021-09-07 14:17:29 +10:00
Franck Royer f6aa758712
Small cleanup 2021-09-07 14:17:29 +10:00