Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a616ee7146 | ||
|
|
e3719881e7 | ||
|
|
1cbad7a0df | ||
|
|
a3beb29c82 | ||
|
|
d4882d8add | ||
|
|
56969e32cb | ||
|
|
1015b30a22 | ||
|
|
99ee4afaf8 | ||
|
|
db2647aada | ||
|
|
3543bd1d24 | ||
|
|
da7e070261 | ||
|
|
b107e72459 | ||
|
|
95bfbfcab9 | ||
|
|
887fb80d83 | ||
|
|
efa068c189 | ||
|
|
f368fa077e |
@@ -1,5 +1,23 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 0.76.1 May 16, 2021
|
||||
|
||||
Contributed:
|
||||
|
||||
- Pass through injected account types (Thanks to https://github.com/joelamouche)
|
||||
|
||||
Changes:
|
||||
|
||||
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 6.4.1
|
||||
|
||||
|
||||
## 0.75.1 Apr 25, 2021
|
||||
|
||||
Changes:
|
||||
|
||||
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 6.3.1
|
||||
|
||||
|
||||
## 0.74.1 Apr 18, 2021
|
||||
|
||||
Changes:
|
||||
|
||||
+7
-7
@@ -27,21 +27,21 @@
|
||||
"test:one": "polkadot-dev-run-test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.13.15",
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@polkadot/dev": "^0.62.8",
|
||||
"@polkadot/ts": "^0.3.62",
|
||||
"@types/jest": "^26.0.22",
|
||||
"@babel/core": "^7.14.2",
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@polkadot/dev": "^0.62.14",
|
||||
"@polkadot/ts": "^0.3.66",
|
||||
"@types/jest": "^26.0.23",
|
||||
"babel-plugin-transform-vue-template": "^0.4.2",
|
||||
"empty": "^0.10.1",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-is": "^17.0.2",
|
||||
"react-native": "^0.64.0",
|
||||
"react-native": "^0.64.1",
|
||||
"vue-template-compiler": "^2.6.12",
|
||||
"webpack": "^4.46.0",
|
||||
"webpack-cli": "^3.3.12",
|
||||
"webpack-serve": "^3.2.0"
|
||||
},
|
||||
"version": "0.74.1"
|
||||
"version": "0.76.1"
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@polkadot/example-react",
|
||||
"version": "0.74.1",
|
||||
"version": "0.76.1",
|
||||
"description": "A very basic example with ui-* & react-* packages",
|
||||
"main": "index.js",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10"
|
||||
"@babel/runtime": "^7.14.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/example-react', version: '0.74.1' };
|
||||
export const packageInfo = { name: '@polkadot/example-react', version: '0.76.1' };
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@polkadot/example-vue",
|
||||
"version": "0.74.1",
|
||||
"version": "0.76.1",
|
||||
"description": "A very basic example with ui-* & vue-* packages",
|
||||
"main": "index.js",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10"
|
||||
"@babel/runtime": "^7.14.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/example-vue', version: '0.74.1' };
|
||||
export const packageInfo = { name: '@polkadot/example-vue', version: '0.76.1' };
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "exampleReactNative",
|
||||
"version": "0.74.1",
|
||||
"version": "0.76.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"copy-workspace-packages": "yarn copy-identicon && yarn copy-ui-shared",
|
||||
@@ -12,30 +12,30 @@
|
||||
"test": "jest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^6.2.1",
|
||||
"@polkadot/reactnative-identicon": "0.74.1",
|
||||
"@polkadot/ui-keyring": "0.74.1",
|
||||
"@polkadot/ui-settings": "0.74.1",
|
||||
"@polkadot/util": "^6.2.1",
|
||||
"@polkadot/util-crypto": "^6.2.1",
|
||||
"@polkadot/keyring": "^6.4.1",
|
||||
"@polkadot/reactnative-identicon": "0.76.1",
|
||||
"@polkadot/ui-keyring": "0.76.1",
|
||||
"@polkadot/ui-settings": "0.76.1",
|
||||
"@polkadot/util": "^6.4.1",
|
||||
"@polkadot/util-crypto": "^6.4.1",
|
||||
"@react-native-community/async-storage": "^1.12.1",
|
||||
"fast-text-encoding": "^1.0.3",
|
||||
"get-yarn-workspaces": "^1.0.2",
|
||||
"os-browserify": "^0.3.0",
|
||||
"process": "^0.11.10",
|
||||
"react": "^17.0.2",
|
||||
"react-native": "^0.64.0",
|
||||
"react-native": "^0.64.1",
|
||||
"react-native-crypto": "^2.2.0",
|
||||
"react-native-randombytes": "^3.6.0",
|
||||
"react-native-randombytes": "^3.6.1",
|
||||
"stream-http": "^3.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.13.15",
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@babel/core": "^7.14.2",
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@react-native-community/cli-platform-ios": "^5.0.1-alpha.2",
|
||||
"@types/react-test-renderer": "17.0.1",
|
||||
"babel-jest": "^26.6.3",
|
||||
"metro-react-native-babel-preset": "^0.65.2",
|
||||
"metro-react-native-babel-preset": "^0.66.0",
|
||||
"react-test-renderer": "17.0.2"
|
||||
},
|
||||
"jest": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/react-identicon",
|
||||
"version": "0.74.1",
|
||||
"version": "0.76.1",
|
||||
"type": "module",
|
||||
"description": "Renders an SVG picture representing an address",
|
||||
"main": "index.js",
|
||||
@@ -12,17 +12,17 @@
|
||||
"maintainers": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@polkadot/keyring": "^6.2.1",
|
||||
"@polkadot/ui-settings": "0.74.1",
|
||||
"@polkadot/ui-shared": "0.74.1",
|
||||
"@polkadot/util": "^6.2.1",
|
||||
"@polkadot/util-crypto": "^6.2.1",
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@polkadot/keyring": "^6.4.1",
|
||||
"@polkadot/ui-settings": "0.76.1",
|
||||
"@polkadot/ui-shared": "0.76.1",
|
||||
"@polkadot/util": "^6.4.1",
|
||||
"@polkadot/util-crypto": "^6.4.1",
|
||||
"color": "^3.1.3",
|
||||
"ethereum-blockies-base64": "^1.0.2",
|
||||
"jdenticon": "3.1.0",
|
||||
"react-copy-to-clipboard": "^5.0.3",
|
||||
"styled-components": "^5.2.3"
|
||||
"styled-components": "^5.3.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/keyring": "*",
|
||||
@@ -35,9 +35,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react-copy-to-clipboard": "^5.0.0",
|
||||
"@types/react-dom": "^17.0.3",
|
||||
"@types/react-dom": "^17.0.5",
|
||||
"@types/styled-components": "^5.1.9",
|
||||
"styled-components": "^5.2.3",
|
||||
"styled-components": "^5.3.0",
|
||||
"xmlserializer": "^0.6.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/react-identicon', version: '0.74.1' };
|
||||
export const packageInfo = { name: '@polkadot/react-identicon', version: '0.76.1' };
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/react-qr",
|
||||
"version": "0.74.1",
|
||||
"version": "0.76.1",
|
||||
"type": "module",
|
||||
"description": "Generates and reads QR codes",
|
||||
"main": "index.js",
|
||||
@@ -9,12 +9,12 @@
|
||||
"maintainers": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@polkadot/util": "^6.2.1",
|
||||
"@polkadot/util-crypto": "^6.2.1",
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@polkadot/util": "^6.4.1",
|
||||
"@polkadot/util-crypto": "^6.4.1",
|
||||
"qrcode-generator": "^1.4.4",
|
||||
"react-qr-reader": "^2.2.1",
|
||||
"styled-components": "^5.2.3"
|
||||
"styled-components": "^5.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react-qr-reader": "^2.1.3",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/react-qr', version: '0.74.1' };
|
||||
export const packageInfo = { name: '@polkadot/react-qr', version: '0.76.1' };
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/reactnative-identicon",
|
||||
"version": "0.74.1",
|
||||
"version": "0.76.1",
|
||||
"type": "module",
|
||||
"description": "Renders an SVG picture representing an address",
|
||||
"main": "index.js",
|
||||
@@ -12,10 +12,10 @@
|
||||
"maintainers": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@polkadot/ui-shared": "0.74.1",
|
||||
"@polkadot/util": "^6.2.1",
|
||||
"@polkadot/util-crypto": "^6.2.1",
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@polkadot/ui-shared": "0.76.1",
|
||||
"@polkadot/util": "^6.4.1",
|
||||
"@polkadot/util-crypto": "^6.4.1",
|
||||
"react-native-svg": "^12.1.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
@@ -25,6 +25,6 @@
|
||||
"react-native": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react-native": "^0.64.3"
|
||||
"@types/react-native": "^0.64.5"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/reactnative-identicon', version: '0.74.1' };
|
||||
export const packageInfo = { name: '@polkadot/reactnative-identicon', version: '0.76.1' };
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@polkadot/ui-assets",
|
||||
"version": "0.74.1",
|
||||
"version": "0.76.1",
|
||||
"description": "Static assets shared accross projects",
|
||||
"main": "index.js",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10"
|
||||
"@babel/runtime": "^7.14.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/ui-assets', version: '0.74.1' };
|
||||
export const packageInfo = { name: '@polkadot/ui-assets', version: '0.76.1' };
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/ui-keyring",
|
||||
"version": "0.74.1",
|
||||
"version": "0.76.1",
|
||||
"type": "module",
|
||||
"main": "index.js",
|
||||
"sideEffects": [
|
||||
@@ -13,12 +13,12 @@
|
||||
"contributors": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@polkadot/hw-ledger": "^6.2.1",
|
||||
"@polkadot/keyring": "^6.2.1",
|
||||
"@polkadot/ui-settings": "0.74.1",
|
||||
"@polkadot/util": "^6.2.1",
|
||||
"@polkadot/x-rxjs": "^6.2.1",
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@polkadot/hw-ledger": "^6.4.1",
|
||||
"@polkadot/keyring": "^6.4.1",
|
||||
"@polkadot/ui-settings": "0.76.1",
|
||||
"@polkadot/util": "^6.4.1",
|
||||
"@polkadot/x-rxjs": "^6.4.1",
|
||||
"mkdirp": "^1.0.4",
|
||||
"store": "^2.0.12"
|
||||
},
|
||||
|
||||
@@ -247,7 +247,7 @@ export class Keyring extends Base implements KeyringStruct {
|
||||
this.rewriteKey(json, key, hexAddr, contractKey);
|
||||
}
|
||||
|
||||
private loadInjected (address: string, meta: KeyringJson$Meta): void {
|
||||
private loadInjected (address: string, meta: KeyringJson$Meta, type?: KeypairType): void {
|
||||
const json = {
|
||||
address,
|
||||
meta: {
|
||||
@@ -255,7 +255,7 @@ export class Keyring extends Base implements KeyringStruct {
|
||||
isInjected: true
|
||||
}
|
||||
};
|
||||
const pair = this.keyring.addFromAddress(address, json.meta);
|
||||
const pair = this.keyring.addFromAddress(address, json.meta, null, type);
|
||||
|
||||
this.accounts.add(this._store, pair.address, json, pair.type);
|
||||
}
|
||||
@@ -276,7 +276,7 @@ export class Keyring extends Base implements KeyringStruct {
|
||||
return true;
|
||||
}
|
||||
|
||||
public loadAll (options: KeyringOptions, injected: { address: string; meta: KeyringJson$Meta }[] = []): void {
|
||||
public loadAll (options: KeyringOptions, injected: { address: string; meta: KeyringJson$Meta, type?: KeypairType }[] = []): void {
|
||||
super.initKeyring(options);
|
||||
|
||||
this._store.all((key: string, json: KeyringJson): void => {
|
||||
@@ -300,7 +300,7 @@ export class Keyring extends Base implements KeyringStruct {
|
||||
injected.forEach((account): void => {
|
||||
if (this.allowGenesis(account)) {
|
||||
try {
|
||||
this.loadInjected(account.address, account.meta);
|
||||
this.loadInjected(account.address, account.meta, account.type);
|
||||
} catch (error) {
|
||||
// ignore
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/ui-keyring', version: '0.74.1' };
|
||||
export const packageInfo = { name: '@polkadot/ui-keyring', version: '0.76.1' };
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/ui-settings",
|
||||
"version": "0.74.1",
|
||||
"version": "0.76.1",
|
||||
"type": "module",
|
||||
"description": "Manages app settings",
|
||||
"main": "index.js",
|
||||
@@ -9,9 +9,9 @@
|
||||
"maintainers": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@polkadot/networks": "^6.2.1",
|
||||
"@polkadot/util": "^6.2.1",
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@polkadot/networks": "^6.4.1",
|
||||
"@polkadot/util": "^6.4.1",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"store": "^2.0.12"
|
||||
},
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/ui-settings', version: '0.74.1' };
|
||||
export const packageInfo = { name: '@polkadot/ui-settings', version: '0.76.1' };
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/ui-shared",
|
||||
"version": "0.74.1",
|
||||
"version": "0.76.1",
|
||||
"type": "module",
|
||||
"description": "Shared logic that is usable accross all frameworks-specific areas",
|
||||
"main": "index.js",
|
||||
@@ -9,7 +9,7 @@
|
||||
"maintainers": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"color": "^3.1.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
@@ -17,8 +17,8 @@
|
||||
"@polkadot/util-crypto": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util": "^6.2.1",
|
||||
"@polkadot/util-crypto": "^6.2.1",
|
||||
"@polkadot/util": "^6.4.1",
|
||||
"@polkadot/util-crypto": "^6.4.1",
|
||||
"@types/color": "^3.0.1",
|
||||
"@types/xmlserializer": "^0.6.2"
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/ui-shared', version: '0.74.1' };
|
||||
export const packageInfo = { name: '@polkadot/ui-shared', version: '0.76.1' };
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/vue-identicon",
|
||||
"version": "0.74.1",
|
||||
"version": "0.76.1",
|
||||
"type": "module",
|
||||
"description": "Renders an SVG picture representing an address",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
@@ -12,10 +12,10 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@polkadot/ui-shared": "0.74.1",
|
||||
"@polkadot/util": "^6.2.1",
|
||||
"@polkadot/util-crypto": "^6.2.1",
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@polkadot/ui-shared": "0.76.1",
|
||||
"@polkadot/util": "^6.4.1",
|
||||
"@polkadot/util-crypto": "^6.4.1",
|
||||
"jdenticon": "3.1.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/vue-identicon', version: '0.74.1' };
|
||||
export const packageInfo = { name: '@polkadot/vue-identicon', version: '0.76.1' };
|
||||
|
||||
Reference in New Issue
Block a user