Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
Make sure "kind" param works on fetchTransactions (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
CassioMG authored Feb 22, 2023
1 parent 65feb44 commit 840c3d0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
## In master

## [v0.9.0](https://github.com/stellar/js-stellar-wallets/compare/v0.8.0...v0.9.0)

- Make sure "kind" param works on fetchTransactions

## [v0.8.0](https://github.com/stellar/js-stellar-wallets/compare/v0.7.0-rc.0...v0.8.0)

- Update stellar-sdk and add keystore support for browser storage

## [v0.7.0-rc.0](https://github.com/stellar/js-stellar-wallets/compare/v0.6.0-rc.1...v0.7.0-rc.0)

This release updates the SDK to accommodate latest changes from [SEP-24 spec](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0024.md#changelog):
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stellar/wallet-sdk",
"version": "0.8.0",
"version": "0.9.0",
"description": "Libraries to help you write Stellar-enabled wallets in Javascript",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/transfers/TransferProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export abstract class TransferProvider {

if (!params.show_all_transactions) {
kind =
params.kind || this.operation === "deposit" ? "deposit" : "withdrawal";
params.kind || (this.operation === "deposit" ? "deposit" : "withdrawal");
}

const response = await fetch(
Expand Down

0 comments on commit 840c3d0

Please sign in to comment.