Commit Graph

49 Commits

Author SHA1 Message Date
Richard Ramos 71693afa3a feat: add method to obtain mailserver messages from libp2p clients 2019-02-14 10:44:18 -04:00
Richard Ramos ccaf9d5a1e Updating README and examples - pt 1 2019-02-10 20:39:53 -04:00
Richard Ramos 882d415cf9 fix: lint 2019-02-08 11:25:45 -04:00
Richard Ramos b5f2838aef fix: adding web3 to window 2019-02-08 10:55:25 -04:00
Richard Ramos 86441aadd9 fixes #14 2019-02-08 10:21:55 -04:00
Richard Ramos 611c20ba80 check for window existence in node-js 2019-02-06 17:34:13 -04:00
Barry Gitarts 7ace944800 call sig properly 2019-01-31 14:57:48 -05:00
Barry Gitarts fea6efc023 use provider in web3 constructor 2019-01-31 13:15:26 -05:00
Barry Gitarts d3c2a54c2a fix import + web3 provider issue 2019-01-31 12:33:57 -05:00
Iuri Matias ba48929a0a misc fixes to get package npm publishable again 2019-01-31 17:07:28 +01:00
Iuri Matias 3348b15138
Merge pull request #13 from status-im/readd_provider
rea-add connectToProvider
2019-01-31 16:25:12 +01:00
Iuri Matias ba908409ed rea-add connectToProvider 2019-01-31 16:23:22 +01:00
Barry Gitarts a30cbbc42b Check if in browser for web3 import 2019-01-30 15:59:41 -05:00
Richard Ramos a9c998aa10 fix: removing minPoW from subscriptions 2019-01-18 10:32:24 -04:00
Richard Ramos 6b0aee180a Retrieve private messages from mailserver 2018-12-15 16:00:06 -04:00
Richard Ramos 2265d95a84 Mailserver request uses enum or string for topics 2018-12-06 11:55:18 -04:00
Richard Ramos 010332945e Fixing web3 undefined by changing to this.shh 2018-12-01 20:02:30 -04:00
Iuri Matias 8aaaabec1e move remaining code to typescript 2018-12-01 17:36:29 -05:00
Iuri Matias 01d175b97e migrate mailservers to ts 2018-12-01 15:45:42 -05:00
Iuri Matias 255db662fc move utils from js to ts 2018-11-30 23:39:24 -05:00
Iuri Matias 1a0a64063f add dev pipeline; babel; linter; typescript support 2018-11-30 23:12:19 -05:00
Richard Ramos 9eae0d453d Fix: Calling message handler on user message for websocket subscription 2018-11-30 10:02:18 -04:00
Richard Ramos 32d329d3a2 Changing hardcoded values to constants 2018-11-30 09:59:25 -04:00
Richard Ramos 95a56fd35e Added a constant file and replaced hardcoded values for constants 2018-11-30 09:46:25 -04:00
Richard Ramos b52ba138c8 Added HTTPProvider support 2018-11-29 21:49:27 -04:00
Richard Ramos d1856309b1 Added chat request event 2018-11-29 20:40:40 -04:00
Richard Ramos 198ba4d21d
Merge pull request #3 from status-im/mail-servers
Add mailserver support (only with statusd).
2018-11-16 18:03:31 -04:00
Richard Ramos c1161730d9 Removing minPow to be able to receive messages from mailserver 2018-11-16 17:57:21 -04:00
Richard Ramos 173dafe1e7 Adding timeout for marking peer as trusted 2018-11-16 16:34:55 -04:00
Barry Gitarts a0044bcb08 add isConnected method 2018-11-16 15:33:41 -05:00
Richard Ramos 0a0b901422 Merge changes from master 2018-11-16 16:33:24 -04:00
Richard Ramos 9f58d07cb6 Added mailserver support 2018-11-16 16:28:19 -04:00
Barry Gitarts f8a390a798 add generate whisper pubkey from wallet private key
more secure handling of private key
2018-11-14 15:22:45 -05:00
Richard Ramos d8adeb6b8e Adding mailserver request for messages 2018-11-14 13:51:12 -04:00
Richard Ramos 0c1652f5a2 Adding mailservers and marking it as trusted peer 2018-11-14 11:41:21 -04:00
Richard Ramos 07072219f9 Fix clock time when there's no message to get last clock value 2018-11-08 15:17:35 -04:00
Richard Ramos ac1281fe48 Calculating last clock value 2018-11-08 12:00:40 -04:00
Richard Ramos 910a222fb0 Adding extra data to payload 2018-11-08 11:23:00 -04:00
Richard Ramos e3cbb0b7e8 sendJsonMessage functionality for pubKeys 2018-11-08 08:50:13 -04:00
Richard Ramos 096497db03 Adding DIrect Messaging functionality to the API 2018-11-07 18:27:34 -04:00
Iuri Matias 8bccb22c20 add sendJsonMessage 2018-11-07 13:18:20 -05:00
Iuri Matias 3b3438f20f extract username 2018-11-07 05:34:54 -05:00
Iuri Matias 8622f388c3 add optional callback to joinChannel 2018-11-06 10:09:46 -05:00
Iuri Matias 0ca5de7437 implement api 2018-11-06 09:01:41 -05:00
Iuri Matias ce9d43814e fix symkey based on channel 2018-11-06 08:02:26 -05:00
Iuri Matias ef024da0a9 update cors 2018-11-06 07:53:51 -05:00
Iuri Matias af8f6e0dca update payload creation 2018-11-06 07:49:39 -05:00
Iuri Matias 6b04c467f1 set min pow 2018-11-06 07:38:08 -05:00
Iuri Matias 80484d0d8c first stab at attempting to send/receive messages 2018-11-06 07:17:07 -05:00