Commit Graph

17 Commits

Author SHA1 Message Date
Mohamed Sohail 43b7800ed6
fix: phin handle 400 empty body
phin doesn't throw on 400 and instead passes empty body to tg
2022-01-18 19:39:15 +03:00
Mohamed Sohail 30b60899d5
tg fix: (release v0.3.0) phone number formats
* on tg desktop phones are prepended with a "+"
* on tg phone, no "+"
2022-01-18 19:15:24 +03:00
Mohamed Sohail 99f9328afd
pkg: bump v0.2.6 2022-01-18 18:49:45 +03:00
Mohamed Sohail 1c7268e1a3
fix: remove phone check 2022-01-18 18:49:08 +03:00
Mohamed Sohail 0e1fbfeb1b
release: v0.2.5 2022-01-18 15:57:00 +03:00
Mohamed Sohail 4530c7105d
fix: tg contact behaviour
* sometimes  atg update does not include a plus symbol
2022-01-18 15:51:11 +03:00
Mohamed Sohail aace2e98e1
release: v0.2.4 2022-01-18 14:57:24 +03:00
Mohamed Sohail f61500f3e6
fix: add timeout to request
* incase the ussd-server is down or unresponsive, return a message to tg
2022-01-18 14:50:20 +03:00
Mohamed Sohail 05e441f6a1
release: v0.2.3 2022-01-17 18:35:09 +03:00
Mohamed Sohail 368f297c6b
fix: escape dot char in regex 2022-01-17 18:34:54 +03:00
Mohamed Sohail 5257967f88
release: v0.2.2 2022-01-17 18:14:08 +03:00
Mohamed Sohail 1e438ae73e
fix: redundant contact check 2022-01-17 18:13:52 +03:00
Mohamed Sohail c51fc24478
release v0.2.1 2022-01-17 17:06:39 +03:00
Mohamed Sohail e3b11fb719
add: dockerfile
* change polling behaviour to be dev only
2022-01-17 17:06:29 +03:00
Mohamed Sohail 441ca421ee
tests: (fix) remove endAll on util 2022-01-17 15:38:24 +03:00
Mohamed Sohail 2a42a5882c
release: v0.2.0
updates:

* add tests for most modules
* add confini for loading configs
* add contact spoof check
* add optional webhook support
* add error handling
* add pino logger
* update keyboard regex
2022-01-17 15:35:36 +03:00
Mohamed Sohail 4372632d93
add: initial working poc 2022-01-14 14:46:59 +03:00