Commit Graph

1121 Commits

Author SHA1 Message Date
Franck Royer 6dd54d2458
Merge pull request #282 from status-im/encrypt-eth-pm 2021-08-26 16:33:31 +10:00
Franck Royer 5af6d84852
Encrypt Public Key Messages using symmetric encryption 2021-08-26 16:12:53 +10:00
Franck Royer 2f2eada322
Log error when failing to encode Public Key Message 2021-08-26 16:12:53 +10:00
Franck Royer 398f34b57f
Fixed Buffer.concat error when using symmetric encryption in the browser 2021-08-26 16:12:53 +10:00
Franck Royer 489fc5af08
Merge pull request #281 from status-im/node-16
Run build with NodeJS 16
2021-08-26 15:25:36 +10:00
Franck Royer 4719de31b8
Run build with NodeJS 16 2021-08-26 13:02:09 +10:00
Franck Royer 37b8056a78
Merge pull request #280 from status-im/timestamp-chat
Demonstrate usage of history time filter in web chat
2021-08-26 13:01:32 +10:00
Franck Royer 5c1cda8b2a
Demonstrate usage of history time filter in web chat 2021-08-26 11:50:20 +10:00
Franck Royer 93afc969d3
Merge pull request #278 from status-im/update-ft-api
Both or neither time parameters must be passed
2021-08-26 10:25:01 +10:00
Franck Royer 5b34da6b5f
Both or neither time parameters must be passed
The protocol does not support open-ended time filtering windows. See
https://github.com/status-im/nim-waku/issues/706
2021-08-25 12:14:53 +10:00
Franck Royer 215177bb8c
Merge pull request #275 from status-im/warnings
Remove dev warning
2021-08-25 11:30:59 +10:00
Franck Royer 8ed55c43c1
Remove stub types definition 2021-08-20 14:08:52 +10:00
Franck Royer e794fe1f18
Merge pull request #274 from status-im/release/0.11.0
Release 0.11.0
2021-08-20 13:47:46 +10:00
Franck Royer 8fce1ad884
Release 0.11.0
### Added
- Examples: New Ethereum Private Message Using Wallet Encryption
  [Web App](./examples/eth-pm-wallet-encryption/README.md)
  example that demonstrates the usage of `eth_encrypt` API (available on
  Metamask) and EIP-712 for typed structured data signing.
- New `bootstrap` option for `Waku.create` to easily connect to Waku
  nodes upon start up.
