mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-05-30 23:21:04 +00:00
@@ -1,3 +1,11 @@
|
|||||||
|
# 0.27.1
|
||||||
|
|
||||||
|
Replace Charred Cherry with Dried Danta, remove old decimals and token name configs
|
||||||
|
|
||||||
|
# 0.26.1
|
||||||
|
|
||||||
|
Add keyring support for sd25519 (schnorrkel)
|
||||||
|
|
||||||
# 0.25.1
|
# 0.25.1
|
||||||
|
|
||||||
Add `@polkadot/{keyring,util,util-crypto,types}` as peerDependencies for the various packages as used. Thie should allow less churn on this repo with version bumps, although it does add some extra effort onto the users of these libraries. (But the assumption is that they use these anyway)
|
Add `@polkadot/{keyring,util,util-crypto,types}` as peerDependencies for the various packages as used. Thie should allow less churn on this repo with version bumps, although it does add some extra effort onto the users of these libraries. (But the assumption is that they use these anyway)
|
||||||
|
|||||||
+1
-1
@@ -10,5 +10,5 @@
|
|||||||
"packages": [
|
"packages": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
],
|
||||||
"version": "0.26.9"
|
"version": "0.27.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/ui-assets",
|
"name": "@polkadot/ui-assets",
|
||||||
"version": "0.26.9",
|
"version": "0.27.0",
|
||||||
"description": "Static assets shared accross projects",
|
"description": "Static assets shared accross projects",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/ui-identicon",
|
"name": "@polkadot/ui-identicon",
|
||||||
"version": "0.26.9",
|
"version": "0.27.0",
|
||||||
"description": "Renders an SVG picture representing an address",
|
"description": "Renders an SVG picture representing an address",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.3.1",
|
"@babel/runtime": "^7.3.1",
|
||||||
"@polkadot/ui-settings": "^0.26.9",
|
"@polkadot/ui-settings": "^0.27.0",
|
||||||
"@types/color": "^3.0.0",
|
"@types/color": "^3.0.0",
|
||||||
"@types/react-copy-to-clipboard": "^4.2.6",
|
"@types/react-copy-to-clipboard": "^4.2.6",
|
||||||
"color": "^3.0.0",
|
"color": "^3.0.0",
|
||||||
@@ -22,8 +22,8 @@
|
|||||||
"react": "*"
|
"react": "*"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^0.34.20",
|
"@polkadot/keyring": "^0.34.21",
|
||||||
"@polkadot/util-crypto": "^0.34.20",
|
"@polkadot/util-crypto": "^0.34.21",
|
||||||
"xmlserializer": "^0.6.1"
|
"xmlserializer": "^0.6.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/ui-keyring",
|
"name": "@polkadot/ui-keyring",
|
||||||
"version": "0.26.9",
|
"version": "0.27.0",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"repository": "https://github.com/polkadot-js/apps.git",
|
"repository": "https://github.com/polkadot-js/apps.git",
|
||||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||||
@@ -16,9 +16,9 @@
|
|||||||
"store": "^2.0.12"
|
"store": "^2.0.12"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^0.34.20",
|
"@polkadot/keyring": "^0.34.21",
|
||||||
"@polkadot/types": "^0.43.15",
|
"@polkadot/types": "^0.45.8",
|
||||||
"@polkadot/util": "^0.34.20"
|
"@polkadot/util": "^0.34.21"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@polkadot/keyring": "*",
|
"@polkadot/keyring": "*",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/ui-settings",
|
"name": "@polkadot/ui-settings",
|
||||||
"version": "0.26.9",
|
"version": "0.27.0",
|
||||||
"description": "Manages app settings",
|
"description": "Manages app settings",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||||
|
|||||||
@@ -2,38 +2,11 @@
|
|||||||
// This software may be modified and distributed under the terms
|
// This software may be modified and distributed under the terms
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||||
|
|
||||||
import { ChainsInfo, Options } from './types';
|
import { Options } from './types';
|
||||||
|
|
||||||
const CHAINS: ChainsInfo = [
|
|
||||||
{
|
|
||||||
name: 'Development',
|
|
||||||
networkId: 42,
|
|
||||||
tokenDecimals: 0,
|
|
||||||
tokenSymbol: 'Unit'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Local Testnet',
|
|
||||||
networkId: 42,
|
|
||||||
tokenDecimals: 0,
|
|
||||||
tokenSymbol: 'Unit'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Charred Cherry',
|
|
||||||
networkId: 42,
|
|
||||||
tokenDecimals: 15,
|
|
||||||
tokenSymbol: 'CHR'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Alexander',
|
|
||||||
networkId: 42,
|
|
||||||
tokenDecimals: 15,
|
|
||||||
tokenSymbol: 'DOT'
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
const ENDPOINTS: Options = [
|
const ENDPOINTS: Options = [
|
||||||
{ text: 'Alexander (Polkadot, hosted by Parity)', value: 'wss://poc3-rpc.polkadot.io/' },
|
{ text: 'Alexander (Polkadot, hosted by Parity)', value: 'wss://poc3-rpc.polkadot.io/' },
|
||||||
{ text: 'Charred Cherry (Substrate, hosted by Parity)', value: 'wss://substrate-rpc.parity.io/' },
|
{ text: 'Dried Danta (Substrate, hosted by Parity)', value: 'wss://substrate-rpc.parity.io/' },
|
||||||
{ text: 'Local Node (127.0.0.1:9944)', value: 'ws://127.0.0.1:9944/' }
|
{ text: 'Local Node (127.0.0.1:9944)', value: 'ws://127.0.0.1:9944/' }
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -52,7 +25,6 @@ const UITHEMES: Options = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
export {
|
export {
|
||||||
CHAINS,
|
|
||||||
ENDPOINTS,
|
ENDPOINTS,
|
||||||
LANGUAGES,
|
LANGUAGES,
|
||||||
UIMODES,
|
UIMODES,
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
import store from 'store';
|
import store from 'store';
|
||||||
|
|
||||||
import { CHAINS, ENDPOINTS, LANGUAGES, UIMODES, UITHEMES } from './defaults';
|
import { ENDPOINTS, LANGUAGES, UIMODES, UITHEMES } from './defaults';
|
||||||
import { ChainsInfo, Options, SettingsStruct } from './types';
|
import { Options, SettingsStruct } from './types';
|
||||||
|
|
||||||
class Settings implements SettingsStruct {
|
class Settings implements SettingsStruct {
|
||||||
private _apiUrl: string;
|
private _apiUrl: string;
|
||||||
@@ -38,10 +38,6 @@ class Settings implements SettingsStruct {
|
|||||||
return this._uiTheme;
|
return this._uiTheme;
|
||||||
}
|
}
|
||||||
|
|
||||||
get availableChains (): ChainsInfo {
|
|
||||||
return CHAINS;
|
|
||||||
}
|
|
||||||
|
|
||||||
get availableNodes (): Options {
|
get availableNodes (): Options {
|
||||||
return ENDPOINTS;
|
return ENDPOINTS;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,13 +2,6 @@
|
|||||||
// This software may be modified and distributed under the terms
|
// This software may be modified and distributed under the terms
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||||
|
|
||||||
export type ChainsInfo = Array<{
|
|
||||||
name: string,
|
|
||||||
networkId: number,
|
|
||||||
tokenDecimals: number,
|
|
||||||
tokenSymbol: string
|
|
||||||
}>;
|
|
||||||
|
|
||||||
export type Options = Array<{
|
export type Options = Array<{
|
||||||
disabled?: boolean,
|
disabled?: boolean,
|
||||||
text: string,
|
text: string,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/ui-util",
|
"name": "@polkadot/ui-util",
|
||||||
"version": "0.26.9",
|
"version": "0.27.0",
|
||||||
"description": "Utility functions (non-React) that aid in display, formats and determination",
|
"description": "Utility functions (non-React) that aid in display, formats and determination",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
"@babel/runtime": "^7.3.1"
|
"@babel/runtime": "^7.3.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types": "^0.43.15"
|
"@polkadot/types": "^0.45.8"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@polkadot/types": "*"
|
"@polkadot/types": "*"
|
||||||
|
|||||||
@@ -1528,14 +1528,14 @@
|
|||||||
typedoc-plugin-no-inherit "^1.1.6"
|
typedoc-plugin-no-inherit "^1.1.6"
|
||||||
typescript "^3.3.3"
|
typescript "^3.3.3"
|
||||||
|
|
||||||
"@polkadot/keyring@^0.34.20":
|
"@polkadot/keyring@^0.34.21":
|
||||||
version "0.34.20"
|
version "0.34.21"
|
||||||
resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-0.34.20.tgz#b6a9a36620b6ce668f568053870e7942175e551b"
|
resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-0.34.21.tgz#1fa44bc90029443db960fc0edbf7a5fb251e2de0"
|
||||||
integrity sha512-ZFhgPr2F+WqLuP3jfiReqSHaxYrxfS+tBtdsy4CdmShtRXZ115aoVhTaSXiCnNysdgZQryW6HJBlxGDgU7mSvg==
|
integrity sha512-9yIxAn51DY1/ZE6dH920MnQIzRlR+s3QKKk3rICChnzJBJFki0yfmvTZ/3Wi/p+bK7WjFMrzm03ZtAQBzOgUsQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime" "^7.3.1"
|
"@babel/runtime" "^7.3.1"
|
||||||
"@polkadot/util" "^0.34.20"
|
"@polkadot/util" "^0.34.21"
|
||||||
"@polkadot/util-crypto" "^0.34.20"
|
"@polkadot/util-crypto" "^0.34.21"
|
||||||
"@types/bs58" "^4.0.0"
|
"@types/bs58" "^4.0.0"
|
||||||
bs58 "^4.0.1"
|
bs58 "^4.0.1"
|
||||||
|
|
||||||
@@ -1549,24 +1549,24 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.52.tgz#6fb09e494d244dad4b3a9ca581bfe13beec66565"
|
resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.52.tgz#6fb09e494d244dad4b3a9ca581bfe13beec66565"
|
||||||
integrity sha512-sij1O0x4CY51A394RYD4/aQwDPwIxIeTOpYI4AZgdF/vq5nvF14b4XFq9vAcSnblaIosf0sYKoz1f3dkN3QqLw==
|
integrity sha512-sij1O0x4CY51A394RYD4/aQwDPwIxIeTOpYI4AZgdF/vq5nvF14b4XFq9vAcSnblaIosf0sYKoz1f3dkN3QqLw==
|
||||||
|
|
||||||
"@polkadot/types@^0.43.15":
|
"@polkadot/types@^0.45.8":
|
||||||
version "0.43.15"
|
version "0.45.8"
|
||||||
resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.43.15.tgz#5d69e741167b185eb34ca3fc3153fb1b539dc64d"
|
resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.45.8.tgz#a1abe64ccfce503b6da8b1136ce484692df260be"
|
||||||
integrity sha512-/TtRdTSxXnmJDkfJcBWs78c5CLd4FZ8C0H0CFaolX0HylDu9NJP49BRD3Ol7dLGWheWym2jY/PpCo7WS/rRCgQ==
|
integrity sha512-xmpK+rsz8Y5kUI1p8nPc8tB1RLj1dU2+vyvu+448nHMtd02Lukjjukl6aqqaMKdL5th2eYSJfexGSzlyTTNBNg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime" "^7.3.1"
|
"@babel/runtime" "^7.3.1"
|
||||||
"@polkadot/keyring" "^0.34.20"
|
"@polkadot/keyring" "^0.34.21"
|
||||||
"@polkadot/util" "^0.34.20"
|
"@polkadot/util" "^0.34.21"
|
||||||
core-js "^2.6.5"
|
core-js "^2.6.5"
|
||||||
|
|
||||||
"@polkadot/util-crypto@^0.34.20":
|
"@polkadot/util-crypto@^0.34.21":
|
||||||
version "0.34.20"
|
version "0.34.21"
|
||||||
resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.34.20.tgz#4b4776833b5a6a2ce4c1307be29694c3d47e24ea"
|
resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.34.21.tgz#b84cd47a03522f4dfaacca3e465771fcab4b283f"
|
||||||
integrity sha512-FXQqI67vhmu6+ZJBQm5aMttW3AopZyT+xgOGYpCZzuYOj1ODHEvrCrLxjRsgiYQw1tr92OTjbKeN0MRGaG6QGA==
|
integrity sha512-nDNQEbbCr9u6SfF1/Ts+EKUO4Nl70NqeLTirQagmiU58ju7rPX18vw3nCbA8/35LCCj8gliwkkFXrLtINQmRPg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime" "^7.3.1"
|
"@babel/runtime" "^7.3.1"
|
||||||
"@polkadot/schnorrkel-js" "^0.1.2-1"
|
"@polkadot/schnorrkel-js" "^0.1.2-1"
|
||||||
"@polkadot/util" "^0.34.20"
|
"@polkadot/util" "^0.34.21"
|
||||||
"@types/bip39" "^2.4.2"
|
"@types/bip39" "^2.4.2"
|
||||||
"@types/webassembly-js-api" "^0.0.2"
|
"@types/webassembly-js-api" "^0.0.2"
|
||||||
"@types/xxhashjs" "^0.2.0"
|
"@types/xxhashjs" "^0.2.0"
|
||||||
@@ -1576,10 +1576,10 @@
|
|||||||
tweetnacl "^1.0.1"
|
tweetnacl "^1.0.1"
|
||||||
xxhashjs "^0.2.2"
|
xxhashjs "^0.2.2"
|
||||||
|
|
||||||
"@polkadot/util@^0.34.20":
|
"@polkadot/util@^0.34.21":
|
||||||
version "0.34.20"
|
version "0.34.21"
|
||||||
resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.34.20.tgz#3ebc10c8989c488220bece1b01028f740c5df5a7"
|
resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.34.21.tgz#5cf793435b4db933deeda7aa6b4a7668e0652c34"
|
||||||
integrity sha512-MbMQw3qG9rfUpcCmcCEB1ZWqeXUocSnDng1CDF6n7jdqpt+KsTG4LghWXjdnvEIdKZMamfNaE4r8TZ+2iEQfJA==
|
integrity sha512-tzSiEIdwht6cXZAw0cYtKJCeItV5THX0q6RfWItmEy/kYuPGrxBeEYY4HQHJqifok4rBay6E912zcelxXvmJ1w==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime" "^7.3.1"
|
"@babel/runtime" "^7.3.1"
|
||||||
"@types/bn.js" "^4.11.4"
|
"@types/bn.js" "^4.11.4"
|
||||||
|
|||||||
Reference in New Issue
Block a user