Compare commits

...
16 Commits
Author SHA1 Message Date
Github Actions a616ee7146 [CI Skip] release/stable 0.76.1
skip-checks: true
2021-05-16 18:22:51 +00:00
Jaco e3719881e7 0.76 (#468) 2021-05-16 20:19:53 +02:00
Github Actions 1cbad7a0df [CI Skip] release/beta 0.75.2-4
skip-checks: true
2021-05-12 13:10:57 +00:00
Jaco a3beb29c82 Bump common (#467) 2021-05-12 15:07:51 +02:00
Github Actions d4882d8add [CI Skip] release/beta 0.75.2-3
skip-checks: true
2021-05-11 13:41:17 +00:00
Jaco 56969e32cb Bump deps (#466) 2021-05-11 15:37:59 +02:00
Github Actions 1015b30a22 [CI Skip] release/beta 0.75.2-2
skip-checks: true
2021-05-11 13:16:42 +00:00
Antoine EstienneandJaco 99ee4afaf8 Add types to injected accounts in keyring load functions (#464)
* add types to injected accounts

* Update packages/ui-keyring/src/Keyring.ts

Co-authored-by: Jaco <jacogr@gmail.com>

* Update packages/ui-keyring/src/Keyring.ts

Co-authored-by: Jaco <jacogr@gmail.com>

Co-authored-by: Jaco <jacogr@gmail.com>
2021-05-11 15:13:13 +02:00
Github Actions db2647aada [CI Skip] release/beta 0.75.2-1
skip-checks: true
2021-05-07 12:30:42 +00:00
Jaco 3543bd1d24 Bump common (#465) 2021-05-07 14:27:38 +02:00
Github Actions da7e070261 [CI Skip] release/beta 0.75.2-0
skip-checks: true
2021-04-30 05:56:13 +00:00
Jaco b107e72459 Bump deps (#463) 2021-04-30 07:53:34 +02:00
Github Actions 95bfbfcab9 [CI Skip] release/stable 0.75.1
skip-checks: true
2021-04-25 05:32:06 +00:00
Jaco 887fb80d83 0.75 (#462) 2021-04-25 07:28:52 +02:00
Github Actions efa068c189 [CI Skip] release/beta 0.74.2-0
skip-checks: true
2021-04-22 06:44:41 +00:00
Jaco f368fa077e Bump deps (#461) 2021-04-22 08:41:38 +02:00
25 changed files with 627 additions and 531 deletions
+18
View File
@@ -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
View File
@@ -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"
}
+2 -2
View File
@@ -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"
}
}
+1 -1
View File
@@ -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' };
+2 -2
View File
@@ -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"
}
}
+1 -1
View File
@@ -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' };
+12 -12
View File
@@ -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": {
+10 -10
View File
@@ -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"
}
}
+1 -1
View File
@@ -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' };
+5 -5
View File
@@ -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",
+1 -1
View File
@@ -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' };
+6 -6
View File
@@ -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' };
+2 -2
View File
@@ -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"
}
}
+1 -1
View File
@@ -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' };
+7 -7
View File
@@ -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"
},
+4 -4
View File
@@ -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
}
+1 -1
View File
@@ -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' };
+4 -4
View File
@@ -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"
},
+1 -1
View File
@@ -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' };
+4 -4
View File
@@ -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"
}
+1 -1
View File
@@ -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' };
+5 -5
View File
@@ -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": {
+1 -1
View File
@@ -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' };
+529 -451
View File
File diff suppressed because it is too large Load Diff