Commit Graph

861 Commits

Author SHA1 Message Date
Elliot Lee
ae26db0a9d Drop node 6 and add node 13 2020-01-28 22:42:16 -08:00
dependabot-preview[bot]
79610ab660 Bump @types/node from 13.1.8 to 13.5.0 (#42)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.1.8 to 13.5.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-28 22:38:29 -08:00
Elliot Lee
4889a0305c Update README.md
Add larger npm badge
2020-01-28 20:29:27 -08:00
Elliot Lee
0d75a62551 Release 4.1.0 2020-01-22 13:23:39 -08:00
dependabot-preview[bot]
b7b9c7f549 Bump ts-jest from 24.1.0 to 24.3.0 (#30)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 24.1.0 to 24.3.0.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v24.1.0...v24.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-22 10:42:21 -08:00
Elliot Lee
a57c71beb8 Add support for Account Public Key data type (#35)
Per https://xrpl.org/base58-encodings.html
2020-01-22 10:42:07 -08:00
dependabot-preview[bot]
5be66ab646 Bump @types/jest from 24.0.25 to 24.9.0 (#37)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.0.25 to 24.9.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-22 10:41:37 -08:00
dependabot-preview[bot]
2ea5e6cad3 Bump @types/node from 10.14.19 to 13.1.8 (#39)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 10.14.19 to 13.1.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-22 10:41:22 -08:00
dependabot-preview[bot]
11ad1205fd Bump typescript from 3.7.4 to 3.7.5 (#38)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.7.4 to 3.7.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.7.4...v3.7.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-17 10:02:46 -05:00
dependabot-preview[bot]
638e6ea96c Bump @types/jest from 24.0.18 to 24.0.25 (#26)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.0.18 to 24.0.25.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 00:28:01 -08:00
dependabot-preview[bot]
30ab98a03d Bump tslint from 5.20.0 to 5.20.1 (#24)
Bumps [tslint](https://github.com/palantir/tslint) from 5.20.0 to 5.20.1.
- [Release notes](https://github.com/palantir/tslint/releases)
- [Changelog](https://github.com/palantir/tslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/palantir/tslint/compare/5.20.0...5.20.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-08 17:21:01 -08:00
Elliot Lee
79a0d83e2a Bump typescript from 3.6.3 to 3.7.4 2020-01-08 16:21:16 -08:00
Hans Bergren
fdebbcb386 Upgrade base-x from 3.0.4 to 3.0.7 (#31)
On installing `ripple-lib`, a warning is thrown for @types/base-x@3.0.6
since base-x now has types included. By upgrading base-x to at least
3.0.6, we no longer need the stub types.

If we don't want to upgrade this dependency, an alternative approach
would be to version lock `@types/base-x` to 3.0.4.
2020-01-08 18:32:28 -05:00
RareData
90793562fa Correct X-address to classic address example (#15) 2019-12-16 18:42:52 +01:00
Elliot Lee
a72adaeb91 Release 4.0.0 2019-10-08 16:58:00 -07:00
Elliot Lee
1949614d86 Add test cases for addresses/tags used in ripple-lib tests 2019-10-08 16:53:35 -07:00
Elliot Lee
7521ff8b85 Add X-address support (#14)
* Update test coverage

* Fix #7

* Add support for test addresses (T...)

* Add classic address <> X-address conversion methods

* Rename isValidAddress to isValidClassicAddress
2019-10-08 16:51:52 -07:00
Elliot Lee
7f9efe9e71 Migrate unit tests to TypeScript (#12)
* Add type information for utils
* Enable "strictNullChecks" and "noImplicitAny"
* Replace mocha with jest
* Fix #11
* Refactor and add tests for 100% code coverage
* Mention --coverage option in README
* Travis: remove node v9 and add node v10 and v12
* Improvements per review by @keefertaylor

Node.js v6 throws "Invalid hex string" if the hex string has an odd number
of characters (two hex characters per byte means the string should
have an even length). This changed in later versions of Node.js.
2019-09-24 15:33:30 -07:00
Elliot Lee
d97f9de122 v3.0.4 2019-09-03 12:57:14 -07:00
Elliot Lee
212baebfd0 v3.0.3 2019-09-03 12:20:59 -07:00
Elliot Lee
d3f5952b61 v3.0.2 2019-09-03 12:19:16 -07:00
Elliot Lee
a97bf0fbef v3.0.1 2019-09-03 12:14:18 -07:00
Elliot Lee
2de0e186e8 Fix error TS2683
> 'this' implicitly has type 'any' because it does not have a type annotation.
2019-09-03 11:16:32 -07:00
Elliot Lee
14564051fa Provide types for TypeScript projects using this library 2019-09-03 11:10:34 -07:00
Elliot Lee
86d485869a Use Buffer.from() 2019-09-03 11:03:54 -07:00
Elliot Lee
558710978f Upgrade tslint@latest 2019-09-03 10:58:30 -07:00
Elliot Lee
f36008425f Remove codecov.io, coveralls, eslint for now
Given that eslint is adding TypeScript support, we can migrate back to
ESLint in the future.
2019-09-03 10:56:07 -07:00
Elliot Lee
e387261d52 Remove istanbul for now 2019-09-03 10:53:41 -07:00
Elliot Lee
0c8d997958 Refactor and simplify code (#8)
* Remove dependency on x-address-codec

* Version 3.0.0
2019-09-03 10:51:10 -07:00
Keefer Taylor
1eae464868 Update README.md (#10) 2019-08-08 16:52:02 -04:00
Elliot Lee
920b0bf429 Update eslint and mocha; apply code style (#6) 2018-03-27 22:52:46 -07:00
Nicholas Dudfield
852465bd85 Add codecov 2015-10-03 13:23:58 +07:00
Nicholas Dudfield
3152d884cc Use create-hash 2015-10-01 18:53:28 +07:00
Nicholas Dudfield
a63619b40d s/sublimator/ripple/ 2015-09-17 10:41:43 +07:00
Nicholas Dudfield
49d7029f9a Bump version: 2.0.0 2015-08-26 11:22:20 +07:00
Nicholas Dudfield
9bf5bb04e6 Use updated x-address-codec. Add *Address and isValid* 2015-08-26 11:21:57 +07:00
Nicholas Dudfield
4597b323d2 Use coveralls badge instead of inaccessible shields.io 2015-07-31 18:14:56 +07:00
Nicholas Dudfield
f8cfded176 Bump version: 1.6.0 2015-07-31 16:38:26 +07:00
Nicholas Dudfield
8a2ce17676 Update x-address-codec dependency and add eslint 2015-07-31 16:36:33 +07:00
Nicholas Dudfield
f79ca12a12 Bump version: 1.5.2 2015-07-31 11:58:49 +07:00
Nicholas Dudfield
e6972ea7fc Use shields.io service for badges 2015-07-31 11:57:47 +07:00
Nicholas Dudfield
b03486eb73 Bump version: 1.5.1 2015-07-30 20:23:34 +07:00
Nicholas Dudfield
43b7c376c3 Add coveralls to travis 2015-07-30 19:34:26 +07:00
Nicholas Dudfield
4c6f7ae344 Add travis badge 2015-07-30 18:13:03 +07:00
Nicholas Dudfield
68a6ebaf12 Bump version: 1.5.0 2015-07-30 16:42:36 +07:00
Nicholas Dudfield
78ae2adc28 Bump version: 1.4.0 2015-07-28 13:40:44 +07:00
Nicholas Dudfield
df2bbcadf3 Bump version: 1.3.1 2015-07-28 13:21:32 +07:00
Nicholas Dudfield
ad45b4d341 Add test for node public keys 2015-07-22 13:15:40 +07:00
Nicholas Dudfield
93236f4795 Bump version: 1.3.0 2015-07-20 10:54:53 +07:00
Nicholas Dudfield
2b1062865d Use better names for seed types 2015-07-20 10:54:33 +07:00