Commit Graph

4725 Commits

Author SHA1 Message Date
dependabot[bot]
94a9bfab42 build(deps-dev): bump eslint from 8.54.0 to 8.55.0 (#2594)
Bumps [eslint](https://github.com/eslint/eslint) from 8.54.0 to 8.55.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.54.0...v8.55.0)

---
updated-dependencies:
- dependency-name: eslint
  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>
2023-12-04 12:51:35 -06:00
Jackson Mills
99dd0eb44c Release xrpl.js 2.11.0 (#2591)
Update HISTORY.md + Run docgen
ripple-binary-codec@1.11.0 xrpl@2.14.0
2023-11-30 15:27:12 -06:00
Jackson Mills
98abafbf12 feat: Add optional CTID field to Tx (#2477)
* Add optional CTID field to Tx

* Update HISTORY.md

* Update TxRequest

* Update comment to remove incorrect statement

---------

Co-authored-by: Caleb Kniffen <ckniffen@ripple.com>
2023-11-30 07:23:12 -08:00
Ildar Gumirov
9a85aaa109 fix: nftoken taxon calculation (#2590)
Fix taxon calculation for NFTokenID

### Context of Change

If NFToken taxon or serial is too big to be handled as number it could be calculated wrong.
2023-11-29 13:27:36 -06:00
Caleb Kniffen
b555f39e40 feat: remove AMM devnet (#2587)
The AMM dev network will be decommissioned on the 12/8
2023-11-28 15:03:41 -06:00
dependabot[bot]
d1ca360537 build(deps-dev): bump @types/jest from 29.5.8 to 29.5.10 (#2586)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.5.8 to 29.5.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  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>
2023-11-27 12:36:52 -06:00
dependabot[bot]
3f181fa29d build(deps): bump big-integer from 1.6.51 to 1.6.52 (#2581) 2023-11-27 18:21:14 +00:00
dependabot[bot]
e05ca2b359 build(deps-dev): bump @types/lodash from 4.14.201 to 4.14.202 (#2582) 2023-11-27 18:11:27 +00:00
dependabot[bot]
c584961767 build(deps-dev): bump @types/ws from 8.5.9 to 8.5.10 (#2583) 2023-11-27 17:53:20 +00:00
dependabot[bot]
ca689cf9f8 build(deps-dev): bump @types/chai from 4.3.10 to 4.3.11 (#2584) 2023-11-27 17:44:45 +00:00
dependabot[bot]
4b9d506167 build(deps-dev): bump eslint from 8.53.0 to 8.54.0 (#2580) 2023-11-20 16:30:58 +00:00
dependabot[bot]
2f8e9bfb03 build(deps-dev): bump ts-loader from 9.5.0 to 9.5.1 (#2579) 2023-11-20 15:55:20 +00:00
dependabot[bot]
1d988aa7e1 build(deps-dev): bump webpack-bundle-analyzer from 4.9.1 to 4.10.1 (#2577) 2023-11-20 15:45:44 +00:00
Caleb Kniffen
73f48bd771 docs: Add note that Deno is broken due to zlib (#2573)
While ensuring that xrpl@3 still would support Deno it was discovered
that it is broken in 2.x due Deno's port of zlib.
2023-11-17 12:54:24 -06:00
Mayukha Vadari
740210d9a2 fix: add DID ledger object + ledger_entry support (#2576)
* add ledger_entry support for DID

* add DID ledger object

* add empty DID validation
2023-11-17 10:54:32 -05:00
Mayukha Vadari
c8f25a6347 feat: add support for XLS-40d + add script to auto-generate models from rippled code (#2491)
Add support for XLS-40 and adds a script to automatically
generate transaction models from rippled source code.

### Context of Change

https://github.com/XRPLF/XRPL-Standards/pull/136
https://github.com/XRPLF/rippled/pull/4636
2023-11-15 16:19:50 -06:00
dependabot[bot]
22dd17d6b7 build(deps-dev): bump @types/create-hash from 1.2.4 to 1.2.5 (#2572) 2023-11-13 18:10:02 +00:00
dependabot[bot]
9983fd7919 build(deps-dev): bump @types/jest from 29.5.7 to 29.5.8 (#2571) 2023-11-13 17:56:37 +00:00
dependabot[bot]
5e0bd328eb build(deps-dev): bump @types/ws from 8.5.8 to 8.5.9 (#2568)
Bumps [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws) from 8.5.8 to 8.5.9.
- [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: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>
2023-11-13 11:46:41 -06:00
dependabot[bot]
f6a18a9a95 build(deps-dev): bump @types/chai from 4.3.9 to 4.3.10 (#2570)
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.9 to 4.3.10.
- [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>
2023-11-13 11:27:09 -06:00
dependabot[bot]
6bb7fb14a1 build(deps-dev): bump @types/lodash from 4.14.200 to 4.14.201 (#2569) 2023-11-13 17:05:57 +00:00
dependabot[bot]
6109f1fe46 build(deps-dev): bump @types/brorand from 1.0.32 to 1.0.33 (#2567)
Bumps [@types/brorand](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/brorand) from 1.0.32 to 1.0.33.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/brorand)

---
updated-dependencies:
- dependency-name: "@types/brorand"
  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>
2023-11-13 10:53:53 -06:00
dependabot[bot]
0bcbea2a95 build(deps-dev): bump eslint from 8.52.0 to 8.53.0 (#2562) 2023-11-07 16:18:15 +00:00
dependabot[bot]
7d87bf524c build(deps-dev): bump @types/jest from 29.5.6 to 29.5.7 (#2561)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.5.6 to 29.5.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  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>
2023-11-07 09:49:28 -06:00
Omar Khan
b47bb39682 test: add AMM integration tests (#2471) 2023-11-03 18:23:27 -04:00
Mayukha Vadari
14f40f1f62 feat: add support for server_definitions RPC (#2535)
Add support for new command added in XRPLF/rippled#4703
2023-10-31 18:57:30 -05:00
dependabot[bot]
0ae9d8d184 build(deps-dev): bump @types/ws from 8.5.7 to 8.5.8 (#2554)
Bumps [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws) from 8.5.7 to 8.5.8.
- [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: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>
2023-10-30 17:48:30 -05:00
dependabot[bot]
288cfc5b6d build(deps-dev): bump @types/brorand from 1.0.31 to 1.0.32 (#2555)
Bumps [@types/brorand](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/brorand) from 1.0.31 to 1.0.32.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/brorand)

---
updated-dependencies:
- dependency-name: "@types/brorand"
  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>
2023-10-30 17:24:10 -05:00
dependabot[bot]
c58af28c2a build(deps-dev): bump browserify-sign from 4.2.1 to 4.2.2 (#2552)
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md)
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: browserify-sign
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 17:11:55 -05:00
Mayukha Vadari
bff4144fbf fix: update door account for bridge snippet (#2551)
update door account
2023-10-26 14:06:39 -04:00
Mayukha Vadari
68beac73d1 test: add integration tests for sidechain transactions (#2301)
* add XChainCreateBridge integration test

* add XChainCreateClaimID integration test

* add XChainCommit integration test

* add XChainAccountCreateCommit integration test

* simplify tests

* add XChainModifyBridge integration test

* add XChainAddAccountCreateAttestation integration test

* add XChainAddClaimAttestation integration test

* improve SignerListSet integration test

* rename variable to match

* add XChainClaim integration test

* clean up

* add IOU attestation test

* fix integration tests issues

* minor refactors

* fix bug

* [WIP] switch to one bridge for all integration tests

* clean up

* fix tests

* fix + clean up tests
2023-10-25 10:08:58 -04:00
Mayukha Vadari
a11924b8fc chore: fix sidechain networks (#2548)
* fix snippet

* clean up faucet code

* use correct bridge info

* remove unneeded console.log
2023-10-24 19:30:30 -04:00
Mayukha Vadari
c47aa58354 chore: switch to rippleci Docker container (#2534)
* fix docker container

* fix attempt

* use fix for browser tests too

* update contributing

* fix tests

* fix integration tests issues

* use variable for docker image
2023-10-24 14:50:52 -04:00
dependabot[bot]
e0d12141c7 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.51.0 to 5.62.0 (#2541) 2023-10-23 19:07:03 +00:00
dependabot[bot]
7e56c24217 build(deps-dev): bump @types/chai from 4.3.8 to 4.3.9 (#2545) 2023-10-23 18:41:12 +00:00
dependabot[bot]
6ed04156e4 build(deps-dev): bump @types/jest from 29.5.5 to 29.5.6 (#2542) 2023-10-23 18:22:08 +00:00
dependabot[bot]
382d07c4b5 build(deps-dev): bump eslint from 8.51.0 to 8.52.0 (#2544) 2023-10-23 18:06:19 +00:00
dependabot[bot]
7a950f3228 build(deps-dev): bump @types/lodash from 4.14.199 to 4.14.200 (#2539) 2023-10-23 17:49:00 +00:00
dependabot[bot]
c431264fa9 build(deps-dev): bump eslint-plugin-import from 2.28.1 to 2.29.0 (#2540) 2023-10-23 17:17:31 +00:00
dependabot[bot]
530cd823aa build(deps-dev): bump @types/create-hash from 1.2.3 to 1.2.4 (#2537) 2023-10-23 17:00:47 +00:00
Mayukha Vadari
e09d84f2a2 fix: switch snippet back to working bridge (#2536)
switch snippet back
2023-10-23 11:01:48 -05:00
Caleb Kniffen
29c5a70ebc release: 2.13.0 and pin typedoc@0.25.0 (#2531)
`typedoc@0.25.1` has breaking changes if you aren not using
`typescript@^5.2`
xrpl@2.13.0
2023-10-18 11:11:07 -05:00
Caleb Kniffen
8b78147945 fix: copy root README during xrpl publish (#2530)
The `xrpl` package had a less than helpful docs when viewed on the npm
website. The fix is a workaround that copies the root `README` over
to `packages/xrpl/README.md` during the `prepare` lifecycle phase.
2023-10-18 10:38:00 -05:00
Caleb Kniffen
65bf5d40ea fix: tx fields for accounts allowing empty string (#2525)
Fields that were encoded as STAccounts were turning '' into rrrrrrrrrrrrrrrrrrrrrhoLvTp the ACCOUNT_ZERO account. They will now throw a ValidationError.

Invalid addresses on a transaction now throws a ValidationError when submitting a transaction instead of Error('checksum_invalid').

This change updates some error messages for fields a few fields that aren't accounts, DestinationTag or NFTokenID. They will still be of type ValidationError.

Fixes: #2517 and #2475

---------

Co-authored-by: Elliot Lee <github.public@intelliot.com>
2023-10-18 10:25:57 -05:00
Mayukha Vadari
8e929c5a57 chore: remove sidechain-devnet faucet (#2518)
Removes faucet support for the sidechain devnet since the bridge has been moved to Devnet, which already has a faucet.
2023-10-17 12:30:52 -05:00
dependabot[bot]
e941b73c4b build(deps-dev): bump @babel/traverse from 7.20.13 to 7.23.2 (#2527)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.13 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 12:08:19 -05:00
dependabot[bot]
523b4f2df0 build(deps): bump ws and @types/ws (#2524) 2023-10-16 23:57:53 +00:00
dependabot[bot]
976d7b6460 build(deps-dev): bump @types/chai from 4.3.6 to 4.3.8 (#2523) 2023-10-16 23:45:22 +00:00
dependabot[bot]
19f6288f16 build(deps-dev): bump webpack from 5.88.2 to 5.89.0 (#2520)
Bumps [webpack](https://github.com/webpack/webpack) from 5.88.2 to 5.89.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.88.2...v5.89.0)

---
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>
2023-10-16 18:27:58 -05:00
Mayukha Vadari
032b5b7c5a fix: add type param to ledger & ledger_data (#2503)
- Add missing `type` param
- Clean up typing of `type` param and the response property
`account_objects` of the `account_objects` request
- Create interfaces `HasPreviousTxnID` and `MissingPreviousTxnID`. This
helps clean up type checking with regard to the presence of
`PreviousTxnID` and `MissingPreviousTxnID`

Co-authored-by: Mayukha Vadari <mvadari@ripple.com>
Co-authored-by: Caleb Kniffen <ckniffen@ripple.com>
2023-10-16 09:44:54 -05:00