ledhed2222
869e6e2553
migrate from yarn to npm ( #148 )
...
* migrate from yarn to npm
* fix unrelated prettier error
2021-10-13 16:11:55 -04:00
dependabot[bot]
ba7594c51f
Bump tmpl from 1.0.4 to 1.0.5 ( #144 )
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
2021-09-21 21:13:27 -04:00
dependabot[bot]
bdbbb3e846
Bump path-parse from 1.0.6 to 1.0.7 ( #138 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
2021-08-31 15:56:40 -07:00
Mayukha Vadari
332102a523
use null instead of undefined
2021-06-30 14:43:13 -04:00
Mayukha Vadari
7448142ee4
only first byte is 0
2021-06-30 14:41:48 -04:00
Mayukha Vadari
a23ba65322
fix code to pass tests
2021-06-25 11:22:26 -04:00
Mayukha Vadari
5520b81038
attempted test fix
2021-06-25 10:59:47 -04:00
Mayukha Vadari
51bd22e34a
add test
2021-06-25 10:51:59 -04:00
Mayukha Vadari
8cc6f40c6f
fix typo
2021-06-25 10:27:13 -04:00
Mayukha Vadari
32dcd3070a
clean up code
2021-06-24 17:36:19 -04:00
Mayukha Vadari
f25aecd853
fix encoding problems
2021-06-24 17:35:49 -04:00
Nathan Nichols
5fb61c470e
chore: prepare for 1.1.3 release ( #136 )
...
* chore: prepare for 1.1.3 release
2021-06-14 09:06:37 -07:00
dependabot[bot]
93c1ade74e
Bump glob-parent from 5.1.1 to 5.1.2 ( #134 )
...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases )
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2 )
2021-06-11 11:12:29 -07:00
dependabot[bot]
9d7e7a94f5
Bump ws from 7.3.1 to 7.4.6 ( #131 )
...
Bumps [ws](https://github.com/websockets/ws ) from 7.3.1 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.3.1...7.4.6 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-11 11:12:13 -07:00
dependabot-preview[bot]
f81fe0a106
[Security] Bump hosted-git-info from 2.8.8 to 2.8.9 ( #129 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9. **This update includes a security fix.**
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-06-11 11:12:01 -07:00
dependabot-preview[bot]
2dbbf2c74b
[Security] Bump lodash from 4.17.20 to 4.17.21 ( #128 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21. **This update includes a security fix.**
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-06-11 11:11:47 -07:00
Nathan Nichols
c149ec87ea
fix: allow lowercase hex in Uint64 ( #135 )
2021-06-11 10:58:15 -07:00
Nathan Nichols
7e7f47cc20
fix: change sfValidatorToReEnable to field code 21 ( #130 )
2021-06-08 16:41:01 -07:00
Nathan Nichols
c63c235a05
fix: Encode hex strings length <16 to match rippled ( #133 )
2021-06-08 16:40:48 -07:00
dependabot-preview[bot]
1daf1be49b
[Security] Bump y18n from 4.0.0 to 4.0.1 ( #124 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1. **This update includes a security fix.**
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-30 10:40:00 -07:00
Nathan Nichols
c354c392a9
build: Release 1.1.2 ( #123 )
...
* build: Release 1.1.2
2021-03-10 16:53:47 -06:00
Nathan Nichols
761121eba2
fix: Order HopObject ( #122 )
...
* fix: orders HopObject fields correctly
2021-03-10 16:53:27 -06:00
Nathan Nichols
53c72b7045
fix: edge case constructing from string '0' ( #121 )
...
* fix: edge case constructing from string '0'
2021-03-10 11:36:01 -06:00
Nathan Nichols
9bd9ebfc09
chore: update HISTORY.md and version ( #119 )
2021-02-12 16:03:41 -06:00
Nathan Nichols
6c537c0dc3
X-Address Encoding in Issued Currencies ( #113 )
...
* feat(account): allow issued currency to use x-address
2021-02-04 14:24:34 -06:00
dependabot-preview[bot]
fb52bbb3ed
[Security] Bump node-notifier from 8.0.0 to 8.0.1 ( #115 )
...
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier ) from 8.0.0 to 8.0.1. **This update includes a security fix.**
- [Release notes](https://github.com/mikaelbr/node-notifier/releases )
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md )
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-04 14:24:08 -06:00
golobitch
b1f78b7bea
fix(path-set): do not return undefined values in toJSON function ( #118 )
2021-01-28 18:41:23 +01:00
Andrey Rezvov
b59c5002ed
fix typo in the text of exception ( #114 )
2020-12-10 20:21:28 +03:00
Elliot Lee
c29de82e86
Release 1.1.0
2020-12-03 20:40:39 -08:00
Nathan Nichols
5a711afb7e
fix: polyfill Buffer for browser compatibility ( #112 )
...
* Polyfill with "buffer" and "assert" for browser environments
* Instead of relying on webpack to make this library browser compatible, we now use a buffer library that provides a polyfill when used in the browser
2020-12-03 21:38:57 -06:00
elmurci
b023e9b35b
fix(tickets): Field codes for TicketCount and TicketSequence ( #111 )
...
* fix(tickets): Field codes for TicketCount and TicketSequence
BeginLedgerSeq was taking the place of TicketCount (40) in definitions.
From a8d481c2a5/src/ripple/protocol/impl/SField.cpp
TicketCount should be 40 and TicketSequence 41.
BeginLedgerSeq doesn't seem to be used, so removing it
* fix(ci): fix tests ci
2020-11-23 21:51:03 +01:00
elmurci
479ade8a76
Tickets support ( #110 )
...
* feat(tickets): add TicketCount definition
* feat(tickets): add TicketSequence definition
* fix(tests): unit tests
2020-11-17 17:33:20 +01:00
Nathan Nichols
b43e79a9af
Browser Compatibility Updates ( #107 )
...
* BigInt -> big-integer to support older browsers
* Buffer read/write BigUInt64 removed for browser compatibility.
2020-10-22 15:36:45 -05:00
Nathan Nichols
b197897227
Encode any 3 character ASCII currency code ( #106 )
...
* Encode all 3 character ASCII codes
2020-09-14 13:09:38 -05:00
Nathan Nichols
a5559825ae
Filter undefined values ( #105 )
...
filter out fields with undefined values
2020-09-08 17:17:14 -05:00
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