Skip to content

Commit

Permalink
feat: updated wallet core version and cryptoassets
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleySuira committed Mar 17, 2023
1 parent 7f58c01 commit f31ce7a
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 25 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "liquality-wallet",
"version": "0.85.1",
"version": "0.85.2",
"private": true,
"author": "Liquality <[email protected]>",
"scripts": {
Expand All @@ -24,12 +24,12 @@
},
"dependencies": {
"@chainify/hw-ledger": "2.4.0",
"@liquality/cryptoassets": "2.7.0",
"@liquality/cryptoassets": "2.8.0",
"@liquality/error-parser": "2.2.6",
"@liquality/ethereum-utils": "^1.13.12",
"@liquality/terra-networks": "^1.13.12",
"@liquality/types": "^1.13.12",
"@liquality/wallet-core": "4.21.0",
"@liquality/wallet-core": "4.21.1",
"@terra-money/terra.js": "^3.1.6",
"@testing-library/vue": "^5.8.2",
"amplitude-js": "8.18.2",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/cb/pages.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@
"insufficientFunds": "Kulang ang Pundo",
"amountMinusFees": "Amount - Fees",
"initiateSwap": "Sugdi ang Swap",
"maxSlipPage": "Max slippage kay 3%.",
"refundMessage": "Max slippage mao ang 3%. Kung dili makompleto ang swap, i-refund kini paghuman sa pila ka oras.",
"maxSlipPage": "Max slippage kay 5%.",
"refundMessage": "Max slippage mao ang 5%. Kung dili makompleto ang swap, i-refund kini paghuman sa pila ka oras.",
"swapProvidersInfo": "Adunay mga tradeoff nga lain-laing mga swap provider nga gihimo sa mga hinungdan sama sa kasayon, seguridad, liquidity, ug bayronon. Sa pagtan-aw:",
"pros": "Pros",
"cons": "Cons",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/en/pages.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@
"insufficientFunds": "Insufficient Funds",
"amountMinusFees": "Amount - Fees",
"initiateSwap": "Initiate Swap",
"maxSlipPage": "Max slippage is 3%.",
"refundMessage": "Max slippage is 3%. If the swap does not complete, you will be refunded in a few hours.",
"maxSlipPage": "Max slippage is 5%.",
"refundMessage": "Max slippage is 5%. If the swap does not complete, you will be refunded in a few hours.",
"swapProvidersInfo": "There are tradeoffs different swap providers make across factors like convenience, security, liquidity, and fees. At a glance:",
"pros": "Pros",
"cons": "Cons",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/es/pages.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@
"insufficientFunds": "Fondos Insuficientes",
"amountMinusFees": "Cantidad - Comisiones",
"initiateSwap": "Iniciar Swap",
"maxSlipPage": "Slippage máximo es 3%.",
"refundMessage": "Slippage máximo es 3%. Si el swap no se completa, recibirás un reembolso en unas horas.",
"maxSlipPage": "Slippage máximo es 5%.",
"refundMessage": "Slippage máximo es 5%. Si el swap no se completa, recibirás un reembolso en unas horas.",
"swapProvidersInfo": "Existen compensaciones que los diferentes proveedores de swaps hacen entre factores como la conveniencia, la seguridad, la liquidez, y las comisiones. De un vistazo:",
"pros": "Ventajas",
"cons": "Desventajas",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/ph/pages.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@
"insufficientFunds": "Hindi Sapat ang Funds",
"amountMinusFees": "Halaga - Fees",
"initiateSwap": "Simulan ang Swap",
"maxSlipPage": "Ang max slippage ay 3%.",
"refundMessage": "Ang max slippage ay 3%. Kung hindi nakumpleto ang swap, ire-refund ka sa loob ng ilang oras.",
"maxSlipPage": "Ang max slippage ay 5%.",
"refundMessage": "Ang max slippage ay 5%. Kung hindi nakumpleto ang swap, ire-refund ka sa loob ng ilang oras.",
"swapProvidersInfo": "May mga tradeoff na ginagawa ng iba't ibang swap provider sa mga salik tulad ng convenience, seguridad, liquidity, at mga fees. Sa isang tingin:",
"pros": "Mga pros",
"cons": "Mga cons",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/pt/pages.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@
"insufficientFunds": "Fundos Insuficientes",
"amountMinusFees": "Valor - Comissões",
"initiateSwap": "Iniciar Troca",
"maxSlipPage": "Desvio de preço máximo é 3%.",
"refundMessage": "Desvio de preço máximo é 3%. Se a troca não é executada, você será reembolsado em algumas horas.",
"maxSlipPage": "Desvio de preço máximo é 5%.",
"refundMessage": "Desvio de preço máximo é 5%. Se a troca não é executada, você será reembolsado em algumas horas.",
"swapProvidersInfo": "Há diferentes considerações que os fornecedores de negociação fazem sobre fatores como conveniência, segurança, liquidez, e comissões. Rapidamente:",
"pros": "Pros",
"cons": "Contras",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/zh/pages.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@
"insufficientFunds": "资金不足",
"amountMinusFees": "Amount - Fees",
"initiateSwap": "发起兑换",
"maxSlipPage": "最大滑点是3%。",
"refundMessage": "最大滑点是3%。如果兑换失败,你将在几个小时内收到退款。",
"maxSlipPage": "最大滑点是5%。",
"refundMessage": "最大滑点是5%。如果兑换失败,你将在几个小时内收到退款。",
"swapProvidersInfo": "不同的兑换供应商会在便利性、安全性、流动性和费用等因素上做出权衡。",
"pros": "优点",
"cons": "缺点",
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"manifest_version": 2,
"version": "0.85.1",
"version": "0.85.2",
"name": "__MSG_appName__",
"description": "__MSG_appDesc__",
"default_locale": "en",
Expand Down
2 changes: 1 addition & 1 deletion test/pages/SwapPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ class SwapPage {
const message = await page.$eval('#media-body-info', (el) => el.textContent)
expect(message).contain.oneOf([
'If the swap doesn’t complete in 3 hours, you will be refunded in 6 hours at',
'Max slippage is 3%.'
'Max slippage is 5%.'
])
}
}
Expand Down
43 changes: 35 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3915,6 +3915,21 @@ __metadata:
languageName: node
linkType: hard

