Bump API (Fix chain property retrieval)

This commit is contained in:
Jaco Greeff 2021-01-23 17:01:45 +01:00
parent 79307459ff
commit bee326b199
No known key found for this signature in database
GPG Key ID: 270FB2D05A05357C
5 changed files with 59 additions and 59 deletions

View File

@ -12,13 +12,13 @@
"packages/*"
],
"resolutions": {
"@polkadot/api": "^3.5.2-13",
"@polkadot/api-contract": "^3.5.2-13",
"@polkadot/api": "^3.5.2-14",
"@polkadot/api-contract": "^3.5.2-14",
"@polkadot/hw-ledger": "^5.3.2-8",
"@polkadot/keyring": "^5.3.2-8",
"@polkadot/networks": "^5.3.2-8",
"@polkadot/phishing": "^0.3.23",
"@polkadot/types": "^3.5.2-13",
"@polkadot/types": "^3.5.2-14",
"@polkadot/util": "^5.3.2-8",
"@polkadot/util-crypto": "^5.3.2-8",
"@polkadot/wasm-crypto": "^3.2.1",

View File

@ -10,6 +10,6 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/api-contract": "^3.5.2-13"
"@polkadot/api-contract": "^3.5.2-14"
}
}

View File

@ -15,7 +15,7 @@
"homepage": "https://github.com/polkadot-js/apps/tree/master/packages/react-api#readme",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/api": "^3.5.2-13",
"@polkadot/api": "^3.5.2-14",
"@polkadot/extension-dapp": "^0.36.2-8",
"@polkadot/x-rxjs": "^5.3.2-8",
"fflate": "^0.6.0"

View File

