Alan Cohen 5b20fe573e FIX: Filtering source_amount pathfind correctly
Bug:

```js
api.connect().then(() => {
  const pathfind = {
    source: {
      address: USDCold,
      amount: {
        currency: 'USD',
        value: '1.00' // <<<< Rippled response has "1" not "1.00"
      }
    },
    destination: {
      address: EURCold,
      amount: {currency: 'EUR'}
    }
  };
  return api.getPaths(pathfind).then(paths => {
    console.log('PATHS: \n', JSON.stringify(paths, null, 2));
  });
}).catch(console.log);

```
2016-03-21 11:44:55 -07:00
2016-01-16 01:12:43 +02:00
2016-01-16 01:12:43 +02:00
2015-05-14 16:07:47 -07:00
2015-05-14 16:07:47 -07:00
2016-02-05 07:59:34 +02:00
2016-01-15 14:44:05 -08:00
2016-03-09 12:30:10 -08:00
2015-12-16 10:34:57 -08:00

#ripple-lib

A JavaScript API for interacting with Ripple in Node.js

Circle CI Coverage Status

NPM

###Features

  • Connect to a rippled server in Node.js
  • Issue rippled API requests
  • Listen to events on the Ripple network (transaction, ledger, etc.)
  • Sign and submit transactions to the Ripple network

##Getting Started

Install ripple-lib using npm:

  $ npm install ripple-lib

Then see the documentation and code samples

##Running tests

  1. Clone the repository
  2. cd into the repository and install dependencies with npm install
  3. npm test or npm test --coverage (istanbul will create coverage reports in coverage/lcov-report/`)

##Generating Documentation

The continuous integration tests require that the documentation stays up-to-date. If you make changes the the JSON schemas, fixtures, or documentation sources, you must update the documentation by running npm run docgen.

##More Information

Description
A JavaScript/TypeScript API for interacting with the Xahau Ledger in Node.js and the browser
Readme 44 MiB
Languages
TypeScript 97.4%
JavaScript 2.6%