interledger-deprecated / ilp-core

Core ILP module — handles ledger abstraction and quoting
Other
8 stars 5 forks source link

ILP client extensions & explicit Optimistic payments #7

Closed emschwartz closed 8 years ago

emschwartz commented 8 years ago

This provides a way for users to extend the functionality of the ilp core client. Extensions can hook into client events and access client methods. Extension methods can be accessed via client[name], where name is the string returned by Extension.getName()

Also, client.createPayment will throw an error if no executionCondition is given, unless unsafeOptimisticTransport is set to true.

codecov-io commented 8 years ago

Current coverage is 91.02%

Merging #7 into master will increase coverage by 1.79%

@@             master         #7   diff @@
==========================================
  Files             3          3          
  Lines            65         78    +13   
  Methods          11         12     +1   
  Messages          0          0          
  Branches          6          9     +3   
==========================================
+ Hits             58         71    +13   
  Misses            7          7          
  Partials          0          0          

Powered by Codecov. Last updated by 1294b69...0dd8a26

justmoon commented 8 years ago

LGTM