@ -112,7 +112,7 @@ async function retrieve (api: ApiPromise, injectedPromise: Promise<InjectedExten
// HACK Horrible hack to try and give some window to the DOT denomination
const ss58Format = api.consts.system?.ss58Prefix || chainProperties.ss58Format;
const properties = registry.createType('ChainProperties', { ...chainProperties, ss58Format });
const properties = registry.createType('ChainProperties', { ss58Format, tokenDecimals: chainProperties.tokenDecimals, tokenSymbol: chainProperties.tokenSymbol });
return {
injectedAccounts,

106
yarn.lock
View File

@ -1909,54 +1909,54 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/api-contract@npm:^3.5.2-13":
version: 3.5.2-13
resolution: "@polkadot/api-contract@npm:3.5.2-13"
"@polkadot/api-contract@npm:^3.5.2-14":
version: 3.5.2-14
resolution: "@polkadot/api-contract@npm:3.5.2-14"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/api": 3.5.2-13
"@polkadot/types": 3.5.2-13
"@polkadot/api": 3.5.2-14
"@polkadot/types": 3.5.2-14
"@polkadot/util": ^5.3.2-8
"@polkadot/x-rxjs": 3.5.2-1
bn.js: ^4.11.9
checksum: 906eb036b69bdfebb7c9e378705fa5208ad4fb4ab7cdc95994a0bf4bd2b276cb1fbb304dd8c84ed7c0b0646cda5f29114c5975999b7ae8ab516620dc2c54ac98
checksum: 9f76ed50992b3155a29d44a953684da230c2dce8e37a5da276fe5003808af51c11adf4207c0ddda95867fdde7bc3f4e8345115c71de5c28d0d04686b6e047eb1
languageName: node
linkType: hard
"@polkadot/api-derive@npm:3.5.2-13":
version: 3.5.2-13
resolution: "@polkadot/api-derive@npm:3.5.2-13"
"@polkadot/api-derive@npm:3.5.2-14":
version: 3.5.2-14
resolution: "@polkadot/api-derive@npm:3.5.2-14"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/api": 3.5.2-13
"@polkadot/rpc-core": 3.5.2-13
"@polkadot/types": 3.5.2-13
"@polkadot/api": 3.5.2-14
"@polkadot/rpc-core": 3.5.2-14
"@polkadot/types": 3.5.2-14
"@polkadot/util": ^5.3.2-8
"@polkadot/util-crypto": ^5.3.2-8
"@polkadot/x-rxjs": 3.5.2-1
bn.js: ^4.11.9
checksum: 382c8ad8e372f4550f284a9ac7226228f44f2886de388926e50e19b0f73a7d7f0be657494a13bcac9c5d42d69992ff1e7d8e0433ab3feca7a6e81b82b3a26dec
checksum: 1f14dc2b5f3d386260eed2e1b460d6d182848d05c170cef741659ae14893e69562537c29769807a1ab2c13f3957fb5670d2d567f0a4edf16843baa9fbbe8dc54
languageName: node
linkType: hard
"@polkadot/api@npm:^3.5.2-13":
version: 3.5.2-13
resolution: "@polkadot/api@npm:3.5.2-13"
"@polkadot/api@npm:^3.5.2-14":
version: 3.5.2-14
resolution: "@polkadot/api@npm:3.5.2-14"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/api-derive": 3.5.2-13
"@polkadot/api-derive": 3.5.2-14
"@polkadot/keyring": ^5.3.2-8
"@polkadot/metadata": 3.5.2-13
"@polkadot/rpc-core": 3.5.2-13
"@polkadot/rpc-provider": 3.5.2-13
"@polkadot/types": 3.5.2-13
"@polkadot/types-known": 3.5.2-13
"@polkadot/metadata": 3.5.2-14
"@polkadot/rpc-core": 3.5.2-14
"@polkadot/rpc-provider": 3.5.2-14
"@polkadot/types": 3.5.2-14
"@polkadot/types-known": 3.5.2-14
"@polkadot/util": ^5.3.2-8
"@polkadot/util-crypto": ^5.3.2-8
"@polkadot/x-rxjs": 3.5.2-1
bn.js: ^4.11.9
eventemitter3: ^4.0.7
checksum: d011adac74effe42f9074ca3f5e9fa1e4be4d91a41cd0c116ca2603d8f9c092c358a9f9e6f4452b03245f2e557016724a3d69d5534b000b163246efba7be015a
checksum: c5ba2639e92e666cf4776c037e28b4a30e0cd049e0d8150d8b9ee9732c876d3336caa45dda0a02a0fc3bd349a8e0fb54ae7d5113d9e1d9bdd664013968ca21f2
languageName: node
linkType: hard
@ -2020,7 +2020,7 @@ __metadata:
resolution: "@polkadot/app-contracts@workspace:packages/page-contracts"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/api-contract": ^3.5.2-13
"@polkadot/api-contract": ^3.5.2-14
languageName: unknown
linkType: soft
@ -2427,17 +2427,17 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/metadata@npm:3.5.2-13":
version: 3.5.2-13
resolution: "@polkadot/metadata@npm:3.5.2-13"
"@polkadot/metadata@npm:3.5.2-14":
version: 3.5.2-14
resolution: "@polkadot/metadata@npm:3.5.2-14"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/types": 3.5.2-13
"@polkadot/types-known": 3.5.2-13
"@polkadot/types": 3.5.2-14
"@polkadot/types-known": 3.5.2-14
"@polkadot/util": ^5.3.2-8
"@polkadot/util-crypto": ^5.3.2-8
bn.js: ^4.11.9
checksum: 1a7e7b3125bef6ee539018828beed7c6a9bdbed1a2292097ac9a71eecf2256344831ce488ccff1833eccd0737d368d1e7fe1c3c59404c071ce79e788982648a0
checksum: 9f2ec605f0791da47d26e9e00203ec7783fe8986d9d86b513cfb7359afda20ef368fcaa7dfc90d51507d5f531ff85457de7cf2aab79f9cdab0165f2bcd81f4b6
languageName: node
linkType: hard
@ -2467,7 +2467,7 @@ __metadata:
resolution: "@polkadot/react-api@workspace:packages/react-api"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/api": ^3.5.2-13
"@polkadot/api": ^3.5.2-14
"@polkadot/extension-dapp": ^0.36.2-8
"@polkadot/x-rxjs": ^5.3.2-8
fflate: ^0.6.0
@ -2598,33 +2598,33 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/rpc-core@npm:3.5.2-13":
version: 3.5.2-13
resolution: "@polkadot/rpc-core@npm:3.5.2-13"
"@polkadot/rpc-core@npm:3.5.2-14":
version: 3.5.2-14
resolution: "@polkadot/rpc-core@npm:3.5.2-14"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/metadata": 3.5.2-13
"@polkadot/rpc-provider": 3.5.2-13
"@polkadot/types": 3.5.2-13
"@polkadot/metadata": 3.5.2-14
"@polkadot/rpc-provider": 3.5.2-14
"@polkadot/types": 3.5.2-14
"@polkadot/util": ^5.3.2-8
"@polkadot/x-rxjs": 3.5.2-1
checksum: c661aceb6b046d9ec09a3c2df891285e008eaa3f527d50b2d2d226679eda5fdad93e002aa1c3f0aeefca044d17626f305f66e09987cb489b04aedd64e6fea745
checksum: 36a815d7fefd95cf365810748eb4d45fc41e4692d40f132abf9710ba25d6c75d67398adb7b1816eb49feee057ec01b89c7ee288fafb76553d8d9e4d668d1f522
languageName: node
linkType: hard
"@polkadot/rpc-provider@npm:3.5.2-13":
version: 3.5.2-13
resolution: "@polkadot/rpc-provider@npm:3.5.2-13"
"@polkadot/rpc-provider@npm:3.5.2-14":
version: 3.5.2-14
resolution: "@polkadot/rpc-provider@npm:3.5.2-14"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/types": 3.5.2-13
"@polkadot/types": 3.5.2-14
"@polkadot/util": ^5.3.2-8
"@polkadot/util-crypto": ^5.3.2-8
"@polkadot/x-fetch": ^5.3.2-8
"@polkadot/x-ws": ^5.3.2-8
bn.js: ^4.11.9
eventemitter3: ^4.0.7
checksum: b3f05b5404bace78cd22c1afe3ee3441d9031af0a237ce1774e7bad07a6856dbdb338e3cb53214b5f71d9cc669a515cca4ef7f8228943e47c2fbd32ddfdc78c9
checksum: 931404a11a6d1fb81566979c403c2576f24d8e3a353928fbdca30c60fac6c04ea66b67889835d52e203786ea8806f00a2ff97e3263588f3838d4832c0095f51f
languageName: node
linkType: hard
@ -2648,30 +2648,30 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/types-known@npm:3.5.2-13":
version: 3.5.2-13
resolution: "@polkadot/types-known@npm:3.5.2-13"
"@polkadot/types-known@npm:3.5.2-14":
version: 3.5.2-14
resolution: "@polkadot/types-known@npm:3.5.2-14"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/types": 3.5.2-13
"@polkadot/types": 3.5.2-14
"@polkadot/util": ^5.3.2-8
bn.js: ^4.11.9
checksum: 2b589cad954397a9500a07bec47ae24a204697f297b5a654bdcff46c8ca6c7d2cd4e4222db700d4278cab8a6a186e5dc2c8d190104b696468bd124ba54b49a5c
checksum: 7a899c51d0c19df6e67f09bf5019fab0d78e724f051f31b0081494fa88a9b8caa59a103cc7942cc91837c32ee3dea5b3f81b99da5d2880abb33558ebbb84e480
languageName: node
linkType: hard
"@polkadot/types@npm:^3.5.2-13":
version: 3.5.2-13
resolution: "@polkadot/types@npm:3.5.2-13"
"@polkadot/types@npm:^3.5.2-14":
version: 3.5.2-14
resolution: "@polkadot/types@npm:3.5.2-14"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/metadata": 3.5.2-13
"@polkadot/metadata": 3.5.2-14
"@polkadot/util": ^5.3.2-8
"@polkadot/util-crypto": ^5.3.2-8
"@polkadot/x-rxjs": 3.5.2-1
"@types/bn.js": ^4.11.6
bn.js: ^4.11.9
checksum: 49db2a25000aae295dd13768a296e1454231f5d1681b9b4158d757bc44f17c998d0e2b7ccc6752cdaec3676151fbdd88ad2e10e84db9ce46ed743c08a410643e
checksum: a7e9663e6016ce148f0b911e5ebb5f22a7b1e835e95e7408bb369b342ca406bb7321594370475c4504e26d943daf324453dca29ad9f19d18261d779c6e6ab3d3
languageName: node
linkType: hard