Nathan Nichols
2c99932c3c
Release 1.0.0 ( #104 )
...
Update history and package version
2020-08-31 13:58:11 -05:00
Nathan Nichols
b14f055c6c
Linter config lints test directory ( #99 )
...
Modify eslint config to lint ./test/
2020-08-21 17:04:14 -05:00
Elliot Lee
7438640753
CI: Build and test using .nvmrc node version ( #101 )
...
Use the node version specified in .nvmrc
We specify node version 10.22.0 so that CI will let us know if we break our minimum node version with any later changes, even if there are future updates to the 10.x release line.
In other words, this ensures that the minimum version in package.json is always tested by CI, as well as the latest 10.x version.
For example, if a new feature is added in 10.23 and we use it, we want CI to fail so that we know to update the minimum in
package.json.
Co-authored-by: Nathan Nichols <natenichols@cox.net >
2020-08-21 14:52:12 -07:00
Elliot Lee
e2cc829313
Set minimum node version to 10.22; specify v12 for nvm ( #100 )
...
- Using older versions of node can result in this error:
TypeError: buf.writeBigUInt64BE is not a function
- nvm can automatically use the version specified in .nvmrc. Use node
version 12 because it is currently recommended for most users
2020-08-21 13:21:33 -07:00
Nathan Nichols
440e9922d7
X-address compatibility ( #90 )
...
ripple-binary-codec can encode transactions with X-Addresses
2020-08-21 14:06:09 -05:00
Nathan Nichols
d1b23a8b2d
Add tests for parsing lower-case hex-strings ( #97 )
...
Add one test suite to verify that ripple-binary-codec could handle lower-case hex-strings.
2020-08-20 17:30:50 -05:00
Nathan Nichols
34d2d2c9ed
Update default export ( #98 )
...
Updated default exports to by changing `export` to `export =`
2020-08-20 12:37:12 -05:00
Nathan Nichols
e9d5ae0d35
Order objects consistent with 0.2.6 ( #96 )
...
Changed object order so 1.0.0 is consistent with 0.2.6.
2020-08-19 13:44:53 -05:00
Elliot Lee
0be93e7533
Configure Prettier with semi: true ( #95 )
2020-08-18 11:56:22 -07:00
Nathan Nichols
e55cdb2c73
version to 1.0.0-rc2
2020-08-18 13:40:54 -05:00
Nathan Nichols
d3064920f1
API typed as object ( #94 )
...
encode, encode for signing, and decode ledger are all typed as `object`. linter error disabled.
2020-08-18 13:33:23 -05:00
Nathan Nichols
d136a4e4a8
version to 1.0.0-rc1
2020-08-18 13:05:41 -05:00
Nathan Nichols
1c273ce427
Publish 1.0.0-rc1 ( #93 )
...
* Prepare to release rc1 of ripple-binary-codec v1.0.0
2020-08-18 12:56:43 -05:00
Nathan Nichols
1ca8be159b
Update HISTORY.md ( #92 )
...
* Update HISTORY.md for release 0.3.0-rc1
2020-08-17 16:28:29 -05:00
Nathan Nichols
de277dcf73
Add API and Test section to README.md ( #91 )
...
Update README.md to describe ripple-binary-codec API
2020-08-17 09:45:27 -05:00
Nathan Nichols
30ff63e653
Support encoding and decoding of NegativeUNL pseudo-transactions ( #89 )
...
* Support encoding and decoding of NegativeUNL pseudo-transactions
2020-08-13 12:20:12 -05:00
Nathan Nichols
2e6c68ba73
ripple-binary-codec refactor ( #88 )
...
Refactored all components in ripple-binary-codec /src
2020-07-31 09:14:11 -05:00
Nathan Nichols
383ab88d62
refactored src/types ( #86 )
...
Final refactor of the src/types directory. Refactored Amount and STObject classes, and finalized SerializedType and Comparable classes.
2020-07-20 11:02:59 -05:00
Nathan Nichols
2bfb8fc191
Refactored STArray Class ( #85 )
...
Refactored STArray and pushed end-byte computations into the STArray and STObject classes.
2020-07-16 12:15:00 -05:00
Nathan Nichols
51ad4e36fc
refactored ./src/types/path-set ( #84 )
...
Refactored PathSet, Path, and Hop types. Constructing these types with Buffers, and using class instead of makeClass.
2020-07-13 16:35:08 -05:00
Nathan Nichols
ba04ea5f1f
Refactored UInt and Derived Classes ( #83 )
...
Refactored UInt and Derived classes to be constructed from Buffers, and swapped out BN.js in favor of BigInt to reduce dependencies.
2020-07-10 15:24:49 -05:00
Nathan Nichols
2b8fba0c8a
Refactor ./src/types Hash and derived types ( #82 )
...
Refactored Hash and derived types.
2020-07-09 16:04:29 -05:00
Nathan Nichols
8ac03699aa
Check field_code and type_code when readFieldOrdinal() is called ( #81 )
...
Added verification that nth and type are valid when read from BinaryParser
2020-07-07 13:58:24 -05:00
Nathan Nichols
485ec4e924
Refactored ./src/serdes ( #79 )
...
Refactored `serdes` to use TypeScript Classes and documented functionality.
2020-07-06 16:16:32 -05:00
Elliot Lee
7da60d30b5
Improve documentation of definitions.json ( #80 )
...
* Add documentation about type_code
* Clarify "nth"
Co-authored-by: Nathan Nichols <natenichols@cox.net >
2020-07-04 12:58:17 -07:00
Nathan Nichols
cd0eb2b623
Refactor ./src/enums ( #73 )
...
* rewrote enums in TS
* changed folder name to src/definitions
2020-06-30 14:29:29 -07:00
Nathan Nichols
ede5b254e3
Added Linting with ESLint ( #72 )
...
* added linting, but currently the linting will fail on all files that have not been refactored.
2020-06-26 07:14:31 -07:00
Nathan Nichols
a930b9413c
Initial change from Babel/JS to TypeScript ( #70 )
...
* will compile as typescript
* migrated test suite to use JestJS
* Migrated to Jest testing framework and typescript source files
* updated deps
* updated prepublish
* resolved 1 failing test
* changed decimal .0 on four tests, it appears that these were the only four tests expecting integer values to have '.0'
* added linter
* added package-lock
* removed tslint in favor of eslint
* changed yarn to npm
* updated version 2.6->3.0
* removing package lock
* updated node version in nvmrc and jest version in package
* removed nvmrc
* removed some unused functions
* replaced data driven with file from master
* commitint yarn.lock
* removing babel as a dependency in favor of typescript compiling to es5
* removing babel deps
* resolved testing issues by migrating helper function
* added partial linting functionality for test suite
* updated imports for decodeLedgerData
* updated test
* updated yarn.lock
* removed a console.log
* added eslint-jest-plugin to package
* reverting to old linting, will add linting in next PR
* removed comments in shamap
* re-adding .nvmrc
* npm -> yarn
* added . to .eslintrc
* added .eslintrc
* removing linting for this PR
* Changed linting to print a message so that linting doesnt fail in CI
* changing back
* added newline so diff wont show
* removed eslint deps, since linting will be dealt with in a later PR
* changed function calls to describe(...)
2020-06-24 09:00:28 -07:00
dependabot-preview[bot]
16b1b91a76
Bump eslint from 4.18.2 to 7.0.0 ( #60 )
...
* Bump eslint from 4.18.2 to 7.0.0
Bumps [eslint](https://github.com/eslint/eslint ) from 4.18.2 to 7.0.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v4.18.2...v7.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Fix linting
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Elliot Lee <github.public@intelliot.com >
2020-05-19 11:49:10 -07:00
dependabot-preview[bot]
e9b86ed23a
[Security] Bump handlebars from 4.5.3 to 4.7.6 ( #62 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.5.3 to 4.7.6. **This update includes a security fix.**
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.3...v4.7.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-14 14:30:18 -07:00
dependabot-preview[bot]
1c266c658e
Bump mocha from 6.2.2 to 7.1.2 ( #58 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 6.2.2 to 7.1.2.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v6.2.2...v7.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-14 10:53:37 -07:00
dependabot-preview[bot]
55f36cf466
Bump fs-extra from 8.1.0 to 9.0.0 ( #55 )
...
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra ) from 8.1.0 to 9.0.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases )
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/8.1.0...9.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-14 10:53:19 -07:00
Elliot Lee
9479e692f6
Delete circle.yml
2020-05-13 17:36:25 -07:00
dependabot-preview[bot]
549a0f6829
Bump babel-eslint from 10.0.3 to 10.1.0 ( #52 )
...
Bumps [babel-eslint](https://github.com/babel/babel-eslint ) from 10.0.3 to 10.1.0.
- [Release notes](https://github.com/babel/babel-eslint/releases )
- [Commits](https://github.com/babel/babel-eslint/compare/v10.0.3...v10.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-13 17:10:43 -07:00
knoxcard2
98c1cddc91
Bump dependencies including babel-runtime ( #50 )
2020-05-13 17:10:30 -07:00
Elliot Lee
3e574909ca
Add GitHub CI ( #61 )
2020-05-13 17:04:35 -07:00
dependabot-preview[bot]
75e498c151
Bump ripple-address-codec from 4.0.0 to 4.1.0 ( #48 )
...
Bumps [ripple-address-codec](https://github.com/ripple/ripple-address-codec ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/ripple/ripple-address-codec/releases )
- [Changelog](https://github.com/ripple/ripple-address-codec/blob/master/HISTORY.md )
- [Commits](https://github.com/ripple/ripple-address-codec/compare/4.0.0...4.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-23 08:41:15 -05:00
Elliot Lee
0d8b202a74
Release 0.2.6
2019-12-31 13:17:52 -08:00
dependabot-preview[bot]
fbf880b1c4
Bump ripple-address-codec from 3.0.4 to 4.0.0 ( #42 )
...
Bumps [ripple-address-codec](https://github.com/ripple/ripple-address-codec ) from 3.0.4 to 4.0.0.
- [Release notes](https://github.com/ripple/ripple-address-codec/releases )
- [Changelog](https://github.com/ripple/ripple-address-codec/blob/master/HISTORY.md )
- [Commits](https://github.com/ripple/ripple-address-codec/compare/3.0.4...4.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-31 13:15:22 -08:00
dependabot-preview[bot]
142bc0c3b7
Bump babel-eslint from 10.0.2 to 10.0.3 ( #44 )
...
Bumps [babel-eslint](https://github.com/babel/babel-eslint ) from 10.0.2 to 10.0.3.
- [Release notes](https://github.com/babel/babel-eslint/releases )
- [Commits](https://github.com/babel/babel-eslint/compare/v10.0.2...v10.0.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-31 13:14:00 -08:00
dependabot-preview[bot]
3eae92175a
Bump bn.js from 4.11.8 to 5.1.1 ( #45 )
...
Bumps [bn.js](https://github.com/indutny/bn.js ) from 4.11.8 to 5.1.1.
- [Release notes](https://github.com/indutny/bn.js/releases )
- [Changelog](https://github.com/indutny/bn.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/indutny/bn.js/compare/v4.11.8...v5.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-31 10:28:13 -08:00
dependabot-preview[bot]
91e5e67a70
[Security] Bump handlebars from 4.1.2 to 4.5.3 ( #46 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.1.2 to 4.5.3. **This update includes a security fix.**
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-31 10:21:25 -08:00
dependabot-preview[bot]
4b976bebba
Bump mocha from 6.2.0 to 6.2.2 ( #40 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 6.2.0 to 6.2.2.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v6.2.0...v6.2.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-31 10:18:12 -08:00
dependabot-preview[bot]
6ddf2a7bc0
Bump fs-extra from 0.30.0 to 8.1.0 ( #39 )
...
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra ) from 0.30.0 to 8.1.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases )
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/0.30.0...8.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-31 10:16:14 -08:00
dependabot-preview[bot]
53fee90554
Bump decimal.js from 5.0.8 to 10.2.0 ( #38 )
...
Bumps [decimal.js](https://github.com/MikeMcl/decimal.js ) from 5.0.8 to 10.2.0.
- [Release notes](https://github.com/MikeMcl/decimal.js/releases )
- [Changelog](https://github.com/MikeMcl/decimal.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/MikeMcl/decimal.js/compare/v5.0.8...v10.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-23 00:34:18 -08:00
Elliot Lee
eb06de5344
v0.2.5
2019-12-14 22:37:12 -08:00
Elliot Lee
e1ec2f79e5
Support AccountDelete ( #37 )
...
- Fix https://github.com/ripple/ripple-binary-codec/issues/36
- Re-number transaction result codes
- Link reference for transaction types
2019-12-14 22:34:14 -08:00
Elliot Lee
c6d01e4ce0
Remove unused 'signing' code ( #34 )
...
Use ripple-keypairs library for signing
2019-10-15 09:15:25 -07:00
Elliot Lee
eec36765f2
v0.2.4
2019-09-04 00:06:20 -07:00
Elliot Lee
55aef2e74e
Upgrade ripple-address-codec to 3.0.4
2019-09-04 00:05:37 -07:00