Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.

Commit 9fa6464

Browse files
amaury1093Tbaut
authored andcommitted
perf: Bump light.js to use getTxByHash (#492)
* Bump light.js to use getTxByHash * Use .hash instead of .txHash
1 parent ee2a222 commit 9fa6464

File tree

4 files changed

+25
-51
lines changed

4 files changed

+25
-51
lines changed

packages/fether-electron/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
],
2828
"homepage": "https://github.com/paritytech/fether",
2929
"parity": {
30-
"version": "~2.4.1"
30+
"version": "~2.5.0"
3131
},
3232
"scripts": {
3333
"prebuild": "copyfiles -u 2 \"../fether-react/build/**/*\" static/ && ./scripts/fixElectronBug.sh",

packages/fether-react/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
},
3838
"dependencies": {
3939
"@craco/craco": "^4.0.0",
40-
"@parity/abi": "5.1.1",
41-
"@parity/api": "5.1.1",
42-
"@parity/contracts": "5.1.1",
43-
"@parity/light.js": "5.1.1",
44-
"@parity/light.js-react": "5.1.1",
40+
"@parity/abi": "^5.1.3",
41+
"@parity/api": "^5.1.3",
42+
"@parity/contracts": "^5.1.3",
43+
"@parity/light.js": "^5.1.3",
44+
"@parity/light.js-react": "^5.1.3",
4545
"@parity/qr-signer": "^0.3.2",
4646
"bignumber.js": "^8.0.1",
4747
"bip39": "^2.5.0",

packages/fether-react/src/Send/Sent/Sent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class Sent extends Component {
167167
<a
168168
href={blockscoutTxUrl(
169169
chainName,
170-
txStatus.confirmed.transactionHash,
170+
txStatus.confirmed.hash,
171171
token.address
172172
)}
173173
target='_blank'

yarn.lock

Lines changed: 18 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,16 +1640,7 @@
16401640
universal-user-agent "^2.0.0"
16411641
url-template "^2.0.8"
16421642

1643-
1644-
version "5.1.1"
1645-
resolved "https://registry.yarnpkg.com/@parity/abi/-/abi-5.1.1.tgz#a91b1483ef969ede7c1a29c59fa5dd39b4880f51"
1646-
integrity sha512-in+1ubZq69yWgZQzjp8SLcwnhKSqV4LLpzjbDA4lJsE/BJtsCndJ8HWBjiv690Ej9v2TgggRyuyrF091j2Eluw==
1647-
dependencies:
1648-
bignumber.js "^8.0.1"
1649-
js-sha3 "0.8.0"
1650-
utf8 "^3.0.0"
1651-
1652-
"@parity/abi@^5.1.1", "@parity/abi@^5.1.3":
1643+
"@parity/abi@^5.1.3":
16531644
version "5.1.3"
16541645
resolved "https://registry.yarnpkg.com/@parity/abi/-/abi-5.1.3.tgz#0503b3e541c6e02824f86000cef6fca0a0d9ab81"
16551646
integrity sha512-hO8q++qYEUTyWlcaijBdcl+CUXt0f862H+KMOCe31RdZfJcTV2D2qnS0z1kGTZr+AEynGatBZGuvmaZV6mIPNQ==
@@ -1658,24 +1649,7 @@
16581649
js-sha3 "0.8.0"
16591650
utf8 "^3.0.0"
16601651

1661-
1662-
version "5.1.1"
1663-
resolved "https://registry.yarnpkg.com/@parity/api/-/api-5.1.1.tgz#3ac522262f68f23910193b5ab9a37fd261701c14"
1664-
integrity sha512-JPngq2ifejXDhAJ4Xhx7vVr5LeDRvsm6UW1QBRIlm8bpqeaAUw9nwoyvxGZC/JUI9Riq4WjaHYGIa6ZRvpd0rg==
1665-
dependencies:
1666-
"@parity/abi" "^5.1.1"
1667-
bignumber.js "^8.0.1"
1668-
blockies "0.0.2"
1669-
es6-error "4.0.2"
1670-
es6-promise "^4.1.1"
1671-
eventemitter3 "^3.1.0"
1672-
isomorphic-fetch "^2.2.1"
1673-
js-sha3 "0.8.0"
1674-
lodash "^4.17.11"
1675-
store "^2.0.12"
1676-
websocket "^1.0.25"
1677-
1678-
"@parity/api@^5.1.1":
1652+
"@parity/api@^5.1.3":
16791653
version "5.1.3"
16801654
resolved "https://registry.yarnpkg.com/@parity/api/-/api-5.1.3.tgz#c4c1a5c0cbc41d75ad8a58f37a478a09ce5d0ea3"
16811655
integrity sha512-UiN2mdgkEIID/rsqRRBn5AMtIPvrXhJhrwGLXL3vWf9EsiF0GfTuIBYqflz0nPTZY1PySa7hi1XwOmnqprdqNg==
@@ -1692,13 +1666,13 @@
16921666
store "^2.0.12"
16931667
websocket "^1.0.25"
16941668

1695-
"@parity/[email protected].1":
1696-
version "5.1.1"
1697-
resolved "https://registry.yarnpkg.com/@parity/contracts/-/contracts-5.1.1.tgz#c00c9a194882850de9ed3646f4bd25e8610d87a8"
1698-
integrity sha512-9JFzSGjn5W4tyfpDDznVlErxZiIYRp0e4uzIqAerPQOKFvZZdw00NVHUJkwLcoXJmwIMQQxy/X2ZByQSY3x1TQ==
1669+
"@parity/contracts@^5.1.3":
1670+
version "5.1.3"
1671+
resolved "https://registry.yarnpkg.com/@parity/contracts/-/contracts-5.1.3.tgz#736cc9935117b9d1e86ed094a65fa60de085b6e5"
1672+
integrity sha512-TRq0BUUrg61MG9ByTu0UqBySYKncLtR17vx3UV1NKxi9lWS33jYlessEz5CZXr1t5ILt0tN/PYzYe+w1Brm7LQ==
16991673
dependencies:
1700-
"@parity/abi" "^5.1.1"
1701-
"@parity/api" "^5.1.1"
1674+
"@parity/abi" "^5.1.3"
1675+
"@parity/api" "^5.1.3"
17021676
bignumber.js "^8.0.1"
17031677

17041678
"@parity/electron@^5.1.0":
@@ -1720,21 +1694,21 @@
17201694
resolved "https://registry.yarnpkg.com/@parity/erc681/-/erc681-0.1.1.tgz#0ade5233751011c15d5e75bd2bb583a9ba450a5e"
17211695
integrity sha512-OGDAWbAcm4mh+wzw6uBYxw0OJtqJ+39W3pOXl0W93d2p/cH7ppfvunwf7irEPw0FPiAIuR/F77nU1zMKNhm8Dg==
17221696

1723-
"@parity/[email protected].1":
1724-
version "5.1.1"
1725-
resolved "https://registry.yarnpkg.com/@parity/light.js-react/-/light.js-react-5.1.1.tgz#1b5e1b62dd04fa846e8d11971742ec793500fe0c"
1726-
integrity sha512-LD05kpHLzhgONeFiGEKrN59LBSmeBzx5NakxBXzu8vixBQt6Cyq5z1gOzg4RtbtkcTrUC7Q02H4DwOh8QJpNmw==
1697+
"@parity/light.js-react@^5.1.3":
1698+
version "5.1.3"
1699+
resolved "https://registry.yarnpkg.com/@parity/light.js-react/-/light.js-react-5.1.3.tgz#f7e28a0ecbd05246c99cc3f20b4c8cf96c44210f"
1700+
integrity sha512-t7BTy7ECrPJzoXle3gOWurK47+PEltHrfajJStvFgzVG0oyKKyrvb5ro3w2YIOc51L9tfHX0eeS1tuvUeCJLvQ==
17271701
dependencies:
17281702
recompose "^0.30.0"
17291703
symbol-observable "^1.2.0"
17301704

1731-
"@parity/[email protected].1":
1732-
version "5.1.1"
1733-
resolved "https://registry.yarnpkg.com/@parity/light.js/-/light.js-5.1.1.tgz#141f4c168f46208b1caa6273161ad9a8b1675862"
1734-
integrity sha512-AJ/klFpim+lKLxYKpIhJL9Btu4OuXs43lfbBK8XA0kXOV6M51vCv5n+sO5oTWVx6IJE3lXuDIc674H9BC4fcvQ==
1705+
"@parity/light.js@^5.1.3":
1706+
version "5.1.3"
1707+
resolved "https://registry.yarnpkg.com/@parity/light.js/-/light.js-5.1.3.tgz#cb8b5e22916234cf66d446d7eeaf0f030265f9da"
1708+
integrity sha512-SVwGb02QGqlbICqVmg6jqCDW7VMtAzl08YtH9bGFFbYDY9XRyD/bisxnujyecAk9YyduhPUrNu8gLpk+yDrW+Q==
17351709
dependencies:
1736-
"@parity/abi" "^5.1.1"
1737-
"@parity/api" "^5.1.1"
1710+
"@parity/abi" "^5.1.3"
1711+
"@parity/api" "^5.1.3"
17381712
async-retry "^1.2.3"
17391713
bignumber.js "^8.0.1"
17401714
debug "^4.1.0"

0 commit comments

Comments
 (0)