Commit Graph

2151 Commits

Author SHA1 Message Date
Franck Royer d609b9c47b
fix: usage of libp2p and undefined options 2022-07-20 12:44:48 +10:00
Franck Royer 52d74a74b5
fix: remove test with no value 2022-07-20 12:44:48 +10:00
Franck Royer a10d3ae7d3
fix: peer id / keypair conversion 2022-07-20 12:44:47 +10:00
Franck Royer 5d5e035edb
fix: use compress key
`marshal` return the compress key, `bytes` returned the protobuf
serialized key.
2022-07-20 12:44:47 +10:00
Franck Royer fd030e0fbb
fix: Typo 2022-07-20 12:44:47 +10:00
Franck Royer 6d5c2acb99
fix: Multiaddr from fields function 2022-07-20 12:44:47 +10:00
Franck Royer ab9919ba6d
fix: Imports paths
Import paths were not valid.
2022-07-20 12:44:47 +10:00
Franck Royer 157e42e148
fix: Do not use `names` import 2022-07-20 12:44:47 +10:00
Franck Royer b9aef19a47
fix: new spellings 2022-07-20 12:44:47 +10:00
Franck Royer 9e27a0082e
Sort out ENR key generation, upgrade to @libp2p/crypto 2022-07-20 12:44:44 +10:00
Franck Royer dcb3a65a5b
No more tsc error on prod code 2022-07-20 12:44:07 +10:00
Franck Royer 5d8ab6cf82
Sort ping 2022-07-20 12:43:42 +10:00
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