parent
29a614ba9d
commit
cb60c73daa
12
CHANGELOG.md
12
CHANGELOG.md
@ -1,5 +1,17 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 0.105.1 Feb 7, 2022
|
||||
|
||||
Contributed:
|
||||
|
||||
- Allow upload of signatories for multisig creation (Thanks to https://github.com/jsidorenko)
|
||||
- Remove Dusty network (Thanks to https://github.com/hoonsubin)
|
||||
|
||||
Changes:
|
||||
|
||||
- Align icon sizes on status overlay
|
||||
|
||||
|
||||
## 0.104.1 Jan 31, 2022
|
||||
|
||||
Contributed:
|
||||
|
||||
44
package.json
44
package.json
@ -12,7 +12,7 @@
|
||||
"url": "https://github.com/polkadot-js/apps.git"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
@ -56,12 +56,12 @@
|
||||
"test:skipped": "echo 'tests skipped'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.16.12",
|
||||
"@babel/register": "^7.16.9",
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@babel/core": "^7.17.0",
|
||||
"@babel/register": "^7.17.0",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@crustio/crust-pin": "^1.0.0",
|
||||
"@pinata/sdk": "^1.1.23",
|
||||
"@polkadot/dev": "^0.65.46",
|
||||
"@polkadot/dev": "^0.65.50",
|
||||
"@types/bn.js": "^4.11.6",
|
||||
"@types/chart.js": "^2.9.35",
|
||||
"@types/file-saver": "^2.0.5",
|
||||
@ -71,7 +71,7 @@
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"@types/react-router-dom": "^5.3.3",
|
||||
"@types/store": "^2.0.2",
|
||||
"@types/styled-components": "^5.1.21",
|
||||
"@types/styled-components": "^5.1.22",
|
||||
"@types/styled-theming": "^2.2.5",
|
||||
"concurrently": "^7.0.0",
|
||||
"devtron": "^1.4.0",
|
||||
@ -85,28 +85,28 @@
|
||||
"react-is": "^17.0.2",
|
||||
"source-map-explorer": "^2.5.2",
|
||||
"styled-components": "^5.3.3",
|
||||
"webpack": "^5.67.0",
|
||||
"webpack": "^5.68.0",
|
||||
"webpack-cli": "^4.9.2"
|
||||
},
|
||||
"resolutions": {
|
||||
"@polkadot/api": "^7.6.1",
|
||||
"@polkadot/api-augment": "^7.6.1",
|
||||
"@polkadot/api-base": "^7.6.1",
|
||||
"@polkadot/api-contract": "^7.6.1",
|
||||
"@polkadot/api-derive": "^7.6.1",
|
||||
"@polkadot/api": "^7.7.1",
|
||||
"@polkadot/api-augment": "^7.7.1",
|
||||
"@polkadot/api-base": "^7.7.1",
|
||||
"@polkadot/api-contract": "^7.7.1",
|
||||
"@polkadot/api-derive": "^7.7.1",
|
||||
"@polkadot/hw-ledger": "^8.3.3",
|
||||
"@polkadot/keyring": "^8.3.3",
|
||||
"@polkadot/networks": "^8.3.3",
|
||||
"@polkadot/phishing": "^0.8.100",
|
||||
"@polkadot/rpc-augment": "^7.6.1",
|
||||
"@polkadot/rpc-core": "^7.6.1",
|
||||
"@polkadot/rpc-provider": "^7.6.1",
|
||||
"@polkadot/types": "^7.6.1",
|
||||
"@polkadot/types-augment": "^7.6.1",
|
||||
"@polkadot/types-codec": "^7.6.1",
|
||||
"@polkadot/types-create": "^7.6.1",
|
||||
"@polkadot/types-known": "^7.6.1",
|
||||
"@polkadot/types-support": "^7.6.1",
|
||||
"@polkadot/phishing": "^0.8.126",
|
||||
"@polkadot/rpc-augment": "^7.7.1",
|
||||
"@polkadot/rpc-core": "^7.7.1",
|
||||
"@polkadot/rpc-provider": "^7.7.1",
|
||||
"@polkadot/types": "^7.7.1",
|
||||
"@polkadot/types-augment": "^7.7.1",
|
||||
"@polkadot/types-codec": "^7.7.1",
|
||||
"@polkadot/types-create": "^7.7.1",
|
||||
"@polkadot/types-known": "^7.7.1",
|
||||
"@polkadot/types-support": "^7.7.1",
|
||||
"@polkadot/util": "^8.3.3",
|
||||
"@polkadot/util-crypto": "^8.3.3",
|
||||
"@polkadot/wasm-crypto": "^4.5.1",
|
||||
|
||||
@ -10,11 +10,11 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@acala-network/type-definitions": "^3.0.2-4",
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@bifrost-finance/type-definitions": "1.3.21",
|
||||
"@crustio/type-definitions": "1.2.0",
|
||||
"@darwinia/types": "2.7.2",
|
||||
@ -28,18 +28,18 @@
|
||||
"@metaverse-network-sdk/type-definitions": "^0.0.1-6",
|
||||
"@parallel-finance/type-definitions": "1.4.4",
|
||||
"@phala/typedefs": "0.2.30",
|
||||
"@polkadot/api": "^7.6.1",
|
||||
"@polkadot/api-derive": "^7.6.1",
|
||||
"@polkadot/api": "^7.7.1",
|
||||
"@polkadot/api-derive": "^7.7.1",
|
||||
"@polkadot/networks": "^8.3.3",
|
||||
"@polkadot/types": "^7.6.1",
|
||||
"@polkadot/types": "^7.7.1",
|
||||
"@polkadot/util": "^8.3.3",
|
||||
"@polkadot/x-fetch": "^8.3.3",
|
||||
"@polymathnetwork/polymesh-types": "0.0.2",
|
||||
"@snowfork/snowbridge-types": "0.2.6",
|
||||
"@sora-substrate/type-definitions": "1.7.21",
|
||||
"@snowfork/snowbridge-types": "0.2.7",
|
||||
"@sora-substrate/type-definitions": "1.7.28",
|
||||
"@subsocial/types": "0.6.5",
|
||||
"@unique-nft/types": "0.2.0",
|
||||
"@zeitgeistpm/type-defs": "0.3.10",
|
||||
"@zeitgeistpm/type-defs": "0.4.0",
|
||||
"@zeroio/type-definitions": "0.0.14",
|
||||
"i18next": "^21.6.10",
|
||||
"lodash": "^4.17.21",
|
||||
|
||||
@ -10,25 +10,25 @@
|
||||
"url": "https://github.com/polkadot-js/apps.git"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.16.12",
|
||||
"@babel/core": "^7.17.0",
|
||||
"@babel/polyfill": "^7.12.1",
|
||||
"@polkadot/dev": "^0.65.46",
|
||||
"@polkadot/react-components": "^0.104.2-3",
|
||||
"electron-log": "^4.4.5",
|
||||
"@polkadot/dev": "^0.65.50",
|
||||
"@polkadot/react-components": "^0.105.0",
|
||||
"electron-log": "^4.4.6",
|
||||
"electron-updater": "^4.6.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"@types/tmp": "^0.2.3",
|
||||
"babel-loader": "^8.2.3",
|
||||
"copy-webpack-plugin": "^10.2.3",
|
||||
"copy-webpack-plugin": "^10.2.4",
|
||||
"html-webpack-plugin": "^4.5.2",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"thread-loader": "^3.0.4",
|
||||
"tmp": "^0.2.1",
|
||||
"webpack": "^5.67.0"
|
||||
"webpack": "^5.68.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,8 +11,8 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7"
|
||||
"@babel/runtime": "^7.17.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,29 +11,29 @@
|
||||
},
|
||||
"sideEffects": true,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.16.12",
|
||||
"@babel/core": "^7.17.0",
|
||||
"@babel/polyfill": "^7.12.1",
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/apps-config": "^0.104.2-3",
|
||||
"@polkadot/apps-routing": "^0.104.2-3",
|
||||
"@polkadot/dev": "^0.65.46",
|
||||
"@polkadot/react-api": "^0.104.2-3",
|
||||
"@polkadot/react-components": "^0.104.2-3",
|
||||
"@polkadot/react-hooks": "^0.104.2-3",
|
||||
"@polkadot/react-params": "^0.104.2-3",
|
||||
"@polkadot/react-query": "^0.104.2-3",
|
||||
"@polkadot/react-signer": "^0.104.2-3",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/apps-config": "^0.105.0",
|
||||
"@polkadot/apps-routing": "^0.105.0",
|
||||
"@polkadot/dev": "^0.65.50",
|
||||
"@polkadot/react-api": "^0.105.0",
|
||||
"@polkadot/react-components": "^0.105.0",
|
||||
"@polkadot/react-hooks": "^0.105.0",
|
||||
"@polkadot/react-params": "^0.105.0",
|
||||
"@polkadot/react-query": "^0.105.0",
|
||||
"@polkadot/react-signer": "^0.105.0",
|
||||
"punycode": "^2.1.1",
|
||||
"query-string": "^7.1.0"
|
||||
"query-string": "^7.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/punycode": "^2.1.0",
|
||||
"assert": "^2.0.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"buffer": "^6.0.3",
|
||||
"copy-webpack-plugin": "^10.2.3",
|
||||
"copy-webpack-plugin": "^10.2.4",
|
||||
"crypto-browserify": "^3.12.0",
|
||||
"css-loader": "^5.2.7",
|
||||
"empty": "^0.10.1",
|
||||
@ -50,9 +50,9 @@
|
||||
"stream-browserify": "^3.0.0",
|
||||
"stream-http": "^3.2.0",
|
||||
"url-loader": "^4.1.1",
|
||||
"webpack": "^5.67.0",
|
||||
"webpack": "^5.68.0",
|
||||
"webpack-cli": "^4.9.2",
|
||||
"webpack-dev-server": "^4.7.3",
|
||||
"webpack-dev-server": "^4.7.4",
|
||||
"webpack-merge": "^5.8.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,19 +11,19 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/hw-ledger": "^8.3.3",
|
||||
"@polkadot/phishing": "^0.8.101",
|
||||
"@polkadot/react-components": "^0.104.2-3",
|
||||
"@polkadot/react-hooks": "^0.104.2-3",
|
||||
"@polkadot/phishing": "^0.8.128",
|
||||
"@polkadot/react-components": "^0.105.0",
|
||||
"@polkadot/react-hooks": "^0.105.0",
|
||||
"@polkadot/util": "^8.3.3",
|
||||
"@polkadot/vanitygen": "^0.49.1",
|
||||
"@polkadot/vanitygen": "^0.49.2",
|
||||
"detect-browser": "^5.3.0",
|
||||
"file-saver": "^2.0.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/test-support": "0.104.2-3"
|
||||
"@polkadot/test-support": "0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,10 +11,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0",
|
||||
"file-saver": "^2.0.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,12 +11,12 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/test-support": "0.104.2-3"
|
||||
"@polkadot/test-support": "0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,10 +11,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0",
|
||||
"secp256k1": "^3.8.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/api-contract": "^7.6.1"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/api-contract": "^7.7.1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,10 +11,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3",
|
||||
"@polkadot/react-query": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0",
|
||||
"@polkadot/react-query": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,10 +11,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3",
|
||||
"@polkadot/react-query": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0",
|
||||
"@polkadot/react-query": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,11 +11,11 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3",
|
||||
"@polkadot/react-params": "^0.104.2-3",
|
||||
"@polkadot/react-signer": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0",
|
||||
"@polkadot/react-params": "^0.105.0",
|
||||
"@polkadot/react-signer": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,10 +11,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3",
|
||||
"@polkadot/react-query": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0",
|
||||
"@polkadot/react-query": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,10 +11,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3",
|
||||
"@polkadot/react-query": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0",
|
||||
"@polkadot/react-query": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,12 +11,12 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/apps-config": "^0.104.2-3",
|
||||
"@polkadot/react-components": "^0.104.2-3",
|
||||
"@polkadot/react-query": "^0.104.2-3",
|
||||
"query-string": "^7.1.0"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/apps-config": "^0.105.0",
|
||||
"@polkadot/react-components": "^0.105.0",
|
||||
"@polkadot/react-query": "^0.105.0",
|
||||
"query-string": "^7.1.1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,11 +11,11 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/app-explorer": "^0.104.2-3",
|
||||
"@polkadot/react-components": "^0.104.2-3",
|
||||
"@polkadot/react-query": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/app-explorer": "^0.105.0",
|
||||
"@polkadot/react-components": "^0.105.0",
|
||||
"@polkadot/react-query": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
// Copyright 2017-2022 @polkadot/app-staking authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@polkadot/api-augment';
|
||||
|
||||
import type { StakerState } from '@polkadot/react-hooks/types';
|
||||
import type { SortedTargets } from '../types';
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
// Copyright 2017-2022 @polkadot/app-staking authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { u32 } from '@polkadot/types-codec';
|
||||
import type { SortedTargets } from '../../types';
|
||||
import type { NominateInfo } from './types';
|
||||
|
||||
@ -55,7 +56,7 @@ function Nominate ({ className = '', controllerId, nominating, onChange, stashId
|
||||
}, [api, onChange, selected]);
|
||||
|
||||
const maxNominations = api.consts.staking.maxNominations
|
||||
? api.consts.staking.maxNominations.toNumber()
|
||||
? (api.consts.staking.maxNominations as u32).toNumber()
|
||||
: MAX_NOMINATIONS;
|
||||
|
||||
return (
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
|
||||
import type { DeriveHasIdentity, DeriveStakingOverview } from '@polkadot/api-derive/types';
|
||||
import type { StakerState } from '@polkadot/react-hooks/types';
|
||||
import type { u32 } from '@polkadot/types-codec';
|
||||
import type { BN } from '@polkadot/util';
|
||||
import type { NominatedBy, SortedTargets, TargetSortBy, ValidatorInfo } from '../types';
|
||||
|
||||
@ -241,6 +242,13 @@ function Targets ({ className = '', isInElection, ownStashes, targets: { avgStak
|
||||
toggleLedger();
|
||||
}, [toggleLedger]);
|
||||
|
||||
const maxNominations = useMemo(
|
||||
() => api.consts.staking.maxNominations
|
||||
? (api.consts.staking.maxNominations as u32).toNumber()
|
||||
: MAX_NOMINATIONS,
|
||||
[api]
|
||||
);
|
||||
|
||||
const myNominees = useMemo(
|
||||
() => extractNominees(ownNominators),
|
||||
[ownNominators]
|
||||
@ -267,14 +275,9 @@ function Targets ({ className = '', isInElection, ownStashes, targets: { avgStak
|
||||
|
||||
const _selectProfitable = useCallback(
|
||||
() => filtered && setSelected(
|
||||
selectProfitable(
|
||||
filtered,
|
||||
api.consts.staking.maxNominations
|
||||
? api.consts.staking.maxNominations.toNumber()
|
||||
: MAX_NOMINATIONS
|
||||
)
|
||||
selectProfitable(filtered, maxNominations)
|
||||
),
|
||||
[api, filtered]
|
||||
[filtered, maxNominations]
|
||||
);
|
||||
|
||||
const _setNameFilter = useCallback(
|
||||
@ -353,9 +356,6 @@ function Targets ({ className = '', isInElection, ownStashes, targets: { avgStak
|
||||
const displayList = isQueryFiltered
|
||||
? validators
|
||||
: sorted;
|
||||
const maxNominations = api.consts.staking.maxNominations
|
||||
? api.consts.staking.maxNominations.toNumber()
|
||||
: MAX_NOMINATIONS;
|
||||
|
||||
return (
|
||||
<div className={className}>
|
||||
|
||||
@ -11,10 +11,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3",
|
||||
"@polkadot/react-params": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0",
|
||||
"@polkadot/react-params": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,10 +11,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3",
|
||||
"@polkadot/react-query": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0",
|
||||
"@polkadot/react-query": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,10 +11,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3",
|
||||
"@polkadot/react-query": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0",
|
||||
"@polkadot/react-query": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,12 +11,12 @@
|
||||
},
|
||||
"sideEffects": true,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/api": "^7.6.1",
|
||||
"@polkadot/extension-compat-metamask": "^0.42.8-1",
|
||||
"@polkadot/extension-dapp": "^0.42.8-1",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/api": "^7.7.1",
|
||||
"@polkadot/extension-compat-metamask": "^0.42.8-3",
|
||||
"@polkadot/extension-dapp": "^0.42.8-3",
|
||||
"@substrate/connect": "0.4.6",
|
||||
"fflate": "^0.7.3",
|
||||
"rxjs": "^7.5.2"
|
||||
|
||||
@ -11,19 +11,19 @@
|
||||
},
|
||||
"sideEffects": true,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@fortawesome/fontawesome-svg-core": "^1.2.36",
|
||||
"@fortawesome/free-solid-svg-icons": "^5.15.4",
|
||||
"@fortawesome/react-fontawesome": "^0.1.17",
|
||||
"@polkadot/keyring": "^8.3.3",
|
||||
"@polkadot/react-api": "^0.104.2-3",
|
||||
"@polkadot/react-identicon": "^1.0.1",
|
||||
"@polkadot/react-qr": "^1.0.1",
|
||||
"@polkadot/react-query": "^0.104.2-3",
|
||||
"@polkadot/ui-keyring": "^1.0.1",
|
||||
"@polkadot/ui-settings": "^1.0.1",
|
||||
"@polkadot/react-api": "^0.105.0",
|
||||
"@polkadot/react-identicon": "^1.0.2-1",
|
||||
"@polkadot/react-qr": "^1.0.2-1",
|
||||
"@polkadot/react-query": "^0.105.0",
|
||||
"@polkadot/ui-keyring": "^1.0.2-1",
|
||||
"@polkadot/ui-settings": "^1.0.2-1",
|
||||
"@polkadot/util": "^8.3.3",
|
||||
"@polkadot/util-crypto": "^8.3.3",
|
||||
"chart.js": "^2.9.4",
|
||||
@ -36,7 +36,7 @@
|
||||
"react-chartjs-2": "^2.11.2",
|
||||
"react-copy-to-clipboard": "^5.0.4",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-dropzone": "^11.5.3",
|
||||
"react-dropzone": "^11.7.1",
|
||||
"react-i18next": "^11.15.3",
|
||||
"react-is": "^17.0.2",
|
||||
"react-markdown": "^5.0.3",
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/hw-ledger": "^8.3.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/react-components": "^0.104.2-3"
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/react-components": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,8 +11,8 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7"
|
||||
"@babel/runtime": "^7.17.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,10 +11,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/hw-ledger": "^8.3.3",
|
||||
"@polkadot/react-components": "^0.104.2-3"
|
||||
"@polkadot/react-components": "^0.105.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,14 +11,14 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.104.2-3",
|
||||
"version": "0.105.0",
|
||||
"dependencies": {
|
||||
"@testing-library/react": "^12.1.2",
|
||||
"testcontainers": "^8.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types-support": "^7.6.1",
|
||||
"@testing-library/jest-dom": "^5.16.1",
|
||||
"@polkadot/types-support": "^7.7.1",
|
||||
"@testing-library/jest-dom": "^5.16.2",
|
||||
"tsconfig-paths": "^3.12.0"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user