diff --git a/packages/app-example/package.json b/packages/app-example/package.json index 730e1e1ca4..20c145ae62 100644 --- a/packages/app-example/package.json +++ b/packages/app-example/package.json @@ -11,9 +11,9 @@ "license": "ISC", "dependencies": { "@babel/runtime": "^7.0.0-beta.51", - "@polkadot/storage": "^0.26.35", + "@polkadot/storage": "^0.26.36", "@polkadot/ui-react": "^0.19.14", "@polkadot/ui-react-rx": "^0.19.14", - "@polkadot/util-keyring": "^0.26.35" + "@polkadot/util-keyring": "^0.26.36" } } diff --git a/packages/app-explorer/package.json b/packages/app-explorer/package.json index 3ea44dadac..6ae3e4e4dc 100644 --- a/packages/app-explorer/package.json +++ b/packages/app-explorer/package.json @@ -16,8 +16,8 @@ }, "dependencies": { "@babel/runtime": "^7.0.0-beta.51", - "@polkadot/primitives": "^0.26.35", + "@polkadot/primitives": "^0.26.36", "@polkadot/ui-app": "^0.19.14", - "@polkadot/util-crypto": "^0.26.35" + "@polkadot/util-crypto": "^0.26.36" } } diff --git a/packages/app-extrinsics/package.json b/packages/app-extrinsics/package.json index 60e5cc1ee2..8da754440b 100644 --- a/packages/app-extrinsics/package.json +++ b/packages/app-extrinsics/package.json @@ -16,7 +16,7 @@ }, "dependencies": { "@babel/runtime": "^7.0.0-beta.51", - "@polkadot/extrinsics": "^0.26.35", + "@polkadot/extrinsics": "^0.26.36", "@polkadot/ui-app": "^0.19.14", "@polkadot/ui-signer": "^0.19.14", "react-dropzone": "^4.2.9" diff --git a/packages/app-staking/package.json b/packages/app-staking/package.json index c875249453..15e7e20f9e 100644 --- a/packages/app-staking/package.json +++ b/packages/app-staking/package.json @@ -11,11 +11,11 @@ "license": "ISC", "dependencies": { "@babel/runtime": "^7.0.0-beta.51", - "@polkadot/storage": "^0.26.35", + "@polkadot/storage": "^0.26.36", "@polkadot/ui-app": "^0.19.14", "@polkadot/ui-keyring": "^0.19.14", "@polkadot/ui-react": "^0.19.14", "@polkadot/ui-react-rx": "^0.19.14", - "@polkadot/util-keyring": "^0.26.35" + "@polkadot/util-keyring": "^0.26.36" } } diff --git a/packages/app-staking/src/Summary.tsx b/packages/app-staking/src/Summary.tsx index f9c2995557..d2a83d9081 100644 --- a/packages/app-staking/src/Summary.tsx +++ b/packages/app-staking/src/Summary.tsx @@ -20,7 +20,7 @@ import translate from './translate'; type Props = ApiProps & I18nProps & { intentions: Array, lastBlockHeader?: Header, - lastSessionChange?: BN, + lastLengthChange?: BN, sessionLength?: BN, validators: Array }; @@ -100,7 +100,7 @@ class Summary extends React.PureComponent { } render () { - const { className, intentions, lastBlockHeader, lastSessionChange = DEFAULT_SESSION_CHANGE, style, sessionLength = DEFAULT_SESSION_LENGTH, t, validators } = this.props; + const { className, intentions, lastBlockHeader, lastLengthChange = DEFAULT_SESSION_CHANGE, style, sessionLength = DEFAULT_SESSION_LENGTH, t, validators } = this.props; const blockNumber = lastBlockHeader ? lastBlockHeader.number : DEFAULT_BLOCKNUMBER; @@ -135,7 +135,7 @@ class Summary extends React.PureComponent { defaultValue: 'session block {{remainder}} / {{length}} at #{{blockNumber}}', replace: { blockNumber: blockNumber.toString(), - remainder: Math.max(1, blockNumber.sub(lastSessionChange).mod(sessionLength).addn(1).toNumber()).toString(), + remainder: Math.max(1, blockNumber.sub(lastLengthChange).mod(sessionLength).addn(1).toNumber()).toString(), length: sessionLength.toString() } })} @@ -188,7 +188,7 @@ export default withMulti( { propName: 'sessionLength' } ), withStorage( - storage.session.public.lastSessionChange, - { propName: 'lastSessionChange' } + storage.session.public.lastLengthChange, + { propName: 'lastLengthChange' } ) ); diff --git a/packages/app-storage/src/Selection.tsx b/packages/app-storage/src/Selection.tsx index d10ae06204..094564f392 100644 --- a/packages/app-storage/src/Selection.tsx +++ b/packages/app-storage/src/Selection.tsx @@ -30,7 +30,7 @@ type State = { params: RawParams }; -const defaultValue = storage.timestamp.public.current; +const defaultValue = storage.timestamp.public.now; let id = -1; class Selection extends React.PureComponent { diff --git a/packages/ui-app/package.json b/packages/ui-app/package.json index 8e0d2ae1fa..9007ff0bbc 100644 --- a/packages/ui-app/package.json +++ b/packages/ui-app/package.json @@ -16,8 +16,8 @@ }, "dependencies": { "@babel/runtime": "^7.0.0-beta.51", - "@polkadot/extrinsics": "^0.26.35", - "@polkadot/storage": "^0.26.35", + "@polkadot/extrinsics": "^0.26.36", + "@polkadot/storage": "^0.26.36", "@polkadot/ui-keyring": "^0.19.14", "@polkadot/ui-react": "^0.19.14", "@polkadot/ui-react-rx": "^0.19.14", diff --git a/packages/ui-identicon/package.json b/packages/ui-identicon/package.json index a0ee50b9a4..0d373d28c2 100644 --- a/packages/ui-identicon/package.json +++ b/packages/ui-identicon/package.json @@ -22,7 +22,7 @@ "color": "^3.0.0" }, "devDependencies": { - "@polkadot/util-crypto": "^0.26.35", + "@polkadot/util-crypto": "^0.26.36", "xmlserializer": "^0.6.1" } } diff --git a/packages/ui-keyring/package.json b/packages/ui-keyring/package.json index 8b9c13964b..65bc11ab2d 100644 --- a/packages/ui-keyring/package.json +++ b/packages/ui-keyring/package.json @@ -17,7 +17,7 @@ "dependencies": { "@babel/runtime": "^7.0.0-beta.51", "@polkadot/ui-react": "^0.19.14", - "@polkadot/util-keyring": "^0.26.35", + "@polkadot/util-keyring": "^0.26.36", "store": "^2.0.12" }, "peerDependencies": { diff --git a/packages/ui-react-rx/package.json b/packages/ui-react-rx/package.json index a0a1075a6b..24b826b523 100644 --- a/packages/ui-react-rx/package.json +++ b/packages/ui-react-rx/package.json @@ -36,9 +36,9 @@ }, "dependencies": { "@babel/runtime": "^7.0.0-beta.51", - "@polkadot/api-rx": "^0.14.26", - "@polkadot/extrinsics": "^0.26.35", - "@polkadot/storage": "^0.26.35" + "@polkadot/api-rx": "^0.14.27", + "@polkadot/extrinsics": "^0.26.36", + "@polkadot/storage": "^0.26.36" }, "devDependencies": { "babel-loader": "^8.0.0-beta.2", diff --git a/packages/ui-react/package.json b/packages/ui-react/package.json index c23662bd31..d95c05f6b8 100644 --- a/packages/ui-react/package.json +++ b/packages/ui-react/package.json @@ -19,7 +19,7 @@ "@polkadot/ui-identicon": "^0.19.14" }, "devDependencies": { - "@polkadot/util-keyring": "^0.26.35", + "@polkadot/util-keyring": "^0.26.36", "babel-loader": "^8.0.0-beta.2", "css-loader": "0.28.9", "empty": "^0.10.1", diff --git a/packages/ui-signer/package.json b/packages/ui-signer/package.json index 3a110df02d..897454a94e 100644 --- a/packages/ui-signer/package.json +++ b/packages/ui-signer/package.json @@ -16,7 +16,7 @@ }, "dependencies": { "@babel/runtime": "^7.0.0-beta.51", - "@polkadot/extrinsics": "^0.26.35", + "@polkadot/extrinsics": "^0.26.36", "@polkadot/ui-app": "^0.19.14", "@polkadot/ui-keyring": "^0.19.14" }, diff --git a/yarn.lock b/yarn.lock index 4dc414b15a..10a6a5cead 100644 --- a/yarn.lock +++ b/yarn.lock @@ -765,50 +765,50 @@ version "1.1.0" resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.0.tgz#50c1e2260ac0ed9439a181de3725a0168d59c48a" -"@polkadot/api-format@^0.14.26": - version "0.14.26" - resolved "https://registry.yarnpkg.com/@polkadot/api-format/-/api-format-0.14.26.tgz#f9f4f693aeba6257926e261e69b55fabc3077f8f" +"@polkadot/api-format@^0.14.27": + version "0.14.27" + resolved "https://registry.yarnpkg.com/@polkadot/api-format/-/api-format-0.14.27.tgz#9f5c241d856c06ea6eb05321579882fd95b0195d" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/jsonrpc" "^0.26.35" - "@polkadot/primitives" "^0.26.35" - "@polkadot/util" "^0.26.35" - "@polkadot/util-keyring" "^0.26.35" + "@polkadot/jsonrpc" "^0.26.36" + "@polkadot/primitives" "^0.26.36" + "@polkadot/util" "^0.26.36" + "@polkadot/util-keyring" "^0.26.36" -"@polkadot/api-provider@^0.14.26": - version "0.14.26" - resolved "https://registry.yarnpkg.com/@polkadot/api-provider/-/api-provider-0.14.26.tgz#d9869ba02df2b88b79e15c1c84ab60ac1fb4e417" +"@polkadot/api-provider@^0.14.27": + version "0.14.27" + resolved "https://registry.yarnpkg.com/@polkadot/api-provider/-/api-provider-0.14.27.tgz#81de1bd8013814b47e88979bd3edff7e682d8956" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/storage" "^0.26.35" - "@polkadot/util" "^0.26.35" - "@polkadot/util-crypto" "^0.26.35" - "@polkadot/util-keyring" "^0.26.35" + "@polkadot/storage" "^0.26.36" + "@polkadot/util" "^0.26.36" + "@polkadot/util-crypto" "^0.26.36" + "@polkadot/util-keyring" "^0.26.36" "@types/nock" "^9.1.3" eventemitter3 "^2.0.3" isomorphic-fetch "^2.2.1" websocket "^1.0.25" -"@polkadot/api-rx@^0.14.26": - version "0.14.26" - resolved "https://registry.yarnpkg.com/@polkadot/api-rx/-/api-rx-0.14.26.tgz#4ababa7e55f30dd72658cbfea0f343ab9cdf1229" +"@polkadot/api-rx@^0.14.27": + version "0.14.27" + resolved "https://registry.yarnpkg.com/@polkadot/api-rx/-/api-rx-0.14.27.tgz#0598a457a92a93cd73f47556fdfc82d8a5aa6cc6" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/api" "^0.14.26" - "@polkadot/api-provider" "^0.14.26" + "@polkadot/api" "^0.14.27" + "@polkadot/api-provider" "^0.14.27" "@types/rx" "^4.1.1" rxjs "^5.5.10" -"@polkadot/api@^0.14.26": - version "0.14.26" - resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.14.26.tgz#e040e62eb4677868ab344597cc8fa55890a52b92" +"@polkadot/api@^0.14.27": + version "0.14.27" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.14.27.tgz#d83cbcc8788f67fddc796b232c136786fe81655f" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/api-format" "^0.14.26" - "@polkadot/api-provider" "^0.14.26" - "@polkadot/jsonrpc" "^0.26.35" - "@polkadot/params" "^0.26.35" - "@polkadot/util" "^0.26.35" + "@polkadot/api-format" "^0.14.27" + "@polkadot/api-provider" "^0.14.27" + "@polkadot/jsonrpc" "^0.26.36" + "@polkadot/params" "^0.26.36" + "@polkadot/util" "^0.26.36" "@polkadot/dev-react@^0.20.12": version "0.20.12" @@ -877,94 +877,94 @@ typedoc "^0.11.1" typescript "^2.9.2" -"@polkadot/extrinsics@^0.26.35": - version "0.26.35" - resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.26.35.tgz#cc9b14f1f421f00ea4fde251ff023dd225e7dad7" +"@polkadot/extrinsics@^0.26.36": + version "0.26.36" + resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.26.36.tgz#c718d111266389e7f5d73c7c4ba7c500685152e7" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/params" "^0.26.35" - "@polkadot/primitives" "^0.26.35" - "@polkadot/util" "^0.26.35" + "@polkadot/params" "^0.26.36" + "@polkadot/primitives" "^0.26.36" + "@polkadot/util" "^0.26.36" -"@polkadot/jsonrpc@^0.26.35": - version "0.26.35" - resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.26.35.tgz#87db53388ea9ee6fc165c5730742cad06e692668" +"@polkadot/jsonrpc@^0.26.36": + version "0.26.36" + resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.26.36.tgz#55c132cdb51e9d2525de47ab7504b1286529a6af" dependencies: - "@polkadot/params" "^0.26.35" + "@polkadot/params" "^0.26.36" babel-runtime "^6.26.0" -"@polkadot/params@^0.26.35": - version "0.26.35" - resolved "https://registry.yarnpkg.com/@polkadot/params/-/params-0.26.35.tgz#92df414f862f8bfd18b551a21eff5e996c3c1eca" +"@polkadot/params@^0.26.36": + version "0.26.36" + resolved "https://registry.yarnpkg.com/@polkadot/params/-/params-0.26.36.tgz#ea6d4d02caa144d6752f7704a1f07512efb69fb7" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/extrinsics" "^0.26.35" - "@polkadot/primitives" "^0.26.35" - "@polkadot/util" "^0.26.35" + "@polkadot/extrinsics" "^0.26.36" + "@polkadot/primitives" "^0.26.36" + "@polkadot/util" "^0.26.36" -"@polkadot/primitives@^0.26.35": - version "0.26.35" - resolved "https://registry.yarnpkg.com/@polkadot/primitives/-/primitives-0.26.35.tgz#03cf35b8765081b3988153c45d27762db0900011" +"@polkadot/primitives@^0.26.36": + version "0.26.36" + resolved "https://registry.yarnpkg.com/@polkadot/primitives/-/primitives-0.26.36.tgz#96effffa76a70329d64f82c5f735e96632aa7cc9" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/trie-hash" "^0.26.35" - "@polkadot/util" "^0.26.35" + "@polkadot/trie-hash" "^0.26.36" + "@polkadot/util" "^0.26.36" -"@polkadot/storage@^0.26.35": - version "0.26.35" - resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.26.35.tgz#2d4e3aac47612b0319c0c69f369974266d1c1d04" +"@polkadot/storage@^0.26.36": + version "0.26.36" + resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.26.36.tgz#030a086037abaefa66185a5de8b3c70f232a83e4" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/params" "^0.26.35" - "@polkadot/primitives" "^0.26.35" - "@polkadot/util" "^0.26.35" - "@polkadot/util-crypto" "^0.26.35" - "@polkadot/util-keyring" "^0.26.35" + "@polkadot/params" "^0.26.36" + "@polkadot/primitives" "^0.26.36" + "@polkadot/util" "^0.26.36" + "@polkadot/util-crypto" "^0.26.36" + "@polkadot/util-keyring" "^0.26.36" -"@polkadot/trie-hash@^0.26.35": - version "0.26.35" - resolved "https://registry.yarnpkg.com/@polkadot/trie-hash/-/trie-hash-0.26.35.tgz#632ba48fca8c82a0c4f4af8887b275d7b46045cc" +"@polkadot/trie-hash@^0.26.36": + version "0.26.36" + resolved "https://registry.yarnpkg.com/@polkadot/trie-hash/-/trie-hash-0.26.36.tgz#0e7e2a31e61cbceb4081df33bac87c1d25471e1a" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/util" "^0.26.35" - "@polkadot/util-crypto" "^0.26.35" - "@polkadot/util-rlp" "^0.26.35" + "@polkadot/util" "^0.26.36" + "@polkadot/util-crypto" "^0.26.36" + "@polkadot/util-rlp" "^0.26.36" "@polkadot/ts@^0.1.10": version "0.1.10" resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.10.tgz#784d460cf4b2e9b38bb1c77f9366dd01425f220d" -"@polkadot/util-crypto@^0.26.35": - version "0.26.35" - resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.26.35.tgz#74948946cc266d228b4636953c16c96e99626090" +"@polkadot/util-crypto@^0.26.36": + version "0.26.36" + resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.26.36.tgz#1f6d7faa49df96a23109fa3e03faa4191d9ef281" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/util" "^0.26.35" + "@polkadot/util" "^0.26.36" blakejs "^1.1.0" js-sha3 "^0.7.0" tweetnacl "^1.0.0" xxhashjs "^0.2.2" -"@polkadot/util-keyring@^0.26.35": - version "0.26.35" - resolved "https://registry.yarnpkg.com/@polkadot/util-keyring/-/util-keyring-0.26.35.tgz#266002c6591665cf8a7df6c5ad3ed840f8b400a5" +"@polkadot/util-keyring@^0.26.36": + version "0.26.36" + resolved "https://registry.yarnpkg.com/@polkadot/util-keyring/-/util-keyring-0.26.36.tgz#6e69c8310abfd9aac350039e649702ace2a21e39" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/util" "^0.26.35" - "@polkadot/util-crypto" "^0.26.35" + "@polkadot/util" "^0.26.36" + "@polkadot/util-crypto" "^0.26.36" "@types/bs58" "^3.0.30" bs58 "^4.0.1" -"@polkadot/util-rlp@^0.26.35": - version "0.26.35" - resolved "https://registry.yarnpkg.com/@polkadot/util-rlp/-/util-rlp-0.26.35.tgz#f6e4d01a6f87a7882ba5b4d9bc819365d1d138b8" +"@polkadot/util-rlp@^0.26.36": + version "0.26.36" + resolved "https://registry.yarnpkg.com/@polkadot/util-rlp/-/util-rlp-0.26.36.tgz#d27004a10324f7cc97ff1c1103e3f578e3b3f249" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/util" "^0.26.35" + "@polkadot/util" "^0.26.36" -"@polkadot/util@^0.26.35": - version "0.26.35" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.26.35.tgz#c63d8f14a5eadb668f00ca09ee40862c87b53e2e" +"@polkadot/util@^0.26.36": + version "0.26.36" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.26.36.tgz#5b736588158157e0df9572b9243680cd324f4267" dependencies: "@babel/runtime" "^7.0.0-beta.51" "@types/bn.js" "^4.11.1"