Compare commits

..
4 Commits
Author SHA1 Message Date
github-actions[bot] 6a13c62eab [CI Skip] release/stable 2.9.2
skip-checks: true
2022-07-24 08:43:45 +00:00
Jaco 874a7f17ff 2.9.2 (#670) 2022-07-24 11:40:50 +03:00
github-actions[bot] b008094f30 [CI Skip] bump/beta 2.9.2-0-x
skip-checks: true
2022-07-23 13:16:10 +00:00
Viki Val 5396b8f73f 🐛 identicon has isAlternative both as data and prop (#668)
* 🐛 identicon has isAlternative both as data and prop

* 🏷️ Identicon has isAlternativeIcon as data
2022-07-23 16:13:11 +03:00
25 changed files with 68 additions and 60 deletions
+7
View File
@@ -1,5 +1,12 @@
# CHANGELOG
## 2.9.2 Jul 24, 2022
Contributed:
- Adjust vue-identicon with no props/data duplication (Thanks to https://github.com/vikiival)
## 2.9.1 Jul 21, 2022
Changes:
+2 -1
View File
@@ -1,4 +1,4 @@
632 Jaco 2.9.1 (#669)
633 Jaco 2.9.2 (#670)
7 YJ fix #224: decrease frame size to 1024, set multipart bool (#225)
4 Antoine Estienne Refactor logic to better use prefix (#491)
4 kwingram25 fix ff api url issue (#289)
@@ -27,6 +27,7 @@
1 Nantian fix bigint type (#510)
1 Nikhil Ranjan Updated to valid javascript (#271)
1 Shawn Tabrizi Add a new `notification` setting (#498)
1 Viki Val :bug: identicon has isAlternative both as data and prop (#668)
1 Wei Tang Add Kulupu to the network selection list (#254)
1 WoeOm add darwinia ss58 (#379)
1 yuhui1208 [Stores] make FileStroe read key safely (#338)
+4 -4
View File
@@ -11,10 +11,10 @@
},
"sideEffects": false,
"type": "module",
"version": "2.9.1",
"version": "2.9.2",
"versions": {
"git": "2.9.1",
"npm": "2.9.1"
"git": "2.9.2",
"npm": "2.9.2"
},
"workspaces": [
"packages/*"
@@ -46,7 +46,7 @@
"react-is": "^18.2.0",
"react-native": "^0.69.2",
"stream-browserify": "^3.0.0",
"vue-template-compiler": "^2.7.7",
"vue-template-compiler": "^2.7.8",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"webpack-serve": "^4.0.0"
+1 -1
View File
@@ -14,7 +14,7 @@
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": false,
"version": "2.9.1",
"version": "2.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.9"
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/example-react', path: 'auto', type: 'auto', version: '2.9.1' };
export const packageInfo = { name: '@polkadot/example-react', path: 'auto', type: 'auto', version: '2.9.2' };
+1 -1
View File
@@ -14,7 +14,7 @@
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": false,
"version": "2.9.1",
"version": "2.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.9"
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/example-vue', path: 'auto', type: 'auto', version: '2.9.1' };
export const packageInfo = { name: '@polkadot/example-vue', path: 'auto', type: 'auto', version: '2.9.2' };
+3 -3
View File
@@ -17,13 +17,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.9.1",
"version": "2.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.9",
"@polkadot/keyring": "^10.1.1",
"@polkadot/ui-settings": "2.9.1",
"@polkadot/ui-shared": "2.9.1",
"@polkadot/ui-settings": "2.9.2",
"@polkadot/ui-shared": "2.9.2",
"@polkadot/util": "^10.1.1",
"@polkadot/util-crypto": "^10.1.1",
"color": "^3.2.1",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/react-identicon', path: 'auto', type: 'auto', version: '2.9.1' };
export const packageInfo = { name: '@polkadot/react-identicon', path: 'auto', type: 'auto', version: '2.9.2' };
+2 -2
View File
@@ -17,11 +17,11 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.9.1",
"version": "2.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.9",
"@polkadot/ui-settings": "2.9.1",
"@polkadot/ui-settings": "2.9.2",
"@polkadot/util": "^10.1.1",
"@polkadot/util-crypto": "^10.1.1",
"qrcode-generator": "^1.4.4",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/react-qr', path: 'auto', type: 'auto', version: '2.9.1' };
export const packageInfo = { name: '@polkadot/react-qr', path: 'auto', type: 'auto', version: '2.9.2' };
+2 -2
View File
@@ -17,11 +17,11 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.9.1",
"version": "2.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.9",
"@polkadot/ui-shared": "2.9.1",
"@polkadot/ui-shared": "2.9.2",
"@polkadot/util": "^10.1.1",
"@polkadot/util-crypto": "^10.1.1",
"react-native-svg": "^12.4.0"
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/reactnative-identicon', path: 'auto', type: 'auto', version: '2.9.1' };
export const packageInfo = { name: '@polkadot/reactnative-identicon', path: 'auto', type: 'auto', version: '2.9.2' };
+1 -1
View File
@@ -13,7 +13,7 @@
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": false,
"version": "2.9.1",
"version": "2.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.9",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/ui-assets', path: 'auto', type: 'auto', version: '2.9.1' };
export const packageInfo = { name: '@polkadot/ui-assets', path: 'auto', type: 'auto', version: '2.9.2' };
+2 -2
View File
@@ -16,12 +16,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.9.1",
"version": "2.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.9",
"@polkadot/keyring": "^10.1.1",
"@polkadot/ui-settings": "2.9.1",
"@polkadot/ui-settings": "2.9.2",
"@polkadot/util": "^10.1.1",
"@polkadot/util-crypto": "^10.1.1",
"mkdirp": "^1.0.4",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/ui-keyring', path: 'auto', type: 'auto', version: '2.9.1' };
export const packageInfo = { name: '@polkadot/ui-keyring', path: 'auto', type: 'auto', version: '2.9.2' };
+1 -1
View File
@@ -17,7 +17,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.9.1",
"version": "2.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.9",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/ui-settings', path: 'auto', type: 'auto', version: '2.9.1' };
export const packageInfo = { name: '@polkadot/ui-settings', path: 'auto', type: 'auto', version: '2.9.2' };
+1 -1
View File
@@ -17,7 +17,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.9.1",
"version": "2.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.9",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/ui-shared', path: 'auto', type: 'auto', version: '2.9.1' };
export const packageInfo = { name: '@polkadot/ui-shared', path: 'auto', type: 'auto', version: '2.9.2' };
+3 -3
View File
@@ -17,17 +17,17 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.9.1",
"version": "2.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.9",
"@polkadot/ui-shared": "2.9.1",
"@polkadot/ui-shared": "2.9.2",
"@polkadot/util": "^10.1.1",
"@polkadot/util-crypto": "^10.1.1",
"jdenticon": "3.1.1"
},
"devDependencies": {
"vue": "^2.7.7"
"vue": "^2.7.8"
},
"peerDependencies": {
"@polkadot/util": "*",
+5 -5
View File
@@ -18,7 +18,7 @@ interface Account {
interface Data {
address: string;
iconSize: number;
isAlternative: boolean;
isAlternativeIcon: boolean;
publicKey: string;
type: 'beachball' | 'empty' | 'jdenticon' | 'polkadot' | 'substrate';
}
@@ -60,7 +60,7 @@ export const Identicon = Vue.extend({
return {
address: '',
iconSize: DEFAULT_SIZE,
isAlternative: false,
isAlternativeIcon: false,
publicKey: '0x',
type: 'empty'
};
@@ -69,7 +69,7 @@ export const Identicon = Vue.extend({
createData: function (): void {
this.iconSize = this.size as number || DEFAULT_SIZE;
this.type = this.theme as 'empty';
this.isAlternativeIcon = this.isAlternative as boolean || false;
this.recodeAddress();
},
recodeAddress: function (): void {
@@ -81,7 +81,7 @@ export const Identicon = Vue.extend({
},
props: ['prefix', 'isAlternative', 'size', 'theme', 'value'],
render (h): VNode {
const { address, iconSize, isAlternative, publicKey, type } = this.$data as Data;
const { address, iconSize, isAlternativeIcon, publicKey, type } = this.$data as Data;
if (type === 'empty') {
return h('Empty', { attrs: { key: address, size: iconSize } }, []);
@@ -92,7 +92,7 @@ export const Identicon = Vue.extend({
// TODO: substrate
const cmp = type.charAt(0).toUpperCase() + type.slice(1);
return h(cmp, { attrs: { address, isAlternative, key: address, size: iconSize } }, []);
return h(cmp, { attrs: { address, isAlternative: isAlternativeIcon, key: address, size: iconSize } }, []);
}
},
watch: {
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/vue-identicon', path: 'auto', type: 'auto', version: '2.9.1' };
export const packageInfo = { name: '@polkadot/vue-identicon', path: 'auto', type: 'auto', version: '2.9.2' };
+23 -23
View File
@@ -2266,8 +2266,8 @@ __metadata:
dependencies:
"@babel/runtime": ^7.18.9
"@polkadot/keyring": ^10.1.1
"@polkadot/ui-settings": 2.9.1
"@polkadot/ui-shared": 2.9.1
"@polkadot/ui-settings": 2.9.2
"@polkadot/ui-shared": 2.9.2
"@polkadot/util": ^10.1.1
"@polkadot/util-crypto": ^10.1.1
"@types/react-copy-to-clipboard": ^5.0.2
@@ -2295,7 +2295,7 @@ __metadata:
resolution: "@polkadot/react-qr@workspace:packages/react-qr"
dependencies:
"@babel/runtime": ^7.18.9
"@polkadot/ui-settings": 2.9.1
"@polkadot/ui-settings": 2.9.2
"@polkadot/util": ^10.1.1
"@polkadot/util-crypto": ^10.1.1
"@types/react-qr-reader": ^2.1.4
@@ -2317,7 +2317,7 @@ __metadata:
resolution: "@polkadot/reactnative-identicon@workspace:packages/reactnative-identicon"
dependencies:
"@babel/runtime": ^7.18.9
"@polkadot/ui-shared": 2.9.1
"@polkadot/ui-shared": 2.9.2
"@polkadot/util": ^10.1.1
"@polkadot/util-crypto": ^10.1.1
"@types/react-native": ^0.69.3
@@ -2345,7 +2345,7 @@ __metadata:
dependencies:
"@babel/runtime": ^7.18.9
"@polkadot/keyring": ^10.1.1
"@polkadot/ui-settings": 2.9.1
"@polkadot/ui-settings": 2.9.2
"@polkadot/util": ^10.1.1
"@polkadot/util-crypto": ^10.1.1
"@types/mkdirp": ^1.0.2
@@ -2360,7 +2360,7 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/ui-settings@2.9.1, @polkadot/ui-settings@workspace:packages/ui-settings":
"@polkadot/ui-settings@2.9.2, @polkadot/ui-settings@workspace:packages/ui-settings":
version: 0.0.0-use.local
resolution: "@polkadot/ui-settings@workspace:packages/ui-settings"
dependencies:
@@ -2376,7 +2376,7 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/ui-shared@2.9.1, @polkadot/ui-shared@workspace:packages/ui-shared":
"@polkadot/ui-shared@2.9.2, @polkadot/ui-shared@workspace:packages/ui-shared":
version: 0.0.0-use.local
resolution: "@polkadot/ui-shared@workspace:packages/ui-shared"
dependencies:
@@ -2434,11 +2434,11 @@ __metadata:
resolution: "@polkadot/vue-identicon@workspace:packages/vue-identicon"
dependencies:
"@babel/runtime": ^7.18.9
"@polkadot/ui-shared": 2.9.1
"@polkadot/ui-shared": 2.9.2
"@polkadot/util": ^10.1.1
"@polkadot/util-crypto": ^10.1.1
jdenticon: 3.1.1
vue: ^2.7.7
vue: ^2.7.8
peerDependencies:
"@polkadot/util": "*"
"@polkadot/util-crypto": "*"
@@ -3509,14 +3509,14 @@ __metadata:
languageName: node
linkType: hard
"@vue/compiler-sfc@npm:2.7.7":
version: 2.7.7
resolution: "@vue/compiler-sfc@npm:2.7.7"
"@vue/compiler-sfc@npm:2.7.8":
version: 2.7.8
resolution: "@vue/compiler-sfc@npm:2.7.8"
dependencies:
"@babel/parser": ^7.18.4
postcss: ^8.4.14
source-map: ^0.6.1
checksum: 7771fdb5172cd4185cd7ef01ffae59ef8391361875b314ce2a379a588ccc542ab9cae4e67e6d3c7e51d62202b1772591fe4447d855129b274f2c6d955cc85311
checksum: da0b4b0866224fe2aee376a88c25914da4e73ba9e11e7aa2ed240b99897735b4a988e951dcae9c8f0843216c5a97050bf16e1bb04bf65541444a8bdfedc35b38
languageName: node
linkType: hard
@@ -12701,7 +12701,7 @@ resolve@^2.0.0-next.3:
react-is: ^18.2.0
react-native: ^0.69.2
stream-browserify: ^3.0.0
vue-template-compiler: ^2.7.7
vue-template-compiler: ^2.7.8
webpack: ^5.73.0
webpack-cli: ^4.10.0
webpack-serve: ^4.0.0
@@ -14396,13 +14396,13 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"vue-template-compiler@npm:^2.7.7":
version: 2.7.7
resolution: "vue-template-compiler@npm:2.7.7"
"vue-template-compiler@npm:^2.7.8":
version: 2.7.8
resolution: "vue-template-compiler@npm:2.7.8"
dependencies:
de-indent: ^1.0.2
he: ^1.2.0
checksum: 3ef7956ba1907206224e8bd198010c27f67dd14d29840b457b2a36c17c288e1af314f04e82aaa0734bc22bf92cf55b3e86fe2aae662fe2c4e45894808de69636
checksum: e0886488f46055c6e8f59c57fdcc624d1b241aaa0995977482381124a4bf602142743bb6127cf13fa8b04e4c1070253c7aa9b77abc158cf7ab988b223cddbf24
languageName: node
linkType: hard
@@ -14413,13 +14413,13 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"vue@npm:^2.7.7":
version: 2.7.7
resolution: "vue@npm:2.7.7"
"vue@npm:^2.7.8":
version: 2.7.8
resolution: "vue@npm:2.7.8"
dependencies:
"@vue/compiler-sfc": 2.7.7
"@vue/compiler-sfc": 2.7.8
csstype: ^3.1.0
checksum: 3c6dacc33351d729e2d1b41242ad8ece5a1879d438a56d29c8ce3523ad5bf10f0e5c8ff622dcd778ab935248b14aa958e58199e7ffd87bcbe67df091f9045992
checksum: 45fc85a13fc027798ad859fe4a5509b54217ae2f129240fc349a799bd4dbc6848ef8fa9968ab7ef7afcb954735882dbfdeb746673aa3f051e4d7ae555c213a1b
languageName: node
linkType: hard