Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

#### xrpl

- Add missing `omitempty` tag to `RipplePathFindRequest.Domain`

## [v0.1.15]

### Added

#### xrpl
Expand Down Expand Up @@ -36,10 +44,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- `rpc` client timeout fetched from config.

### Refactored

## [v0.1.14]

### Fixed

#### xrpl

- Bumped `golang.org/x/crypto` version to `v0.45.0`
- Fix `websocket` client retrial mechanism on transaction await.
- `TxResponse` `Meta` field type changed to `TxMetadataBuilder`, enabling custom parsing for specific transactions metadata such as `Payment`, `NFTokenMint`, etc.

## [v0.1.13]
Expand Down
32 changes: 32 additions & 0 deletions docs/changelog/v0.1.x/984_v0_1_15.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: v0.1.15
---

### Added

#### xrpl

- `EncodeMPTokenMetadata`, `DecodeMPTokenMetadata` and `ValidateMPTokenMetadata` utils to encode, decode and validate MPTokenMetadata as per XLS-89 standard.
- `AuthorizeChannel` to authorize a payment channel.
- Added `Loan` and `LoanBroker` ledger entry types for the lending protocol.
- Added loan transaction types:
- `LoanSet` - Creates or updates a loan with terms including principal, interest rates, payment intervals, and fees.
- `LoanDelete` - Deletes an existing loan.
- `LoanManage` - Modifies loan state (default, impair, unimpair).
- `LoanPay` - Submits a payment on a loan.
- Added loan broker transaction types:
- `LoanBrokerSet` - Creates or updates a loan broker with management fee rates, cover rates, and debt limits.
- `LoanBrokerDelete` - Deletes a loan broker.
- `LoanBrokerCoverDeposit` - Deposits first-loss capital into a loan broker.
- `LoanBrokerCoverWithdraw` - Withdraws first-loss capital from a loan broker.
- `LoanBrokerCoverClawback` - Claws back first-loss capital from a loan broker.
- Added supporting types for loan transactions:
- `XRPLNumber` - Represents XRPL numbers as strings.
- `OwnerCount`, `CoverRate`, `InterestRate`, `PreviousPaymentDate` - Wrapper types for uint32 values.
- `Data`, `GracePeriod`, `PaymentInterval`, `PaymentTotal`, `LoanBrokerID` - Additional wrapper types for loan-related fields.

### Fixed

#### xrpl

- `rpc` client timeout fetched from config.
11 changes: 11 additions & 0 deletions docs/changelog/v0.1.x/985_v0_1_14.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: v0.1.14
---

### Fixed

#### xrpl

- Bumped `golang.org/x/crypto` version to `v0.45.0`
- Fix `websocket` client retrial mechanism on transaction await.
- `TxResponse` `Meta` field type changed to `TxMetadataBuilder`, enabling custom parsing for specific transactions metadata such as `Payment`, `NFTokenMint`, etc.
2 changes: 1 addition & 1 deletion xrpl/queries/path/ripple_path_find.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type RipplePathFindRequest struct {
SourceCurrencies []pathtypes.RipplePathFindCurrency `json:"source_currencies,omitempty"`
LedgerHash common.LedgerHash `json:"ledger_hash,omitempty"`
LedgerIndex common.LedgerSpecifier `json:"ledger_index,omitempty"`
Domain *string `json:"domain"`
Domain *string `json:"domain,omitempty"`
}

// Method returns the JSON-RPC method name for the RipplePathFindRequest.
Expand Down
3 changes: 1 addition & 2 deletions xrpl/queries/path/ripple_path_find_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ func TestRipplePathFindRequest(t *testing.T) {
{
"currency": "USD"
}
],
"domain": null
]
}`
if err := testutil.Serialize(t, s, j); err != nil {
t.Error(err)
Expand Down