Sort injected based on creation timestamp (#368)

* Sort injected based on creation timestamp

* Adjust shadow
This commit is contained in:
Jaco Greeff 2020-06-08 09:48:13 +02:00 committed by GitHub
parent 9f107bbf48
commit 2b2d428868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 166 additions and 176 deletions

View File

@ -1,9 +1,10 @@
# CHANGELOG
## 0.26.0-beta.x
## 0.26.0-beta.x Jun 8, 2020
- Add the ability to import JSON keystore files (Thanks to https://github.com/shawntabrizi)
- Updated to derivation documentation (Thanks to https://github.com/EthWorks)
- Rework account creation with top-level menu
- Allow accounts to be hidden, i.e. not injected (per account setting)
- Adjust allowed mnemonic seed strengths, 12, 15, 18, 21 & 24 all allowed
- Allow accounts to be tied to a specific network genesis (along with display)
@ -12,6 +13,7 @@
- Display child accounts when no parent has been found (orphans)
- Display derived suri alongside parent account names
- Remove all bundled metadata, update is available for dapps to keep current
- Sorting of injected accounts based on created timestamp
## 0.25.1 May 14, 2020

View File

@ -8,11 +8,11 @@
"packages/*"
],
"resolutions": {
"@polkadot/api": "^1.18.0-beta.2",
"@polkadot/keyring": "^2.12.2",
"@polkadot/types": "^1.18.0-beta.2",
"@polkadot/util": "^2.12.2",
"@polkadot/util-crypto": "^2.12.2",
"@polkadot/api": "^1.18.0-beta.7",
"@polkadot/keyring": "^2.13.0-beta.3",
"@polkadot/types": "^1.18.0-beta.7",
"@polkadot/util": "^2.13.0-beta.3",
"@polkadot/util-crypto": "^2.13.0-beta.3",
"babel-core": "^7.0.0-bridge.0"
},
"scripts": {
@ -33,7 +33,7 @@
"devDependencies": {
"@babel/core": "^7.10.2",
"@polkadot/dev": "^0.55.8",
"@polkadot/typegen": "^1.18.0-beta.2",
"@polkadot/typegen": "^1.18.0-beta.7",
"@types/jest": "^25.2.3",
"copy-webpack-plugin": "^6.0.2",
"sinon-chrome": "^3.0.1",

View File

@ -6,9 +6,9 @@
"license": "Apache-2",
"dependencies": {
"@babel/runtime": "^7.10.2",
"@polkadot/api": "^1.18.0-beta.2",
"@polkadot/api": "^1.18.0-beta.7",
"@polkadot/extension-inject": "0.26.0-beta.26",
"@polkadot/keyring": "^2.12.2",
"@polkadot/ui-keyring": "^0.54.0-beta.4"
"@polkadot/keyring": "^2.13.0-beta.3",
"@polkadot/ui-keyring": "^0.54.0-beta.6"
}
}

View File

@ -22,6 +22,7 @@ function transformAccounts (accounts: SubjectInfo): InjectedAccount[] {
return Object
.values(accounts)
.filter(({ json: { meta: { isHidden } } }) => !isHidden)
.sort((a, b) => (a.json.meta.whenCreated || 0) - (b.json.meta.whenCreated || 0))
.map(({ json: { address, meta: { genesisHash, name } } }): InjectedAccount => ({
address, genesisHash, name
}));

View File

@ -7,8 +7,8 @@
"dependencies": {
"@babel/runtime": "^7.10.2",
"@polkadot/extension-inject": "0.26.0-beta.26",
"@polkadot/util": "^2.12.2",
"@polkadot/util-crypto": "^2.12.2"
"@polkadot/util": "^2.13.0-beta.3",
"@polkadot/util-crypto": "^2.13.0-beta.3"
},
"peerDependencies": {
"@polkadot/api": "*"

View File

@ -8,11 +8,11 @@
"@babel/runtime": "^7.10.2",
"@polkadot/extension-base": "0.26.0-beta.26",
"@polkadot/extension-inject": "0.26.0-beta.26",
"@polkadot/keyring": "^2.12.2",
"@polkadot/react-identicon": "^0.54.0-beta.4",
"@polkadot/react-qr": "^0.54.0-beta.4",
"@polkadot/util": "^2.12.2",
"@polkadot/util-crypto": "^2.12.2",
"@polkadot/keyring": "^2.13.0-beta.3",
"@polkadot/react-identicon": "^0.54.0-beta.6",
"@polkadot/react-qr": "^0.54.0-beta.6",
"@polkadot/util": "^2.13.0-beta.3",
"@polkadot/util-crypto": "^2.13.0-beta.3",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-dropzone": "^11.0.1",

View File

@ -122,6 +122,7 @@ function Account ({ address, className, genesisHash, isExternal, isHidden, paren
address={address}
className='address'
genesisHash={genesisHash}
isHidden={isHidden}
name={editedName}
parentName={parentName}
suri={suri}

View File

@ -1,3 +1 @@
<svg width="8" height="6" viewBox="0 0 8 6" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8 0L3.97 6L0 0H8Z" fill="#585858"/>
</svg>
<svg width="8" height="6" viewBox="0 0 8 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 0L3.97 6L0 0H8Z" fill="#585858"/></svg>

Before

Width:  |  Height:  |  Size: 145 B

After

Width:  |  Height:  |  Size: 143 B

View File

@ -1,4 +1 @@
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M13 7L1 7" stroke="#6C6C6C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M7 13L1 7L7 1" stroke="#6C6C6C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 7L1 7" stroke="#6C6C6C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M7 13L1 7L7 1" stroke="#6C6C6C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>

Before

Width:  |  Height:  |  Size: 317 B

After

Width:  |  Height:  |  Size: 310 B

View File

@ -1,3 +1 @@
<svg width="10" height="12" viewBox="0 0 10 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10 7.33333L6 11.3333L5.05333 10.3867L7.44667 8H0V0H1.33333V6.66667H7.44667L5.05333 4.28L6 3.33333L10 7.33333Z" fill="#B3B3B5"/>
</svg>
<svg width="10" height="12" viewBox="0 0 10 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10 7.33333L6 11.3333L5.05333 10.3867L7.44667 8H0V0H1.33333V6.66667H7.44667L5.05333 4.28L6 3.33333L10 7.33333Z" fill="#B3B3B5"/></svg>

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 239 B

View File

@ -1,3 +1 @@
<svg width="13" height="10" viewBox="0 0 13 10" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12.9902 2.00008L11.5802 0.580078L4.99023 7.17008L2.41023 4.60008L0.990234 6.01008L4.99023 10.0001L12.9902 2.00008Z" fill="#FF8B00"/>
</svg>
<svg width="13" height="10" viewBox="0 0 13 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12.9902 2.00008L11.5802 0.580078L4.99023 7.17008L2.41023 4.60008L0.990234 6.01008L4.99023 10.0001L12.9902 2.00008Z" fill="#FF8B00"/></svg>

Before

Width:  |  Height:  |  Size: 248 B

After

Width:  |  Height:  |  Size: 244 B

View File

@ -1,3 +1 @@
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10.7368 12.7273H3.78947V3.81818H10.7368V12.7273ZM10.7368 2.54545H3.78947C3.09474 2.54545 2.52632 3.11818 2.52632 3.81818V12.7273C2.52632 13.4273 3.09474 14 3.78947 14H10.7368C11.4316 14 12 13.4273 12 12.7273V3.81818C12 3.11818 11.4316 2.54545 10.7368 2.54545ZM8.8421 0H1.26316C0.568421 0 0 0.572727 0 1.27273V10.1818H1.26316V1.27273H8.8421V0Z" fill="#8E8E8E"/>
</svg>
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.7368 12.7273H3.78947V3.81818H10.7368V12.7273ZM10.7368 2.54545H3.78947C3.09474 2.54545 2.52632 3.11818 2.52632 3.81818V12.7273C2.52632 13.4273 3.09474 14 3.78947 14H10.7368C11.4316 14 12 13.4273 12 12.7273V3.81818C12 3.11818 11.4316 2.54545 10.7368 2.54545ZM8.8421 0H1.26316C0.568421 0 0 0.572727 0 1.27273V10.1818H1.26316V1.27273H8.8421V0Z" fill="#8E8E8E"/></svg>

Before

Width:  |  Height:  |  Size: 476 B

After

Width:  |  Height:  |  Size: 472 B

View File

@ -1,5 +1 @@
<svg width="3" height="19" viewBox="0 0 3 19" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="1.5" cy="1.5" r="1.5" fill="#8E8E8E"/>
<circle cx="1.5" cy="9.5" r="1.5" fill="#8E8E8E"/>
<circle cx="1.5" cy="17.5" r="1.5" fill="#8E8E8E"/>
</svg>
<svg width="3" height="19" viewBox="0 0 3 19" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="1.5" cy="1.5" r="1.5" fill="#8E8E8E"/><circle cx="1.5" cy="9.5" r="1.5" fill="#8E8E8E"/><circle cx="1.5" cy="17.5" r="1.5" fill="#8E8E8E"/></svg>

Before

Width:  |  Height:  |  Size: 261 B

After

Width:  |  Height:  |  Size: 251 B

View File

@ -1,3 +1 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M7 14H5V19H10V17H7V14ZM5 10H7V7H10V5H5V10ZM17 17H14V19H19V14H17V17ZM14 5V7H17V10H19V5H14Z" fill="white"/>
</svg>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7 14H5V19H10V17H7V14ZM5 10H7V7H10V5H5V10ZM17 17H14V19H19V14H17V17ZM14 5V7H17V10H19V5H14Z" fill="white"/></svg>

Before

Width:  |  Height:  |  Size: 258 B

After

Width:  |  Height:  |  Size: 256 B

View File

@ -1,3 +1 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M15.031 9.82502L15.0227 9.84169C15.056 9.56669 15.0893 9.28335 15.0893 9.00002C15.0893 8.71669 15.0643 8.45002 15.031 8.17502L15.0393 8.19169L17.0727 6.59169L15.0477 3.07502L12.656 4.04169L12.6643 4.05002C12.231 3.71669 11.756 3.43335 11.2393 3.21669H11.2477L10.8643 0.666687H6.80599L6.43932 3.22502H6.44766C5.93099 3.44169 5.45599 3.72502 5.02266 4.05835L5.03099 4.05002L2.63099 3.07502L0.597656 6.59169L2.63099 8.19169L2.63932 8.17502C2.60599 8.45002 2.58099 8.71669 2.58099 9.00002C2.58099 9.28335 2.60599 9.56669 2.64766 9.84169L2.63932 9.82502L0.889323 11.2L0.614323 11.4167L2.63932 14.9167L5.03932 13.9584L5.02266 13.925C5.46432 14.2667 5.93932 14.55 6.46432 14.7667H6.43932L6.81432 17.3334H10.856C10.856 17.3334 10.881 17.1834 10.906 16.9834L11.2227 14.775H11.2143C11.731 14.5584 12.2143 14.275 12.656 13.9334L12.6393 13.9667L15.0393 14.925L17.0643 11.425C17.0643 11.425 16.9477 11.325 16.7893 11.2084L15.031 9.82502ZM8.83099 11.9167C7.22266 11.9167 5.91432 10.6084 5.91432 9.00002C5.91432 7.39169 7.22266 6.08335 8.83099 6.08335C10.4393 6.08335 11.7477 7.39169 11.7477 9.00002C11.7477 10.6084 10.4393 11.9167 8.83099 11.9167Z" fill="#6C6C6C"/>
</svg>
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.031 9.82502L15.0227 9.84169C15.056 9.56669 15.0893 9.28335 15.0893 9.00002C15.0893 8.71669 15.0643 8.45002 15.031 8.17502L15.0393 8.19169L17.0727 6.59169L15.0477 3.07502L12.656 4.04169L12.6643 4.05002C12.231 3.71669 11.756 3.43335 11.2393 3.21669H11.2477L10.8643 0.666687H6.80599L6.43932 3.22502H6.44766C5.93099 3.44169 5.45599 3.72502 5.02266 4.05835L5.03099 4.05002L2.63099 3.07502L0.597656 6.59169L2.63099 8.19169L2.63932 8.17502C2.60599 8.45002 2.58099 8.71669 2.58099 9.00002C2.58099 9.28335 2.60599 9.56669 2.64766 9.84169L2.63932 9.82502L0.889323 11.2L0.614323 11.4167L2.63932 14.9167L5.03932 13.9584L5.02266 13.925C5.46432 14.2667 5.93932 14.55 6.46432 14.7667H6.43932L6.81432 17.3334H10.856C10.856 17.3334 10.881 17.1834 10.906 16.9834L11.2227 14.775H11.2143C11.731 14.5584 12.2143 14.275 12.656 13.9334L12.6393 13.9667L15.0393 14.925L17.0643 11.425C17.0643 11.425 16.9477 11.325 16.7893 11.2084L15.031 9.82502ZM8.83099 11.9167C7.22266 11.9167 5.91432 10.6084 5.91432 9.00002C5.91432 7.39169 7.22266 6.08335 8.83099 6.08335C10.4393 6.08335 11.7477 7.39169 11.7477 9.00002C11.7477 10.6084 10.4393 11.9167 8.83099 11.9167Z" fill="#6C6C6C"/></svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><g><g transform="translate(0.000000,511.000000) scale(0.100000,-0.100000)"><path d="M8291.2,3962.5c-126.1-39.7-191.4-95.7-781.9-683.9L6900,2671.7l-219.4,81.7c-1626.9,609.2-3279.5,329.1-4792-809.9C1393.7,1572.4,796.2,956.1,399.4,412.3C105.3,6.1,60.9-112.9,126.3-313.7c84-245.1,800.6-952.3,1398.2-1379.5c163.4-116.7,543.9-359.5,590.5-375.8c16.3-7-177.4-219.4-429.5-473.9c-252.1-256.8-476.2-497.2-494.8-534.5c-98-193.7-67.7-387.5,86.4-539.2c165.7-168.1,380.5-189.1,578.9-56c135.4,91,6913.8,6878.7,6958.1,6967.4c98,193.7,65.4,387.5-86.4,539.2C8601.6,3962.5,8445.2,4006.9,8291.2,3962.5z M5158.7,2006.5c114.4-53.7,170.4-154,170.4-303.4c0-102.7-11.7-135.4-70-203.1c-81.7-93.4-158.7-121.4-373.5-140c-448.2-39.7-807.6-415.5-863.6-896.3c-23.3-214.7-39.7-256.8-137.7-338.5c-147.1-123.7-392.1-84-492.5,81.7c-102.7,170.4-37.3,606.9,144.7,959.3c130.7,252.1,422.5,550.9,660.6,674.6c156.4,81.7,399.1,168.1,525.2,189.1C4874,2055.5,5081.7,2043.9,5158.7,2006.5z M3111.7,1551.3C2665.8,790.4,2677.5-101.2,3142-820.1l105-161.1L3039.3-1189l-210.1-207.7l-154.1,81.7C2248-1090.9,1655.2-647.4,1305-292.6L1144-126.9l184.4,228.8C1727.5,599,2241,1077.5,2721.9,1399.6c193.7,130.7,420.1,266.1,455.2,273.1C3179.4,1672.7,3151.4,1616.7,3111.7,1551.3z"/><path d="M7843,1560.7l-322.1-322.1l231.1-191.4c280.1-231.1,676.9-637.2,924.3-945.3l184.4-228.8l-196.1-198.4c-658.2-667.6-1598.9-1218.4-2460.2-1440.2c-485.5-126.1-637.2-142.4-1253.4-144.7h-578.9l-373.5-373.5c-205.4-205.4-373.5-380.4-373.5-387.5c0-16.3,427.1-102.7,676.9-135.4c915-119,1923.3,14,2829,373.5c770.3,305.8,1577.9,840.3,2203.4,1461.2c625.6,620.9,681.6,779.6,413.2,1178.7c-224.1,336.1-497.2,669.9-824,1006c-298.8,310.4-697.9,669.9-739.9,669.9C8174.5,1882.8,8020.4,1738.1,7843,1560.7z"/><path d="M5833.3-449L4505.2-1777.1l91-21c49-9.3,242.7-18.7,429.5-16.3c275.4,0,375.8,9.4,534.5,53.7c394.5,105,725.9,298.8,1017.7,595.2C7019-719.8,7245.4-131.6,7212.8,494C7187.1,956.1,7350.5,1068.2,5833.3-449z"/></g></g></svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -1,3 +1 @@
<svg width="12" height="16" viewBox="0 0 12 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10.5001 7.09999H9.6001V4.39999C9.6001 2.41999 7.9801 0.799988 6.0001 0.799988C4.0201 0.799988 2.4001 2.41999 2.4001 4.39999V7.09999H1.5001C1.0501 7.09999 0.600098 7.54999 0.600098 7.99999V14.3C0.600098 14.75 1.0501 15.2 1.5001 15.2H10.5001C10.9501 15.2 11.4001 14.75 11.4001 14.3V7.99999C11.4001 7.54999 10.9501 7.09999 10.5001 7.09999ZM6.9001 13.4H5.1001L5.4601 11.42C5.0101 11.24 4.6501 10.7 4.6501 10.25C4.6501 9.52999 5.2801 8.89999 6.0001 8.89999C6.7201 8.89999 7.3501 9.52999 7.3501 10.25C7.3501 10.79 7.0801 11.24 6.5401 11.42L6.9001 13.4ZM7.8001 7.09999H4.2001V4.39999C4.2001 3.40999 5.0101 2.59999 6.0001 2.59999C6.9901 2.59999 7.8001 3.40999 7.8001 4.39999V7.09999Z" fill="#8D8D8D"/>
</svg>
<svg width="12" height="16" viewBox="0 0 12 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.5001 7.09999H9.6001V4.39999C9.6001 2.41999 7.9801 0.799988 6.0001 0.799988C4.0201 0.799988 2.4001 2.41999 2.4001 4.39999V7.09999H1.5001C1.0501 7.09999 0.600098 7.54999 0.600098 7.99999V14.3C0.600098 14.75 1.0501 15.2 1.5001 15.2H10.5001C10.9501 15.2 11.4001 14.75 11.4001 14.3V7.99999C11.4001 7.54999 10.9501 7.09999 10.5001 7.09999ZM6.9001 13.4H5.1001L5.4601 11.42C5.0101 11.24 4.6501 10.7 4.6501 10.25C4.6501 9.52999 5.2801 8.89999 6.0001 8.89999C6.7201 8.89999 7.3501 9.52999 7.3501 10.25C7.3501 10.79 7.0801 11.24 6.5401 11.42L6.9001 13.4ZM7.8001 7.09999H4.2001V4.39999C4.2001 3.40999 5.0101 2.59999 6.0001 2.59999C6.9901 2.59999 7.8001 3.40999 7.8001 4.39999V7.09999Z" fill="#8D8D8D"/></svg>

Before

Width:  |  Height:  |  Size: 809 B

After

Width:  |  Height:  |  Size: 805 B

View File

@ -1,4 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><!-- Generator: Adobe Illustrator 23.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="15 15 140 140" style="enable-background:new 0 0 170 170;zoom: 1;" xml:space="preserve"><style type="text/css">
.bg0{fill:#FF8C00}
.st0{fill:#FFFFFF;}
</style><g><circle class="bg0" cx="85" cy="85" r="70"></circle><g><path class="st0" d="M85,34.7c-20.8,0-37.8,16.9-37.8,37.8c0,4.2,0.7,8.3,2,12.3c0.9,2.7,3.9,4.2,6.7,3.3c2.7-0.9,4.2-3.9,3.3-6.7 c-1.1-3.1-1.6-6.4-1.5-9.7C58.1,57.6,69.5,46,83.6,45.3c15.7-0.8,28.7,11.7,28.7,27.2c0,14.5-11.4,26.4-25.7,27.2 c0,0-5.3,0.3-7.9,0.7c-1.3,0.2-2.3,0.4-3,0.5c-0.3,0.1-0.6-0.2-0.5-0.5l0.9-4.4L81,73.4c0.6-2.8-1.2-5.6-4-6.2 c-2.8-0.6-5.6,1.2-6.2,4c0,0-11.8,55-11.9,55.6c-0.6,2.8,1.2,5.6,4,6.2c2.8,0.6,5.6-1.2,6.2-4c0.1-0.6,1.7-7.9,1.7-7.9 c1.2-5.6,5.8-9.7,11.2-10.4c1.2-0.2,5.9-0.5,5.9-0.5c19.5-1.5,34.9-17.8,34.9-37.7C122.8,51.6,105.8,34.7,85,34.7z M87.7,121.7 c-3.4-0.7-6.8,1.4-7.5,4.9c-0.7,3.4,1.4,6.8,4.9,7.5c3.4,0.7,6.8-1.4,7.5-4.9C93.3,125.7,91.2,122.4,87.7,121.7z"></path></g></g></svg>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="15 15 140 140" style="enable-background:new 0 0 170 170;zoom: 1;" xml:space="preserve"><style type="text/css">.bg0{fill:#FF8C00} .st0{fill:#FFFFFF}</style><g><circle class="bg0" cx="85" cy="85" r="70"></circle><g><path class="st0" d="M85,34.7c-20.8,0-37.8,16.9-37.8,37.8c0,4.2,0.7,8.3,2,12.3c0.9,2.7,3.9,4.2,6.7,3.3c2.7-0.9,4.2-3.9,3.3-6.7 c-1.1-3.1-1.6-6.4-1.5-9.7C58.1,57.6,69.5,46,83.6,45.3c15.7-0.8,28.7,11.7,28.7,27.2c0,14.5-11.4,26.4-25.7,27.2 c0,0-5.3,0.3-7.9,0.7c-1.3,0.2-2.3,0.4-3,0.5c-0.3,0.1-0.6-0.2-0.5-0.5l0.9-4.4L81,73.4c0.6-2.8-1.2-5.6-4-6.2 c-2.8-0.6-5.6,1.2-6.2,4c0,0-11.8,55-11.9,55.6c-0.6,2.8,1.2,5.6,4,6.2c2.8,0.6,5.6-1.2,6.2-4c0.1-0.6,1.7-7.9,1.7-7.9 c1.2-5.6,5.8-9.7,11.2-10.4c1.2-0.2,5.9-0.5,5.9-0.5c19.5-1.5,34.9-17.8,34.9-37.7C122.8,51.6,105.8,34.7,85,34.7z M87.7,121.7 c-3.4-0.7-6.8,1.4-7.5,4.9c-0.7,3.4,1.4,6.8,4.9,7.5c3.4,0.7,6.8-1.4,7.5-4.9C93.3,125.7,91.2,122.4,87.7,121.7z"></path></g></g></svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,3 +1,3 @@
<?xml version="1.0" encoding="iso-8859-1"?><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 52 52" style="enable-background:new 0 0 52 52;" xml:space="preserve"><path d="M26,0C11.664,0,0,11.663,0,26s11.664,26,26,26s26-11.663,26-26S40.336,0,26,0z M38.5,28H28v11c0,1.104-0.896,2-2,2
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 52 52" style="enable-background:new 0 0 52 52;" xml:space="preserve"><path d="M26,0C11.664,0,0,11.663,0,26s11.664,26,26,26s26-11.663,26-26S40.336,0,26,0z M38.5,28H28v11c0,1.104-0.896,2-2,2
s-2-0.896-2-2V28H13.5c-1.104,0-2-0.896-2-2s0.896-2,2-2H24V14c0-1.104,0.896-2,2-2s2,0.896,2,2v10h10.5c1.104,0,2,0.896,2,2
S39.604,28,38.5,28z"/><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg>

Before

Width:  |  Height:  |  Size: 625 B

After

Width:  |  Height:  |  Size: 582 B

View File

@ -1,3 +1 @@
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 0V8H2V10H4V8H8V0H0ZM8 8V10H10V12H6V14H0V22H8V14H14V12H12V10H16V8H18V10H20V8H22V0H14V8H8ZM20 10V12H22V10H20ZM20 12H18V14H20V12ZM20 14V16H22V14H20ZM20 16H18V14H16V16H11V22H13V18H17V20H19V18H20V16ZM17 20H15V22H17V20ZM18 12V10H16V12H18ZM6 12V10H4V12H6ZM2 10H0V12H2V10ZM10 0V4H9V6H10V7H12V4H13V2H12V0H10ZM2 2H6V6H2V2ZM16 2H20V6H16V2ZM3 3V5H5V3H3ZM17 3V5H19V3H17ZM2 16H6V20H2V16ZM3 17V19H5V17H3ZM20 20V22H22V20H20Z" fill="white"/>
</svg>
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 0V8H2V10H4V8H8V0H0ZM8 8V10H10V12H6V14H0V22H8V14H14V12H12V10H16V8H18V10H20V8H22V0H14V8H8ZM20 10V12H22V10H20ZM20 12H18V14H20V12ZM20 14V16H22V14H20ZM20 16H18V14H16V16H11V22H13V18H17V20H19V18H20V16ZM17 20H15V22H17V20ZM18 12V10H16V12H18ZM6 12V10H4V12H6ZM2 10H0V12H2V10ZM10 0V4H9V6H10V7H12V4H13V2H12V0H10ZM2 2H6V6H2V2ZM16 2H20V6H16V2ZM3 3V5H5V3H3ZM17 3V5H19V3H17ZM2 16H6V20H2V16ZM3 17V19H5V17H3ZM20 20V22H22V20H20Z" fill="white"/></svg>

Before

Width:  |  Height:  |  Size: 542 B

After

Width:  |  Height:  |  Size: 538 B

View File

@ -1,2 +1 @@
<svg id="Capa_1" enable-background="new 0 0 512.007 512.007" height="512" viewBox="0 0 512.007 512.007" width="512" xmlns="http://www.w3.org/2000/svg"><g><path d="m497.007 281.013h-10v-17c0-34.003-24.032-62.486-56-69.391v-114.609c0-7.717-5.897-14.232-13.627-14.931-1.18-.108-402.547-.147-404.195.052-7.415.907-13.052 7.142-13.167 14.648-.002.145-.064 288.148.054 289.517.566 6.664 5.52 12.22 12.209 13.455 2.166.4-17.056.259 308.726.259v49c0 8.284 6.716 15 15 15h161c8.284 0 15-6.716 15-15v-136c0-8.284-6.716-15-15-15zm-40-17v17h-82v-17c0-22.607 18.393-41 41-41s41 18.393 41 41zm-117.158 17-64.774-56.999 125.932-110.82v81.428c-31.968 6.904-56 35.388-56 69.391v17zm36.407-186-160.274 141.041-161.075-141.041zm-346.249 18.072 126.683 110.926-126.683 110.929zm24.899 239.928 124.553-109.064 26.666 23.349c5.659 4.955 14.126 4.96 19.791-.024l26.453-23.278 68.638 60.398v48.619zm427.101 64h-131v-106h131z"/><path d="m416.007 345.013c-8.284 0-15 6.716-15 15v8c0 8.284 6.716 15 15 15s15-6.716 15-15v-8c0-8.284-6.716-15-15-15z"/></g></svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1,3 +1 @@
<svg width="12" height="16" viewBox="0 0 12 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.6001 7.10005H10.5001C10.9501 7.10005 11.4001 7.55005 11.4001 8.00005V14.3C11.4001 14.75 10.9501 15.2 10.5001 15.2H1.5001C1.0501 15.2 0.600098 14.75 0.600098 14.3V8.00005C0.600098 7.55005 1.0501 7.10005 1.5001 7.10005H2.4001V4.40005C2.4001 2.42005 4.0201 0.800049 6.0001 0.800049C7.67121 0.800049 9.08589 1.95403 9.48661 3.50446L7.77075 4.07642C7.61719 3.23946 6.87969 2.60005 6.0001 2.60005C5.0101 2.60005 4.2001 3.41005 4.2001 4.40005V7.10005H7.8001V7.1H9.6001V7.10005ZM5.4601 11.42L5.1001 13.4H6.9001L6.5401 11.42C7.0801 11.24 7.3501 10.79 7.3501 10.25C7.3501 9.53005 6.7201 8.90005 6.0001 8.90005C5.2801 8.90005 4.6501 9.53005 4.6501 10.25C4.6501 10.7 5.0101 11.24 5.4601 11.42Z" fill="#8D8D8D"/>
</svg>
<svg width="12" height="16" viewBox="0 0 12 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.6001 7.10005H10.5001C10.9501 7.10005 11.4001 7.55005 11.4001 8.00005V14.3C11.4001 14.75 10.9501 15.2 10.5001 15.2H1.5001C1.0501 15.2 0.600098 14.75 0.600098 14.3V8.00005C0.600098 7.55005 1.0501 7.10005 1.5001 7.10005H2.4001V4.40005C2.4001 2.42005 4.0201 0.800049 6.0001 0.800049C7.67121 0.800049 9.08589 1.95403 9.48661 3.50446L7.77075 4.07642C7.61719 3.23946 6.87969 2.60005 6.0001 2.60005C5.0101 2.60005 4.2001 3.41005 4.2001 4.40005V7.10005H7.8001V7.1H9.6001V7.10005ZM5.4601 11.42L5.1001 13.4H6.9001L6.5401 11.42C7.0801 11.24 7.3501 10.79 7.3501 10.25C7.3501 9.53005 6.7201 8.90005 6.0001 8.90005C5.2801 8.90005 4.6501 9.53005 4.6501 10.25C4.6501 10.7 5.0101 11.24 5.4601 11.42Z" fill="#8D8D8D"/></svg>

Before

Width:  |  Height:  |  Size: 857 B

After

Width:  |  Height:  |  Size: 853 B

View File

@ -1,3 +1 @@
<svg width="16" height="14" viewBox="0 0 16 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.04729 0.808984L0.821115 12.1715C0.427365 12.8816 0.951193 13.75 1.77385 13.75H14.2297C15.0489 13.75 15.5727 12.8816 15.1824 12.1715L8.95276 0.808984C8.54143 0.0636719 7.45861 0.0636719 7.04729 0.808984ZM8.61877 5.52344L8.49221 9.8125H7.50783L7.38127 5.52344H8.61877ZM8.00002 12.1469C7.62385 12.1469 7.32854 11.8621 7.32854 11.5C7.32854 11.1379 7.62385 10.8531 8.00002 10.8531C8.37619 10.8531 8.67151 11.1379 8.67151 11.5C8.67151 11.8621 8.37619 12.1469 8.00002 12.1469Z" fill="#FF5858"/>
</svg>
<svg width="16" height="14" viewBox="0 0 16 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.04729 0.808984L0.821115 12.1715C0.427365 12.8816 0.951193 13.75 1.77385 13.75H14.2297C15.0489 13.75 15.5727 12.8816 15.1824 12.1715L8.95276 0.808984C8.54143 0.0636719 7.45861 0.0636719 7.04729 0.808984ZM8.61877 5.52344L8.49221 9.8125H7.50783L7.38127 5.52344H8.61877ZM8.00002 12.1469C7.62385 12.1469 7.32854 11.8621 7.32854 11.5C7.32854 11.1379 7.62385 10.8531 8.00002 10.8531C8.37619 10.8531 8.67151 11.1379 8.67151 11.5C8.67151 11.8621 8.37619 12.1469 8.00002 12.1469Z" fill="#FF5858"/></svg>

Before

Width:  |  Height:  |  Size: 605 B

After

Width:  |  Height:  |  Size: 601 B

View File

@ -12,7 +12,8 @@ import CopyToClipboard from 'react-copy-to-clipboard';
import styled from 'styled-components';
import { decodeAddress, encodeAddress } from '@polkadot/util-crypto';
import copy from '../assets/copy.svg';
import copyIcon from '../assets/copy.svg';
import hiddenIcon from '../assets/hidden.svg';
import details from '../assets/details.svg';
import parentArrow from '../assets/arrowParentLabel.svg';
import { AccountContext, SettingsContext } from './contexts';
@ -24,12 +25,13 @@ import Menu from './Menu';
import Svg from './Svg';
interface Props {
address?: string | null;
className?: string;
name?: React.ReactNode | null;
children?: React.ReactNode;
genesisHash?: string | null;
actions?: React.ReactNode;
address?: string | null;
children?: React.ReactNode;
className?: string;
genesisHash?: string | null;
isHidden?: boolean;
name?: React.ReactNode | null;
parentName?: string | null;
suri?: string;
toggleActions?: number;
@ -69,7 +71,7 @@ function recodeAddress (address: string, accounts: AccountWithChildren[], chain:
const ACCOUNTS_SCREEN_HEIGHT = 550;
function Address ({ actions, address, children, className, genesisHash, name, parentName, suri, toggleActions }: Props): React.ReactElement<Props> {
function Address ({ actions, address, children, className, genesisHash, isHidden, name, parentName, suri, toggleActions }: Props): React.ReactElement<Props> {
const { accounts } = useContext(AccountContext);
const settings = useContext(SettingsContext);
const chain = useMetadata(genesisHash, true);
@ -144,27 +146,33 @@ function Address ({ actions, address, children, className, genesisHash, name, pa
</div>
)
}
<div className='copyAddress'>
{chain?.genesisHash && (
<div
className='banner chain'
data-field='chain'
style={
chain.definition.color
? { backgroundColor: chain.definition.color }
: undefined
}
>
{chain.name}
</div>
)}
<div className='addressDisplay'>
<FullAddress data-field='address'>{formatted || '<unknown>'}</FullAddress>
{chain?.genesisHash && (
<div
className='banner chain'
data-field='chain'
style={
chain.definition.color
? { backgroundColor: chain.definition.color }
: undefined
}
>
{chain.name}
</div>
)}
<CopyToClipboard text={(formatted && formatted) || ''} >
<Svg
onClick={_onCopy}
src={copy}
src={copyIcon}
/>
</CopyToClipboard>
{isHidden && (
<Svg
className='hiddenIcon'
src={hiddenIcon}
/>
)}
</div>
</div>
{actions && (
@ -278,9 +286,10 @@ export default styled(Address)(({ theme }: ThemeProps) => `
}
}
.copyAddress {
.addressDisplay {
display: flex;
justify-content: space-between;
position: relative;
& ${Svg} {
width: 14px;
@ -292,6 +301,12 @@ export default styled(Address)(({ theme }: ThemeProps) => `
cursor: pointer;
}
}
.hiddenIcon {
position: absolute;
right: 2px;
top: -18px;
}
}
.identityIcon {

View File

@ -29,7 +29,8 @@ export default styled(Menu)(({ theme }: ThemeProps) => `
border-radius: 4px;
border: 1px solid ${theme.boxBorderColor};
box-sizing: border-box;
box-shadow: 0 0 32px ${theme.boxShadow};
// box-shadow: 0 0 32px ${theme.boxShadow};
box-shadow: 0 0 10px ${theme.boxShadow};
margin-top: 90px;
padding: 16px 0;
position: absolute;

View File

@ -54,7 +54,7 @@ const lightTheme: Theme = {
background: '#FAFAFA',
bodyColor: '#FFFFFF',
boxBorderColor: '#DADFEA',
boxShadow: 'rgba(0, 0, 0, 0.06)',
boxShadow: 'rgba(0, 0, 0, 0.3)',
buttonBackgroundDanger: '#DC2222',
errorBorderColor: '#E42F2F',
highlightedAreaBackground: '#EFEFEF',

178
yarn.lock
View File

@ -2843,42 +2843,42 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/api-derive@npm:1.18.0-beta.5":
version: 1.18.0-beta.5
resolution: "@polkadot/api-derive@npm:1.18.0-beta.5"
"@polkadot/api-derive@npm:1.18.0-beta.7":
version: 1.18.0-beta.7
resolution: "@polkadot/api-derive@npm:1.18.0-beta.7"
dependencies:
"@babel/runtime": ^7.10.2
"@polkadot/api": 1.18.0-beta.5
"@polkadot/rpc-core": 1.18.0-beta.5
"@polkadot/rpc-provider": 1.18.0-beta.5
"@polkadot/types": 1.18.0-beta.5
"@polkadot/api": 1.18.0-beta.7
"@polkadot/rpc-core": 1.18.0-beta.7
"@polkadot/rpc-provider": 1.18.0-beta.7
"@polkadot/types": 1.18.0-beta.7
"@polkadot/util": ^2.12.2
"@polkadot/util-crypto": ^2.12.2
bn.js: ^5.1.2
memoizee: ^0.4.14
rxjs: ^6.5.5
checksum: 3/060207d576270a9a91118c211bf7b07c5b962adba8a1625559e52622ca46a83ed39bc6eb2831918fa16fdd4a76de7378b0060b49e2d34d8630d1820d6024ca8c
checksum: 3/bb4e5f6b08fdf0d5d029522f2f8eba685973d57c733cf99d869422f8e94eba0c7335af8fce79cc331909a5d94be25fcfab8c51ebb0777538bb74141f421f229d
languageName: node
linkType: hard
"@polkadot/api@npm:^1.18.0-beta.2":
version: 1.18.0-beta.5
resolution: "@polkadot/api@npm:1.18.0-beta.5"
"@polkadot/api@npm:^1.18.0-beta.7":
version: 1.18.0-beta.7
resolution: "@polkadot/api@npm:1.18.0-beta.7"
dependencies:
"@babel/runtime": ^7.10.2
"@polkadot/api-derive": 1.18.0-beta.5
"@polkadot/api-derive": 1.18.0-beta.7
"@polkadot/keyring": ^2.12.2
"@polkadot/metadata": 1.18.0-beta.5
"@polkadot/rpc-core": 1.18.0-beta.5
"@polkadot/rpc-provider": 1.18.0-beta.5
"@polkadot/types": 1.18.0-beta.5
"@polkadot/types-known": 1.18.0-beta.5
"@polkadot/metadata": 1.18.0-beta.7
"@polkadot/rpc-core": 1.18.0-beta.7
"@polkadot/rpc-provider": 1.18.0-beta.7
"@polkadot/types": 1.18.0-beta.7
"@polkadot/types-known": 1.18.0-beta.7
"@polkadot/util": ^2.12.2
"@polkadot/util-crypto": ^2.12.2
bn.js: ^5.1.2
eventemitter3: ^4.0.4
rxjs: ^6.5.5
checksum: 3/b8a91249bacd3f33dad3eff71ba4a47fb2973a1f9ae82563193b3bd4580f97e0a5d557809ba7712a6ca5f6cba5557decbeb3369981a9dfba49a56d5d229f4c62
checksum: 3/03c1eadd7a158efce8d65906425c654bc4093df0e81b4496683b786c7870c544691beae6b468603269e12a40e914ce03d73cc4ec93aa844bca0c75f992f50155
languageName: node
linkType: hard
@ -2976,10 +2976,10 @@ __metadata:
resolution: "@polkadot/extension-base@workspace:packages/extension-base"
dependencies:
"@babel/runtime": ^7.10.2
"@polkadot/api": ^1.18.0-beta.2
"@polkadot/api": ^1.18.0-beta.7
"@polkadot/extension-inject": 0.26.0-beta.26
"@polkadot/keyring": ^2.12.2
"@polkadot/ui-keyring": ^0.54.0-beta.4
"@polkadot/keyring": ^2.13.0-beta.3
"@polkadot/ui-keyring": ^0.54.0-beta.6
languageName: unknown
linkType: soft
@ -2999,8 +2999,8 @@ __metadata:
dependencies:
"@babel/runtime": ^7.10.2
"@polkadot/extension-inject": 0.26.0-beta.26
"@polkadot/util": ^2.12.2
"@polkadot/util-crypto": ^2.12.2
"@polkadot/util": ^2.13.0-beta.3
"@polkadot/util-crypto": ^2.13.0-beta.3
peerDependencies:
"@polkadot/api": "*"
languageName: unknown
@ -3025,11 +3025,11 @@ __metadata:
"@babel/runtime": ^7.10.2
"@polkadot/extension-base": 0.26.0-beta.26
"@polkadot/extension-inject": 0.26.0-beta.26
"@polkadot/keyring": ^2.12.2
"@polkadot/react-identicon": ^0.54.0-beta.4
"@polkadot/react-qr": ^0.54.0-beta.4
"@polkadot/util": ^2.12.2
"@polkadot/util-crypto": ^2.12.2
"@polkadot/keyring": ^2.13.0-beta.3
"@polkadot/react-identicon": ^0.54.0-beta.6
"@polkadot/react-qr": ^0.54.0-beta.6
"@polkadot/util": ^2.13.0-beta.3
"@polkadot/util-crypto": ^2.13.0-beta.3
"@types/bn.js": ^4.11.6
"@types/enzyme": ^3.10.5
"@types/enzyme-adapter-react-16": ^1.0.6
@ -3073,32 +3073,32 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/keyring@npm:^2.12.2":
version: 2.12.2
resolution: "@polkadot/keyring@npm:2.12.2"
"@polkadot/keyring@npm:^2.13.0-beta.3":
version: 2.13.0-beta.3
resolution: "@polkadot/keyring@npm:2.13.0-beta.3"
dependencies:
"@babel/runtime": ^7.9.6
"@polkadot/util": 2.12.2
"@polkadot/util-crypto": 2.12.2
checksum: 3/392100b1f0b1939f65aefa34a9b532d989fa585a1c04b72088ed382ef0c5d853622bb4138924fb477230a157a443c0ad1ed29910e65ee063bc54d9e37fe3438d
"@babel/runtime": ^7.10.2
"@polkadot/util": 2.13.0-beta.3
"@polkadot/util-crypto": 2.13.0-beta.3
checksum: 3/a80b23764e8ea8d1b1761b3bdc27c0b4d1b4eef4c71bdc145447d1eda1a43fe81a39dbc881b0c617a385c6d796c2f5619ea71f7c3158b483ec1186a22d91560a
languageName: node
linkType: hard
"@polkadot/metadata@npm:1.18.0-beta.5":
version: 1.18.0-beta.5
resolution: "@polkadot/metadata@npm:1.18.0-beta.5"
"@polkadot/metadata@npm:1.18.0-beta.7":
version: 1.18.0-beta.7
resolution: "@polkadot/metadata@npm:1.18.0-beta.7"
dependencies:
"@babel/runtime": ^7.10.2
"@polkadot/types": 1.18.0-beta.5
"@polkadot/types-known": 1.18.0-beta.5
"@polkadot/types": 1.18.0-beta.7
"@polkadot/types-known": 1.18.0-beta.7
"@polkadot/util": ^2.12.2
"@polkadot/util-crypto": ^2.12.2
bn.js: ^5.1.2
checksum: 3/e1acba2e247d9c48202022c77bdeb7a4d381fc152ac98b6fa706eacd2e3670e4a0c4a47258b0cfe556b2ffaa164a8ac4cd794093359d4c73e0147b621a6b5223
checksum: 3/7d6143fb7a30f2b0824fcee77925fb80df96edc95a6440f2cdb0bea112f1358fa23504c64560d6a9848fdec65b22f5ee11498c4aa066ec302227d0bf0e7eb13f
languageName: node
linkType: hard
"@polkadot/react-identicon@npm:^0.54.0-beta.4":
"@polkadot/react-identicon@npm:^0.54.0-beta.6":
version: 0.54.0-beta.6
resolution: "@polkadot/react-identicon@npm:0.54.0-beta.6"
dependencies:
@ -3120,7 +3120,7 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/react-qr@npm:^0.54.0-beta.4":
"@polkadot/react-qr@npm:^0.54.0-beta.6":
version: 0.54.0-beta.6
resolution: "@polkadot/react-qr@npm:0.54.0-beta.6"
dependencies:
@ -3137,49 +3137,49 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-core@npm:1.18.0-beta.5":
version: 1.18.0-beta.5
resolution: "@polkadot/rpc-core@npm:1.18.0-beta.5"
"@polkadot/rpc-core@npm:1.18.0-beta.7":
version: 1.18.0-beta.7
resolution: "@polkadot/rpc-core@npm:1.18.0-beta.7"
dependencies:
"@babel/runtime": ^7.10.2
"@polkadot/metadata": 1.18.0-beta.5
"@polkadot/rpc-provider": 1.18.0-beta.5
"@polkadot/types": 1.18.0-beta.5
"@polkadot/metadata": 1.18.0-beta.7
"@polkadot/rpc-provider": 1.18.0-beta.7
"@polkadot/types": 1.18.0-beta.7
"@polkadot/util": ^2.12.2
memoizee: ^0.4.14
rxjs: ^6.5.5
checksum: 3/2eba2ddcf3f8d81e33fd1351a0ecf486b4c1cdce1759198ada914ba4f7acfab2454bdb5d78f06cf32b77fc7beb466882ad55e9a611bb2fae3f29d2a0468023dc
checksum: 3/6847b2ea2a9f936d94b96bc64fe121c5d73f520eee3abeae3ded1abd0d985b220f47ad770f9bc408770f733d71ac86922c6cab5982624b061bdb30d896fb4bda
languageName: node
linkType: hard
"@polkadot/rpc-provider@npm:1.18.0-beta.5":
version: 1.18.0-beta.5
resolution: "@polkadot/rpc-provider@npm:1.18.0-beta.5"
"@polkadot/rpc-provider@npm:1.18.0-beta.7":
version: 1.18.0-beta.7
resolution: "@polkadot/rpc-provider@npm:1.18.0-beta.7"
dependencies:
"@babel/runtime": ^7.10.2
"@polkadot/metadata": 1.18.0-beta.5
"@polkadot/types": 1.18.0-beta.5
"@polkadot/metadata": 1.18.0-beta.7
"@polkadot/types": 1.18.0-beta.7
"@polkadot/util": ^2.12.2
"@polkadot/util-crypto": ^2.12.2
bn.js: ^5.1.2
eventemitter3: ^4.0.4
isomorphic-fetch: ^2.2.1
websocket: ^1.0.31
checksum: 3/aca08fa0ecf0d71dab73f4a55bbbddd258d1717ccd9e5b9838f33db980b023593794961a9a434b8fcd4c5b95385279dff8069f061c12f89988d26bb35194f614
checksum: 3/04843536af2d92dfd98b31e85de790f6448e921f66041e3f70a22053b1c8ae66dac7e7b00d3c80a3466e424cd9d05030448ef62c81d7ac5c27e0bea20190cf8f
languageName: node
linkType: hard
"@polkadot/typegen@npm:^1.18.0-beta.2":
version: 1.18.0-beta.5
resolution: "@polkadot/typegen@npm:1.18.0-beta.5"
"@polkadot/typegen@npm:^1.18.0-beta.7":
version: 1.18.0-beta.7
resolution: "@polkadot/typegen@npm:1.18.0-beta.7"
dependencies:
"@babel/core": ^7.10.2
"@babel/register": ^7.10.1
"@babel/runtime": ^7.10.2
"@polkadot/api": 1.18.0-beta.5
"@polkadot/metadata": 1.18.0-beta.5
"@polkadot/rpc-provider": 1.18.0-beta.5
"@polkadot/types": 1.18.0-beta.5
"@polkadot/api": 1.18.0-beta.7
"@polkadot/metadata": 1.18.0-beta.7
"@polkadot/rpc-provider": 1.18.0-beta.7
"@polkadot/types": 1.18.0-beta.7
"@polkadot/util": ^2.12.2
handlebars: ^4.7.6
websocket: ^1.0.31
@ -3190,39 +3190,39 @@ __metadata:
polkadot-types-from-defs: scripts/polkadot-types-from-defs.js
polkadot-types-internal-interfaces: scripts/polkadot-types-internal-interfaces.js
polkadot-types-internal-metadata: scripts/polkadot-types-internal-metadata.js
checksum: 3/eac98fa72f017c4fff6a2c3bd575aabd672b5bcaaed57c200130c77576d48d93642f758f5217b91db74dda00c5d5b25c8f2fd97ce1f7a405dcf186a0172c832b
checksum: 3/97296b2d1e23de3c6b0679f12031963c5177e8d3bcb13b97e08d81604e20cbd4751871db2a349fa64ae7cdb3158e103456cdc9793d8855c6eb2d73f9771306b7
languageName: node
linkType: hard
"@polkadot/types-known@npm:1.18.0-beta.5":
version: 1.18.0-beta.5
resolution: "@polkadot/types-known@npm:1.18.0-beta.5"
"@polkadot/types-known@npm:1.18.0-beta.7":
version: 1.18.0-beta.7
resolution: "@polkadot/types-known@npm:1.18.0-beta.7"
dependencies:
"@babel/runtime": ^7.10.2
"@polkadot/types": 1.18.0-beta.5
"@polkadot/types": 1.18.0-beta.7
"@polkadot/util": ^2.12.2
bn.js: ^5.1.2
checksum: 3/25e26acefa6c264ca482341597e39457c5ea1c39c265859de88ad8128dda4f2007d893fb9fddd581bf4e28bb56cf12068d1c32ddc4d3e0a3b8b05c4352610cb0
checksum: 3/d14ab22919c08c854595081e73b4885f9783a33c34ce208f1b83f9606186aa891fd5b38f55d5ca932156447d2453038803aea13b634eee8dfc060cb132e0134c
languageName: node
linkType: hard
"@polkadot/types@npm:^1.18.0-beta.2":
version: 1.18.0-beta.5
resolution: "@polkadot/types@npm:1.18.0-beta.5"
"@polkadot/types@npm:^1.18.0-beta.7":
version: 1.18.0-beta.7
resolution: "@polkadot/types@npm:1.18.0-beta.7"
dependencies:
"@babel/runtime": ^7.10.2
"@polkadot/metadata": 1.18.0-beta.5
"@polkadot/metadata": 1.18.0-beta.7
"@polkadot/util": ^2.12.2
"@polkadot/util-crypto": ^2.12.2
"@types/bn.js": ^4.11.6
bn.js: ^5.1.2
memoizee: ^0.4.14
rxjs: ^6.5.5
checksum: 3/63ac556cf60f4adda08cb2e88a7cb1058a92554c8f2b887b44527de3020ce517093aa8efc90dd98d5b9390e9c361d152a615cc3905176cadc7cb47d1935dd95a
checksum: 3/d333c656b39d46151c844114b1281ac6def75339e8643a7b99ace18e8dad0337d2ed32b8433bd3576ec8cc9093979069f729eb2ce1db84c564bfe2dcda0a3de8
languageName: node
linkType: hard
"@polkadot/ui-keyring@npm:^0.54.0-beta.4":
"@polkadot/ui-keyring@npm:^0.54.0-beta.6":
version: 0.54.0-beta.6
resolution: "@polkadot/ui-keyring@npm:0.54.0-beta.6"
dependencies:
@ -3270,12 +3270,12 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/util-crypto@npm:^2.12.2":
version: 2.12.2
resolution: "@polkadot/util-crypto@npm:2.12.2"
"@polkadot/util-crypto@npm:^2.13.0-beta.3":
version: 2.13.0-beta.3
resolution: "@polkadot/util-crypto@npm:2.13.0-beta.3"
dependencies:
"@babel/runtime": ^7.9.6
"@polkadot/util": 2.12.2
"@babel/runtime": ^7.10.2
"@polkadot/util": 2.13.0-beta.3
"@polkadot/wasm-crypto": ^1.2.1
base-x: ^3.0.8
bip39: ^3.0.2
@ -3284,24 +3284,24 @@ __metadata:
bs58: ^4.0.1
elliptic: ^6.5.2
js-sha3: ^0.8.0
pbkdf2: ^3.0.17
pbkdf2: ^3.1.1
tweetnacl: ^1.0.3
xxhashjs: ^0.2.2
checksum: 3/f945da48556bf2af32c0eb5e67c2c5a0b5737cdbfa00c0c08a1bbce34770ec68e2736d9bdc35e68dc2f4617c906db6472efaedf9b3ceaaf2a59d1558a400ba34
checksum: 3/78e06ca7f53e1d4676ae3f8205979e773eb173c04d7c13e4e8d37b8e0928b324892168cd7080a3d1a2a251ddf0c70ad12e1ec0fd0f758215d7537f80f88f3ab4
languageName: node
linkType: hard
"@polkadot/util@npm:^2.12.2":
version: 2.12.2
resolution: "@polkadot/util@npm:2.12.2"
"@polkadot/util@npm:^2.13.0-beta.3":
version: 2.13.0-beta.3
resolution: "@polkadot/util@npm:2.13.0-beta.3"
dependencies:
"@babel/runtime": ^7.9.6
"@babel/runtime": ^7.10.2
"@types/bn.js": ^4.11.6
bn.js: ^5.1.2
camelcase: ^5.3.1
chalk: ^4.0.0
ip-regex: ^4.1.0
checksum: 3/23c93c4a1ba611012d4d301f6c32cfbd891a1c1dcfea06c5f83273bab6587e5b2a091b6acf91d18a4806bd50a5e05e1c7b003642011573d14324a1da0454a300
checksum: 3/4a75dbec1ee6ba4c046139e39ef0bb432b4427be3656c07e66afd9a65e9037fb717c2b6185b0e18b66216ca9def26387684502959b7a196ae11a6b9d717cf0e9
languageName: node
linkType: hard
@ -16556,7 +16556,7 @@ __metadata:
languageName: node
linkType: hard
"pbkdf2@npm:^3.0.17, pbkdf2@npm:^3.0.3, pbkdf2@npm:^3.0.9":
"pbkdf2@npm:^3.0.3, pbkdf2@npm:^3.0.9, pbkdf2@npm:^3.1.1":
version: 3.1.1
resolution: "pbkdf2@npm:3.1.1"
dependencies:
@ -18789,7 +18789,7 @@ __metadata:
dependencies:
"@babel/core": ^7.10.2
"@polkadot/dev": ^0.55.8
"@polkadot/typegen": ^1.18.0-beta.2
"@polkadot/typegen": ^1.18.0-beta.7
"@types/jest": ^25.2.3
copy-webpack-plugin: ^6.0.2
sinon-chrome: ^3.0.1