Skip to content

Commit f309ad7

Browse files
committed
Merge branch 'main' into develop
2 parents 19ac060 + b13d772 commit f309ad7

File tree

7 files changed

+23
-7
lines changed

7 files changed

+23
-7
lines changed

.release-please-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"apps/cowswap-frontend": "1.117.0",
2+
"apps/cowswap-frontend": "1.117.1",
33
"apps/explorer": "2.51.0",
44
"libs/permit-utils": "0.8.0",
55
"libs/widget-lib": "0.20.0",
@@ -14,7 +14,7 @@
1414
"libs/ens": "1.4.0",
1515
"libs/events": "1.7.0",
1616
"libs/snackbars": "1.1.3",
17-
"libs/tokens": "1.24.1",
17+
"libs/tokens": "1.24.2",
1818
"libs/types": "1.9.0",
1919
"libs/ui": "1.26.1",
2020
"libs/wallet": "1.14.0",

apps/cowswap-frontend/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [1.117.1](https://github.com/cowprotocol/cowswap/compare/cowswap-v1.117.0...cowswap-v1.117.1) (2025-08-14)
4+
5+
6+
### Bug Fixes
7+
8+
* **token-search:** increase results limit from 10 to 100 ([#6158](https://github.com/cowprotocol/cowswap/issues/6158)) ([b81c459](https://github.com/cowprotocol/cowswap/commit/b81c4598475a0b5097d7ff05046f41c8a3270ed8))
9+
310
## [1.117.0](https://github.com/cowprotocol/cowswap/compare/cowswap-v1.116.0...cowswap-v1.117.0) (2025-08-12)
411

512

apps/cowswap-frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cowprotocol/cowswap",
3-
"version": "1.117.0",
3+
"version": "1.117.1",
44
"description": "CoW Swap",
55
"main": "index.js",
66
"author": "",

apps/cowswap-frontend/src/modules/tokensList/pure/TokenSearchContent/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { ImportTokenItem } from '../ImportTokenItem'
1111
import { TokenListItemContainer } from '../TokenListItemContainer'
1212
import { TokenSourceTitle } from '../TokenSourceTitle'
1313

14-
const SEARCH_RESULTS_LIMIT = 10
14+
const SEARCH_RESULTS_LIMIT = 100
1515

1616
interface TokenSearchContentProps {
1717
searchInput: string

libs/tokens/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [1.24.2](https://github.com/cowprotocol/cowswap/compare/tokens-v1.24.1...tokens-v1.24.2) (2025-08-14)
4+
5+
6+
### Bug Fixes
7+
8+
* **token-search:** increase results limit from 10 to 100 ([#6158](https://github.com/cowprotocol/cowswap/issues/6158)) ([b81c459](https://github.com/cowprotocol/cowswap/commit/b81c4598475a0b5097d7ff05046f41c8a3270ed8))
9+
310
## [1.24.1](https://github.com/cowprotocol/cowswap/compare/tokens-v1.24.0...tokens-v1.24.1) (2025-08-12)
411

512

libs/tokens/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cowprotocol/tokens",
3-
"version": "1.24.1",
3+
"version": "1.24.2",
44
"main": "./index.js",
55
"types": "./index.d.ts",
66
"exports": {

libs/tokens/src/hooks/tokens/useSearchToken.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,11 @@ export function useSearchToken(input: string | null): TokenSearchResponse {
6565
}, [debouncedInputInList, tokensFromActiveLists, tokensFromInactiveLists])
6666

6767
// Search in external API
68-
const { data: apiResultTokens, isLoading: apiIsLoading } = useSearchTokensInApi(
68+
// TODO: Temporarily disabled since the API is no longer available. Re-enable when the API is fixed
69+
const { data: apiResultTokens, isLoading: apiIsLoading } = { data: null, isLoading: false } /*useSearchTokensInApi(
6970
debouncedInputInExternals,
7071
isTokenAlreadyFoundByAddress,
71-
)
72+
)*/
7273

7374
// Search in Blockchain
7475
const { data: tokenFromBlockChain, isLoading: blockchainIsLoading } = useFetchTokenFromBlockchain(
@@ -152,6 +153,7 @@ function useSearchTokensInLists(input: string | undefined): FromListsResult {
152153
return inListsResult || emptyFromListsResult
153154
}
154155

156+
// eslint-disable-next-line unused-imports/no-unused-vars
155157
function useSearchTokensInApi(
156158
input: string | undefined,
157159
isTokenAlreadyFoundByAddress: boolean,

0 commit comments

Comments
 (0)