Commit Graph

823 Commits

Author SHA1 Message Date
Franck Royer ddaacd8a48
Merge pull request #148 from status-im/change-repo-name 2021-05-13 11:35:38 +10:00
Franck Royer 82d026c6d5
Rename repo to waku-js 2021-05-13 11:01:41 +10:00
Franck Royer 702201f7be
Set first release version to 0.1.0 2021-05-13 11:01:41 +10:00
Franck Royer 43627d27d8
Rename package to waku-js 2021-05-13 10:36:28 +10:00
bors[bot] 18b8a9f23e
Merge #147
147: Add documentation to the readme r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2021-05-12 04:17:10 +00:00
Franck Royer 0ffde9cf42
Add documentation to the readme 2021-05-12 13:35:25 +10:00
bors[bot] b227114d8e
Merge #146
146: Release 1.0.0 r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2021-05-11 23:58:54 +00:00
Franck Royer 68ee01b652
Release 1.0.0 2021-05-11 17:40:18 +10:00
bors[bot] c2112ae188
Merge #145
145: Update package with new name r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2021-05-11 06:45:38 +00:00
Franck Royer c7986a92dc
Update package with new name 2021-05-11 16:44:04 +10:00
bors[bot] acdd4ce601
Merge #143
143: Prepare for publishing r=D4nte a=D4nte

- Test out tarball generated with `npm pack`
- Change name to `web3-waku`
- Introduce changelog file
- Ensure test files are not included in the package

Co-authored-by: Franck Royer <franck@status.im>
2021-05-11 05:36:29 +00:00
Franck Royer 7c6730b4a3
Remove `declare` keyword which removes the values from generated JS 2021-05-11 14:05:13 +10:00
Franck Royer 28572fccff
Rename to web3-waku in examples 2021-05-11 14:05:13 +10:00
Franck Royer 0974f313fd
Exclude test files from build 2021-05-11 14:05:12 +10:00
Franck Royer 0e9f2c2ecc
Add CHANGELOG.md 2021-05-11 14:05:12 +10:00
Franck Royer ee04117730
Rename package to `web3-waku` 2021-05-11 14:05:12 +10:00
bors[bot] bf26f9e084
Merge #141
141: Use typedoc r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2021-05-11 00:59:02 +00:00
Franck Royer c7ffdda926
Add netlify config 2021-05-11 10:50:58 +10:00
Franck Royer faf5f46a35
Deploy docs on GH Pages 2021-05-11 09:06:22 +10:00
Franck Royer 40fd7ff365
Use Typedoc comment style 2021-05-11 09:06:22 +10:00
Franck Royer b4f31dd5e8
Fix typedoc command 2021-05-11 08:58:55 +10:00
bors[bot] cc35941803
Merge #142
142: Add debug statement in tests r=D4nte a=D4nte

Also enable debug logs in CI.

Co-authored-by: Franck Royer <franck@status.im>
2021-05-10 13:31:55 +00:00
Franck Royer 50eaa39fec
Add debug statement in tests
Also enable debug logs in CI.
2021-05-10 20:18:26 +10:00
bors[bot] dcae6c7abf
Merge #140
140: Fix imports r=D4nte a=D4nte

Resolves #112.

Co-authored-by: Franck Royer <franck@status.im>
2021-05-10 09:59:18 +00:00
Franck Royer 3663ce260d
Rework exports for an easy use of the library 2021-05-10 16:41:58 +10:00
Franck Royer 83c17fdcc2
Remove ChatMessage
The aim of this class was to remove the items in the chat list
with duplicate keys. However, the implementation does not achieve this
goal.
2021-05-10 16:35:55 +10:00
Franck Royer e91f7933c9
Pass proto in constructor
Makes the relation between the protobuf class and the wrapper more
direct. Conversion only happens at creates or on getters.
2021-05-10 16:29:25 +10:00
Franck Royer 3b7fc44419
Remove `Proto` suffix
Manage with namespace instead.
2021-05-10 15:53:23 +10:00
bors[bot] 330caa2525
Merge #139
139: Provide API to process waku messages over relay r=D4nte a=D4nte

Resolves #54

Co-authored-by: Franck Royer <franck@status.im>
2021-05-10 05:44:39 +00:00
Franck Royer ba6b67cc53
Enable observers to filter by contentTopic 2021-05-10 14:54:08 +10:00
Franck Royer de3dcd9e22
Improve test readability
By avoiding buffer comparison.
2021-05-10 14:10:37 +10:00
Franck Royer 54f32bacad
Use new observer interface in examples 2021-05-10 12:38:44 +10:00
Franck Royer 71a5b23bd2
Add observer interface that directly pass waku messages 2021-05-10 12:38:44 +10:00
Franck Royer ace5f2776f
Prefer camel case for module constants 2021-05-10 12:38:44 +10:00
Franck Royer cbe9559096
Clarify what methods should be used 2021-05-10 12:38:44 +10:00
bors[bot] 94353e813e
Merge #133
133: Upgrade nim-waku to latest version r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2021-05-07 01:31:18 +00:00
Franck Royer 21414ad55e
Upgrade nim-waku to latest version 2021-05-07 11:30:36 +10:00
Franck Royer 88eb1eb227
Add command to easily upgrade nim-waku to master HEAD 2021-05-07 11:30:35 +10:00
Franck Royer d19be03862
Ensure that rpc call to send messages is successful 2021-05-07 11:30:35 +10:00
bors[bot] 3f43e8be79
Merge #135
135: Log more around usage of waku store + connect to second node r=D4nte a=D4nte

Resolves #134

Co-authored-by: Franck Royer <franck@status.im>
2021-05-07 00:42:25 +00:00
Franck Royer a6d815974e
Connect to 2 test fleet nodes 2021-05-07 10:41:38 +10:00
Franck Royer 775a288a5c
Log more around usage of waku store 2021-05-07 10:41:38 +10:00
bors[bot] 39a0d38c9e
Merge #130
130: Connect directly to websockify r=D4nte a=D4nte

To avoid websocket timeout issue

Resolves #123 (long term solutions are tracked in separate issues)

Co-authored-by: Franck Royer <franck@status.im>
2021-05-06 05:17:25 +00:00
Franck Royer 381151a29a
Connect directly to websockify
To avoid websocket timeout issue
2021-05-06 11:48:01 +10:00
bors[bot] 85d585d937
Merge #127
127: Move web-chat to examples folder r=D4nte a=D4nte

Resolves #70 

Co-authored-by: Franck Royer <franck@status.im>
2021-05-05 07:48:01 +00:00
Franck Royer 94ff4ca40f
Use one cspell file for all project inc examples 2021-05-05 16:40:23 +10:00
Franck Royer 316edff778
Move web-chat to examples folder 2021-05-05 16:35:14 +10:00
bors[bot] a43e9987ff
Merge #126
126: Ensure that listeners are added only when waku is initialised r=D4nte a=D4nte

this removes the `Reached max listeners` error.

Co-authored-by: Franck Royer <franck@status.im>
2021-05-05 04:42:40 +00:00
Franck Royer 10aafc6cbc
fixup! Connection 2021-05-05 14:32:10 +10:00
Franck Royer f4663ab247
Only add new listeners when waku is initialised 2021-05-05 14:32:09 +10:00