diff --git a/packages/xrpl/HISTORY.md b/packages/xrpl/HISTORY.md index 1cfe2b08..2afef426 100644 --- a/packages/xrpl/HISTORY.md +++ b/packages/xrpl/HISTORY.md @@ -5,6 +5,7 @@ Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xr ## Unreleased ### Fixed +* Type of TrustSet transaction edited, specifically LimitAmount property type (fixed typescript issue) * Remove unnecessary console.warn for partial payments (#1783, #1784, #1896) ## 2.1.1 (2021-12-23) diff --git a/packages/xrpl/src/models/transactions/trustSet.ts b/packages/xrpl/src/models/transactions/trustSet.ts index 5875ba95..f584261a 100644 --- a/packages/xrpl/src/models/transactions/trustSet.ts +++ b/packages/xrpl/src/models/transactions/trustSet.ts @@ -1,5 +1,5 @@ import { ValidationError } from '../../errors' -import { Amount } from '../common' +import { IssuedCurrencyAmount } from '../common' import { BaseTransaction, @@ -102,7 +102,7 @@ export interface TrustSet extends BaseTransaction { * Object defining the trust line to create or modify, in the format of a * Currency Amount. */ - LimitAmount: Amount + LimitAmount: IssuedCurrencyAmount /** * Value incoming balances on this trust line at the ratio of this number per * 1,000,000,000 units. A value of 0 is shorthand for treating balances at