Commit Graph

1539 Commits

Author SHA1 Message Date
Franck Royer e0a23bad44
Sort out createWaku and waitForRemotePeer 2022-07-20 12:43:42 +10:00
Franck Royer 4cf197e54d
Implement libp2p bootstrap interface 2022-07-20 12:43:40 +10:00
Franck Royer 081f62b07b
Upgrade libp2p-noise 2022-07-20 12:42:26 +10:00
Franck Royer 8e5318dc4a
Upgrade libp2p-gossipsub 2022-07-20 12:42:24 +10:00
Franck Royer 98c93c8283
Upgrade libp2p, peer-id, multiaddr
Use new packages and fix most compilation errors.
Remaining error to be dealt with in waku.ts.
2022-07-20 12:40:37 +10:00
Franck Royer 6c30e8d400
Use `PeerId.toString()` instead of `toB58String()`
New version of `PeerId` will only support `toString`
2022-07-20 11:55:43 +10:00
Franck R 3217b28063
Merge pull request #841 from status-im/doh-resolver 2022-07-19 17:38:18 +10:00
Franck Royer 0cec093a4d
chore!: upgrade dns-query 2022-07-19 16:31:21 +10:00
Franck R 9b4c3ecfb4
Merge pull request #786 from status-im/esm-no-libp2p-upgrade
Migrate package to ESM (no libp2p upgrade)
2022-06-20 15:09:11 +10:00
Franck Royer 862a397e81
Update changelog 2022-06-20 14:57:49 +10:00
Franck Royer 8a17631780
Re-introduce file used by Karma 2022-06-20 14:32:22 +10:00
Franck Royer 1fcf84b348
Fix size-limit 2022-06-20 14:32:22 +10:00
Franck Royer 3dde86fcb7
Revert to webpack for UMD 2022-06-20 14:32:22 +10:00
Franck Royer b32246fa0a
Change exported name to `waku` for UMD and CJS 2022-06-20 14:32:22 +10:00
Franck Royer 7432aaca25
Add `main` and `module` properties 2022-06-20 14:32:22 +10:00
Franck Royer e3b6292a6e
Use rollup instead of tsc to generate cjs files 2022-06-20 14:32:22 +10:00
Franck Royer ebbb0a2713
Re-introduce cjs build 2022-06-20 14:32:22 +10:00
Franck Royer 53a3f7fcbf
Apply import update logic for external modules 2022-06-20 14:32:21 +10:00
Franck Royer 5ca3957b39
fix: options can be undefined 2022-06-20 14:32:21 +10:00
Franck Royer 7ea98c1af0
Script to add js extension to esm files 2022-06-20 14:32:21 +10:00
Franck Royer 58006e1e38
Include root source files 2022-06-20 14:32:21 +10:00
Franck Royer 43580dd093
Add types export 2022-06-20 14:32:21 +10:00
Franck Royer 792c84ec31
Fix exports field 2022-06-20 14:32:21 +10:00
Franck Royer 43e9de6fe2
cleanup: Migrate from ts-proto to protons 2022-06-20 14:32:21 +10:00
Franck Royer ca11dbf90c
Format proto code after generation 2022-06-20 14:32:21 +10:00
Franck Royer aaa0cef315
Remove dupe job 2022-06-20 14:32:21 +10:00
Franck Royer ce24c2f530
Do not fail when receiving unspecified error 2022-06-20 14:32:20 +10:00
Franck Royer 9e8d4b9bb1
Mark all proto fields as optional
As expected in proto version 3.
2022-06-20 14:32:20 +10:00
Franck Royer c4758a8737
Setup rollup, move files to dist/ 2022-06-20 14:32:20 +10:00
Franck Royer 82aba32f9e
Migrate from ts-proto to protons
The latter does not bring Buffer/Long and is ESM compatible.
2022-06-20 14:32:20 +10:00
Franck Royer 1bfc72fa2a
Fix include/exclude folders in tsconfig 2022-06-20 14:32:20 +10:00
Franck Royer 75d2cf1113
Fix size-limit 2022-06-20 14:32:20 +10:00
Franck Royer 35a4cba37a
Include src files in package
To remove source map warning
2022-06-20 14:32:20 +10:00
Franck Royer 4352cb923d
Replace karma-env-preproc with webpack 2022-06-20 14:32:20 +10:00
Franck Royer cb10ca16d1
Migrate package to ESM 2022-06-20 14:32:20 +10:00
Franck R 10d2533caf
Merge pull request #793 from status-im/examples-react-17 2022-06-20 14:31:53 +10:00
Franck Royer a5c61a4db3
Downgrade to avoid peer dep conflict with @livechat/ui-kit 2022-06-20 12:20:20 +10:00
Franck Royer 5ba93fb199
Base cache id on examples' lock files only 2022-06-17 16:43:57 +10:00
Franck Royer 856ca8c148
Remove netlify config
Not used.
2022-06-17 16:30:37 +10:00
Franck Royer 04fbc55fdf
Use `npm ci` in CI
So there is no attempt to update the lock file.
2022-06-17 16:30:03 +10:00
Franck Royer 612027a375
examples: Downgrade React to avoid peer dep conflict with mui
Material UI 4 is not compatible with React 18 and it looks like
some peer dep were recently changed, creating conflict issues
in CI.
2022-06-17 15:42:38 +10:00
status-bors-ng[bot] 6f5e1fa2aa
Merge #774
774: Use waitForRemotePeer directly r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2022-06-01 03:17:15 +00:00
Franck Royer e8e6df767b
Use waitForRemotePeer directly 2022-06-01 13:16:06 +10:00
status-bors-ng[bot] 9b6fd5ec8b
Merge #773
773: Remove circular dependencies r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2022-06-01 02:52:57 +00:00
Franck Royer 9ffedd1fbf
Remove circular dependencies 2022-06-01 12:14:47 +10:00
status-bors-ng[bot] d12c582032
Merge #772
772: Upgrade examples to js-waku@0.24.0 r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2022-06-01 01:23:40 +00:00
Franck Royer 49e08ff1c2
Upgrade examples to js-waku@0.24.0 2022-06-01 11:19:27 +10:00
status-bors-ng[bot] 6df972694c
Merge #767
767: Clear all timers on `Waku.stop` r=D4nte a=felicio

Resolves https://github.com/status-im/js-waku/issues/766

Co-authored-by: Felicio Mununga <felicio@users.noreply.github.com>
2022-05-30 07:25:17 +00:00
Felicio Mununga 793699ac73
update .cspell.json 2022-05-29 18:32:18 +02:00
Felicio Mununga 59bb9257c6
remove notes 2022-05-29 17:48:22 +02:00