"@liquality/cryptoassets@npm:2.8.0":
version: 2.8.0
resolution: "@liquality/cryptoassets@npm:2.8.0"
dependencies:
"@ethersproject/address": 5.7.0
"@types/bs58": 4.0.1
bignumber.js: ^9.0.2
bitcoin-address-validation: 2.2.1
bs58: 4.0.1
ethereumjs-util: 7.1.5
lodash: 4.17.21
checksum: 7e58f15685a662634df05c9f68b91c23d0440b282424853b668498a80aeffda32ddd8d6390440eaa6c0f6bca42d2be5eac703fab4f2c15636a88b048fe44d2d1
languageName: node
linkType: hard

"@liquality/cryptoassets@npm:^1.13.3":
version: 1.16.2
resolution: "@liquality/cryptoassets@npm:1.16.2"
Expand Down Expand Up @@ -3942,6 +3957,18 @@ __metadata:
languageName: node
linkType: hard

"@liquality/error-parser@npm:2.2.7":
version: 2.2.7
resolution: "@liquality/error-parser@npm:2.2.7"
dependencies:
"@chainify/client": 2.0.0
"@chainify/errors": 2.0.0
"@liquality/cryptoassets": 2.8.0
randombytes: ^2.1.0
checksum: fa7e56395148b1a4a669f083b623992f4b542d4906cbed62461a5e6fa65a0eda933a834711bd6d7790592240c41c3831c59dae08bf2140f6b0cffa99b5f4967b
languageName: node
linkType: hard

"@liquality/errors@npm:^1.13.12":
version: 1.13.12
resolution: "@liquality/errors@npm:1.13.12"
Expand Down Expand Up @@ -4021,9 +4048,9 @@ __metadata:
languageName: node
linkType: hard

"@liquality/wallet-core@npm:4.21.0":
version: 4.21.0
resolution: "@liquality/wallet-core@npm:4.21.0"
"@liquality/wallet-core@npm:4.21.1":
version: 4.21.1
resolution: "@liquality/wallet-core@npm:4.21.1"
dependencies:
"@blobfishkate/sovryncontracts": 1.3.27
"@chainify/bitcoin": 2.2.0
Expand All @@ -4046,8 +4073,8 @@ __metadata:
"@ethersproject/transactions": 5.7.0
"@hop-protocol/sdk": 0.0.1-beta.314
"@lifi/sdk": 1.0.2
"@liquality/cryptoassets": 2.7.0
"@liquality/error-parser": 2.2.6
"@liquality/cryptoassets": 2.8.0
"@liquality/error-parser": 2.2.7
"@metamask/eth-sig-util": ^4.0.1
"@teleportdao/bitcoin": ^1.0.3
"@teleportdao/configs": ^1.0.3
Expand Down Expand Up @@ -4076,7 +4103,7 @@ __metadata:
urql: ^2.2.0
vue: ^2.6.11
vuex: ^3.1.3
checksum: 08fb68ad84b3bbd831a495de2498149a1151edb54f76b4a8cd9cb3491923db274cd5f01b34901f50c0d6c00fd499f3fd40eaf26c399523bd748ed6b10bbe51e8
checksum: f84e5b1aee452fcf01067ed8d27e0e61ab4a9f47017f742a589dcceb3c85a008b952be63a6d8ed356a4e077826df3b977e4132efa465c315492bd526af720da3
languageName: node
linkType: hard

Expand Down Expand Up @@ -18897,12 +18924,12 @@ __metadata:
resolution: "liquality-wallet@workspace:."
dependencies:
"@chainify/hw-ledger": 2.4.0
"@liquality/cryptoassets": 2.7.0
"@liquality/cryptoassets": 2.8.0
"@liquality/error-parser": 2.2.6
"@liquality/ethereum-utils": ^1.13.12
"@liquality/terra-networks": ^1.13.12
"@liquality/types": ^1.13.12
"@liquality/wallet-core": 4.21.0
"@liquality/wallet-core": 4.21.1
"@terra-money/terra.js": ^3.1.6
"@testing-library/jest-dom": 5.16.5
"@testing-library/vue": ^5.8.2
Expand Down

0 comments on commit f31ce7a

Please sign in to comment.