Omar Khan
09a0f2bbcb
refactor: simplify submit transaction methods ( #1725 )
...
* To simplify submit transaction requests by having only one version of them that supports both signed/unsigned transactions, the signed versions of them (submitSigned(), submitSignedReliable()) are deleted.
* Their signed logic is merged into submit() and submitAndWait() (renamed from submitReliable()).
* Change order of submit method params to be consistent.
* Add a SubmitOptions method param to include options for wallet to sign a transaction, and booleans to autofill/failHard a transaction.
2021-10-15 19:10:35 -04:00
Jackson Mills
a2f7fe6e23
Replace wallet.getClassicAddress() with wallet.classicAddress ( #1727 )
2021-10-15 15:46:20 -07:00
dependabot[bot]
29f077612b
build(deps-dev): bump typescript from 4.4.3 to 4.4.4 ( #1739 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.4.3 to 4.4.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.3...v4.4.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 17:42:42 -05:00
dependabot[bot]
9338f8479f
build(deps-dev): bump mocha from 9.1.2 to 9.1.3 ( #1738 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 9.1.2 to 9.1.3.
- [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/v9.1.2...v9.1.3 )
---
updated-dependencies:
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 17:42:23 -05:00
dependabot[bot]
6b7ef86ae8
build(deps-dev): bump webpack-cli from 4.8.0 to 4.9.0 ( #1736 )
...
Bumps [webpack-cli](https://github.com/webpack/webpack-cli ) from 4.8.0 to 4.9.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases )
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.8.0...webpack-cli@4.9.0 )
---
updated-dependencies:
- dependency-name: webpack-cli
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 17:42:03 -05:00
dependabot[bot]
17d75fc44a
build(deps-dev): bump eslint-plugin-import from 2.24.2 to 2.25.2 ( #1735 )
...
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import ) from 2.24.2 to 2.25.2.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases )
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.24.2...v2.25.2 )
---
updated-dependencies:
- dependency-name: eslint-plugin-import
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 17:41:49 -05:00
dependabot[bot]
3d1c445eb8
build(deps-dev): bump typedoc from 0.21.9 to 0.22.5 ( #1734 )
...
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc ) from 0.21.9 to 0.22.5.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases )
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.21.9...v0.22.5 )
---
updated-dependencies:
- dependency-name: typedoc
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 17:41:30 -05:00
dependabot[bot]
da28f57819
build(deps-dev): bump @types/chai from 4.2.21 to 4.2.22 ( #1733 )
...
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai ) from 4.2.21 to 4.2.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai )
---
updated-dependencies:
- dependency-name: "@types/chai"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 17:41:19 -05:00
dependabot[bot]
65dca89fb2
build(deps-dev): bump @types/node from 16.10.2 to 16.11.0 ( #1731 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.10.2 to 16.11.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 17:41:06 -05:00
dependabot[bot]
01ad95ad3f
build(deps-dev): bump webpack from 5.56.1 to 5.58.2 ( #1730 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.56.1 to 5.58.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.56.1...v5.58.2 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 17:40:57 -05:00
Nathan Nichols
6e57b4e2ee
fix: resolves TODOs in ./src ( #1623 )
...
fix: resolves TODOs in ./src
2021-10-15 17:18:22 -05:00
Omar Khan
b71147416c
feat: add Regular Key Pair support ( #1692 )
...
add Regular Key Pair support to Wallet
2021-10-15 18:16:10 -04:00
Mayukha Vadari
017db295e3
chore: remove jsonschemas from dependabot ( #1728 )
...
* remove dependabot from jsonschemas
* fix typo
2021-10-15 16:33:42 -04:00
Mayukha Vadari
8b8c081bcd
docs: update HISTORY.md ( #1721 )
...
* update changelog
* flesh out some of the bullets
* respond to comments
* resolve TODOs
* added more info to dev deps
2021-10-15 14:34:44 -04:00
Jackson Mills
c107d4a716
Put .on before .request in path_find subscription test to avoid race condition ( #1726 )
2021-10-15 10:25:25 -07:00
Mayukha Vadari
c59ca2bda8
deps/test: update @types/ws and fix flaky tests ( #1724 )
...
* build(deps): bump @types/ws from 7.4.7 to 8.2.0
Bumps [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws ) from 7.4.7 to 8.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws )
---
updated-dependencies:
- dependency-name: "@types/ws"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* resolve linter error
* fix types/ws
* fix flaky integration tests - tefPAST_SEQ
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nathan Nichols <natenichols@cox.net >
2021-10-15 12:29:28 -04:00
Mayukha Vadari
93252130fd
test: increase browser timeout ( #1723 )
2021-10-15 12:12:20 -04:00
Rome Reginelli
5eb3db5395
Autofill: use current ledger for sequence number ( #1719 )
...
Getting an account's next available sequence number is a case where using the open ledger usually makes more sense than getting the validated ledger. If you have any transactions pending, the sequence from the validated ledger will be behind, but one from the open ledger will be correct unless the pending transactions fail to achieve a consensus (which is rare).
2021-10-14 12:15:04 -07:00
Mukul Jangid
943c043c0b
feat: Log Browser tests errors on console ( #1713 )
...
* feat: Log Browser tests errors on console
2021-10-14 11:37:37 -04:00
Mayukha Vadari
d12c1bac9d
fix: resolve regex vulnerability ( #1714 )
...
* first regex fix attempt
* fix tests, cleanup
* leave 1e-7 test in
* clean up throws
* fix comments
* respond to nate's comments
2021-10-13 14:08:57 -04:00
Wietse Wind
2d5755fc88
Update CNAME
2021-10-13 01:44:46 +02:00
Nathan Nichols
f743e374eb
Create CNAME
2021-10-12 18:44:40 -05:00
Jackson Mills
ede1500afa
test: subscription standalone integration tests ( #1690 )
...
Add tests for pathFind and other subscriptions that can be tested with a standalone node.
2021-10-12 14:57:46 -07:00
Mayukha Vadari
1a8bbfa43e
refactor: move hasNextPage from Client to utils ( #1715 )
...
* add hasNextPage
* remove unused util
* add tests
* remove hasNextPage from client
2021-10-12 16:39:57 -04:00
Nathan Nichols
75e56ca927
build: generates documentation ( #1716 )
2021-10-12 15:06:44 -05:00
Nathan Nichols
615504db22
docs: finalizes documentation for xrpl.js ( #1703 )
...
docs: Adds JSDoc comments to all functions and interfaces
2021-10-12 14:04:18 -05:00
Omar Khan
df4c9dc2fd
refactor: remove unused fixtures ( #1710 )
...
delete all unused fixtures in:
- tests/fixtures/requests
- tests/fixtures/responses
- tests/fixtures/rippled
2021-10-11 17:13:04 -04:00
Mayukha Vadari
24308eb3ae
feat: client.getXrpBalance ( #1708 )
...
* implement getXrpBalance
* add to client
* add tests
* clean up getBalances
* improve generateFaucetWallet
* fix tests after rebase
2021-10-11 11:47:36 -04:00
Mayukha Vadari
8556f78f41
feat: export setTransactionFlagsToNumber at the top level ( #1707 )
2021-10-11 11:23:55 -04:00
Mukul Jangid
f93b1f241e
Refactor: Rewrite transaction signing ( #1693 )
...
* refactor: sign with wallet
* refactor: change multisign and rename signTx to sign
* refactor: specify multisign as boolean
* refactor: support address as well as booleans for multisign
* feat: return hash from sign fn and fix tests
2021-10-08 15:33:31 -07:00
Omar Khan
9ad2b28172
refactor: rename hash functions ( #1701 )
...
- Rename hash functions to be shorter for easier use.
- Namespace hash functions into xrpl.hashes
2021-10-08 16:45:12 -04:00
Mukul Jangid
cb55d2eacb
feat: add starting balance to faucet wallet ( #1702 )
...
* refactor: add starting balance to faucet wallet and change `generateFaucetWallet()` to `fundWallet()`
2021-10-08 15:14:56 -04:00
Mayukha Vadari
43c71f4d9b
feat: reliable submission for transactions ( #1704 )
...
* implement relsub
* add tests
* clean up
* remove `transaction` from method names
* remove early success check
2021-10-08 10:27:55 -07:00
Nathan Nichols
aeb5770f61
feat: alias wallet.classicAddress as wallet.address ( #1686 )
...
* feat: alias wallet.classicAddress as wallet.address
2021-10-08 09:33:19 -07:00
Jackson Mills
7e70142044
feat: Add parseAccountRootFlags ( #1699 )
...
* Add parseAccountRootFlags and interface
* Add tests for parseAccountRootFlags
2021-10-07 16:23:42 -07:00
Mayukha Vadari
0674d21134
fix: remove response.status from returned object ( #1698 )
...
* remove response.status
* fix unit tests
* fix integration tests
* remove now-unneeded helper method
* fix rename
2021-10-06 18:13:27 -04:00
Mukul Jangid
5e515a9105
refactor: reorganize/rename flags interfaces ( #1700 )
...
* refactor: reorganize/rename flags interfaces
2021-10-06 17:14:02 -04:00
Mayukha Vadari
e5f6e4a825
feat: getBalanceChanges ( #1696 )
...
* first cut of changes
* get XRP changes to work
* clean up + get tests passing
* get IOUs working
* port over other tests
* clean up old code
* fix metadata type
* rename iou -> token
2021-10-06 14:43:43 -04:00
Elliot Lee
23c5938591
Link to xrpl-announce (updated from ripple-lib-announce) ( #1697 )
...
We renamed the Google Group to xrpl-announce. In the future, the same list may be used for releases of other client libraries as well. It's a small list (less than 60 subscribers) and not very noisy, so it should be okay to include release announcements about libraries in other languages, especially since many developers are polyglots. Of course, we hope the list will grow in the future.
2021-10-06 11:29:38 -07:00
dependabot[bot]
8d0cc9c76f
build(deps-dev): bump @types/node from 16.7.10 to 16.10.2 ( #1683 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.7.10 to 16.10.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 16:14:33 -07:00
dependabot[bot]
925edbeb1c
build(deps): bump @types/lodash from 4.14.172 to 4.14.175 ( #1682 )
...
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash ) from 4.14.172 to 4.14.175.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash )
---
updated-dependencies:
- dependency-name: "@types/lodash"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 16:14:23 -07:00
dependabot[bot]
f51f049c66
build(deps-dev): bump prettier from 2.3.2 to 2.4.1 ( #1657 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.3.2 to 2.4.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.3.2...2.4.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 16:13:55 -07:00
dependabot[bot]
5251e10781
build(deps-dev): bump puppeteer from 10.2.0 to 10.4.0 ( #1655 )
...
Bumps [puppeteer](https://github.com/puppeteer/puppeteer ) from 10.2.0 to 10.4.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/puppeteer/puppeteer/compare/v10.2.0...v10.4.0 )
---
updated-dependencies:
- dependency-name: puppeteer
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 16:13:42 -07:00
dependabot[bot]
3c2e9f60da
build(deps-dev): bump mocha from 9.1.1 to 9.1.2 ( #1685 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 9.1.1 to 9.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/v9.1.1...v9.1.2 )
---
updated-dependencies:
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 18:41:33 -04:00
dependabot[bot]
e79508ceda
build(deps): bump ws from 8.2.2 to 8.2.3 ( #1689 )
...
Bumps [ws](https://github.com/websockets/ws ) from 8.2.2 to 8.2.3.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.2.2...8.2.3 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 18:09:33 -04:00
dependabot[bot]
c9e00f8b09
build(deps-dev): bump webpack from 5.51.1 to 5.56.1 ( #1688 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.51.1 to 5.56.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.51.1...v5.56.1 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 18:03:51 -04:00
Nathan Nichols
f89490ad4e
build: prepare for beta.4 ( #1695 )
2021-10-05 13:58:24 -07:00
Nathan Nichols
36a4c267b6
fix: adds browser field to package.json ( #1694 )
...
* fix: adds browser field to package.json
2021-10-05 13:21:20 -07:00
Mukul Jangid
90dae91fb9
test: Add Integration tests for Escrow Transactions ( #1680 )
...
* test: Add Integration tests for Escrow Transactions
2021-10-05 13:04:34 -04:00
dependabot[bot]
537401e161
build(deps-dev): bump ts-loader from 9.2.5 to 9.2.6 ( #1658 )
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 9.2.5 to 9.2.6.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases )
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.2.5...v9.2.6 )
---
updated-dependencies:
- dependency-name: ts-loader
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-04 14:40:49 -04:00