Commit Graph

798 Commits

Author SHA1 Message Date
Carlosokumu
e1506a3dcf show a placehlolder community balance 2024-11-18 17:20:12 +03:00
carlos
b22a4adec1 Merge pull request 'updated send node' (#172) from send-node into master
Reviewed-on: urdt/ussd#172
2024-11-18 14:19:42 +01:00
alfred-mk
1ba90a8b78 updated the test 2024-11-16 14:52:24 +03:00
alfred-mk
5dd4f2a3fb scale down the balance according to the decimals 2024-11-16 14:52:02 +03:00
alfred-mk
b40ad78294 add the GetVoucherDetails function 2024-11-15 21:03:57 +03:00
alfred-mk
11bb194f26 add a struct to access the tokenDetails 2024-11-15 21:03:29 +03:00
alfred-mk
c0ccdce0a9 add the voucher details node 2024-11-15 21:02:44 +03:00
alfred-mk
7d16b710d8 set the TokenDecimals as int to match the API response 2024-11-15 20:50:07 +03:00
alfred-mk
c8fc32a4e7 cleaned up models 2024-11-15 18:50:06 +03:00
alfred-mk
baeb5e0ccb use a single doRequest and updated the structs for TokenHoldings and Transfers 2024-11-15 18:37:20 +03:00
alfred-mk
51bf2534b8 use a single bearer token 2024-11-15 18:35:49 +03:00
alfred-mk
d3fae34290 modified the send node traversal 2024-11-15 13:24:54 +03:00
alfred-mk
1a77092ccb updated the menuhandler tests 2024-11-15 13:12:30 +03:00
alfred-mk
36846c2587 added TestReadTransactionData 2024-11-15 12:13:09 +03:00
alfred-mk
222d801ecc added TestParseAndScaleAmount 2024-11-15 11:49:47 +03:00
alfred-mk
1a0b4deab3 added the TransactionData struct to organiza the data 2024-11-15 09:20:19 +03:00
alfred-mk
cb13b09291 remove commented code 2024-11-15 08:42:44 +03:00
alfred-mk
de5ecc5fe7 add the tokens functionality to the common package 2024-11-14 21:21:04 +03:00
alfred-mk
5773305785 parse data and initialize a transaction 2024-11-14 20:10:48 +03:00
alfred-mk
7985b20200 added message string for failed transaction 2024-11-14 20:09:50 +03:00
alfred-mk
c34906cb1f added the TokenTransfer functionality and mocks 2024-11-14 20:02:48 +03:00
alfred-mk
c10e1a6a1b added the TokenTransferResponse model 2024-11-14 19:36:30 +03:00
alfred-mk
fabcccfa60 added the tokenTransfer url 2024-11-14 19:35:44 +03:00
alfred-mk
f3e3badff6 save the entire voucher data when setting the default voucher 2024-11-14 17:31:17 +03:00
alfred-mk
9d2d01e3e2 save the recipient number in DATA_TEMPORARY_VALUE 2024-11-14 17:30:13 +03:00
alfred-mk
93df6a6a08 validate recipients and invite valid ones 2024-11-14 14:59:39 +03:00
carlos
8c13e44a15 Merge pull request 'profile-edit-show' (#171) from profile-edit-show into master
Reviewed-on: urdt/ussd#171
Reviewed-by: Alfred Kamanda <alfredkamandamw@gmail.com>
2024-11-14 09:27:42 +01:00
Carlosokumu
345dfbaa21 Merge remote-tracking branch 'refs/remotes/origin/profile-edit-show' into profile-edit-show 2024-11-14 11:01:42 +03:00
Carlosokumu
381e581e8e add terminal logs 2024-11-14 11:00:12 +03:00
Carlosokumu
94d2e8203f reload verify yob 2024-11-14 10:53:20 +03:00
Carlosokumu
f9e51618c5 remove extra line 2024-11-14 10:29:22 +03:00
Carlosokumu
f97ad2a262 use 1 for retry 2024-11-14 10:25:42 +03:00
alfred-mk
59b14301ad Merge branch 'master' into profile-edit-show 2024-11-14 10:08:25 +03:00
8b097a4395 Merge pull request 'log directly to the terminal' (#170) from terminal-logs into master
Reviewed-on: urdt/ussd#170
2024-11-14 08:01:59 +01:00
Carlosokumu
fd2486b5cf Merge branch 'terminal-logs' into profile-edit-show 2024-11-13 21:04:40 +03:00
alfred-mk
f9f25d898b use logg 2024-11-13 19:00:27 +03:00
alfred-mk
b6b3ef83a4 updated the comment to match the functionality 2024-11-13 18:02:02 +03:00
alfred-mk
d7232a53ef use the bearer token 2024-11-13 16:16:32 +03:00
alfred-mk
047bf0e12e updated the env example 2024-11-13 16:15:37 +03:00
alfred-mk
09f61eb64d log all errors from the hander 2024-11-13 15:19:45 +03:00
Carlosokumu
abdb17640b add terminal logs 2024-11-12 10:36:08 +03:00
alfred-mk
9af7b775a7 log directly to the terminal 2024-11-11 16:32:17 +03:00
Carlosokumu
97741b113b Merge branch 'master' into profile-edit-show 2024-11-11 11:03:01 +03:00
0bb444cd50 Merge pull request 'updated README' (#169) from readme-documentation into master
Reviewed-on: urdt/ussd#169
2024-11-08 22:23:57 +01:00
alfred-mk
1d07d7fb1d updated README 2024-11-08 20:35:17 +03:00
a3e5aab6c4 Merge pull request 'Africastalking POST route' (#168) from africastalking-endpoint into master
Reviewed-on: urdt/ussd#168
2024-11-08 17:25:46 +01:00
Carlosokumu
9ebfb643aa remove unused import 2024-11-08 17:28:20 +03:00
Carlosokumu
0aad21a52c Merge branch 'master' into profile-edit-show 2024-11-08 17:21:27 +03:00
Carlosokumu
68d1628546 replace - with: Not provided 2024-11-08 17:19:41 +03:00
Carlosokumu
f4f95b3292 add some spacing 2024-11-08 17:15:27 +03:00