4756 Commits

Author SHA1 Message Date
dependabot[bot]
c68902dbab build(deps-dev): bump typedoc from 0.27.8 to 0.27.9 (#2926) 2025-03-10 19:41:15 +00:00
dependabot[bot]
fd51d8a1ea build(deps): bump @scure/bip32 from 1.6.0 to 1.6.2 (#2925) 2025-03-10 19:32:19 +00:00
Raj Patel
8995e3d579 Docgen issue fix (#2910)
* fix: use .mts extension to emit ES Modules

* add comments and Apppliction type

* update docs
2025-03-07 20:07:47 -05:00
dependabot[bot]
9d55cb31e3 build(deps-dev): bump webpack from 5.97.1 to 5.98.0 (#2916) 2025-03-04 18:54:50 +00:00
dependabot[bot]
31c50e05f9 build(deps-dev): bump ts-loader from 9.5.1 to 9.5.2 (#2914)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.5.1 to 9.5.2.
- [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.5.1...v9.5.2)

---
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>
2025-03-04 12:31:45 -05:00
dependabot[bot]
0a45c58934 build(deps): bump @noble/hashes from 1.6.1 to 1.7.1 (#2883) 2025-02-24 19:14:03 +00:00
dependabot[bot]
48aeefe27b build(deps-dev): bump typedoc from 0.27.6 to 0.27.8 (#2907) 2025-02-24 19:07:21 +00:00
dependabot[bot]
7c57f1b11d build(deps): bump @noble/curves from 1.7.0 to 1.8.1 (#2881) 2025-02-24 18:50:07 +00:00
dependabot[bot]
b16dd98444 build(deps): bump ws and @types/ws (#2908) 2025-02-24 18:39:39 +00:00
dependabot[bot]
ef1df65367 build(deps): bump @scure/bip39 from 1.5.0 to 1.5.4 (#2882) 2025-02-24 16:36:14 +00:00
dependabot[bot]
c0d6d251ea build(deps): bump ws and @types/ws (#2749)
Bumps [ws](https://github.com/websockets/ws) and [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws). These dependencies needed to be updated together.

Updates `ws` from 8.17.0 to 8.18.0
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.17.0...8.18.0)

Updates `@types/ws` from 8.5.10 to 8.5.12
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:production
  update-type: version-update:semver-minor
- 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>
Co-authored-by: Omar Khan <khancodegt@gmail.com>
2025-02-23 16:45:54 -05:00
Omar Khan
5b16d0cfe3 4.2.0 release (#2896)
* update HISTORY

* update package versions

* fix version
ripple-binary-codec@2.3.0 xrpl@4.2.0
2025-02-13 21:18:57 -05:00
Omar Khan
35e40d9d71 feat: add AMMClawback support (#2893)
* update definitions and package.json

* update rippled.cfg

* add AMMClawback transaction with unit test

* switch to rippled v2.3.1

* Revert "switch to rippled v2.3.1"

This reverts commit d0bd3bdae97fc82240d5dd18732fa301255dc26a.

* update definitions

* add integ test

* resolve type assertions

* remove package-lock.json in sub packages

* remove ts-expect-error

* update integ test

* console logs

* fix console logs

* add tfClawTwoAssets test and remove logs

* fix lint error

* refactor type assertions

* refactor error messages

* final cleanup
2025-02-11 19:00:51 -05:00
Chenna Keshava B S
ea9e3dcc98 Deep Freeze XLS-77d (#2873) 2025-02-11 12:43:32 -08:00
dependabot[bot]
61da4c567a build(deps-dev): bump @types/lodash from 4.17.13 to 4.17.15 (#2891) 2025-02-10 17:04:47 +00:00
Chenna Keshava B S
189abc1a26 PermissionedDomain XLS-80d (#2874) 2025-02-07 14:44:53 -08:00
Mayukha Vadari
ce5ca316ca feat: add support for the simulate RPC (XLS-69d) (#2867) 2025-02-07 10:38:52 -08:00
yinyiqian1
991a1d29a4 Add more unit test for DynamicNFT (#2892)
* Add more unit test for DynamicNFT

* resolve comment
2025-02-04 22:56:01 -05:00
yinyiqian1
23d26c8c2e support DynamicNFT (#2726)
* support DynamicNFT

* Update history.md

* use xrpl-codec-gen to generate definitions.json and modify ripple-binary-code HISTORY.md

* use validateRequiredField for NFTokenID check

* move comment to a proper place

* Add some comment and modify integration test

* update transaction number

* update ci rippled version
2025-02-03 10:32:30 -05:00
achowdhry-ripple
abdb192c69 Fix: parseTransactionFlags unintentionally modifies transaction (#2825)
* remove setTransactions and any reference to modifying a transaction parameter

* remove use of setter in autofill

* changelog and test fixes

* add back deprecated function with warnings

* add new helper function to exported

* update readme with deprecated

* remove references to deprecated setter

* fix changelog syntax

* revert to test old functions

* lint

* lint for deprecation

* remove unsafe assertions

* separate null check

* clean up tests

* remove outdated logic

* fix history md

* fix tests after merge conflicts

* Update packages/xrpl/HISTORY.md

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* Update packages/xrpl/src/models/utils/flags.ts

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* Update packages/xrpl/src/models/utils/flags.ts

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* Update packages/xrpl/src/models/utils/flags.ts

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* Update packages/xrpl/src/models/utils/flags.ts

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* Update packages/xrpl/src/models/utils/flags.ts

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* Update packages/xrpl/src/models/utils/flags.ts

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* Update packages/xrpl/src/models/utils/flags.ts

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* Update packages/xrpl/src/models/utils/flags.ts

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* Update packages/xrpl/test/models/utils.test.ts

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* rename a test per pr comment

* lint fixes

* Update packages/xrpl/test/models/utils.test.ts

Co-authored-by: Omar Khan <khancodegt@gmail.com>

---------

Co-authored-by: Omar Khan <khancodegt@gmail.com>
2025-01-16 11:59:44 -05:00
dependabot[bot]
84943ae0b6 build(deps-dev): bump ts-jest from 29.2.2 to 29.2.5 (#2764) 2025-01-02 15:45:13 +00:00
dependabot[bot]
d8126807a4 build(deps-dev): bump typedoc from 0.26.11 to 0.27.6 (#2863) 2025-01-02 15:29:56 +00:00
dependabot[bot]
7a2fa3fcaa build(deps-dev): bump webpack from 5.96.1 to 5.97.1 (#2853) 2025-01-02 15:23:03 +00:00
dependabot[bot]
76c3355858 build(deps-dev): bump webpack-cli from 5.1.4 to 6.0.1 (#2861) 2025-01-02 15:14:29 +00:00
Omar Khan
11e724253b 4.1.0 release (#2851)
* update HISTORY

* update package-lock

* update ripple-binary-codec HISTORY

* update release dates

* update release dates

* update HISTORY files
v4.1.0
2024-12-21 07:10:25 +05:30
achowdhry-ripple
f34d1a7a63 Credentials (#2829)
* create credentials obj, modify depositpreauth

* structrure of transaction models

* initial validation methods and modify transactions affected by deposit auth

* cleanup and add new transactions to list

* binarycodec and add amendments to config

* methods account for credentials

* binary codec update

* add amendments to config

* error validation for credentials actions

* core logic of error validation completed

* type checking in error validation

* init test files and field type validations

* basic tests for crud transactions

* cred delete tests

* cred accept unit tests

* cred create and accept unit tests

* cred delete unit tests

* depositPreauth unit tests

* generic checks for payment, paymentchannelclaim, escrowfinish credential list

* ledger entry update

* lint errors

* cleanup and use helper methods

* fix lint bug

* init integration tests for new transactions

* fix build error, integration test docker update

* unit test fixes -- all pass now

* integration test layout complete

* integration command

* integration tests run

* cicd command edit

* lint and cleanup

* modified history markdown

* deposit preauth integration update

* update docs with new docker command

* fix validation for string id credential arrays

* exports

* add flag

* lint

* fix typo in contributing doc

* docstring typos

* readable string

* fix test'

* review comment fixes

* txn duplicate fix

* Apply suggestions from code review

Co-authored-by: Omar Khan <khancodegt@gmail.com>
Co-authored-by: Mayukha Vadari <mvadari@ripple.com>

* Apply suggestions from code review

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* Apply suggestions from code review

Co-authored-by: Omar Khan <khancodegt@gmail.com>
Co-authored-by: Mayukha Vadari <mvadari@ripple.com>

* typo in auto suggest

* rebase

* readd definitions after rebase

* cleanup list val

* unit tests fixed and running

* lint

* refactor authcred check to work

* Update packages/xrpl/src/models/transactions/payment.ts

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* typo

* Update .ci-config/rippled.cfg

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* update rippled version

* optional field nits

* add to response depositauthorize

* Update packages/xrpl/src/models/transactions/CredentialCreate.ts

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* Update packages/xrpl/src/models/transactions/CredentialDelete.ts

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* Update packages/xrpl/src/models/transactions/accountDelete.ts

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* Apply suggestions from code review

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* cleanups

* unit test fix

* more escrowfinish tests

* clearer error message

* re add statement

* undo autodeleted mandates

* remove extraneous integration tests for now

* lint

* Update .ci-config/rippled.cfg

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* Update packages/xrpl/src/models/transactions/common.ts

Co-authored-by: Omar Khan <khancodegt@gmail.com>

* added tests

* typo

---------

Co-authored-by: Omar Khan <khancodegt@gmail.com>
Co-authored-by: Mayukha Vadari <mvadari@ripple.com>
2024-12-20 14:03:56 -05:00
Shawn Xie
7bf6fecc71 add more mpt flag validations (#2856)
* remove else condition

* validation txfee

* clidation

* lint

* lint

* comments

* lint

* more typechecking

* rm newline

* refactor

* null check

* revert null check

* reuse test
2024-12-19 15:53:16 -05:00
dependabot[bot]
303c2b983c build(deps): bump @scure/bip32 from 1.5.0 to 1.6.0 (#2852) 2024-12-16 20:26:32 +00:00
Mayukha Vadari
448164da70 chore: bump Github Actions versions (#2788)
bump Github Actions versions
2024-12-13 12:17:21 -08:00
dependabot[bot]
9f72c8d384 build(deps): bump @scure/base from 1.1.9 to 1.2.1 (#2844) 2024-12-12 01:12:16 +00:00
Mayukha Vadari
e42d418662 feat: add node v22 and npm v10 support (#2695)
* add node 22 support

* add debug stuff

* try upgrading npm

* remove node 16

* debug

* remove tmux

* only allow 22.9 onwards

* try 22.8

* try 22.7

* test more 22.x versions

* test more versions

* switch back to 22.x, clean up

* update README
2024-12-11 16:50:41 -08:00
dependabot[bot]
305f2c48bf build(deps): bump @noble/curves from 1.6.0 to 1.7.0 (#2836)
Bumps [@noble/curves](https://github.com/paulmillr/noble-curves) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/paulmillr/noble-curves/releases)
- [Commits](https://github.com/paulmillr/noble-curves/compare/1.6.0...1.7.0)

---
updated-dependencies:
- dependency-name: "@noble/curves"
  dependency-type: direct:production
  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>
2024-12-11 16:00:54 -08:00
dependabot[bot]
b7dfcbf075 build(deps-dev): bump react from 18.3.1 to 19.0.0 (#2843) 2024-12-11 23:37:09 +00:00
Shawn Xie
b04efe8c9e MPT (#2661)
MPT Support for library and binary codec
2024-12-11 13:38:13 -08:00
dependabot[bot]
e3188b83ed build(deps): bump @noble/hashes from 1.5.0 to 1.6.1 (#2837)
Bumps [@noble/hashes](https://github.com/paulmillr/noble-hashes) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/paulmillr/noble-hashes/releases)
- [Commits](https://github.com/paulmillr/noble-hashes/compare/1.5.0...1.6.1)

---
updated-dependencies:
- dependency-name: "@noble/hashes"
  dependency-type: direct:production
  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>
2024-12-09 20:35:54 +05:30
dependabot[bot]
f4011b58e7 build(deps): bump @scure/bip39 from 1.4.0 to 1.5.0 (#2838)
Bumps [@scure/bip39](https://github.com/paulmillr/scure-bip39) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/paulmillr/scure-bip39/releases)
- [Commits](https://github.com/paulmillr/scure-bip39/compare/1.4.0...1.5.0)

---
updated-dependencies:
- dependency-name: "@scure/bip39"
  dependency-type: direct:production
  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>
Co-authored-by: Chenna Keshava B S <21219765+ckeshava@users.noreply.github.com>
2024-12-09 16:03:25 +05:30
Emmanuel Ferdman
00614753ff docs: update references in CONTRIBUTING.md (#2832)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2024-12-04 18:41:50 -05:00
Denis Angell
b3a76bd9c0 Update HISTORY.md (#2777) 2024-12-02 15:17:02 -05:00
dependabot[bot]
24e9ad7c12 build(deps-dev): bump webpack from 5.95.0 to 5.96.1 (#2833) 2024-11-21 20:54:39 +00:00
Shawn Xie
c2dd2edbcc Update custom Payment to a higher number in binary codec test (#2824)
* update payment custom def

* comment
2024-11-18 17:34:12 -05:00
dependabot[bot]
c9207337aa build(deps-dev): bump typedoc from 0.26.10 to 0.26.11 (#2822)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.26.10 to 0.26.11.
- [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.26.10...v0.26.11)

---
updated-dependencies:
- dependency-name: typedoc
  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>
Co-authored-by: Omar Khan <khancodegt@gmail.com>
2024-11-15 15:29:12 -05:00
dependabot[bot]
a6852dd588 build(deps-dev): bump @types/jest from 29.5.12 to 29.5.14 (#2821)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.5.12 to 29.5.14.
- [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>
Co-authored-by: Omar Khan <khancodegt@gmail.com>
2024-11-15 15:06:26 -05:00
dependabot[bot]
3a604ce69a build(deps-dev): bump @types/lodash from 4.17.12 to 4.17.13 (#2819)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.17.12 to 4.17.13.
- [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: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>
Co-authored-by: Omar Khan <khancodegt@gmail.com>
2024-11-15 14:59:19 -05:00
justinr1234
663b80f1d0 chore: remove code rabbit sequence diagram (#2827) 2024-11-14 12:40:46 -06:00
dependabot[bot]
92eb809397 build(deps): bump @noble/hashes from 1.4.0 to 1.5.0 (#2814)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: justinr1234 <justinr1234@gmail.com>
Co-authored-by: anissa-ripple <165064424+anissa-ripple@users.noreply.github.com>
2024-11-04 11:15:03 -06:00
dependabot[bot]
799cd65386 build(deps): bump @scure/bip39 from 1.3.0 to 1.4.0 (#2813)
Bumps [@scure/bip39](https://github.com/paulmillr/scure-bip39) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/paulmillr/scure-bip39/releases)
- [Commits](https://github.com/paulmillr/scure-bip39/compare/1.3.0...1.4.0)

---
updated-dependencies:
- dependency-name: "@scure/bip39"
  dependency-type: direct:production
  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>
Co-authored-by: anissa-ripple <165064424+anissa-ripple@users.noreply.github.com>
Co-authored-by: justinr1234 <justinr1234@gmail.com>
2024-11-04 08:28:33 -08:00
dependabot[bot]
29d145138b build(deps-dev): bump eslint-plugin-import from 2.29.1 to 2.31.0 (#2799)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: anissa-ripple <165064424+anissa-ripple@users.noreply.github.com>
2024-11-04 10:10:51 -06:00
Mayukha Vadari
496f774154 fix: resolve TransactionStream and Ledger model issues (#2779)
* update TransactionStream model

* fix everywhere else

* add close_time_iso

* add close_time_iso to TransactionStream

* update HISTORY

* fix tests

* fix import

* Update packages/xrpl/src/client/partialPayment.ts
2024-11-04 10:55:47 -05:00
dependabot[bot]
0395c14392 build(deps-dev): bump @types/lodash from 4.17.7 to 4.17.12 (#2810) 2024-10-21 16:23:46 +00:00
dependabot[bot]
2a77e2cd91 build(deps-dev): bump typedoc from 0.26.9 to 0.26.10 (#2809) 2024-10-21 16:17:27 +00:00