trustlines-protocol / clientlib

Typescript/Javascript library of the trustlines network protocol
MIT License
10 stars 7 forks source link

Add function to get earned mediation of user in network #399

Closed cducrest closed 4 years ago

cducrest commented 4 years ago

Need https://github.com/trustlines-protocol/relay/pull/547 to provide the endpoint to work Closes https://github.com/trustlines-protocol/clientlib/issues/266

cducrest commented 4 years ago

I renamed the methods as you suggested. I did not rename getAccruedInterests to getTotalAccruedInterest because it can be used with an optional timeframe. Also total make it sound like a sum while it is a list.

compojoom commented 4 years ago

awesome 👍

What is with the failing e2e tests on circle?

cducrest commented 4 years ago

As written in the first comment, it Need trustlines-protocol/relay#547 to provide the endpoint to work. This is just using an endpoint that is implemented in pr 547 of the relay.