0.45.1 (#1219)
This commit is contained in:
parent
b87697e2c5
commit
379b0e4b5d
12
CHANGELOG.md
12
CHANGELOG.md
@ -1,5 +1,17 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 0.45.1 Mar 5, 2023
|
||||
|
||||
- **Important** Not published to the stores, aligns with latest released packages.
|
||||
|
||||
Changes:
|
||||
|
||||
- Swap TS -> JS compiler to use tsc (from babel)
|
||||
- Adjust all tests to use `node:test` runner (ESM variants)
|
||||
- Updated to `@polkadot/api` 10.0.1
|
||||
- Updated to `@polkadot/util` 11.0.1
|
||||
|
||||
|
||||
## 0.44.9 Feb 19, 2023
|
||||
|
||||
- **Important** Not published to the stores, aligns with latest released packages.
|
||||
|
||||
19
package.json
19
package.json
@ -10,7 +10,7 @@
|
||||
"url": "https://github.com/polkadot-js/extension.git"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"version": "0.44.10-4-x",
|
||||
"version": "0.45.0",
|
||||
"versions": {
|
||||
"git": "0.44.10-4-x",
|
||||
"npm": "0.44.9"
|
||||
@ -38,20 +38,19 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.21.0",
|
||||
"@polkadot/dev": "^0.69.25",
|
||||
"@polkadot/dev": "^0.69.28",
|
||||
"@types/node": "^18.14.5",
|
||||
"i18next-scanner": "^4.1.1",
|
||||
"sinon-chrome": "^3.0.1"
|
||||
},
|
||||
"resolutions": {
|
||||
"@polkadot/api": "^9.14.2",
|
||||
"@polkadot/keyring": "^10.4.2",
|
||||
"@polkadot/networks": "^10.4.2",
|
||||
"@polkadot/types": "^9.14.2",
|
||||
"@polkadot/util": "^10.4.2",
|
||||
"@polkadot/util-crypto": "^10.4.2",
|
||||
"@polkadot/x-fetch": "^10.4.2",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"@polkadot/api": "^10.0.1",
|
||||
"@polkadot/keyring": "^11.0.1",
|
||||
"@polkadot/networks": "^11.0.1",
|
||||
"@polkadot/types": "^10.0.1",
|
||||
"@polkadot/util": "^11.0.1",
|
||||
"@polkadot/util-crypto": "^11.0.1",
|
||||
"@polkadot/x-fetch": "^11.0.1",
|
||||
"safe-buffer": "^5.2.1",
|
||||
"typescript": "^4.9.5"
|
||||
}
|
||||
|
||||
@ -17,27 +17,27 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "0.44.10-4-x",
|
||||
"version": "0.45.0",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.21.0",
|
||||
"@polkadot/api": "^9.14.2",
|
||||
"@polkadot/extension-chains": "^0.44.10-4-x",
|
||||
"@polkadot/extension-dapp": "^0.44.10-4-x",
|
||||
"@polkadot/extension-inject": "^0.44.10-4-x",
|
||||
"@polkadot/keyring": "^10.4.2",
|
||||
"@polkadot/networks": "^10.4.2",
|
||||
"@polkadot/phishing": "^0.19.3",
|
||||
"@polkadot/rpc-provider": "^9.14.2",
|
||||
"@polkadot/types": "^9.14.2",
|
||||
"@polkadot/ui-keyring": "^2.12.1",
|
||||
"@polkadot/ui-settings": "^2.12.1",
|
||||
"@polkadot/util": "^10.4.2",
|
||||
"@polkadot/util-crypto": "^10.4.2",
|
||||
"@polkadot/api": "^10.0.1",
|
||||
"@polkadot/extension-chains": "^0.45.0",
|
||||
"@polkadot/extension-dapp": "^0.45.0",
|
||||
"@polkadot/extension-inject": "^0.45.0",
|
||||
"@polkadot/keyring": "^11.0.1",
|
||||
"@polkadot/networks": "^11.0.1",
|
||||
"@polkadot/phishing": "^0.20.1",
|
||||
"@polkadot/rpc-provider": "^10.0.1",
|
||||
"@polkadot/types": "^10.0.1",
|
||||
"@polkadot/ui-keyring": "^3.0.1",
|
||||
"@polkadot/ui-settings": "^3.0.1",
|
||||
"@polkadot/util": "^11.0.1",
|
||||
"@polkadot/util-crypto": "^11.0.1",
|
||||
"eventemitter3": "^5.0.0",
|
||||
"rxjs": "^7.8.0"
|
||||
"rxjs": "^7.8.0",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/extension-mocks": "^0.44.10-4-x"
|
||||
"@polkadot/extension-mocks": "^0.45.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -17,14 +17,14 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "0.44.10-4-x",
|
||||
"version": "0.45.0",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.21.0",
|
||||
"@polkadot/extension-inject": "^0.44.10-4-x",
|
||||
"@polkadot/networks": "^10.4.2",
|
||||
"@polkadot/util": "^10.4.2",
|
||||
"@polkadot/util-crypto": "^10.4.2"
|
||||
"@polkadot/extension-inject": "^0.45.0",
|
||||
"@polkadot/networks": "^11.0.1",
|
||||
"@polkadot/util": "^11.0.1",
|
||||
"@polkadot/util-crypto": "^11.0.1",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/api": "*",
|
||||
|
||||
@ -17,14 +17,14 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "0.44.10-4-x",
|
||||
"version": "0.45.0",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.21.0",
|
||||
"@metamask/detect-provider": "^1.2.0",
|
||||
"@polkadot/extension-inject": "^0.44.10-4-x",
|
||||
"@polkadot/types": "^9.14.2",
|
||||
"@polkadot/util": "^10.4.2",
|
||||
"@polkadot/extension-inject": "^0.45.0",
|
||||
"@polkadot/types": "^10.0.1",
|
||||
"@polkadot/util": "^11.0.1",
|
||||
"tslib": "^2.5.0",
|
||||
"web3": "^1.8.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@ -17,13 +17,13 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "0.44.10-4-x",
|
||||
"version": "0.45.0",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.21.0",
|
||||
"@polkadot/extension-inject": "^0.44.10-4-x",
|
||||
"@polkadot/util": "^10.4.2",
|
||||
"@polkadot/util-crypto": "^10.4.2"
|
||||
"@polkadot/extension-inject": "^0.45.0",
|
||||
"@polkadot/util": "^11.0.1",
|
||||
"@polkadot/util-crypto": "^11.0.1",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/api": "*",
|
||||
|
||||
@ -14,15 +14,15 @@
|
||||
},
|
||||
"sideEffects": true,
|
||||
"type": "module",
|
||||
"version": "0.44.10-4-x",
|
||||
"version": "0.45.0",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.21.0",
|
||||
"@polkadot/rpc-provider": "^9.14.2",
|
||||
"@polkadot/types": "^9.14.2",
|
||||
"@polkadot/util": "^10.4.2",
|
||||
"@polkadot/util-crypto": "^10.4.2",
|
||||
"@polkadot/x-global": "^10.4.2"
|
||||
"@polkadot/rpc-provider": "^10.0.1",
|
||||
"@polkadot/types": "^10.0.1",
|
||||
"@polkadot/util": "^11.0.1",
|
||||
"@polkadot/util-crypto": "^11.0.1",
|
||||
"@polkadot/x-global": "^11.0.1",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/chrome": "^0.0.219",
|
||||
|
||||
@ -14,10 +14,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.44.10-4-x",
|
||||
"version": "0.45.0",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.21.0",
|
||||
"sinon-chrome": "^3.0.1"
|
||||
"sinon-chrome": "^3.0.1",
|
||||
"tslib": "^2.5.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,29 +14,28 @@
|
||||
},
|
||||
"sideEffects": true,
|
||||
"type": "module",
|
||||
"version": "0.44.10-4-x",
|
||||
"version": "0.45.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.21.0",
|
||||
"@fortawesome/fontawesome-svg-core": "^6.3.0",
|
||||
"@fortawesome/free-brands-svg-icons": "^6.3.0",
|
||||
"@fortawesome/free-regular-svg-icons": "^6.3.0",
|
||||
"@fortawesome/free-solid-svg-icons": "^6.3.0",
|
||||
"@fortawesome/react-fontawesome": "^0.2.0",
|
||||
"@polkadot/extension-base": "^0.44.10-4-x",
|
||||
"@polkadot/extension-chains": "^0.44.10-4-x",
|
||||
"@polkadot/extension-dapp": "^0.44.10-4-x",
|
||||
"@polkadot/extension-inject": "^0.44.10-4-x",
|
||||
"@polkadot/hw-ledger": "^10.4.2",
|
||||
"@polkadot/keyring": "^10.4.2",
|
||||
"@polkadot/networks": "^10.4.2",
|
||||
"@polkadot/react-identicon": "^2.12.1",
|
||||
"@polkadot/react-qr": "^2.12.1",
|
||||
"@polkadot/types": "^9.14.2",
|
||||
"@polkadot/types-augment": "^9.14.2",
|
||||
"@polkadot/ui-keyring": "^2.12.1",
|
||||
"@polkadot/ui-settings": "^2.12.1",
|
||||
"@polkadot/util": "^10.4.2",
|
||||
"@polkadot/util-crypto": "^10.4.2",
|
||||
"@polkadot/extension-base": "^0.45.0",
|
||||
"@polkadot/extension-chains": "^0.45.0",
|
||||
"@polkadot/extension-dapp": "^0.45.0",
|
||||
"@polkadot/extension-inject": "^0.45.0",
|
||||
"@polkadot/hw-ledger": "^11.0.1",
|
||||
"@polkadot/keyring": "^11.0.1",
|
||||
"@polkadot/networks": "^11.0.1",
|
||||
"@polkadot/react-identicon": "^3.0.1",
|
||||
"@polkadot/react-qr": "^3.0.1",
|
||||
"@polkadot/types": "^10.0.1",
|
||||
"@polkadot/types-augment": "^10.0.1",
|
||||
"@polkadot/ui-keyring": "^3.0.1",
|
||||
"@polkadot/ui-settings": "^3.0.1",
|
||||
"@polkadot/util": "^11.0.1",
|
||||
"@polkadot/util-crypto": "^11.0.1",
|
||||
"file-saver": "^2.0.5",
|
||||
"i18next": "^22.4.10",
|
||||
"react": "^18.2.0",
|
||||
@ -46,10 +45,11 @@
|
||||
"react-is": "^18.2.0",
|
||||
"react-router": "^5.3.4",
|
||||
"react-router-dom": "^5.3.4",
|
||||
"styled-components": "^5.3.8"
|
||||
"styled-components": "^5.3.8",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/extension-mocks": "^0.44.10-4-x",
|
||||
"@polkadot/extension-mocks": "^0.45.0",
|
||||
"@types/enzyme": "^3.10.12",
|
||||
"@types/enzyme-adapter-react-16": "^1.0.6",
|
||||
"@types/file-saver": "^2.0.5",
|
||||
|
||||
@ -14,16 +14,15 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.44.10-4-x",
|
||||
"version": "0.45.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.21.0",
|
||||
"@polkadot/extension-base": "^0.44.10-4-x",
|
||||
"@polkadot/extension-inject": "^0.44.10-4-x",
|
||||
"@polkadot/extension-ui": "^0.44.10-4-x"
|
||||
"@polkadot/extension-base": "^0.45.0",
|
||||
"@polkadot/extension-inject": "^0.45.0",
|
||||
"@polkadot/extension-ui": "^0.45.0",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/dev": "^0.69.25",
|
||||
"babel-loader": "^8.3.0",
|
||||
"@polkadot/dev": "^0.69.28",
|
||||
"browser-resolve": "^2.0.0",
|
||||
"buffer": "^6.0.3",
|
||||
"copy-webpack-plugin": "^11.0.0",
|
||||
@ -34,7 +33,7 @@
|
||||
"path-browserify": "^1.0.1",
|
||||
"process": "^0.11.10",
|
||||
"stream-browserify": "^3.0.0",
|
||||
"thread-loader": "^3.0.4",
|
||||
"ts-loader": "^9.4.2",
|
||||
"url-loader": "^4.1.1",
|
||||
"webpack-extension-manifest-plugin": "^0.8.0"
|
||||
}
|
||||
|
||||
@ -30,11 +30,14 @@ module.exports = (entry, alias = {}) => ({
|
||||
rules: [
|
||||
{
|
||||
exclude: /(node_modules)/,
|
||||
test: /\.(js|mjs|ts|tsx)$/,
|
||||
test: /\.(ts|tsx)$/,
|
||||
use: [
|
||||
{
|
||||
loader: require.resolve('babel-loader'),
|
||||
options: require('@polkadot/dev/config/babel-config-webpack.cjs')
|
||||
loader: require.resolve('ts-loader'),
|
||||
options: {
|
||||
configFile: 'tsconfig.webpack.json',
|
||||
transpileOnly: true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
6
tsconfig.webpack.json
Normal file
6
tsconfig.webpack.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
"module": "es2020"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user