* 0.54

* 0.54
This commit is contained in:
Jaco Greeff
2020-06-16 09:01:20 +02:00
committed by GitHub
parent be246413fa
commit e142284713
16 changed files with 415 additions and 408 deletions
+9
View File
@@ -1,5 +1,14 @@
# CHANGELOG # CHANGELOG
## 0.54.1 Jun 16, 2020
- Add genesisHash to signer payload (Thanks to https://github.com/hanwencheng)
- Allow QR scanning to parse mini keys (Thanks to https://github.com/hanwencheng)
- Adjust ordering of available crypto types (native first)
- Rename Substrate prefix entry (42) to "generic"
- Bump to `@polkadot/api` 1.19.1
- Bump to `@polkadot/util` 2.14.1
## 0.53.1 May 14, 2020 ## 0.53.1 May 14, 2020
- Add Ecdsa to the supported crypto types options (Thanks to https://github.com/akru) - Add Ecdsa to the supported crypto types options (Thanks to https://github.com/akru)
+1 -1
View File
@@ -10,5 +10,5 @@
"packages": [ "packages": [
"packages/*" "packages/*"
], ],
"version": "0.54.0-beta.7" "version": "0.54.0"
} }
+4 -4
View File
@@ -31,9 +31,9 @@
"devDependencies": { "devDependencies": {
"@babel/core": "^7.10.2", "@babel/core": "^7.10.2",
"@babel/runtime": "^7.10.2", "@babel/runtime": "^7.10.2",
"@polkadot/dev": "^0.55.8", "@polkadot/dev": "^0.55.10",
"@polkadot/ts": "^0.3.25", "@polkadot/ts": "^0.3.26",
"@types/jest": "^25.2.3", "@types/jest": "^26.0.0",
"babel-plugin-transform-vue-template": "^0.4.2", "babel-plugin-transform-vue-template": "^0.4.2",
"empty": "^0.10.1", "empty": "^0.10.1",
"react": "^16.13.1", "react": "^16.13.1",
@@ -43,5 +43,5 @@
"vue-template-compiler": "^2.6.11", "vue-template-compiler": "^2.6.11",
"webpack-serve": "^3.2.0" "webpack-serve": "^3.2.0"
}, },
"version": "0.54.0-beta.7" "version": "0.54.0"
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/example-react", "name": "@polkadot/example-react",
"version": "0.54.0-beta.7", "version": "0.54.0",
"description": "A very basic example with ui-* & react-* packages", "description": "A very basic example with ui-* & react-* packages",
"main": "index.js", "main": "index.js",
"author": "Jaco Greeff <jacogr@gmail.com>", "author": "Jaco Greeff <jacogr@gmail.com>",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/example-vue", "name": "@polkadot/example-vue",
"version": "0.54.0-beta.7", "version": "0.54.0",
"description": "A very basic example with ui-* & vue-* packages", "description": "A very basic example with ui-* & vue-* packages",
"main": "index.js", "main": "index.js",
"author": "Jaco Greeff <jacogr@gmail.com>", "author": "Jaco Greeff <jacogr@gmail.com>",
+8 -8
View File
@@ -1,6 +1,6 @@
{ {
"name": "exampleReactNative", "name": "exampleReactNative",
"version": "0.54.0-beta.7", "version": "0.54.0",
"private": true, "private": true,
"workspaces": { "workspaces": {
"nohoist": [ "nohoist": [
@@ -23,11 +23,11 @@
"test": "jest" "test": "jest"
}, },
"dependencies": { "dependencies": {
"@polkadot/reactnative-identicon": "0.54.0-beta.7", "@polkadot/reactnative-identicon": "0.54.0",
"@polkadot/ui-keyring": "0.54.0-beta.7", "@polkadot/ui-keyring": "0.54.0",
"@polkadot/ui-settings": "0.54.0-beta.7", "@polkadot/ui-settings": "0.54.0",
"@react-native-community/async-storage": "^1.11.0", "@react-native-community/async-storage": "^1.11.0",
"fast-text-encoding": "^1.0.2", "fast-text-encoding": "^1.0.3",
"get-yarn-workspaces": "^1.0.2", "get-yarn-workspaces": "^1.0.2",
"os-browserify": "^0.3.0", "os-browserify": "^0.3.0",
"process": "^0.11.10", "process": "^0.11.10",
@@ -40,9 +40,9 @@
"devDependencies": { "devDependencies": {
"@babel/core": "^7.10.2", "@babel/core": "^7.10.2",
"@babel/runtime": "^7.10.2", "@babel/runtime": "^7.10.2",
"@polkadot/keyring": "^2.12.2", "@polkadot/keyring": "^2.14.1",
"@polkadot/util": "^2.12.2", "@polkadot/util": "^2.14.1",
"@polkadot/util-crypto": "^2.12.2", "@polkadot/util-crypto": "^2.14.1",
"@react-native-community/cli-platform-ios": "^4.10.0", "@react-native-community/cli-platform-ios": "^4.10.0",
"@types/react-test-renderer": "16.9.2", "@types/react-test-renderer": "16.9.2",
"babel-jest": "^26.0.1", "babel-jest": "^26.0.1",
+6 -6
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/react-identicon", "name": "@polkadot/react-identicon",
"version": "0.54.0-beta.7", "version": "0.54.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,8 +10,8 @@
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.10.2", "@babel/runtime": "^7.10.2",
"@polkadot/ui-settings": "0.54.0-beta.7", "@polkadot/ui-settings": "0.54.0",
"@polkadot/ui-shared": "0.54.0-beta.7", "@polkadot/ui-shared": "0.54.0",
"color": "^3.1.2", "color": "^3.1.2",
"jdenticon": "2.2.0", "jdenticon": "2.2.0",
"react-copy-to-clipboard": "^5.0.2", "react-copy-to-clipboard": "^5.0.2",
@@ -26,9 +26,9 @@
"react-is": "*" "react-is": "*"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^2.12.2", "@polkadot/keyring": "^2.14.1",
"@polkadot/util": "^2.12.2", "@polkadot/util": "^2.14.1",
"@polkadot/util-crypto": "^2.12.2", "@polkadot/util-crypto": "^2.14.1",
"@types/react-copy-to-clipboard": "^4.3.0", "@types/react-copy-to-clipboard": "^4.3.0",
"@types/react-dom": "^16.9.8", "@types/react-dom": "^16.9.8",
"@types/styled-components": "^5.1.0", "@types/styled-components": "^5.1.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/react-qr", "name": "@polkadot/react-qr",
"version": "0.54.0-beta.7", "version": "0.54.0",
"description": "Generates and reads QR codes", "description": "Generates and reads QR codes",
"main": "index.js", "main": "index.js",
"author": "Jaco Greeff <jacogr@gmail.com>", "author": "Jaco Greeff <jacogr@gmail.com>",
+3 -3
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/reactnative-identicon", "name": "@polkadot/reactnative-identicon",
"version": "0.54.0-beta.7", "version": "0.54.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.10.2", "@babel/runtime": "^7.10.2",
"@polkadot/ui-shared": "0.54.0-beta.7", "@polkadot/ui-shared": "0.54.0",
"react-native-svg": "^12.1.0" "react-native-svg": "^12.1.0"
}, },
"peerDependencies": { "peerDependencies": {
@@ -19,7 +19,7 @@
"react-native": "*" "react-native": "*"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/util-crypto": "^2.12.2", "@polkadot/util-crypto": "^2.14.1",
"@types/react-native": "^0.62.13" "@types/react-native": "^0.62.13"
} }
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/ui-assets", "name": "@polkadot/ui-assets",
"version": "0.54.0-beta.7", "version": "0.54.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>",
+5 -5
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/ui-keyring", "name": "@polkadot/ui-keyring",
"version": "0.54.0-beta.7", "version": "0.54.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>",
@@ -25,12 +25,12 @@
"store": "^2.0.12" "store": "^2.0.12"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^2.12.2", "@polkadot/keyring": "^2.14.1",
"@polkadot/types": "^1.18.0-beta.2", "@polkadot/types": "^1.19.1",
"@polkadot/util": "^2.12.2", "@polkadot/util": "^2.14.1",
"@types/ledgerhq__hw-transport-node-hid": "^4.22.1", "@types/ledgerhq__hw-transport-node-hid": "^4.22.1",
"@types/ledgerhq__hw-transport-webusb": "^4.70.0", "@types/ledgerhq__hw-transport-webusb": "^4.70.0",
"@types/mkdirp": "^1.0.0", "@types/mkdirp": "^1.0.1",
"@types/store": "^2.0.2" "@types/store": "^2.0.2"
}, },
"optionalDependencies": { "optionalDependencies": {
+1 -4
View File
@@ -276,10 +276,7 @@ export class Keyring extends Base implements KeyringStruct {
const type = Array.isArray(json.encoding.content) ? json.encoding.content[1] : 'ed25519'; const type = Array.isArray(json.encoding.content) ? json.encoding.content[1] : 'ed25519';
const pair = createPair( const pair = createPair(
{ toSS58: this.encodeAddress, type }, { toSS58: this.encodeAddress, type },
{ { publicKey: this.decodeAddress(json.address, true) },
// FIXME Just for the transition period (ignoreChecksum)
publicKey: this.decodeAddress(json.address, true)
},
json.meta, json.meta,
hexToU8a(json.encoded) hexToU8a(json.encoded)
); );
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/ui-settings", "name": "@polkadot/ui-settings",
"version": "0.54.0-beta.7", "version": "0.54.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>",
@@ -14,7 +14,7 @@
"store": "^2.0.12" "store": "^2.0.12"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/util": "^2.12.2", "@polkadot/util": "^2.14.1",
"@types/store": "^2.0.2" "@types/store": "^2.0.2"
}, },
"peerDependencies": { "peerDependencies": {
+3 -3
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/ui-shared", "name": "@polkadot/ui-shared",
"version": "0.54.0-beta.7", "version": "0.54.0",
"description": "Shared logic that is usable accross all frameworks-specific areas", "description": "Shared logic that is usable accross all frameworks-specific areas",
"main": "index.js", "main": "index.js",
"author": "Jaco Greeff <jacogr@gmail.com>", "author": "Jaco Greeff <jacogr@gmail.com>",
@@ -17,8 +17,8 @@
"@polkadot/util-crypto": "*" "@polkadot/util-crypto": "*"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/util": "^2.12.2", "@polkadot/util": "^2.14.1",
"@polkadot/util-crypto": "^2.12.2", "@polkadot/util-crypto": "^2.14.1",
"@types/color": "^3.0.1", "@types/color": "^3.0.1",
"@types/xmlserializer": "^0.6.0" "@types/xmlserializer": "^0.6.0"
} }
+3 -3
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/vue-identicon", "name": "@polkadot/vue-identicon",
"version": "0.54.0-beta.7", "version": "0.54.0",
"description": "Renders an SVG picture representing an address", "description": "Renders an SVG picture representing an address",
"author": "Jaco Greeff <jacogr@gmail.com>", "author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [ "maintainers": [
@@ -10,7 +10,7 @@
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.10.2", "@babel/runtime": "^7.10.2",
"@polkadot/ui-shared": "0.54.0-beta.7", "@polkadot/ui-shared": "0.54.0",
"jdenticon": "2.2.0" "jdenticon": "2.2.0"
}, },
"peerDependencies": { "peerDependencies": {
@@ -18,7 +18,7 @@
"vue": "*" "vue": "*"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/util-crypto": "^2.12.2", "@polkadot/util-crypto": "^2.14.1",
"vue": "^2.6.11" "vue": "^2.6.11"
} }
} }
+366 -365
View File
File diff suppressed because it is too large Load Diff