Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eec754cd66 | ||
|
|
a77ef34b54 | ||
|
|
f6cfacdd91 | ||
|
|
e0862e715c | ||
|
|
d974650abe | ||
|
|
cab6086826 | ||
|
|
1cc9fb245f | ||
|
|
fd86a2136f | ||
|
|
0961a69b34 | ||
|
|
6a515a1c53 | ||
|
|
8fbea71039 | ||
|
|
16210ebde2 | ||
|
|
67779821d1 | ||
|
|
22e1fa2bed | ||
|
|
4f0388a413 | ||
|
|
2e08877383 | ||
|
|
285b9ba97a | ||
|
|
e03f41f43b | ||
|
|
a066b6af74 | ||
|
|
7fe6171240 | ||
|
|
b900371690 | ||
|
|
5637875344 | ||
|
|
e0ad510e97 | ||
|
|
266307fbc2 | ||
|
|
3f131a58c8 | ||
|
|
7d195211c1 | ||
|
|
5d402a56da | ||
|
|
f6a46f2d33 | ||
|
|
2b71f0164c | ||
|
|
6381e571cf | ||
|
|
d5bbee2bad | ||
|
|
e8df066f50 | ||
|
|
b3bef159dd | ||
|
|
2f28f04b22 | ||
|
|
0a96372186 | ||
|
|
41edf711ec | ||
|
|
d38a8dfd96 | ||
|
|
465152698d | ||
|
|
84a18f3c0b |
+9
-1
@@ -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
|
||||
@@ -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
@@ -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: {
|
||||
|
||||
@@ -2,7 +2,7 @@ name: 'Lock Threads'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '30 1/2 * * *'
|
||||
- cron: '25 2/3 * * *'
|
||||
|
||||
jobs:
|
||||
lock:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: 'Close stale issues and PRs'
|
||||
on:
|
||||
schedule:
|
||||
- cron: '30 2/2 * * *'
|
||||
- cron: '40 2/3 * * *'
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
|
||||
@@ -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*
|
||||
|
||||
@@ -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
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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' };
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-identicon" },
|
||||
{ "path": "../ui-keyring" }
|
||||
]
|
||||
}
|
||||
@@ -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
|
||||
};
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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' };
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../ui-keyring" },
|
||||
{ "path": "../vue-identicon" }
|
||||
]
|
||||
}
|
||||
@@ -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']
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "."
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../reactnative-identicon" },
|
||||
{ "path": "../ui-keyring" },
|
||||
{ "path": "../ui-settings" }
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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' };
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../ui-shared" },
|
||||
{ "path": "../ui-settings" }
|
||||
]
|
||||
}
|
||||
@@ -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']
|
||||
}
|
||||
|
||||
@@ -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": "*",
|
||||
|
||||
@@ -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' };
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../ui-settings" }
|
||||
]
|
||||
}
|
||||
@@ -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" }
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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' };
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": []
|
||||
}
|
||||
@@ -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"
|
||||
|
||||
@@ -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' };
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../ui-settings" }
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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' };
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": []
|
||||
}
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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' };
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": []
|
||||
}
|
||||
@@ -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": {
|
||||
|
||||
@@ -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' };
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../ui-shared" }
|
||||
]
|
||||
}
|
||||
@@ -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']
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"extends": "./tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "./packages"
|
||||
},
|
||||
"include": ["packages/**/src/**/*", "packages/**/*.js"],
|
||||
"exclue": ["**/node_modules/**/*"]
|
||||
}
|
||||
+16
-30
@@ -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" }
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user