Compare commits

..
39 Commits
Author SHA1 Message Date
github-actions[bot] eec754cd66 [CI Skip] release/stable 0.87.6
skip-checks: true
2021-12-19 07:49:03 +00:00
Jaco a77ef34b54 0.87.6 2021-12-19 09:46:39 +02:00
github-actions[bot] f6cfacdd91 [CI Skip] release/beta 0.87.6-3
skip-checks: true
2021-12-19 07:42:49 +00:00
Jaco e0862e715c 0.87.6 (#564)
* 0.87.6

* Update CHANGELOG.md
2021-12-19 09:40:21 +02:00
github-actions[bot] d974650abe [CI Skip] release/beta 0.87.6-2
skip-checks: true
2021-12-14 06:31:49 +00:00
Jaco cab6086826 Use tsconfig references (#561)
* Use tsconfig references

* Adjust

* tesconfig.eslint.json

* Bumps
2021-12-14 08:28:51 +02:00
github-actions[bot] 1cc9fb245f [CI Skip] release/beta 0.87.6-1
skip-checks: true
2021-12-13 06:45:39 +00:00
Jaco fd86a2136f Update yarn.lock (#560) 2021-12-13 08:42:20 +02:00
Jaco 0961a69b34 Align codeclimate.yml (#556) 2021-12-13 08:30:10 +02:00
YuriandJaco 6a515a1c53 Add webpack 5 support (#557)
* Add webpack 5 support

* Update packages/example-react/webpack.config.js

* lint

* Update yarn.lock

Co-authored-by: Jaco <jacogr@gmail.com>
2021-12-13 08:29:38 +02:00
Jaco 8fbea71039 Add tsconfig.base (#559)
* Add tsconfig.base

* Adjust tsconfig
2021-12-13 08:16:37 +02:00
github-actions[bot] 16210ebde2 [CI Skip] release/beta 0.87.6-0
skip-checks: true
2021-12-12 09:28:39 +00:00
Jaco 67779821d1 Bump tsc (#558) 2021-12-12 11:25:38 +02:00
github-actions[bot] 22e1fa2bed [CI Skip] release/stable 0.87.5
skip-checks: true
2021-12-05 11:54:19 +00:00
Jaco 4f0388a413 0.87.5 (#554) 2021-12-05 13:51:45 +02:00
github-actions[bot] 2e08877383 [CI Skip] release/stable 0.87.4
skip-checks: true
2021-12-05 09:14:56 +00:00
Jaco 285b9ba97a 0.87.4 (#553) 2021-12-05 11:12:22 +02:00
github-actions[bot] e03f41f43b [CI Skip] release/beta 0.87.4-0
skip-checks: true
2021-12-01 08:00:05 +00:00
Jaco a066b6af74 Fix stale cron (#552)
* Fix stale cron

* every 3 hours
2021-12-01 09:57:38 +02:00
github-actions[bot] 7fe6171240 [CI Skip] release/stable 0.87.3
skip-checks: true
2021-12-01 07:45:42 +00:00
Jaco b900371690 Bump common (#551)
* Bump common

* 0.87.3, CHANGELOG

* CHANGELOG
2021-12-01 09:43:25 +02:00
github-actions[bot] 5637875344 [CI Skip] release/beta 0.87.3-0
skip-checks: true
2021-11-30 15:38:12 +00:00
Jaco e0ad510e97 Use hasProcess for process check (#550) 2021-11-30 17:35:03 +02:00
github-actions[bot] 266307fbc2 [CI Skip] release/stable 0.87.2
skip-checks: true
2021-11-30 06:27:26 +00:00
Jaco 3f131a58c8 0.87.2 (#549) 2021-11-30 08:25:15 +02:00
github-actions[bot] 7d195211c1 [CI Skip] release/beta 0.87.2-0
skip-checks: true
2021-11-29 13:59:41 +00:00
Andrei Eres 5d402a56da Fix raising error if process has not defined yet (#548) 2021-11-29 15:57:18 +02:00
github-actions[bot] f6a46f2d33 [CI Skip] release/stable 0.87.1
skip-checks: true
2021-11-28 05:23:43 +00:00
Jaco 2b71f0164c Bump common (#547)
* Bump common

* 0.87.1
2021-11-28 07:21:18 +02:00
Github Actions 6381e571cf [CI Skip] release/beta 0.86.8-0
skip-checks: true
2021-11-24 14:59:58 +00:00
Jaco d5bbee2bad Adjust stale schedule (#546) 2021-11-24 16:57:26 +02:00
Github Actions e8df066f50 [CI Skip] release/stable 0.86.7
skip-checks: true
2021-11-22 05:27:30 +00:00
Jaco b3bef159dd 0.86.7 (#545) 2021-11-22 07:25:20 +02:00
Github Actions 2f28f04b22 [CI Skip] release/stable 0.86.6
skip-checks: true
2021-11-21 06:43:01 +00:00
Jaco 0a96372186 0.86.6 (#544) 2021-11-21 08:40:38 +02:00
Github Actions 41edf711ec [CI Skip] release/beta 0.86.6-0
skip-checks: true
2021-11-18 12:46:10 +00:00
Jaco d38a8dfd96 Bump deps (#543) 2021-11-18 14:43:31 +02:00
Github Actions 465152698d [CI Skip] release/stable 0.86.5
skip-checks: true
2021-11-07 07:42:47 +00:00
Jaco 84a18f3c0b 0.86.5 (#540) 2021-11-07 09:40:23 +02:00
49 changed files with 2377 additions and 2983 deletions
+9 -1
View File
@@ -13,4 +13,12 @@
0.85.5
0.86.2
0.86.3
0.86.4
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
+14
View File
@@ -1,3 +1,17 @@
checks:
argument-count:
config:
threshold: 5
method-complexity:
config:
threshold: 7
method-count:
config:
threshold: 25
method-lines:
config:
threshold: 30
exclude_patterns:
- "**/*.spec.js"
- "**/*.spec.ts"
+2 -8
View File
@@ -6,19 +6,13 @@ const base = require('@polkadot/dev/config/eslint.cjs');
module.exports = {
...base,
ignorePatterns: [
'.eslintrc.js',
'.github/**',
'.vscode/**',
'.yarn/**',
'**/build/*',
'**/coverage/*',
'**/node_modules/*',
...base.ignorePatterns,
'**/*.d.ts'
],
parserOptions: {
...base.parserOptions,
project: [
'./tsconfig.json'
'./tsconfig.eslint.json'
]
},
rules: {
+1 -1
View File
@@ -2,7 +2,7 @@ name: 'Lock Threads'
on:
schedule:
- cron: '30 1/2 * * *'
- cron: '25 2/3 * * *'
jobs:
lock:
+1 -1
View File
@@ -1,7 +1,7 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 2/2 * * *'
- cron: '40 2/3 * * *'
jobs:
stale:
+2
View File
@@ -3,6 +3,7 @@ build-docs/
coverage/
node_modules/
tmp/
.idea
.DS_Store
.env.local
.env.development.local
@@ -16,5 +17,6 @@ tmp/
cc-test-reporter
package-lock.json
npm-debug.log*
tsconfig.*buildinfo
yarn-debug.log*
yarn-error.log*
+68
View File
@@ -1,5 +1,73 @@
# CHANGELOG
## 0.87.6 Dec 19, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.2.2
## 0.87.5 Dec 5, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.1.2
## 0.87.4 Dec 5, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.1.1
## 0.87.3 Dec 1, 2021
Changes:
- Use `hasProcess` check from `@polkadot/util`
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.0.5
## 0.87.2 Nov 30, 2021
Contributed:
- Correct check for `process` variable (Thanks to https://github.com/AndreiEres)
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.0.4
## 0.87.1 Nov 28, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.0.2
## 0.86.7 Nov 22, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.9.2
## 0.86.6 Nov 21, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.9.1
## 0.86.5 Nov 6, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.8.2
## 0.86.4 Nov 6, 2021
Changes:
+15 -12
View File
@@ -10,7 +10,7 @@
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": false,
"version": "0.86.4",
"version": "0.87.6",
"workspaces": [
"packages/*"
],
@@ -32,24 +32,27 @@
"test:one": "polkadot-dev-run-test"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/runtime": "^7.16.0",
"@polkadot/dev": "^0.63.26",
"@polkadot/ts": "^0.4.13",
"@polkadot/x-bundle": "^7.8.1",
"@types/jest": "^27.0.2",
"@babel/core": "^7.16.5",
"@babel/runtime": "^7.16.5",
"@polkadot/dev": "^0.64.5",
"@polkadot/ts": "^0.4.20",
"@polkadot/x-bundle": "^8.2.2",
"@types/jest": "^27.0.3",
"babel-loader": "^8.2.3",
"babel-plugin-transform-vue-template": "^0.4.2",
"empty": "^0.10.1",
"process": "^0.11.10",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"react-native": "^0.66.2",
"react-native": "^0.66.4",
"stream-browserify": "^3.0.0",
"vue-template-compiler": "^2.6.14",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12",
"webpack-serve": "^3.2.0"
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1",
"webpack-serve": "^4.0.0"
},
"resolutions": {
"typescript": "^4.4.4"
"typescript": "^4.5.3"
}
}
+2 -2
View File
@@ -14,9 +14,9 @@
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": false,
"version": "0.86.4",
"version": "0.87.6",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.0"
"@babel/runtime": "^7.16.5"
}
}
+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.86.4' };
export const packageInfo = { name: '@polkadot/example-react', version: '0.87.6' };
+12
View File
@@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../react-identicon" },
{ "path": "../ui-keyring" }
]
}
+16 -3
View File
@@ -3,10 +3,11 @@
const path = require('path');
const { WebpackPluginServe } = require('webpack-plugin-serve');
const webpack = require('webpack');
module.exports = {
context: __dirname,
devtool: 'cheap-eval-source-map',
devtool: 'eval-cheap-source-map',
entry: './src/index.tsx',
mode: 'development',
module: {
@@ -36,6 +37,12 @@ module.exports = {
port: 8080,
progress: false, // since we have hmr off, disable
static: __dirname
}),
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer']
}),
new webpack.ProvidePlugin({
process: 'process/browser'
})
],
resolve: {
@@ -43,9 +50,15 @@ module.exports = {
'@polkadot/react-identicon': path.resolve(__dirname, '../react-identicon/build'),
'@polkadot/ui-keyring': path.resolve(__dirname, '../ui-keyring/build'),
'@polkadot/ui-settings': path.resolve(__dirname, '../ui-settings/build'),
'@polkadot/ui-shared': path.resolve(__dirname, '../ui-shared/build')
'@polkadot/ui-shared': path.resolve(__dirname, '../ui-shared/build'),
'process/browser': require.resolve('process/browser'),
'react/jsx-runtime': require.resolve('react/jsx-runtime')
},
extensions: ['.js', '.ts', '.tsx']
extensions: ['.js', '.ts', '.tsx'],
fallback: {
buffer: require.resolve('buffer'),
stream: require.resolve('stream-browserify')
}
},
watch: true
};
+2 -2
View File
@@ -14,9 +14,9 @@
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": false,
"version": "0.86.4",
"version": "0.87.6",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.0"
"@babel/runtime": "^7.16.5"
}
}
+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.86.4' };
export const packageInfo = { name: '@polkadot/example-vue', version: '0.87.6' };
+12
View File
@@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../ui-keyring" },
{ "path": "../vue-identicon" }
]
}
+11 -3
View File
@@ -4,10 +4,11 @@
const path = require('path');
const VueLoaderPlugin = require('vue-loader/lib/plugin');
const { WebpackPluginServe } = require('webpack-plugin-serve');
const webpack = require('webpack');
module.exports = {
context: __dirname,
devtool: 'cheap-eval-source-map',
devtool: 'eval-cheap-source-map',
entry: './src/index.ts',
mode: 'development',
module: {
@@ -42,14 +43,21 @@ module.exports = {
progress: false, // since we have hmr off, disable
static: __dirname
}),
new VueLoaderPlugin()
new VueLoaderPlugin(),
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer']
}),
new webpack.ProvidePlugin({
process: 'process/browser'
})
],
resolve: {
alias: {
'@polkadot/ui-keyring': path.resolve(__dirname, '../ui-keyring/build'),
'@polkadot/ui-settings': path.resolve(__dirname, '../ui-settings/build'),
'@polkadot/ui-shared': path.resolve(__dirname, '../ui-shared/build'),
'@polkadot/vue-identicon': path.resolve(__dirname, '../vue-identicon/build')
'@polkadot/vue-identicon': path.resolve(__dirname, '../vue-identicon/build'),
'process/browser': require.resolve('process/browser')
},
extensions: ['.js', '.ts', '.tsx']
},
+12 -12
View File
@@ -1,6 +1,6 @@
{
"name": "exampleReactNative",
"version": "0.86.4",
"version": "0.87.6",
"license": "Apache-2.0",
"private": true,
"scripts": {
@@ -21,29 +21,29 @@
},
"sideEffects": false,
"dependencies": {
"@polkadot/keyring": "^7.8.1",
"@polkadot/reactnative-identicon": "0.86.4",
"@polkadot/ui-keyring": "0.86.4",
"@polkadot/ui-settings": "0.86.4",
"@polkadot/util": "^7.8.1",
"@polkadot/util-crypto": "^7.8.1",
"@polkadot/keyring": "^8.2.2",
"@polkadot/reactnative-identicon": "0.87.6",
"@polkadot/ui-keyring": "0.87.6",
"@polkadot/ui-settings": "0.87.6",
"@polkadot/util": "^8.2.2",
"@polkadot/util-crypto": "^8.2.2",
"@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.66.2",
"react-native": "^0.66.4",
"react-native-crypto": "^2.2.0",
"react-native-randombytes": "^3.6.1",
"stream-http": "^3.2.0"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/runtime": "^7.16.0",
"@react-native-community/cli-platform-ios": "^5.0.2",
"@babel/core": "^7.16.5",
"@babel/runtime": "^7.16.5",
"@react-native-community/cli-platform-ios": "^6.2.0",
"@types/react-test-renderer": "17.0.1",
"babel-jest": "^27.3.1",
"babel-jest": "^27.4.5",
"metro-react-native-babel-preset": "^0.66.2",
"react-test-renderer": "17.0.2"
},
+13
View File
@@ -0,0 +1,13 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "."
},
"references": [
{ "path": "../reactnative-identicon" },
{ "path": "../ui-keyring" },
{ "path": "../ui-settings" }
]
}
+8 -8
View File
@@ -17,15 +17,15 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "0.86.4",
"version": "0.87.6",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@polkadot/keyring": "^7.8.1",
"@polkadot/ui-settings": "0.86.4",
"@polkadot/ui-shared": "0.86.4",
"@polkadot/util": "^7.8.1",
"@polkadot/util-crypto": "^7.8.1",
"@babel/runtime": "^7.16.5",
"@polkadot/keyring": "^8.2.2",
"@polkadot/ui-settings": "0.87.6",
"@polkadot/ui-shared": "0.87.6",
"@polkadot/util": "^8.2.2",
"@polkadot/util-crypto": "^8.2.2",
"color": "^3.2.1",
"ethereum-blockies-base64": "^1.0.2",
"jdenticon": "3.1.1",
@@ -35,7 +35,7 @@
"devDependencies": {
"@types/react-copy-to-clipboard": "^5.0.2",
"@types/react-dom": "^17.0.11",
"@types/styled-components": "^5.1.15",
"@types/styled-components": "^5.1.18",
"styled-components": "^5.3.3",
"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.86.4' };
export const packageInfo = { name: '@polkadot/react-identicon', version: '0.87.6' };
+12
View File
@@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../ui-shared" },
{ "path": "../ui-settings" }
]
}
+12 -4
View File
@@ -2,13 +2,13 @@
// SPDX-License-Identifier: Apache-2.0
const path = require('path');
const webpack = require('webpack');
const ENV = process.env.NODE_ENV || 'development';
const isProd = ENV === 'production';
module.exports = {
context: __dirname,
devtool: isProd ? 'source-map' : 'cheap-eval-source-map',
devtool: isProd ? 'source-map' : 'eval-cheap-source-map',
entry: './src/Demo.tsx',
mode: ENV,
module: {
@@ -26,11 +26,19 @@ module.exports = {
filename: './Demo.js',
path: path.join(__dirname, 'build')
},
plugins: [],
plugins: [
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer']
}),
new webpack.ProvidePlugin({
process: 'process/browser'
})
],
resolve: {
alias: {
'@polkadot/ui-settings': path.resolve(__dirname, '../ui-settings/build'),
'@polkadot/ui-shared': path.resolve(__dirname, '../ui-shared/build')
'@polkadot/ui-shared': path.resolve(__dirname, '../ui-shared/build'),
'process/browser': require.resolve('process/browser')
},
extensions: ['.js', '.jsx', '.ts', '.tsx']
}
+5 -5
View File
@@ -14,19 +14,19 @@
},
"sideEffects": false,
"type": "module",
"version": "0.86.4",
"version": "0.87.6",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@polkadot/util": "^7.8.1",
"@polkadot/util-crypto": "^7.8.1",
"@babel/runtime": "^7.16.5",
"@polkadot/util": "^8.2.2",
"@polkadot/util-crypto": "^8.2.2",
"qrcode-generator": "^1.4.4",
"react-qr-reader": "^2.2.1",
"styled-components": "^5.3.3"
},
"devDependencies": {
"@types/react-qr-reader": "^2.1.4",
"@types/styled-components": "^5.1.15"
"@types/styled-components": "^5.1.18"
},
"peerDependencies": {
"@polkadot/util": "*",
+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.86.4' };
export const packageInfo = { name: '@polkadot/react-qr', version: '0.87.6' };
+11
View File
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../ui-settings" }
]
}
+6 -6
View File
@@ -17,17 +17,17 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "0.86.4",
"version": "0.87.6",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@polkadot/ui-shared": "0.86.4",
"@polkadot/util": "^7.8.1",
"@polkadot/util-crypto": "^7.8.1",
"@babel/runtime": "^7.16.5",
"@polkadot/ui-shared": "0.87.6",
"@polkadot/util": "^8.2.2",
"@polkadot/util-crypto": "^8.2.2",
"react-native-svg": "^12.2.0"
},
"devDependencies": {
"@types/react-native": "^0.66.2"
"@types/react-native": "^0.66.9"
},
"peerDependencies": {
"@polkadot/util": "*",
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/reactnative-identicon', version: '0.86.4' };
export const packageInfo = { name: '@polkadot/reactnative-identicon', version: '0.87.6' };
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../ui-shared" }
]
}
+2 -2
View File
@@ -13,9 +13,9 @@
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": false,
"version": "0.86.4",
"version": "0.87.6",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.0"
"@babel/runtime": "^7.16.5"
}
}
+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.86.4' };
export const packageInfo = { name: '@polkadot/ui-assets', version: '0.87.6' };
+9
View File
@@ -0,0 +1,9 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": []
}
+6 -6
View File
@@ -16,14 +16,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "0.86.4",
"version": "0.87.6",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@polkadot/hw-ledger": "^7.8.1",
"@polkadot/keyring": "^7.8.1",
"@polkadot/ui-settings": "0.86.4",
"@polkadot/util": "^7.8.1",
"@babel/runtime": "^7.16.5",
"@polkadot/hw-ledger": "^8.2.2",
"@polkadot/keyring": "^8.2.2",
"@polkadot/ui-settings": "0.87.6",
"@polkadot/util": "^8.2.2",
"mkdirp": "^1.0.4",
"rxjs": "^7.4.0",
"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-keyring', version: '0.86.4' };
export const packageInfo = { name: '@polkadot/ui-keyring', version: '0.87.6' };
+11
View File
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../ui-settings" }
]
}
+4 -4
View File
@@ -14,12 +14,12 @@
},
"sideEffects": false,
"type": "module",
"version": "0.86.4",
"version": "0.87.6",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@polkadot/networks": "^7.8.1",
"@polkadot/util": "^7.8.1",
"@babel/runtime": "^7.16.5",
"@polkadot/networks": "^8.2.2",
"@polkadot/util": "^8.2.2",
"eventemitter3": "^4.0.7",
"store": "^2.0.12"
},
+2 -2
View File
@@ -6,7 +6,7 @@ import type { Endpoint, EndpointType, Option, SettingsStruct } from './types';
import EventEmitter from 'eventemitter3';
import store from 'store';
import { isUndefined } from '@polkadot/util';
import { hasProcess, isUndefined } from '@polkadot/util';
import { CAMERA, CAMERA_DEFAULT, CRYPTOS, CRYPTOS_ETH, CRYPTOS_LEDGER, ENDPOINT_DEFAULT, ENDPOINTS, ICON_DEFAULT, ICONS, LANGUAGE_DEFAULT, LEDGER_CONN, LEDGER_CONN_DEFAULT, LOCKING, LOCKING_DEFAULT, NOTIFICATION_DEFAULT, PREFIX_DEFAULT, PREFIXES, UIMODE_DEFAULT, UIMODES, UITHEME_DEFAULT, UITHEMES } from './defaults';
@@ -53,7 +53,7 @@ export class Settings implements SettingsStruct {
this.#emitter = new EventEmitter();
// will become deprecated for supporting substrate connect light clients. apiType structure should be used instead
this.#apiUrl = (typeof settings.apiUrl === 'string' && settings.apiUrl) || (process && process.env && process.env.WS_URL) || (ENDPOINT_DEFAULT.value as string);
this.#apiUrl = (typeof settings.apiUrl === 'string' && settings.apiUrl) || (hasProcess && process.env && process.env.WS_URL) || (ENDPOINT_DEFAULT.value as string);
this.#apiType = { param: this.#apiUrl, type: 'json-rpc' as EndpointType };
this.#camera = withDefault(CAMERA, settings.camera, CAMERA_DEFAULT);
this.#ledgerConn = withDefault(LEDGER_CONN, settings.ledgerConn, LEDGER_CONN_DEFAULT);
+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.86.4' };
export const packageInfo = { name: '@polkadot/ui-settings', version: '0.87.6' };
+9
View File
@@ -0,0 +1,9 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": []
}
+4 -4
View File
@@ -14,15 +14,15 @@
},
"sideEffects": false,
"type": "module",
"version": "0.86.4",
"version": "0.87.6",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@babel/runtime": "^7.16.5",
"color": "^3.2.1"
},
"devDependencies": {
"@polkadot/util": "^7.8.1",
"@polkadot/util-crypto": "^7.8.1",
"@polkadot/util": "^8.2.2",
"@polkadot/util-crypto": "^8.2.2",
"@types/color": "^3.0.2",
"@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.86.4' };
export const packageInfo = { name: '@polkadot/ui-shared', version: '0.87.6' };
+9
View File
@@ -0,0 +1,9 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": []
}
+5 -5
View File
@@ -17,13 +17,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "0.86.4",
"version": "0.87.6",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@polkadot/ui-shared": "0.86.4",
"@polkadot/util": "^7.8.1",
"@polkadot/util-crypto": "^7.8.1",
"@babel/runtime": "^7.16.5",
"@polkadot/ui-shared": "0.87.6",
"@polkadot/util": "^8.2.2",
"@polkadot/util-crypto": "^8.2.2",
"jdenticon": "3.1.1"
},
"devDependencies": {
+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.86.4' };
export const packageInfo = { name: '@polkadot/vue-identicon', version: '0.87.6' };
+11
View File
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../ui-shared" }
]
}
+11 -4
View File
@@ -3,13 +3,13 @@
const path = require('path');
const VueLoaderPlugin = require('vue-loader/lib/plugin');
const webpack = require('webpack');
const ENV = process.env.NODE_ENV || 'development';
const isProd = ENV === 'production';
module.exports = {
context: __dirname,
devtool: isProd ? 'source-map' : 'cheap-eval-source-map',
devtool: isProd ? 'source-map' : 'eval-cheap-source-map',
entry: './src/Demo.ts',
mode: ENV,
module: {
@@ -32,11 +32,18 @@ module.exports = {
path: path.join(__dirname, 'build')
},
plugins: [
new VueLoaderPlugin()
new VueLoaderPlugin(),
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer']
}),
new webpack.ProvidePlugin({
process: 'process/browser'
})
],
resolve: {
alias: {
'@polkadot/ui-shared': path.resolve(__dirname, '../ui-shared/build')
'@polkadot/ui-shared': path.resolve(__dirname, '../ui-shared/build'),
'process/browser': require.resolve('process/browser')
},
extensions: ['.js', '.ts']
}
+29
View File
@@ -0,0 +1,29 @@
{
"extends": "@polkadot/dev/config/tsconfig.json",
"compilerOptions": {
"composite": true,
"paths": {
"@polkadot/react-identicon": [ "react-identicon/src" ],
"@polkadot/react-identicon/*": [ "react-identicon/src/*" ],
"@polkadot/react-qr": [ "react-qr/src" ],
"@polkadot/react-qr/*": [ "react-qr/src/*" ],
"@polkadot/reactnative-identicon": [ "reactnative-identicon/src" ],
"@polkadot/reactnative-identicon/*": [ "reactnative-identicon/src/*" ],
"@polkadot/ui-assets": [ "ui-assets/src" ],
"@polkadot/ui-assets/*": [ "ui-assets/src/*" ],
"@polkadot/ui-keyring": [ "ui-keyring/src" ],
"@polkadot/ui-keyring/*": [ "ui-keyring/src/*" ],
"@polkadot/ui-settings": [ "ui-settings/src" ],
"@polkadot/ui-settings/*": [ "ui-settings/src/*" ],
"@polkadot/ui-shared": [ "ui-shared/src" ],
"@polkadot/ui-shared/*": [ "ui-shared/src/*" ],
"@polkadot/vue-identicon": [ "vue-identicon/src" ],
"@polkadot/vue-identicon/*": [ "vue-identicon/src/*" ]
},
"skipLibCheck": true,
"typeRoots": [
"./node_modules/@polkadot/ts",
"./node_modules/@types"
]
}
}
+8
View File
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"baseUrl": "./packages"
},
"include": ["packages/**/src/**/*", "packages/**/*.js"],
"exclue": ["**/node_modules/**/*"]
}
+16 -30
View File
@@ -1,33 +1,19 @@
{
"extends": "@polkadot/dev/config/tsconfig.json",
"exclude": [
"build/**/*",
"**/build/**/*"
],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@polkadot/react-identicon": [ "packages/react-identicon/src" ],
"@polkadot/react-identicon/*": [ "packages/react-identicon/src/*" ],
"@polkadot/react-qr": [ "packages/react-qr/src" ],
"@polkadot/react-qr/*": [ "packages/react-qr/src/*" ],
"@polkadot/reactnative-identicon": [ "packages/reactnative-identicon/src" ],
"@polkadot/reactnative-identicon/*": [ "packages/reactnative-identicon/src/*" ],
"@polkadot/ui-assets": [ "packages/ui-assets/src" ],
"@polkadot/ui-assets/*": [ "packages/ui-assets/src/*" ],
"@polkadot/ui-keyring": [ "packages/ui-keyring/src" ],
"@polkadot/ui-keyring/*": [ "packages/ui-keyring/src/*" ],
"@polkadot/ui-settings": [ "packages/ui-settings/src" ],
"@polkadot/ui-settings/*": [ "packages/ui-settings/src/*" ],
"@polkadot/ui-shared": [ "packages/ui-shared/src" ],
"@polkadot/ui-shared/*": [ "packages/ui-shared/src/*" ],
"@polkadot/vue-identicon": [ "packages/vue-identicon/src" ],
"@polkadot/vue-identicon/*": [ "packages/vue-identicon/src/*" ]
},
"skipLibCheck": true,
"typeRoots": [
"./node_modules/@polkadot/ts",
"./node_modules/@types"
]
}
"composite": true
},
"files": [],
"references": [
{ "path": "./packages/example-react" },
{ "path": "./packages/example-vue" },
{ "path": "./packages/exampleReactNative" },
{ "path": "./packages/react-identicon" },
{ "path": "./packages/react-qr" },
{ "path": "./packages/reactnative-identicon" },
{ "path": "./packages/ui-assets" },
{ "path": "./packages/ui-keyring" },
{ "path": "./packages/ui-settings" },
{ "path": "./packages/ui-shared" },
{ "path": "./packages/vue-identicon" }
]
}
+1974 -2848
View File
File diff suppressed because it is too large Load Diff