Compare commits

..
34 Commits
Author SHA1 Message Date
github-actions[bot] 2f0f56ea70 [CI Skip] release/stable 2.9.8
skip-checks: true
2022-09-02 10:04:17 +00:00
Jaco a307306cf6 2.9.8 (#679) 2022-09-02 13:01:54 +03:00
github-actions[bot] 88f51bd262 [CI Skip] bump/beta 2.9.8-1-x
skip-checks: true
2022-08-26 15:00:05 +00:00
Jaco eb14742dfc Pin Github actions (#678) 2022-08-26 17:56:53 +03:00
github-actions[bot] de51c90a23 [CI Skip] bump/beta 2.9.8-0-x
skip-checks: true
2022-08-26 12:57:39 +00:00
Jaco 9f2bfabaac Bump TS (#677) 2022-08-26 15:54:51 +03:00
github-actions[bot] 0ecb8093a5 [CI Skip] release/stable 2.9.7
skip-checks: true
2022-08-24 14:19:51 +00:00
Jaco 2f8276b04c 2.9.7 (#676) 2022-08-24 17:17:35 +03:00
github-actions[bot] 1752b051cd [CI Skip] release/stable 2.9.6
skip-checks: true
2022-08-21 06:02:55 +00:00
Jaco 4d73b5e9c2 2.9.6 (#675) 2022-08-21 09:00:39 +03:00
github-actions[bot] fda1826308 [CI Skip] release/stable 2.9.5
skip-checks: true
2022-08-13 08:16:49 +00:00
Jaco c66e4a3bf4 2.9.5 (#674)
* 2.9.5

* Bumps
2022-08-13 11:14:37 +03:00
github-actions[bot] 9adae7c2bf [CI Skip] release/stable 2.9.4
skip-checks: true
2022-08-06 06:00:21 +00:00
Jaco 4f20237240 2.9.4 (#673) 2022-08-06 08:58:01 +03:00
github-actions[bot] a7a3a559ea [CI Skip] release/stable 2.9.3
skip-checks: true
2022-07-30 04:41:07 +00:00
Jaco a7228422e4 2.9.3 (#671) 2022-07-30 07:38:44 +03:00
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
github-actions[bot] 96b0470ee7 [CI Skip] release/stable 2.9.1
skip-checks: true
2022-07-21 07:17:27 +00:00
Jaco 0a5bea1d4a 2.9.1 (#669) 2022-07-21 10:14:49 +03:00
github-actions[bot] 573f92f00d [CI Skip] bump/beta 2.8.3-2-x
skip-checks: true
2022-07-12 13:40:18 +00:00
Jaco d0bac4cfb1 Bump deps (#667) 2022-07-12 16:37:53 +03:00
github-actions[bot] e00e1b8d6d [CI Skip] bump/beta 2.8.3-1-x
skip-checks: true
2022-07-12 04:58:50 +00:00
Jaco 9705f1de4a Bump deps (#666) 2022-07-12 07:56:03 +03:00
github-actions[bot] bd849e317a [CI Skip] bump/beta 2.8.3-0-x
skip-checks: true
2022-07-11 05:15:58 +00:00
Jaco 69754474f2 Bump dev (#665) 2022-07-11 08:13:04 +03:00
github-actions[bot] 994fdeed5d [CI Skip] release/stable 2.8.2
skip-checks: true
2022-07-10 09:07:57 +00:00
Jaco e1b7f8cdcd 2.8.2 (#664)
* 2.8.2

* Bump dev
2022-07-10 12:05:27 +03:00
github-actions[bot] 0b2e8e1bbe [CI Skip] release/stable 2.8.1
skip-checks: true
2022-07-09 07:28:32 +00:00
Jaco 951a745d0f 2.8.1 (#663)
* 2.8.1

* trigger
2022-07-09 10:26:03 +03:00
github-actions[bot] c9afdacb89 [CI Skip] bump/beta 2.7.3-0-x
skip-checks: true
2022-07-06 11:05:03 +00:00
Jaco f909cf9bbf Adjust issue template (#662)
* Adjust issue template

* isolated export
2022-07-06 14:02:23 +03:00
38 changed files with 2525 additions and 2072 deletions
-1
View File
@@ -1 +0,0 @@
2.7.2
-29
View File
@@ -1,29 +0,0 @@
2
0.57.20.57.3
0.66.2
0.66.3
0.71.2
0.71.3
0.84.2
0.84.3
0.85.2
0.85.3
0.85.4
0.85.5
0.86.2
0.86.3
0.86.4
0.86.5
0.86.6
0.86.7
0.87.2
0.87.3
0.87.4
0.87.5
0.87.6
0.87.7
0.89.2
0.89.3
2.6.2
2.7.2
View File
+49 -13
View File
@@ -1,50 +1,86 @@
<!--
For general support, howto, coding and bundling questions, please use the Substrate & Polkadot StackExchange at https://substrate.stackexchange.com/ and get other ecosystem developers involved. This issues in this repository are meant for the tracking of feature requests and bug reports.
For general support, howto, coding and bundling questions, please
use the Substrate & Polkadot StackExchange at
While all issues are looked at non-bug and non-features would take quite a bit longer to get to and may yield less than satisfactory responses in this format.
https://substrate.stackexchange.com/
Additionally, please ensure you have done a search on the existing and closed issues before logging a new request. This saves time on all sides.
and get other ecosystem developers involved. This issues in this
repository are meant for the tracking of feature requests and bug
reports.
While all issues are looked at non-bug and non-features would take
quite a bit longer to get to and may yield less than satisfactory
responses in this format.
Additionally, please ensure you have done a search on the existing
and closed issues before logging a new request. This saves time on
all sides.
-->
* **I'm submitting a ...**
<!--- Try and classify your actual report -->
<!---
REQUIRED:
Classify the type of report your are submitting
-->
- [ ] Bug report
- [ ] Feature request
- [ ] Support request (please bear the comments above in mind)
- [ ] Support request
- [ ] Other
* **What is the current behavior and expected behavior?**
<!--- If you're describing a bug, tell us what should happen -->
<!--- If you're suggesting a change/improvement, tell us how it should work -->
<!---
REQUIRED:
If you're describing a bug, tell us what should happen. If you're
suggesting a change/improvement, tell us how it should work.
-->
* **What is the motivation for changing the behavior?**
<!--- Not obligatory, but suggest a motivation for the request -->
<!--- or ideas how to implement the addition or change -->
<!---
OPTIONAL:
Suggest a motivation for the request or ideas how to implement the
addition or change
-->
* **Please tell us about your environment:**
<!--- Include as many relevant details about the environment you experienced the issue in -->
<!--- Also snsure that you have tested against the latest stable releases if a bug -->
<!---
REQUIRED:
Include as many relevant details about the environment in which you
experienced the issue. Also ensure that you have tested against the
latest stable releases if you believe this to be a bug
-->
- Version:
- Environment:
- [ ] Node.js
- [ ] Browser
- [ ] Other (limited support for other environments available)
- [ ] Other (limited support for other environments)
- Language:
- [ ] JavaScript
- [ ] TypeScript
- [ ] TypeScript (include tsc --version)
- [ ] Other
+1 -1
View File
@@ -9,7 +9,7 @@ jobs:
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && (!github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository)"
runs-on: ubuntu-latest
steps:
- uses: jacogr/action-approve@master
- uses: jacogr/action-approve@9d6ce78d26f23ad29d009d034822cf773f2cb50e
with:
authors: jacogr
labels: -auto
+1 -1
View File
@@ -8,7 +8,7 @@ jobs:
merge:
runs-on: ubuntu-latest
steps:
- uses: jacogr/action-merge@master
- uses: jacogr/action-merge@3b4b49af8a8644bf5cbb5409ee236abe04eeb1b0
with:
checks: build,lint,test
labels: -auto
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
env:
YARN_ENABLE_SCRIPTS: false
steps:
- uses: dessant/lock-threads@v2
- uses: dessant/lock-threads@f1a42f0f44eb83361d617a014663e1a76cf282d2
with:
github-token: ${{ secrets.GH_PAT_BOT }}
issue-lock-inactive-days: '7'
+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
env:
YARN_ENABLE_SCRIPTS: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e
- name: ${{ matrix.step }}
run: |
yarn install --immutable | grep -v 'YN0013'
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
GH_RELEASE_GITHUB_API_TOKEN: ${{ secrets.GH_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e
with:
fetch-depth: 0
token: ${{ secrets.GH_PAT }}
+2 -2
View File
@@ -12,8 +12,8 @@ jobs:
env:
YARN_ENABLE_SCRIPTS: false
steps:
- uses: actions/checkout@v2
- uses: returntocorp/semgrep-action@v1
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e
- uses: returntocorp/semgrep-action@aeafd770072c4f48798b991e3449592bddc2c435
with:
auditOn: push
publishToken: ${{ secrets.SEMGREP_APP_TOKEN }}
+1 -1
View File
@@ -9,7 +9,7 @@ jobs:
env:
YARN_ENABLE_SCRIPTS: false
steps:
- uses: actions/stale@v3
- uses: actions/stale@98ed4cb500039dbcccf4bd9bedada4d0187f2757
with:
repo-token: ${{ secrets.GH_PAT_BOT }}
stale-issue-message: 'This issue has been open for 21 days with no activity and is not labelled as an enhancement. It will be closed in 7 days.'
+1 -3
View File
@@ -1,7 +1,5 @@
build/
build-cjs/
build-esm/
build-docs/
build-*/
coverage/
node_modules/
tmp/
+71
View File
@@ -1,5 +1,76 @@
# CHANGELOG
## 2.9.8 Sep 2, 2022
Changes:
- Bump to `@polkadot/util` 10.1.7
## 2.9.7 Aug 24, 2022
Changes:
- Bump to `@polkadot/util` 10.1.6
## 2.9.6 Aug 21, 2022
Changes:
- Use webpack packages from `@polkadot/dev`
- Bump to `@polkadot/util` 10.1.5
## 2.9.5 Aug 13, 2022
Changes:
- Bump to `@polkadot/util` 10.1.4
## 2.9.4 Aug 6, 2022
Changes:
- Bump to `@polkadot/util` 10.1.3
## 2.9.3 Jul 30, 2022
Changes:
- Bump to `@polkadot/util` 10.1.2
## 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:
- Bump to `@polkadot/util` 10.1.1
## 2.8.2 Jul 10, 2022
Changes:
- Bump to `@polkadot/util` 10.0.2
## 2.8.1 Jul 9, 2022
Changes:
- Bump to `@polkadot/util` 10.0.1
## 2.7.2 Jul 4, 2022
Changes:
+2 -1
View File
@@ -1,4 +1,4 @@
625 Jaco 2.7.2 (#660)
641 Jaco 2.9.8 (#679)
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)
+16 -14
View File
@@ -10,7 +10,12 @@
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": false,
"version": "2.7.2",
"type": "module",
"version": "2.9.8",
"versions": {
"git": "2.9.8",
"npm": "2.9.8"
},
"workspaces": [
"packages/*"
],
@@ -19,19 +24,19 @@
"build:release": "polkadot-ci-ghact-build",
"build:rollup": "polkadot-exec-rollup --config",
"clean": "polkadot-dev-clean-build",
"example:react": "yarn build && cd packages/example-react && webpack --config webpack.config.cjs",
"example:vue": "yarn build && cd packages/example-vue && webpack --config webpack.config.cjs",
"example:react": "yarn build && cd packages/example-react && yarn polkadot-exec-webpack --config webpack.config.cjs",
"example:vue": "yarn build && cd packages/example-vue && yarn polkadot-exec-webpack --config webpack.config.cjs",
"lint": "polkadot-dev-run-lint",
"postinstall": "polkadot-dev-yarn-only",
"test": "polkadot-dev-run-test --coverage --runInBand",
"test:one": "polkadot-dev-run-test"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/runtime": "^7.18.6",
"@polkadot/dev": "^0.67.50",
"@polkadot/x-bundle": "^9.7.2",
"@types/jest": "^28.1.4",
"@babel/core": "^7.18.13",
"@babel/runtime": "^7.18.9",
"@polkadot/dev": "^0.67.120",
"@polkadot/x-bundle": "^10.1.7",
"@types/jest": "^29.0.0",
"babel-loader": "^8.2.5",
"babel-plugin-transform-vue-template": "^0.4.2",
"empty": "^0.10.1",
@@ -39,14 +44,11 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"react-native": "^0.69.1",
"react-native": "^0.69.5",
"stream-browserify": "^3.0.0",
"vue-template-compiler": "^2.6.14",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"webpack-serve": "^4.0.0"
"vue-template-compiler": "^2.7.10"
},
"resolutions": {
"typescript": "^4.7.4"
"typescript": "^4.8.2"
}
}
+2 -2
View File
@@ -14,9 +14,9 @@
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": false,
"version": "2.7.2",
"version": "2.9.8",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.6"
"@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.7.2' };
export const packageInfo = { name: '@polkadot/example-react', path: 'auto', type: 'auto', version: '2.9.8' };
+2 -2
View File
@@ -14,9 +14,9 @@
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": false,
"version": "2.7.2",
"version": "2.9.8",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.6"
"@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.7.2' };
export const packageInfo = { name: '@polkadot/example-vue', path: 'auto', type: 'auto', version: '2.9.8' };
+10 -10
View File
@@ -17,15 +17,15 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.7.2",
"version": "2.9.8",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.6",
"@polkadot/keyring": "^9.7.2",
"@polkadot/ui-settings": "2.7.2",
"@polkadot/ui-shared": "2.7.2",
"@polkadot/util": "^9.7.2",
"@polkadot/util-crypto": "^9.7.2",
"@babel/runtime": "^7.18.9",
"@polkadot/keyring": "^10.1.7",
"@polkadot/ui-settings": "2.9.8",
"@polkadot/ui-shared": "2.9.8",
"@polkadot/util": "^10.1.7",
"@polkadot/util-crypto": "^10.1.7",
"color": "^3.2.1",
"ethereum-blockies-base64": "^1.0.2",
"jdenticon": "3.1.1",
@@ -33,9 +33,9 @@
"styled-components": "^5.3.5"
},
"devDependencies": {
"@types/react-copy-to-clipboard": "^5.0.2",
"@types/react-dom": "^18.0.5",
"@types/styled-components": "^5.1.25",
"@types/react-copy-to-clipboard": "^5.0.4",
"@types/react-dom": "^18.0.6",
"@types/styled-components": "^5.1.26",
"styled-components": "^5.3.5",
"xmlserializer": "^0.6.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.7.2' };
export const packageInfo = { name: '@polkadot/react-identicon', path: 'auto', type: 'auto', version: '2.9.8' };
+6 -6
View File
@@ -17,20 +17,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.7.2",
"version": "2.9.8",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.6",
"@polkadot/ui-settings": "2.7.2",
"@polkadot/util": "^9.7.2",
"@polkadot/util-crypto": "^9.7.2",
"@babel/runtime": "^7.18.9",
"@polkadot/ui-settings": "2.9.8",
"@polkadot/util": "^10.1.7",
"@polkadot/util-crypto": "^10.1.7",
"qrcode-generator": "^1.4.4",
"react-qr-reader": "^2.2.1",
"styled-components": "^5.3.5"
},
"devDependencies": {
"@types/react-qr-reader": "^2.1.4",
"@types/styled-components": "^5.1.25"
"@types/styled-components": "^5.1.26"
},
"peerDependencies": {
"@polkadot/util": "*",
+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.7.2' };
export const packageInfo = { name: '@polkadot/react-qr', path: 'auto', type: 'auto', version: '2.9.8' };
+7 -7
View File
@@ -17,17 +17,17 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.7.2",
"version": "2.9.8",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.6",
"@polkadot/ui-shared": "2.7.2",
"@polkadot/util": "^9.7.2",
"@polkadot/util-crypto": "^9.7.2",
"react-native-svg": "^12.3.0"
"@babel/runtime": "^7.18.9",
"@polkadot/ui-shared": "2.9.8",
"@polkadot/util": "^10.1.7",
"@polkadot/util-crypto": "^10.1.7",
"react-native-svg": "^12.4.4"
},
"devDependencies": {
"@types/react-native": "^0.69.1"
"@types/react-native": "^0.69.6"
},
"peerDependencies": {
"@polkadot/util": "*",
@@ -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.7.2' };
export const packageInfo = { name: '@polkadot/reactnative-identicon', path: 'auto', type: 'auto', version: '2.9.8' };
+3 -3
View File
@@ -13,10 +13,10 @@
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": false,
"version": "2.7.2",
"version": "2.9.8",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.6",
"@polkadot/util": "^9.7.2"
"@babel/runtime": "^7.18.9",
"@polkadot/util": "^10.1.7"
}
}
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2022 @polkadot/ui-assets authors & contributors
// SPDX-License-Identifier: Apache-2.0
// empty
export {};
+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.7.2' };
export const packageInfo = { name: '@polkadot/ui-assets', path: 'auto', type: 'auto', version: '2.9.8' };
+7 -7
View File
@@ -16,16 +16,16 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.7.2",
"version": "2.9.8",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.6",
"@polkadot/keyring": "^9.7.2",
"@polkadot/ui-settings": "2.7.2",
"@polkadot/util": "^9.7.2",
"@polkadot/util-crypto": "^9.7.2",
"@babel/runtime": "^7.18.9",
"@polkadot/keyring": "^10.1.7",
"@polkadot/ui-settings": "2.9.8",
"@polkadot/util": "^10.1.7",
"@polkadot/util-crypto": "^10.1.7",
"mkdirp": "^1.0.4",
"rxjs": "^7.5.5",
"rxjs": "^7.5.6",
"store": "^2.0.12"
},
"devDependencies": {
+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.7.2' };
export const packageInfo = { name: '@polkadot/ui-keyring', path: 'auto', type: 'auto', version: '2.9.8' };
+4 -4
View File
@@ -17,12 +17,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.7.2",
"version": "2.9.8",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.6",
"@polkadot/networks": "^9.7.2",
"@polkadot/util": "^9.7.2",
"@babel/runtime": "^7.18.9",
"@polkadot/networks": "^10.1.7",
"@polkadot/util": "^10.1.7",
"eventemitter3": "^4.0.7",
"store": "^2.0.12"
},
+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.7.2' };
export const packageInfo = { name: '@polkadot/ui-settings', path: 'auto', type: 'auto', version: '2.9.8' };
+5 -5
View File
@@ -17,17 +17,17 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.7.2",
"version": "2.9.8",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.6",
"@babel/runtime": "^7.18.9",
"color": "^3.2.1"
},
"devDependencies": {
"@polkadot/util": "^9.7.2",
"@polkadot/util-crypto": "^9.7.2",
"@polkadot/util": "^10.1.7",
"@polkadot/util-crypto": "^10.1.7",
"@types/color": "^3.0.3",
"@types/xmlserializer": "^0.6.2",
"@types/xmlserializer": "^0.6.3",
"xmlserializer": "^0.6.1"
},
"peerDependencies": {
+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.7.2' };
export const packageInfo = { name: '@polkadot/ui-shared', path: 'auto', type: 'auto', version: '2.9.8' };
+6 -6
View File
@@ -17,17 +17,17 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "2.7.2",
"version": "2.9.8",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.6",
"@polkadot/ui-shared": "2.7.2",
"@polkadot/util": "^9.7.2",
"@polkadot/util-crypto": "^9.7.2",
"@babel/runtime": "^7.18.9",
"@polkadot/ui-shared": "2.9.8",
"@polkadot/util": "^10.1.7",
"@polkadot/util-crypto": "^10.1.7",
"jdenticon": "3.1.1"
},
"devDependencies": {
"vue": "^2.6.14"
"vue": "^2.7.10"
},
"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.7.2' };
export const packageInfo = { name: '@polkadot/vue-identicon', path: 'auto', type: 'auto', version: '2.9.8' };
+2310 -1935
View File
File diff suppressed because it is too large Load Diff