- Support for `startTime` and `endTime` in Store queries to filter by
  time window as per [21/WAKU2-FTSTORE](https://rfc.vac.dev/spec/21/).

### Changed
- Renamed `discover.getStatusFleetNodes` to
  `discovery.getBootstrapNodes`;
  Changed the API to allow retrieval of bootstrap nodes from other
  sources.
- Examples: Renamed `eth-dm` to `eth-pm`; "Direct Message" can lead to
  confusion with "Direct Connection" that
  refers to low latency network connections.
- Examples (eth-pm): Use sign typed data EIP-712 instead of personal
  sign.
- Upgraded dependencies to remove warning at installation.
- **Breaking**: Moved `DefaultPubSubTopic` to `waku.ts` and fixed the
  casing.
- **Breaking**: Rename all `pubsubTopic` occurrences to `pubSubTopic`,
  across all interfaces.

### Removed
- Examples (cli-chat): The focus of this library is Web environment;
  Several examples now cover usage of Waku Relay and Waku Store making cli-chat example obsolete;
  web-chat POC should be preferred to use the [TOY-CHAT](https://rfc.vac.dev/spec/22/) protocol.
- `ChatMessage` has been moved from js-waku to web-chat example;
  it is a type used for the [TOY-CHAT](https://rfc.vac.dev/spec/22/) protocol;
  js-waku users should not build on top if this toy protocol and instead design message data structures appropriate to their use case.
- Unused dependencies & scripts.
2021-08-20 12:15:23 +10:00
Franck Royer 707fe2e37c
Merge pull request #273 from status-im/npm-badge 2021-08-20 12:08:48 +10:00
Franck Royer 76e1175bf6
Merge pull request #272 from status-im/233-remove-deps 2021-08-20 12:08:05 +10:00
Franck Royer 27c4d5b1e3
Add badges
Allows user to quickly access npm page and Discord.
2021-08-20 11:02:09 +10:00
Franck Royer ac03a9e54b
Update changelog 2021-08-20 10:54:13 +10:00
Franck Royer 057625223b
Add some relevant keywords 2021-08-20 10:54:13 +10:00
Franck Royer 11dbdf3033
Remove unused scripts 2021-08-20 10:54:12 +10:00
Franck Royer 5da1c6ca58
Remove codecov 2021-08-20 10:54:12 +10:00
Franck Royer aaf6b7ee54
Remove unused dep 2021-08-20 10:54:12 +10:00
Franck Royer a15069b3e3
Move ts-proto to dev dependencies
The output of ts-proto is committed and published, ts-proto is only
needed when proto files are changed.
2021-08-20 10:54:12 +10:00
Franck Royer 38df024fe1
Move libp2p-tcp to dev dependencies 2021-08-20 10:54:12 +10:00
Franck Royer bad14d93e8
Merge pull request #271 from status-im/187-ft-store 2021-08-20 10:53:29 +10:00
Franck Royer b7693853d2
Added support for `startTime` and `endTime` in Store queries 2021-08-20 10:37:58 +10:00
Franck Royer c2109736d4
Merge pull request #270 from status-im/200-pubsub-topic
Moved `DefaultPubSubTopic` to `waku.ts` and fixed the casing
2021-08-20 10:36:40 +10:00
Franck Royer 1d48dc4372
Rename all `pubsubTopic` occurrences to `pubSubTopic` 2021-08-20 10:13:02 +10:00
Franck Royer 026aaaf67e
Remove default value
Default value is handled one layer above.
2021-08-20 10:12:56 +10:00
Franck Royer 60290e8d84
Moved `DefaultPubSubTopic` to `waku.ts` and fixed the casing
The pubsub topic is used by several protocol, not just relay.
2021-08-20 10:12:55 +10:00
Franck Royer d97613bb83
Merge pull request #268 from status-im/deps 2021-08-19 13:46:17 +10:00
Franck Royer 0c09d60c91
Update changelog 2021-08-19 11:27:03 +10:00
Franck Royer 912d984fa0
Run audit fix 2021-08-19 11:26:34 +10:00
Franck Royer 3f95934250
Replace deprecated package for libp2p-noise 2021-08-19 11:26:34 +10:00
Franck Royer e0d2b3d525
Merge pull request #269 from status-im/eth-pm-eip-712 2021-08-19 11:22:05 +10:00
Franck Royer 0b03952542
Update changelog 2021-08-19 11:13:34 +10:00
Franck Royer 7d738c787c
Use `eth_signTypedData_v3` as it has broader wallet support 2021-08-19 11:12:04 +10:00
Franck Royer 16b79306d5
Remove dead code 2021-08-19 11:12:04 +10:00
Franck Royer a8b29a2fac
Use sign typed data instead of personal sign 2021-08-18 16:48:28 +10:00
Franck Royer 455c5843f3
Merge pull request #266 from status-im/rename-eth-pm
Rename Eth-DM to Eth-PM
2021-08-18 16:45:45 +10:00
Franck Royer d494558596
Rename "Direct" to "Private" in code 2021-08-18 16:37:30 +10:00
Franck Royer 0673edacb5
Change content topic 2021-08-17 16:20:06 +10:00
Franck Royer 9692b4af72
Rename Eth-DM to Eth-PM
"Direct Message" can lead to confusion with "Direct Connection" that
refers to low latency network connections.
2021-08-17 16:06:46 +10:00
Franck Royer 43f57aeb3e
Merge pull request #265 from status-im/update-changelog
Update changelog for Eth-PM Wallet Encryption changes
2021-08-13 20:09:21 +10:00
Franck Royer 0e8062d32e
Add caveat section 2021-08-13 16:48:32 +10:00
Franck Royer 0f0b083586
Update changelog for Eth-PM Wallet Encryption changes 2021-08-13 16:44:29 +10:00
Franck Royer 5be718ffdb
Merge pull request #262 from status-im/bootstrap 2021-08-13 16:27:32 +10:00
Franck Royer 6ded9630b2
Remove mention of Status in guide
Keep it in the code doc.
2021-08-13 16:18:03 +10:00
Franck Royer 6d42c39298
export values so they are included in the documentation 2021-08-13 16:18:03 +10:00
Franck Royer bac26ea3da
fixup 2021-08-13 16:18:02 +10:00