Storage keys update (polkadot/storage dep update) (#181)

* Update dependencies

* Update chenged storage keys
This commit is contained in:
Jaco Greeff 2018-08-03 14:14:40 +02:00 committed by GitHub
parent b0f7558674
commit 4f8c5d3bc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 100 additions and 100 deletions

View File

@ -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"
}
}

View File

@ -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"
}
}

View File

@ -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"

View File

@ -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"
}
}

View File

@ -20,7 +20,7 @@ import translate from './translate';
type Props = ApiProps & I18nProps & {
intentions: Array<string>,
lastBlockHeader?: Header,
lastSessionChange?: BN,
lastLengthChange?: BN,
sessionLength?: BN,
validators: Array<string>
};
@ -100,7 +100,7 @@ class Summary extends React.PureComponent<Props, State> {
}
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<Props, State> {
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()
}
})}</div>
@ -188,7 +188,7 @@ export default withMulti(
{ propName: 'sessionLength' }
),
withStorage(
storage.session.public.lastSessionChange,
{ propName: 'lastSessionChange' }
storage.session.public.lastLengthChange,
{ propName: 'lastLengthChange' }
)
);

View File

@ -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<Props, State> {

View File

@ -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",

View File

@ -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"
}
}

View File

@ -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": {

View File

@ -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",

View File

@ -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",

View File

@ -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"
},

156
yarn.lock
View File

@ -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"