diff --git a/CHANGELOG.md b/CHANGELOG.md index 28ced6f669..5c0154ef96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.28.1 + +- Support for substrate 1.0-rc + # 0.27.1 - Bring in new staking & nominating functions diff --git a/lerna.json b/lerna.json index 38d0c6f166..c42425c2ad 100644 --- a/lerna.json +++ b/lerna.json @@ -10,5 +10,5 @@ "packages": [ "packages/*" ], - "version": "0.28.0-beta.1" + "version": "0.28.0" } diff --git a/package.json b/package.json index 8c8737212b..30177b46d1 100644 --- a/package.json +++ b/package.json @@ -10,11 +10,11 @@ "packages/*" ], "resolutions": { - "@polkadot/api": "^0.52.1", - "@polkadot/keyring": "^0.42.1", - "@polkadot/types": "^0.52.1", - "@polkadot/util": "^0.42.1", - "@polkadot/util-crypto": "^0.42.1", + "@polkadot/api": "^0.53.1", + "@polkadot/keyring": "^0.43.1", + "@polkadot/types": "^0.53.1", + "@polkadot/util": "^0.43.1", + "@polkadot/util-crypto": "^0.43.1", "babel-core": "^7.0.0-bridge.0", "rxjs": "^6.4.0", "typescript": "^3.3.4000" diff --git a/packages/app-123code/package.json b/packages/app-123code/package.json index 2c9913faa7..10a14607cf 100644 --- a/packages/app-123code/package.json +++ b/packages/app-123code/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-123code", - "version": "0.28.0-beta.1", + "version": "0.28.0", "description": "A baasic app that shows the ropes on customisation", "main": "index.js", "scripts": {}, @@ -11,6 +11,6 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/ui-app": "^0.28.0-beta.1" + "@polkadot/ui-app": "^0.28.0" } } diff --git a/packages/app-accounts/package.json b/packages/app-accounts/package.json index 7fd88595cd..d69247581d 100644 --- a/packages/app-accounts/package.json +++ b/packages/app-accounts/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-accounts", - "version": "0.28.0-beta.1", + "version": "0.28.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/ui-app": "^0.28.0-beta.1", + "@polkadot/ui-app": "^0.28.0", "@types/file-saver": "^2.0.0", "@types/yargs": "^12.0.10", "babel-plugin-module-resolver": "^3.1.1", diff --git a/packages/app-addresses/package.json b/packages/app-addresses/package.json index 385d17dea2..1e749c6ad5 100644 --- a/packages/app-addresses/package.json +++ b/packages/app-addresses/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-addresses", - "version": "0.28.0-beta.1", + "version": "0.28.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,6 +11,6 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/ui-app": "^0.28.0-beta.1" + "@polkadot/ui-app": "^0.28.0" } } diff --git a/packages/app-democracy/package.json b/packages/app-democracy/package.json index 66d4630093..353ca49d1c 100644 --- a/packages/app-democracy/package.json +++ b/packages/app-democracy/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-democracy", - "version": "0.28.0-beta.1", + "version": "0.28.0", "description": "A referendum & proposal app", "main": "index.js", "scripts": {}, @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/ui-app": "^0.28.0-beta.1", - "@polkadot/ui-reactive": "^0.28.0-beta.1" + "@polkadot/ui-app": "^0.28.0", + "@polkadot/ui-reactive": "^0.28.0" } } diff --git a/packages/app-explorer/package.json b/packages/app-explorer/package.json index 193d75a7e7..a9262e82f6 100644 --- a/packages/app-explorer/package.json +++ b/packages/app-explorer/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-explorer", - "version": "0.28.0-beta.1", + "version": "0.28.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,6 +11,6 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/ui-app": "^0.28.0-beta.1" + "@polkadot/ui-app": "^0.28.0" } } diff --git a/packages/app-explorer/src/Summary.tsx b/packages/app-explorer/src/Summary.tsx index 465d9d280b..561b368097 100644 --- a/packages/app-explorer/src/Summary.tsx +++ b/packages/app-explorer/src/Summary.tsx @@ -6,7 +6,7 @@ import { I18nProps } from '@polkadot/ui-app/types'; import React from 'react'; import { SummaryBox, CardSummary } from '@polkadot/ui-app'; -import { BestFinalised, BestNumber, TimeNow, TimePeriod } from '@polkadot/ui-reactive'; +import { BestFinalized, BestNumber, TimeNow, TimePeriod } from '@polkadot/ui-reactive'; import SummarySession from './SummarySession'; import translate from './translate'; @@ -34,8 +34,8 @@ class Summary extends React.PureComponent {
- - + + diff --git a/packages/app-extrinsics/package.json b/packages/app-extrinsics/package.json index ce621ac2da..1d3ac6c308 100644 --- a/packages/app-extrinsics/package.json +++ b/packages/app-extrinsics/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-extrinsics", - "version": "0.28.0-beta.1", + "version": "0.28.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,8 +11,8 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/ui-app": "^0.28.0-beta.1", - "@polkadot/ui-params": "^0.28.0-beta.1", - "@polkadot/ui-signer": "^0.28.0-beta.1" + "@polkadot/ui-app": "^0.28.0", + "@polkadot/ui-params": "^0.28.0", + "@polkadot/ui-signer": "^0.28.0" } } diff --git a/packages/app-js/package.json b/packages/app-js/package.json index 0ddba5ae27..5fc9453642 100644 --- a/packages/app-js/package.json +++ b/packages/app-js/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-js", - "version": "0.28.0-beta.1", + "version": "0.28.0", "description": "A simple JavaScript console for playing with the API", "main": "index.js", "scripts": {}, @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/ui-app": "^0.28.0-beta.1", + "@polkadot/ui-app": "^0.28.0", "snappyjs": "^0.6.0" } } diff --git a/packages/app-js/src/snippets/extrinsics-examples.ts b/packages/app-js/src/snippets/extrinsics-examples.ts index ec827741ae..bd38b8827b 100644 --- a/packages/app-js/src/snippets/extrinsics-examples.ts +++ b/packages/app-js/src/snippets/extrinsics-examples.ts @@ -10,8 +10,8 @@ export const extrinsicMakeTransfer: Snippet = { label: { color: 'grey', children: 'Extrinsics', size: 'tiny' }, code: `// Make a transfer from Alice to Bob and listen to system events. // You need to be connected to a development chain for this example to work. -const ALICE = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKv3gB'; -const BOB = '5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM696e4'; +const ALICE = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'; +const BOB = '5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty'; // Get a random number between 1 and 100000 const randomAmount = Math.floor((Math.random() * 100000) + 1); @@ -20,12 +20,13 @@ const randomAmount = Math.floor((Math.random() * 100000) + 1); const transfer = api.tx.balances.transfer(BOB, randomAmount); // Sign and Send the transaction -transfer.signAndSend(ALICE, ({ events = [], status, type }) => { - if (type === 'Finalised') { - console.log('Successful transfer of ' + randomAmount + ' with hash ' + status.asFinalised.toHex()); +transfer.signAndSend(ALICE, ({ events = [], status }) => { + if (status.isFinalized) { + console.log('Successful transfer of ' + randomAmount + ' with hash ' + status.asFinalized.toHex()); } else { - console.log('Status of transfer: ' + type); + console.log('Status of transfer: ' + status.type); } + events.forEach(({ phase, event: { data, method, section } }) => { console.log(phase.toString() + ' : ' + section + '.' + method + ' ' + data.toString()); }); diff --git a/packages/app-js/src/snippets/storage-examples.ts b/packages/app-js/src/snippets/storage-examples.ts index cec04cf9e3..37b00fc1fa 100644 --- a/packages/app-js/src/snippets/storage-examples.ts +++ b/packages/app-js/src/snippets/storage-examples.ts @@ -64,7 +64,7 @@ export const storageListenToBalanceChange: Snippet = { label: { color: 'blue', children: 'Storage', size: 'tiny' }, code: `// You may leave this example running and make a transfer // of any value from or to Alice address in the 'Transfer' App -const ALICE = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKv3gB'; +const ALICE = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'; // Retrieve the initial balance. let previous = await api.query.balances.freeBalance(ALICE); diff --git a/packages/app-js/src/snippets/transfer.ts b/packages/app-js/src/snippets/transfer.ts index fa1d8b2922..6b0705d0dd 100644 --- a/packages/app-js/src/snippets/transfer.ts +++ b/packages/app-js/src/snippets/transfer.ts @@ -3,8 +3,8 @@ // of the Apache-2.0 license. See the LICENSE file for details. export default `// transfer -const sender = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKv3gB'; -const recipient = '5GTZEKgRKX2a5hepNjwTBzR5nR6UqtEsMZ4TnL1Yuah1N2Tu'; +const sender = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'; +const recipient = '5F2PCyGDWGDJyLRV15NrBsEa9Y61BS1dfAwzbfk7yR6DBm7P'; const nonce = await api.query.system.accountNonce(ALICE), @@ -12,11 +12,11 @@ console.log('Current nonce', nonce); const unsub = await api.tx.balances .transfer(recipient,12345) - .signAndSend(sender, ({ events = [], status, type }) => { - console.log('Transaction status:', type); + .signAndSend(sender, ({ events = [], status }) => { + console.log('Transaction status:', status.type); - if (type === 'Finalised') { - console.log('Completed at block hash', status.asFinalised.toHex()); + if (status.isFinalized) { + console.log('Completed at block hash', status.asFinalized.toHex()); console.log('Events:'); events.forEach(({ phase, event: { data, method, section } }) => { diff --git a/packages/app-settings/package.json b/packages/app-settings/package.json index 455fe5ff19..f95008de11 100644 --- a/packages/app-settings/package.json +++ b/packages/app-settings/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-settings", - "version": "0.28.0-beta.1", + "version": "0.28.0", "description": "Settings management", "main": "index.js", "scripts": {}, @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/ui-app": "^0.28.0-beta.1", - "@polkadot/ui-reactive": "^0.28.0-beta.1" + "@polkadot/ui-app": "^0.28.0", + "@polkadot/ui-reactive": "^0.28.0" } } diff --git a/packages/app-staking/package.json b/packages/app-staking/package.json index 30c40be975..24ebbb0289 100644 --- a/packages/app-staking/package.json +++ b/packages/app-staking/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-staking", - "version": "0.28.0-beta.1", + "version": "0.28.0", "description": "A basic staking app", "main": "index.js", "scripts": {}, @@ -11,8 +11,8 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/app-explorer": "^0.28.0-beta.1", - "@polkadot/ui-app": "^0.28.0-beta.1", - "@polkadot/ui-reactive": "^0.28.0-beta.1" + "@polkadot/app-explorer": "^0.28.0", + "@polkadot/ui-app": "^0.28.0", + "@polkadot/ui-reactive": "^0.28.0" } } diff --git a/packages/app-storage/package.json b/packages/app-storage/package.json index 10dfa054fc..eb52f9e0e3 100644 --- a/packages/app-storage/package.json +++ b/packages/app-storage/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-storage", - "version": "0.28.0-beta.1", + "version": "0.28.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/ui-app": "^0.28.0-beta.1", - "@polkadot/ui-params": "^0.28.0-beta.1" + "@polkadot/ui-app": "^0.28.0", + "@polkadot/ui-params": "^0.28.0" } } diff --git a/packages/app-toolbox/package.json b/packages/app-toolbox/package.json index f15ab0bf7b..3dbcb0ef31 100644 --- a/packages/app-toolbox/package.json +++ b/packages/app-toolbox/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-toolbox", - "version": "0.28.0-beta.1", + "version": "0.28.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,6 +11,6 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/ui-app": "^0.28.0-beta.1" + "@polkadot/ui-app": "^0.28.0" } } diff --git a/packages/app-transfer/package.json b/packages/app-transfer/package.json index 79a785f46b..56871e123d 100644 --- a/packages/app-transfer/package.json +++ b/packages/app-transfer/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-transfer", - "version": "0.28.0-beta.1", + "version": "0.28.0", "description": "A basic transfer app", "main": "index.js", "scripts": {}, @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/ui-app": "^0.28.0-beta.1", - "@polkadot/ui-reactive": "^0.28.0-beta.1" + "@polkadot/ui-app": "^0.28.0", + "@polkadot/ui-reactive": "^0.28.0" } } diff --git a/packages/apps/package.json b/packages/apps/package.json index 065459b498..1b994c0d94 100644 --- a/packages/apps/package.json +++ b/packages/apps/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/apps", - "version": "0.28.0-beta.1", + "version": "0.28.0", "description": "An Apps portal into the Polkadot network", "main": "index.js", "homepage": ".", @@ -13,9 +13,9 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/ui-app": "^0.28.0-beta.1", - "@polkadot/ui-assets": "^0.34.1", - "@polkadot/ui-signer": "^0.28.0-beta.1", + "@polkadot/ui-app": "^0.28.0", + "@polkadot/ui-assets": "^0.35.1", + "@polkadot/ui-signer": "^0.28.0", "@types/react-tooltip": "^3.9.1", "react-tooltip": "^3.9.2" } diff --git a/packages/apps/src/Content/index.tsx b/packages/apps/src/Content/index.tsx index 3c1f01600b..b60b34f1cf 100644 --- a/packages/apps/src/Content/index.tsx +++ b/packages/apps/src/Content/index.tsx @@ -90,6 +90,7 @@ export default withMulti( withCalls( 'query.session.validators', 'derive.accounts.indexes', - 'derive.balances.fees' + 'derive.balances.fees', + 'derive.staking.controllers' ) ); diff --git a/packages/ui-api/package.json b/packages/ui-api/package.json index b864037653..83c58bf0fd 100644 --- a/packages/ui-api/package.json +++ b/packages/ui-api/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/ui-api", - "version": "0.28.0-beta.1", + "version": "0.28.0", "description": "A collection of RxJs React components the Polkadot JS API", "main": "index.js", "keywords": [ @@ -31,8 +31,8 @@ "homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-reactive#readme", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/api": "^0.52.1", - "@polkadot/ui-util": "^0.34.1", + "@polkadot/api": "^0.53.1", + "@polkadot/ui-util": "^0.35.1", "rxjs-compat": "^6.3.2" } } diff --git a/packages/ui-app/package.json b/packages/ui-app/package.json index 6c4a07942e..e6e226d7a8 100644 --- a/packages/ui-app/package.json +++ b/packages/ui-app/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/ui-app", - "version": "0.28.0-beta.1", + "version": "0.28.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,12 +11,12 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/ui-api": "^0.28.0-beta.1", - "@polkadot/ui-identicon": "^0.34.1", - "@polkadot/ui-keyring": "^0.34.1", - "@polkadot/ui-reactive": "^0.28.0-beta.1", - "@polkadot/ui-settings": "^0.34.1", - "@polkadot/ui-util": "^0.34.1", + "@polkadot/ui-api": "^0.28.0", + "@polkadot/ui-identicon": "^0.35.1", + "@polkadot/ui-keyring": "^0.35.1", + "@polkadot/ui-reactive": "^0.28.0", + "@polkadot/ui-settings": "^0.35.1", + "@polkadot/ui-util": "^0.35.1", "@types/chart.js": "^2.7.45", "@types/classnames": "^2.2.7", "@types/i18next": "^12.1.0", diff --git a/packages/ui-app/src/Status/Queue.tsx b/packages/ui-app/src/Status/Queue.tsx index d77799dd28..50c0b6c46f 100644 --- a/packages/ui-app/src/Status/Queue.tsx +++ b/packages/ui-app/src/Status/Queue.tsx @@ -29,7 +29,7 @@ const REMOVE_TIMEOUT = 7500; const SUBMIT_RPC = jsonrpc.author.methods.submitAndWatchExtrinsic; const STATUS_COMPLETE: Array = [ // status from subscription - 'finalised', 'usurped', 'dropped', 'invalid', + 'finalized', 'usurped', 'dropped', 'invalid', // normal completion 'cancelled', 'error', 'sent' ]; diff --git a/packages/ui-app/src/Status/index.tsx b/packages/ui-app/src/Status/index.tsx index 10447c54db..6c90c5a08e 100644 --- a/packages/ui-app/src/Status/index.tsx +++ b/packages/ui-app/src/Status/index.tsx @@ -133,7 +133,7 @@ class Status extends React.PureComponent { return 'ban'; case 'completed': - case 'finalised': + case 'finalized': case 'sent': return 'check'; diff --git a/packages/ui-app/src/Status/types.ts b/packages/ui-app/src/Status/types.ts index dbb997a271..1ed8bc2807 100644 --- a/packages/ui-app/src/Status/types.ts +++ b/packages/ui-app/src/Status/types.ts @@ -21,7 +21,7 @@ export type AccountInfo = { accountId?: string | null }; -export type QueueTx$Status = 'future' | 'ready' | 'finalised' | 'usurped' | 'dropped' | 'invalid' | 'broadcast' | 'cancelled' | 'completed' | 'error' | 'incomplete' | 'queued' | 'sending' | 'sent' | 'blocked'; +export type QueueTx$Status = 'future' | 'ready' | 'finalized' | 'usurped' | 'dropped' | 'invalid' | 'broadcast' | 'cancelled' | 'completed' | 'error' | 'incomplete' | 'queued' | 'sending' | 'sent' | 'blocked'; export type SignerCallback = (id: number, isSigned: boolean) => void; diff --git a/packages/ui-app/src/styles/components.css b/packages/ui-app/src/styles/components.css index 28617ff2c5..44e8154f08 100644 --- a/packages/ui-app/src/styles/components.css +++ b/packages/ui-app/src/styles/components.css @@ -363,7 +363,7 @@ header .ui--Button-Group { } &.completed > .wrapper > .container, - &.finalised > .wrapper > .container, + &.finalized > .wrapper > .container, &.sent > .wrapper > .container, &.success > .wrapper > .container { background: green; diff --git a/packages/ui-params/package.json b/packages/ui-params/package.json index 26b90c5ca5..11e55b41c9 100644 --- a/packages/ui-params/package.json +++ b/packages/ui-params/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/ui-params", - "version": "0.28.0-beta.1", + "version": "0.28.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,6 +11,6 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/ui-app": "^0.28.0-beta.1" + "@polkadot/ui-app": "^0.28.0" } } diff --git a/packages/ui-reactive/package.json b/packages/ui-reactive/package.json index ee80aac76d..35a109a028 100644 --- a/packages/ui-reactive/package.json +++ b/packages/ui-reactive/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/ui-reactive", - "version": "0.28.0-beta.1", + "version": "0.28.0", "description": "A collection of RxJs React components the Polkadot JS API", "main": "index.js", "keywords": [ diff --git a/packages/ui-reactive/src/BestFinalised.tsx b/packages/ui-reactive/src/BestFinalized.tsx similarity index 72% rename from packages/ui-reactive/src/BestFinalised.tsx rename to packages/ui-reactive/src/BestFinalized.tsx index e9645c684f..5404d4f8d8 100644 --- a/packages/ui-reactive/src/BestFinalised.tsx +++ b/packages/ui-reactive/src/BestFinalized.tsx @@ -12,12 +12,12 @@ import { formatNumber } from '@polkadot/ui-util'; type Props = BareProps & CallProps & { children?: React.ReactNode, label?: string, - chain_bestNumberFinalised?: BlockNumber + chain_bestNumberFinalized?: BlockNumber }; -class BestFinalised extends React.PureComponent { +class BestFinalized extends React.PureComponent { render () { - const { children, className, label = '', style, chain_bestNumberFinalised } = this.props; + const { children, className, label = '', style, chain_bestNumberFinalized } = this.props; return (
{ style={style} > {label}{ - chain_bestNumberFinalised - ? formatNumber(chain_bestNumberFinalised) + chain_bestNumberFinalized + ? formatNumber(chain_bestNumberFinalized) : '-' }{children}
@@ -34,4 +34,4 @@ class BestFinalised extends React.PureComponent { } } -export default withCall('derive.chain.bestNumberFinalised')(BestFinalised); +export default withCall('derive.chain.bestNumberFinalized')(BestFinalized); diff --git a/packages/ui-reactive/src/index.ts b/packages/ui-reactive/src/index.ts index ab7c4824ca..3e058dfdb8 100644 --- a/packages/ui-reactive/src/index.ts +++ b/packages/ui-reactive/src/index.ts @@ -4,7 +4,7 @@ export { default as AccountIndex } from './AccountIndex'; export { default as Balance } from './Balance'; -export { default as BestFinalised } from './BestFinalised'; +export { default as BestFinalized } from './BestFinalized'; export { default as BestNumber } from './BestNumber'; export { default as Chain } from './Chain'; export { default as Elapsed } from './Elapsed'; diff --git a/packages/ui-signer/package.json b/packages/ui-signer/package.json index 28f17ec177..9d80d7f39a 100644 --- a/packages/ui-signer/package.json +++ b/packages/ui-signer/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/ui-signer", - "version": "0.28.0-beta.1", + "version": "0.28.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,6 +11,6 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/ui-app": "^0.28.0-beta.1" + "@polkadot/ui-app": "^0.28.0" } } diff --git a/packages/ui-signer/src/ApiSigner.ts b/packages/ui-signer/src/ApiSigner.ts index 7cf028cb06..a45a916afb 100644 --- a/packages/ui-signer/src/ApiSigner.ts +++ b/packages/ui-signer/src/ApiSigner.ts @@ -36,11 +36,11 @@ export default class ApiSigner implements Signer { }); } - update (id: number, status: Hash | SubmittableResult): void { - if (status instanceof Hash) { - this._queueSetTxStatus(id, 'sent', status.toHex()); + update (id: number, result: Hash | SubmittableResult): void { + if (result instanceof Hash) { + this._queueSetTxStatus(id, 'sent', result.toHex()); } else { - this._queueSetTxStatus(id, status.type.toLowerCase() as any, status); + this._queueSetTxStatus(id, result.status.type.toLowerCase() as any, status); } } } diff --git a/packages/ui-signer/src/Modal.tsx b/packages/ui-signer/src/Modal.tsx index 3ec40ceed3..213d0dba1f 100644 --- a/packages/ui-signer/src/Modal.tsx +++ b/packages/ui-signer/src/Modal.tsx @@ -322,11 +322,11 @@ class Signer extends React.PureComponent { try { const unsubscribe = await extrinsicCall.apply(extrinsic, [..._params, async (result: SubmittableResult) => { - if (!result || !result.type || !result.status) { + if (!result || !result.status) { return; } - const status = result.type.toLowerCase() as QueueTx$Status; + const status = result.status.type.toLowerCase() as QueueTx$Status; console.log('makeExtrinsicCall: updated status ::', JSON.stringify(result)); queueSetTxStatus(id, status, result); @@ -335,7 +335,7 @@ class Signer extends React.PureComponent { txUpdateCb(result); } - if (status === 'finalised') { + if (result.status.isFinalized) { unsubscribe(); result.events diff --git a/packages/ui-signer/src/index.css b/packages/ui-signer/src/index.css index 92bf538057..fb6d7331db 100644 --- a/packages/ui-signer/src/index.css +++ b/packages/ui-signer/src/index.css @@ -31,56 +31,3 @@ font-weight: 700; } } - -.ui--signer-Status { - display: inline-block; - position: fixed; - right: 0.25rem; - top: 0.125rem; - z-index: 1001; -} - -.ui--signer-Status-Item { - align-items: center; - background: #00688b; - border-radius: $small-corner; - color: white; - display: flex; - margin: 0.125rem; - padding: 0 0.5rem; - text-align: center; - opacity: 0.9; - vertical-align: middle; - - .desc { - padding: 0.5rem 1rem; - - .status { - font-weight: 700; - } - } - - .short { - font-size: 2.5rem; - padding: 0.5rem; - - i.icon { - line-height: 1; - } - } - - &.cancelled { - background: #cd9b1d - } - - &.completed, - &.finalised { - background: green; - } - - &.dropped, - &.error, - &.usurped { - background: red; - } -} diff --git a/yarn.lock b/yarn.lock index da64d19eef..14abfd168e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1621,30 +1621,30 @@ universal-user-agent "^2.0.0" url-template "^2.0.8" -"@polkadot/api-derive@^0.52.1": - version "0.52.1" - resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-0.52.1.tgz#4411ae585da3e5a02d48e3b9bebf70db213113f4" - integrity sha512-hiajsskht+rlWtkQ6rpXDMGhLW167K2Pwebdpn6DDk/T8cW5UTWupPkjO003bOp5FILmnpelBM6rhTLXw7vrKA== +"@polkadot/api-derive@^0.53.1": + version "0.53.1" + resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-0.53.1.tgz#532136a1ecbee4fb1d3f919132698aef717e26a3" + integrity sha512-0y+wOvmgz3tut5GZnBHopm57hy4ggq4HDA7QAjrVeR0X1SlaLX/KiyT798ixHAJZeXPppXapTxHkYWp1KtFnmw== dependencies: "@babel/runtime" "^7.4.0" - "@polkadot/api" "^0.52.1" - "@polkadot/types" "^0.52.1" + "@polkadot/api" "^0.53.1" + "@polkadot/types" "^0.53.1" "@types/memoizee" "^0.4.2" memoizee "^0.4.14" -"@polkadot/api@^0.52.1": - version "0.52.1" - resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.52.1.tgz#d1a6c0657398dad318810029298b510301088cb2" - integrity sha512-lPkPLYQzhioTHju+g70bC+YE4FXf2FD5nddoyDgFfVHON+KZA1F/WaBdw81iySixmunKTjS4SsvD5llHMOfq5Q== +"@polkadot/api@^0.53.1": + version "0.53.1" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.53.1.tgz#1493f08e93babb788e68c968b9e56057407aef15" + integrity sha512-gJr5U6RWlTOglK3IHR+UvX87gwB2hZu7tMOYjXbehy6k+KVOzLIzF7T0gbnkJeXRhhhs1BkrXh4wZAA1ZPLZTQ== dependencies: "@babel/runtime" "^7.4.0" - "@polkadot/api-derive" "^0.52.1" - "@polkadot/extrinsics" "^0.52.1" - "@polkadot/rpc-provider" "^0.52.1" - "@polkadot/rpc-rx" "^0.52.1" - "@polkadot/storage" "^0.52.1" - "@polkadot/types" "^0.52.1" - "@polkadot/util-crypto" "^0.42.1" + "@polkadot/api-derive" "^0.53.1" + "@polkadot/extrinsics" "^0.53.1" + "@polkadot/rpc-provider" "^0.53.1" + "@polkadot/rpc-rx" "^0.53.1" + "@polkadot/storage" "^0.53.1" + "@polkadot/types" "^0.53.1" + "@polkadot/util-crypto" "^0.43.1" "@polkadot/dev-react@^0.28.1": version "0.28.1" @@ -1718,111 +1718,111 @@ typescript "^3.3.4000" vuepress "^1.0.0-alpha.44" -"@polkadot/extrinsics@^0.52.1": - version "0.52.1" - resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.52.1.tgz#77321d5234b3ad6a2542aaef6ec3ec182855089c" - integrity sha512-h/gBaZrMSG4vC9BeA7NpC/d1VJFxxqYzPpNuTOhz/5eGREav47TO6jPK1+8HYyuQSmvjVPB76SaRE0F2beonSg== +"@polkadot/extrinsics@^0.53.1": + version "0.53.1" + resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.53.1.tgz#ad333afd1257575553ce19777d1492345f387288" + integrity sha512-IRTl4TrcUhJ37VtHZtdoJr0Raf/gdrauDbZ6JnYJq3u1WT4AoW0EmCs37ULqTJkGxa7FOKq3SX1yFEzu7aDe/A== dependencies: "@babel/runtime" "^7.4.0" - "@polkadot/types" "^0.52.1" - "@polkadot/util" "^0.42.1" + "@polkadot/types" "^0.53.1" + "@polkadot/util" "^0.43.1" -"@polkadot/jsonrpc@^0.52.1": - version "0.52.1" - resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.52.1.tgz#438bfc729f7d7b5de6c62756612d1d154751fa65" - integrity sha512-HtMyWznvyU63rglK51pauryaRhsnssHW6SBx+3lyTxXpTjY85cBCbw99hFkplMhraVdu+nvr6endYNK+821Bvw== +"@polkadot/jsonrpc@^0.53.1": + version "0.53.1" + resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.53.1.tgz#0ba8937f651a316d1db5ed58a62cab00691a9c91" + integrity sha512-/1O319M6ztJXF5BqZqS3qOSro5nbE8LN7gZSCc5F2qjMyIKelnHrfw1YgeOCIejNOgIO/rl3XoqVSdj5uGWz8g== dependencies: "@babel/runtime" "^7.4.0" -"@polkadot/keyring@^0.42.1": - version "0.42.1" - resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-0.42.1.tgz#96b36543b7633d9aba3f9fe0ab5e69bafd73abae" - integrity sha512-xY2e1FU6UDVO/OcMvz2Up7x27QexOQMOh9hy9dqIDfdwCGZrbsPRxiXTHFKUglAi5vUZhiSlGR/L0ealZaKD2Q== +"@polkadot/keyring@^0.43.1": + version "0.43.1" + resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-0.43.1.tgz#08a4bca4c68a45ad897878e1451353eb77b34404" + integrity sha512-PzWTQAm8cKSGjRkYWQe0XMWKL4wQnfsJWL2GIFdyNH9z9JYmFmz9kSG8VqZw2CfQe8qiUsxtq7pnZNQ5yK005Q== dependencies: "@babel/runtime" "^7.4.0" - "@polkadot/util" "^0.42.1" - "@polkadot/util-crypto" "^0.42.1" + "@polkadot/util" "^0.43.1" + "@polkadot/util-crypto" "^0.43.1" "@types/bs58" "^4.0.0" bs58 "^4.0.1" -"@polkadot/rpc-core@^0.52.1": - version "0.52.1" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.52.1.tgz#2baf744aa1f460220bb7d09bc422c33773782ca4" - integrity sha512-Sl+Cjhp37Zs9++m+HBLLz9Y+ML4rCS+bx/X9OAoGwSnyYLAoYE+TjhjC3/69uEdMOKLAOFqOynos89oWtLswRQ== +"@polkadot/rpc-core@^0.53.1": + version "0.53.1" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.53.1.tgz#acbaca687fa305fd9c833db68dda055897cc2ab2" + integrity sha512-cMPX8U/ZKXc3aA4Bzn1RYg32FJAaWzbrABthmKXqkzZWnlLQISN4dk0PPJBSHUUAicvX6ZWRmC1lbQSSK/a53g== dependencies: "@babel/runtime" "^7.4.0" - "@polkadot/jsonrpc" "^0.52.1" - "@polkadot/rpc-provider" "^0.52.1" - "@polkadot/types" "^0.52.1" - "@polkadot/util" "^0.42.1" + "@polkadot/jsonrpc" "^0.53.1" + "@polkadot/rpc-provider" "^0.53.1" + "@polkadot/types" "^0.53.1" + "@polkadot/util" "^0.43.1" -"@polkadot/rpc-provider@^0.52.1": - version "0.52.1" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.52.1.tgz#2619d3b8eca16199384e8e7587177372e3436dc8" - integrity sha512-KzY197RK98n/Ns8aXIkFkkWHHOHrMaQER7onXSXbeZYNl1IKOhRgUSV6kwwpb+VZSRIhlpKxAb8jTJhnLDWTaQ== +"@polkadot/rpc-provider@^0.53.1": + version "0.53.1" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.53.1.tgz#cfa68c50ae809a6c1be888db2b2ed139695d21ca" + integrity sha512-ZGLjPiKbFmnsigfOVgVdgG2xz419GhxuSXa0MWeIyJTmb+GrF579K2k3JruVADwwQ742xAldq8g2b0Pe7SdbmA== dependencies: "@babel/runtime" "^7.4.0" - "@polkadot/keyring" "^0.42.1" - "@polkadot/storage" "^0.52.1" - "@polkadot/util" "^0.42.1" - "@polkadot/util-crypto" "^0.42.1" + "@polkadot/keyring" "^0.43.1" + "@polkadot/storage" "^0.53.1" + "@polkadot/util" "^0.43.1" + "@polkadot/util-crypto" "^0.43.1" "@types/nock" "^9.3.1" eventemitter3 "^3.1.0" isomorphic-fetch "^2.2.1" websocket "^1.0.28" -"@polkadot/rpc-rx@^0.52.1": - version "0.52.1" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-rx/-/rpc-rx-0.52.1.tgz#14fbc2e008e1561e0c440bf18a74400075f5b47b" - integrity sha512-lkqnsY6B4XCg7G+M8NEmC3V2qprih46Mz5I/WJHHXm4xj10KQT/ybrXOhT+l09w6aOD9KWE61xHIZX/9Pm6FCA== +"@polkadot/rpc-rx@^0.53.1": + version "0.53.1" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-rx/-/rpc-rx-0.53.1.tgz#205458f4d274e6cbe229485f78cb2946164fffdd" + integrity sha512-3HGg7ztsQWB1DpxoLWAXbv5tBQt48qV8XpsaAU3skhBhEJ9j6hFxvtrnjk9BUnY4OxAMMoRST1qpOCE3qCl7yw== dependencies: "@babel/runtime" "^7.4.0" - "@polkadot/rpc-core" "^0.52.1" - "@polkadot/rpc-provider" "^0.52.1" + "@polkadot/rpc-core" "^0.53.1" + "@polkadot/rpc-provider" "^0.53.1" "@types/memoizee" "^0.4.2" "@types/rx" "^4.1.1" memoizee "^0.4.14" rxjs "^6.4.0" -"@polkadot/storage@^0.52.1": - version "0.52.1" - resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.52.1.tgz#b14df212792f73de48bcaba85ddc3982faf17c49" - integrity sha512-9sv0CcHwpryP1ckw2jFaEfu/i0OBlrWzIETegQFPkhBuiHsnle/fdmaiuDQfhuFp82HehJ/HsTkJo4BvMQ7qSg== +"@polkadot/storage@^0.53.1": + version "0.53.1" + resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.53.1.tgz#1d066aeeefa7db820f19fd95c459beea11b16376" + integrity sha512-nid7RuniLSOR1/HBK76ZxwrqccM0vmG4Z9aidGH3nF2Q6aK5nuRbAdsaUNdUwnB8hUZWUrcAIsMwej4Hiq/z8A== dependencies: "@babel/runtime" "^7.4.0" - "@polkadot/keyring" "^0.42.1" - "@polkadot/types" "^0.52.1" - "@polkadot/util" "^0.42.1" - "@polkadot/util-crypto" "^0.42.1" + "@polkadot/keyring" "^0.43.1" + "@polkadot/types" "^0.53.1" + "@polkadot/util" "^0.43.1" + "@polkadot/util-crypto" "^0.43.1" "@polkadot/ts@^0.1.56": version "0.1.56" resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.56.tgz#ffd6e9c95704a7fb90b918193b9dc5c440114b27" integrity sha512-wnt4zXxZXyz6WaubTO/I+nUElwV2DogFzdl6CrKfVn2PTWp8uHN06W9s40FH57ORtmQfDr9rLRP8Nq+oIyElbg== -"@polkadot/types@^0.52.1": - version "0.52.1" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.52.1.tgz#f24e02bdb280c191119b8d8e3d08785f9bf971ec" - integrity sha512-63uaHnQl2hJ0h7bEryMDQxHzLb0KxlLND3RrNEZ7CTCtRc8wJ4ZQemO0Mdn0N0WClwqY5TuQqvg3cWNWLz3BaA== +"@polkadot/types@^0.53.1": + version "0.53.1" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.53.1.tgz#1120fd109f7599d4688a45c167011dd13f508d62" + integrity sha512-M+invuR07cCslUG76zr7ohQg/tlaa8aZb17slWeqwD271uorfxX6NvHhjlNImH73ChyxYYuUCRJEHqTzqO/sHg== dependencies: "@babel/runtime" "^7.4.0" - "@polkadot/keyring" "^0.42.1" - "@polkadot/util" "^0.42.1" + "@polkadot/keyring" "^0.43.1" + "@polkadot/util" "^0.43.1" -"@polkadot/ui-assets@^0.34.1": - version "0.34.1" - resolved "https://registry.yarnpkg.com/@polkadot/ui-assets/-/ui-assets-0.34.1.tgz#b3cc4c3469dc87ce78e51bb41bd120774b3fb893" - integrity sha512-pqfzRzvzWNcQ1Asw0f1Z/sWa2g5U/XMdLIMHY2hjwllJeuj1ZDe/BeCiVaD3VgO89zqWYv/2qDZBLpK3qaXCPw== +"@polkadot/ui-assets@^0.35.1": + version "0.35.1" + resolved "https://registry.yarnpkg.com/@polkadot/ui-assets/-/ui-assets-0.35.1.tgz#b6a6102137410ff4b60079f121202278dbbe3f57" + integrity sha512-V4Uvd24Py6R07dRVXL4ovFUIVhwtZwcfuzrqTGzkGNXFZKdc5bYLeIeFjl7eXSKLN0MCkWzPyP65MoBmZ/K4iQ== dependencies: "@babel/runtime" "^7.3.4" -"@polkadot/ui-identicon@^0.34.1": - version "0.34.1" - resolved "https://registry.yarnpkg.com/@polkadot/ui-identicon/-/ui-identicon-0.34.1.tgz#085fc89d6e76e4bc0eb8aac2c1cec3b5a586b476" - integrity sha512-Dqp2lbQCz0mtcgP1DOxnETl7KSnB4l/L18vhL1nZwhhKuXySSdYmB4d+tWiqY87cPTBVjkMCPk48DDa39RU4Vw== +"@polkadot/ui-identicon@^0.35.1": + version "0.35.1" + resolved "https://registry.yarnpkg.com/@polkadot/ui-identicon/-/ui-identicon-0.35.1.tgz#0dfc38b433f83f428d09b599269d74a1c20f017d" + integrity sha512-x7Nix5xdEdKgzpHBglUn/U9C2H07wKV1fZnXMPBb3KVELQ3PdcOOWyrhPtJNXYghlvZZMfetPZKO6AJfwCObmg== dependencies: "@babel/runtime" "^7.3.4" - "@polkadot/ui-settings" "^0.34.1" + "@polkadot/ui-settings" "^0.35.1" "@types/color" "^3.0.0" "@types/react-copy-to-clipboard" "^4.2.6" color "^3.0.0" @@ -1830,10 +1830,10 @@ react-copy-to-clipboard "^5.0.1" styled-components "^4.1.3" -"@polkadot/ui-keyring@^0.34.1": - version "0.34.1" - resolved "https://registry.yarnpkg.com/@polkadot/ui-keyring/-/ui-keyring-0.34.1.tgz#bad6735dce13445bf8cdadd17223630c3614d66e" - integrity sha512-mBt8INvS6BZN3OQpl17gs2z6LTqyULabYpklR0b9mPo5+cAYm8HHY5DYi7PWJpdizw6HLuCNDZ7QgcMkwFpzGw== +"@polkadot/ui-keyring@^0.35.1": + version "0.35.1" + resolved "https://registry.yarnpkg.com/@polkadot/ui-keyring/-/ui-keyring-0.35.1.tgz#ba76f1be884a9a0c823bbb0b379bead34840defe" + integrity sha512-oRNJvindMLm0VmcNlwpTYj2WyLjVO1Ppxhllb67wIHzKy42wKZ+ccZen/fP5kPAb+yP5KK+C7XXZYZOxdN4trg== dependencies: "@babel/runtime" "^7.3.4" "@types/store" "^2.0.1" @@ -1841,30 +1841,30 @@ store "^2.0.12" styled-components "^4.1.3" -"@polkadot/ui-settings@^0.34.1": - version "0.34.1" - resolved "https://registry.yarnpkg.com/@polkadot/ui-settings/-/ui-settings-0.34.1.tgz#bb4261b8d9a9b84bb27a3c897103956240815243" - integrity sha512-fOuAw+03CYoh3g3kVY0h9A0aZ8qmBANfv+9+q3N30kOxB8/8ky9hGrd/IksLDW8mIZIXg4w3cNXUOwPrMEHZWg== +"@polkadot/ui-settings@^0.35.1": + version "0.35.1" + resolved "https://registry.yarnpkg.com/@polkadot/ui-settings/-/ui-settings-0.35.1.tgz#49bc2f3fc59613d7c2f49d20383b5078849c592f" + integrity sha512-eSobBtT3tOGEl/NGRdF3ByTsmAEl1Q6BCUsaVI0058gK16LkakCaXHY/SYy80vthf2eNwv8S807Qwf9/drWvjA== dependencies: "@babel/runtime" "^7.3.4" - "@polkadot/util" "^0.42.1" + "@polkadot/util" "^0.43.1" "@types/store" "^2.0.1" store "^2.0.12" -"@polkadot/ui-util@^0.34.1": - version "0.34.1" - resolved "https://registry.yarnpkg.com/@polkadot/ui-util/-/ui-util-0.34.1.tgz#f1ea128023f8b70bca68a7333e216f40e39d8cdf" - integrity sha512-q2yE03P+uTtgjHNxHqt3m2jOkCR+JTd6RAIKpJvl20b7vSFBECyoEBi5w8liZUMLUOeWF+65wERLjY/jp9VR1g== +"@polkadot/ui-util@^0.35.1": + version "0.35.1" + resolved "https://registry.yarnpkg.com/@polkadot/ui-util/-/ui-util-0.35.1.tgz#b7e18d50d4ee82d60dc9ba6d46276c52ee922158" + integrity sha512-C/v/zTTS8tlSpZaZ2e9HHJoZTgmXG6xxoHPsanetBPgI/LOiIWP17qVMQB0Ck3NoGu7VjSz/h+l//pwqHPa02Q== dependencies: "@babel/runtime" "^7.3.4" -"@polkadot/util-crypto@^0.42.1": - version "0.42.1" - resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.42.1.tgz#c19b1a8013ad40196a0384f82b92d18c3a63cfdf" - integrity sha512-NmHUrR/ysxhLx/PpL/exF9X7pNEx4znOwNvXQ+ZCI1U2TGBXj0T8IomSkyVNuDUv0R+OYzmcJAFB0igTdiEqMw== +"@polkadot/util-crypto@^0.43.1": + version "0.43.1" + resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.43.1.tgz#01514f9af0e53f1115db7b547939d12b997df9ee" + integrity sha512-uf0CiagIggkXQWNO6E02Fqp8s2t10EIOhgIvScCvcv1aUrRP7BZgQoJ/cs0OvJygSB30Q1+OeL8C7lJlzuD9sw== dependencies: "@babel/runtime" "^7.4.0" - "@polkadot/util" "^0.42.1" + "@polkadot/util" "^0.43.1" "@polkadot/wasm-crypto" "^0.6.1" "@polkadot/wasm-dalek-ed25519" "^0.6.1" "@polkadot/wasm-schnorrkel" "^0.6.1" @@ -1880,10 +1880,10 @@ tweetnacl "^1.0.1" xxhashjs "^0.2.2" -"@polkadot/util@^0.42.1": - version "0.42.1" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.42.1.tgz#270f87c5370ab38e17d7aa77804686dc309328f7" - integrity sha512-9Nd5VLl7SQjwjdWTWQZ978+7dc9AcXF5IfDe8JiS65i76YB7HPPS6bF4mYmbmrRXEWXi/DMx+A7FKHyz0BHgRg== +"@polkadot/util@^0.43.1": + version "0.43.1" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.43.1.tgz#defa098ed2030e53633e849c38c832bc23c42c5a" + integrity sha512-pxZ4O+qk7u2rgF4PkRwf3LAv2gje5fwc4454/lMYpafCap5U8WeARMEtJ2UAxK1+npTWCwgXJkFXCI2CfdbyIw== dependencies: "@babel/runtime" "^7.4.0" "@types/bn.js" "^4.11.4"