Skip to content

Commit 7f58c01

Browse files
committed
fix: removed not used swap providers and update wallet-core version
1 parent 54bc673 commit 7f58c01

File tree

5 files changed

+12
-17
lines changed

5 files changed

+12
-17
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "liquality-wallet",
3-
"version": "0.85.0",
3+
"version": "0.85.1",
44
"private": true,
55
"author": "Liquality <info@liquality.io>",
66
"scripts": {
@@ -29,7 +29,7 @@
2929
"@liquality/ethereum-utils": "^1.13.12",
3030
"@liquality/terra-networks": "^1.13.12",
3131
"@liquality/types": "^1.13.12",
32-
"@liquality/wallet-core": "4.20.0",
32+
"@liquality/wallet-core": "4.21.0",
3333
"@terra-money/terra.js": "^3.1.6",
3434
"@testing-library/vue": "^5.8.2",
3535
"amplitude-js": "8.18.2",

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"manifest_version": 2,
3-
"version": "0.85.0",
3+
"version": "0.85.1",
44
"name": "__MSG_appName__",
55
"description": "__MSG_appDesc__",
66
"default_locale": "en",

src/utils/swaps.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ import { getSwapProviderConfig } from '@liquality/wallet-core/dist/src/swaps/uti
22

33
export function getSwapProviderIcon(network, providerId) {
44
const config = getSwapProviderConfig(network, providerId)
5-
debugger
65
return require(`@/assets/icons/swapProviders/${config.icon}?inline`)
76
}

src/views/Swap/SwapProvidersInfoModal.vue

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,16 @@ export default {
7373
},
7474
computed: {
7575
...mapState(['activeNetwork']),
76-
unsupportedProviders() {
77-
// TODO:: We will need to remove this computed prop after these providers are removed from wallet-core
78-
return new Array('liquality', 'liqualityBoostNativeToERC20', 'liqualityBoostERC20toNative')
79-
},
8076
providers() {
81-
return Object.entries(buildConfig.swapProviders[this.activeNetwork])
82-
.map(([provider, providerConfig]) => {
77+
return Object.entries(buildConfig.swapProviders[this.activeNetwork]).map(
78+
([provider, providerConfig]) => {
8379
return {
8480
id: provider,
8581
name: providerConfig.name,
8682
...getSwapProviderInfo(this.activeNetwork, provider)
8783
}
88-
})
89-
.filter((provider) => !this.unsupportedProviders.includes(provider.id))
84+
}
85+
)
9086
},
9187
uniqueProvides() {
9288
return [...new Map(this.providers.map((item) => [item['name'], item])).values()]

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4021,9 +4021,9 @@ __metadata:
40214021
languageName: node
40224022
linkType: hard
40234023

4024-
"@liquality/wallet-core@npm:4.20.0":
4025-
version: 4.20.0
4026-
resolution: "@liquality/wallet-core@npm:4.20.0"
4024+
"@liquality/wallet-core@npm:4.21.0":
4025+
version: 4.21.0
4026+
resolution: "@liquality/wallet-core@npm:4.21.0"
40274027
dependencies:
40284028
"@blobfishkate/sovryncontracts": 1.3.27
40294029
"@chainify/bitcoin": 2.2.0
@@ -4076,7 +4076,7 @@ __metadata:
40764076
urql: ^2.2.0
40774077
vue: ^2.6.11
40784078
vuex: ^3.1.3
4079-
checksum: 1bed58f7fbca976a958cf6cf7da8ca75a22e09d5e60d1fe6e249488250588532207835b3f818f7db49bd1031ed454394e9455ad7fd280a01f89e0af20fe7ec74
4079+
checksum: 08fb68ad84b3bbd831a495de2498149a1151edb54f76b4a8cd9cb3491923db274cd5f01b34901f50c0d6c00fd499f3fd40eaf26c399523bd748ed6b10bbe51e8
40804080
languageName: node
40814081
linkType: hard
40824082

@@ -18902,7 +18902,7 @@ __metadata:
1890218902
"@liquality/ethereum-utils": ^1.13.12
1890318903
"@liquality/terra-networks": ^1.13.12
1890418904
"@liquality/types": ^1.13.12
18905-
"@liquality/wallet-core": 4.20.0
18905+
"@liquality/wallet-core": 4.21.0
1890618906
"@terra-money/terra.js": ^3.1.6
1890718907
"@testing-library/jest-dom": 5.16.5
1890818908
"@testing-library/vue": ^5.8.2

0 commit comments

Comments
 (0)