Chenna Keshava B S
3bc3c2029b
feat: Upgrade to Node 18 and remove cross-fetch ( #2678 ) ( #2737 )
...
* feat: Upgrade to Node 18 and remove cross-fetch (#2678 )
BREAKING CHANGE: fetch now relies on the native javascript environment in browsers and node.js
Co-authored-by: justinr1234 <justinr1234@gmail.com >
2024-07-16 11:04:47 -07:00
Caleb Kniffen
a09084289b
release: xrpl.js 3.0 ( #2633 )
...
- @xrplf/isomorphic@1.0.0
- ripple-address-codec@5.0.0
- ripple-binary-codec@2.0.0
- ripple-keypairs@2.0.0
- @xrplf/secret-numbers@1.0.0
- xrpl@3.0.0
2024-02-01 15:48:48 -06:00
Caleb Kniffen
63c71a162d
release: xrpl@3.0.0-beta.1 and friends ( #2592 )
...
Release beta versions of all the packages and fix history file version numbers for first beta.
2024-02-01 13:54:11 -06:00
Caleb Kniffen
e2433101cb
test: run binary-codec tests in the browser ( #2566 )
...
- Convert tests to typescript
- Update type definitions causing errors in tests
- `makeParser` to accept a `Buffer` in addition to `string`
- `SerializedType` constructor allows not passing in a byte array
- `Comparable` is now a generic type so that it allows `compareTo`
methods to take more that the type itself. Example: `Uint64.compareTo`
can accept `number`
- Update tests to use jasmine compatible functions
- Switching from `test` to `it`.
- Updated test checking if coretypes all implement SerializedType
- Import fixtures directly instead of using `loadFixture` utility
- Remove importing of `buffer/` explicitly. It was throwing off type
checking in tests. Buffer is going away in a future PR anyway.
- Fixed `npm run clean` not clearing `.tsbuildinfo` files for keypairs
- Remove unused account-tx-transactions.db. It was likely used in the
past to test historical ledgers.
2024-02-01 13:53:40 -06:00
Caleb Kniffen
e8f89db00c
test: run ripple-keypairs tests in the browser ( #2558 )
...
- Update tests to use jasmine compatible functions. This means removing `toThrowErrorMatchingInlineSnapshot` and manually removing indention to compare some of the complexly formatted error messages.
- Remove usages of `assert` library in keypairs tests.
2024-02-01 13:53:40 -06:00
Caleb Kniffen
c5fc25efc2
release: 3.0.0-beta.0 ( #2533 )
2024-02-01 13:53:39 -06:00
Nicholas Dudfield
217b111ef2
feat: use @noble and @scure libraries for cryptography ( #2273 )
...
Switch to using `@noble/hashes`, `@noble/curves`, `@scure/base`,
`@scure/bip32`, and `@scure/bip39`. This replaces `crypto` polyfills
(such as `crypto-browserify`), `create-hash`, `elliptic`, `hash.js`,
`bn.js` (both versions), and their many dependencies. This also means
there are 33 less dependencies downloaded when running a fresh
`npm install` and will make the project much easier to maintain.
This reduces the bundle size by 44% (82kb minified and gzipped) over
the current 3.0 branch as well as reducing the amount of configuration
required to bundle.
Closes #1814 , #1817 , #2272 , and #2306
Co-authored-by: Caleb Kniffen <ckniffen@ripple.com >
2024-02-01 13:50:19 -06:00
Caleb Kniffen
83870acbfb
fix: remove need to --force builds + cleanup ( #2468 )
...
This is done by properly deleting all build files.
Package-lock was due to it not reflecting the license of
@xrplf/secret-numbers. This was fixed by running `npm i`.
2024-02-01 13:45:11 -06:00
Caleb Kniffen
30bbc3f837
feat: remove node 14 support ( #2386 )
2024-02-01 13:41:52 -06:00
Jackson Mills
60b600faea
docs: update keywords for all packages ( #2502 )
...
Update keywords for all packages to make the easier to find
2023-10-04 16:19:51 -05:00
Omar Khan
62cea624f8
2.12 release ( #2488 )
...
* update HISTORY
* docgen
* update HISTORY again
* update package.json files
2023-09-27 11:50:21 -04:00
Caleb Kniffen
2192e11267
fix: source-maps find their designated source ( #2435 )
...
fix: source-maps find their designate source
We weren't including the `src` folder in the files published too npm.
This caused errors such as the following seen in the sandbox and by
users on discord.
```
WARNING in ./node_modules/xrpl/dist/npm/utils/xrpConversion.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/sandbox/node_modules/xrpl/src/utils/xrpConversion.ts' file: Error: ENOENT: no such file or directory, open '/sandbox/node_modules/xrpl/src/utils/xrpConversion.ts'
```
2023-08-15 10:37:05 -05:00
Jackson Mills
b410bde412
Retry releasing ripple-keypairs ( #2344 )
...
* Fix package pointing to b
* Point to new version of ripple-keypairs
* Update package.lock
2023-06-13 15:06:22 -07:00
Jackson Mills
3791c6292c
2.8.0 release ( #2343 )
2023-06-13 14:15:08 -07:00
Jackson Mills
b3d3bc2f99
Release xrpl.js 2.7.0 ( #2240 )
2023-03-08 15:05:00 -08:00
justinr1234
5fe480ece4
feat: Jest Test Runner ( #2170 )
2023-02-03 17:03:07 -06:00
Jackson Mills
6d3b2d3a9e
Update packages ( #1990 )
2022-05-02 13:19:50 -07:00
Caleb Kniffen
3ed93aa19e
Prepare release of xrpl@2.2.1 and ripple-address-codec@4.2.4
2022-04-21 17:10:44 -05:00
Jackson Mills
388c4a6124
Update versions ( #1879 )
2021-12-17 16:48:04 -08:00
Mayukha Vadari
78d9b11794
release: release new versions ( #1859 )
2021-12-02 14:59:58 -05:00
Jackson Mills
7c6230b18e
Lerna patch ( #1852 )
2021-12-01 15:48:07 -08:00
Omar Khan
8bb248ca9e
remove engines requirement for npm from individual packages ( #1848 )
...
* remove engines package.json entry from individual packages
* only remove npm from engines entry
2021-12-01 16:33:05 -05:00
Mayukha Vadari
fc101c6733
fix: add workaround for rippled UNLModify encoding bug ( #1830 )
...
* initial patch
* clean up
* make ts happy
* fix typing
* respond to comments
* Revert "respond to comments"
This reverts commit 689768bbf1 .
* Publish
- ripple-address-codec@4.2.1-beta.0
- ripple-binary-codec@1.2.1-beta.0
- ripple-keypairs@1.1.1-beta.0
- xrpl@2.0.3-beta.0
* add helper comments
Co-authored-by: Nathan Nichols <natenichols@cox.net >
2021-11-30 17:16:03 -05:00
ledhed2222
5da0db89f4
fix GitHub pages ( #1802 )
...
* Publish
- ripple-address-codec@4.2.0
- ripple-binary-codec@1.2.0
- ripple-keypairs@1.1.0
- xrpl@2.0.2
* moves back git hub pages docs to the top
2021-11-15 20:06:47 -08:00
Greg Weisbrod
0d6e723a7e
fix inter-repo dependencies and remove now-redundant package-locks within packages
...
fix linter again
2021-11-08 18:19:45 -05:00
Greg Weisbrod
43b55ab598
run 'npx lerna link convert' to hoist common devDependencies to top
2021-11-08 18:19:45 -05:00
Greg Weisbrod
99c817ca8a
fix all errors resulting from running 'npx lerna bootstrap', hoist github actions to top, hoist vscode config to top
2021-11-08 18:19:44 -05:00
dependabot[bot]
6e2db6db20
build(deps-dev): bump eslint-plugin-mocha from 6.3.0 to 9.0.0 ( #351 )
...
Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha ) from 6.3.0 to 9.0.0.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases )
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/6.3.0...9.0.0 )
2021-09-21 09:12:16 -04:00
dependabot[bot]
7669304fbe
build(deps-dev): bump eslint-plugin-prettier from 3.4.1 to 4.0.0 ( #352 )
...
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier ) from 3.4.1 to 4.0.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-plugin-prettier/commits/v4.0.0 )
2021-09-21 09:09:06 -04:00
dependabot[bot]
0b1064fead
build(deps-dev): bump eslint from 6.8.0 to 7.32.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 6.8.0 to 7.32.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/v6.8.0...v7.32.0 )
2021-09-06 15:01:09 +00:00
dependabot[bot]
9d77ea0161
build(deps-dev): bump mocha from 8.3.2 to 9.1.1
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 8.3.2 to 9.1.1.
- [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/v8.3.2...v9.1.1 )
2021-09-02 19:01:32 +00:00
dependabot[bot]
283c2edb10
build(deps-dev): bump ts-node from 9.1.1 to 10.2.1
...
Bumps [ts-node](https://github.com/TypeStrong/ts-node ) from 9.1.1 to 10.2.1.
- [Release notes](https://github.com/TypeStrong/ts-node/releases )
- [Commits](https://github.com/TypeStrong/ts-node/compare/v9.1.1...v10.2.1 )
2021-09-02 15:55:10 +00:00
dependabot[bot]
c41f4520b3
build(deps-dev): bump @types/mocha from 8.2.2 to 9.0.0
...
Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha ) from 8.2.2 to 9.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha )
2021-09-02 15:54:56 +00:00
ledhed2222
569c75103c
refactor: switch to npm ( #343 )
...
* allow tests to be run manually
2021-09-02 11:54:05 -04:00
dependabot[bot]
2ffb774eb2
build(deps-dev): bump @types/node from 15.12.2 to 16.4.3 ( #326 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 15.12.2 to 16.4.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
2021-07-28 22:49:38 -07:00
dependabot[bot]
b3bcfeee20
build(deps-dev): bump @types/node from 14.14.41 to 15.12.2 ( #310 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.41 to 15.12.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
2021-06-15 23:43:57 -07:00
Elliot Lee
937dfa9664
chore: require elliptic ^6.5.4
2021-02-22 22:26:37 -08:00
Elliot Lee
70e6976d7a
release: ripple-keypairs 1.0.3
2021-02-22 14:08:08 -08:00
dependabot-preview[bot]
9a51f76a24
Bump typescript from 3.9.5 to 4.0.3 ( #224 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 3.9.5 to 4.0.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.5...v4.0.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-18 20:37:37 -07:00
dependabot-preview[bot]
29eeb7ee4e
Bump ts-node from 8.10.2 to 9.0.0 ( #211 )
...
Bumps [ts-node](https://github.com/TypeStrong/ts-node ) from 8.10.2 to 9.0.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases )
- [Commits](https://github.com/TypeStrong/ts-node/compare/v8.10.2...v9.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-09-18 17:48:44 -07:00
Elliot Lee
68761d4fbd
Release 1.0.2
2020-09-12 23:25:38 -07:00
dependabot-preview[bot]
cee2dfdcaa
Bump @types/mocha from 7.0.2 to 8.0.3 ( #212 )
...
Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha ) from 7.0.2 to 8.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-12 23:01:05 -07:00
dependabot-preview[bot]
544ec4f80d
Bump mocha from 7.1.2 to 8.0.1 ( #188 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 7.1.2 to 8.0.1.
- [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/v7.1.2...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>
2020-06-23 11:03:58 -07:00
dependabot-preview[bot]
5e4a685f2c
Bump @types/node from 13.13.5 to 14.0.1 ( #173 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 13.13.5 to 14.0.1.
- [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 >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-18 12:03:56 -07:00
dependabot-preview[bot]
076d02cceb
Bump prettier from 1.19.1 to 2.0.5 ( #163 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 1.19.1 to 2.0.5.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/1.19.1...2.0.5 )
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-12 23:07:38 -07:00
Elliot Lee
36105d9dc5
Update nyc and yarn.lock dependencies ( #170 )
2020-05-12 22:58:13 -07:00
Elliot Lee
df4c413d83
Drop support for Node.js version 8 ( #171 )
...
Node.js 8 reached End-of-Life on 31st December 2019. If you are still using Node.js 8, we recommend upgrading to version 10 or higher as soon as possible.
https://nodejs.org/en/about/releases/
2020-05-12 22:04:22 -07:00
Elliot Lee
63f4aa2b8d
Release 1.0.1
2020-05-12 21:49:08 -07:00
Elliot Lee
a2200a1d96
Upgrade @typescript-eslint/eslint-plugin to 2.19.0
...
per https://github.com/ripple/ripple-keypairs/pull/106
2020-02-10 19:32:15 -08:00
dependabot-preview[bot]
34dab51e2f
Bump eslint-config-airbnb-typescript from 6.3.1 to 7.0.0 ( #106 )
...
Bumps [eslint-config-airbnb-typescript](https://github.com/iamturns/eslint-config-airbnb-typescript ) from 6.3.1 to 7.0.0.
- [Release notes](https://github.com/iamturns/eslint-config-airbnb-typescript/releases )
- [Changelog](https://github.com/iamturns/eslint-config-airbnb-typescript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/iamturns/eslint-config-airbnb-typescript/compare/v6.3.1...v7.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-10 19:30:13 -08:00