simplex-chat server & JavaScript/TypeScript SDK/client (#539)

* simplex-chat server

* typescript types for chat commands and command serialization

* typescript ChatResponse type

* more types

* more types

* websocket chat client

* aligb ts/haskell types

* chat server & TS client via websockets - it works

* TS chat client test

* TS chat client test

* update test

* more api functions

* more api methods, refactor, readme

* squaring chat bot example, fixes

* update readme

* remove console.log

* npm version 0.1.0
This commit is contained in:
Evgeny Poberezkin
2022-05-13 19:44:03 +01:00
committed by GitHub
parent 9f5ea49676
commit b7860ad0e8
29 changed files with 2563 additions and 9 deletions
+3
View File
@@ -160,6 +160,7 @@ executable simplex-bot-advanced
executable simplex-chat
main-is: Main.hs
other-modules:
Server
Paths_simplex_chat
hs-source-dirs:
apps/simplex-chat
@@ -180,6 +181,7 @@ executable simplex-chat
, exceptions ==0.10.*
, filepath ==1.4.*
, mtl ==2.2.*
, network ==3.1.*
, optparse-applicative >=0.15 && <0.17
, process ==1.6.*
, simple-logger ==0.1.*
@@ -192,6 +194,7 @@ executable simplex-chat
, time ==1.9.*
, unliftio ==0.2.*
, unliftio-core ==0.2.*
, websockets ==0.12.*
default-language: Haskell2010
test-suite simplex-chat-test