0.31 (#374)
* 0.31 * CHANGELOG, actual version bump * Update provider for new API
This commit is contained in:
parent
e9fe113b29
commit
6a33d1dbea
@ -1,5 +1,10 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 0.31.1 Jun 24, 2020
|
||||
|
||||
- Indicate password error when account cannot be unlocked on signing
|
||||
- Support for new Polkadot/Kusama/Substrate signing payloads
|
||||
|
||||
## 0.30.1 Jun 8, 2020
|
||||
|
||||
- Add the ability to import JSON keystore files (Thanks to https://github.com/shawntabrizi)
|
||||
|
||||
@ -9,5 +9,5 @@
|
||||
"packages": [
|
||||
"packages/*"
|
||||
],
|
||||
"version": "0.30.1"
|
||||
"version": "0.31.0"
|
||||
}
|
||||
|
||||
22
package.json
22
package.json
@ -2,17 +2,17 @@
|
||||
"repository": "https://github.com/polkadot-js/extension",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"license": "Apache-2",
|
||||
"version": "0.30.1",
|
||||
"version": "0.31.0",
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
"resolutions": {
|
||||
"@polkadot/api": "^1.20.0-beta.3",
|
||||
"@polkadot/keyring": "^2.14.1",
|
||||
"@polkadot/types": "^1.20.0-beta.3",
|
||||
"@polkadot/util": "^2.14.1",
|
||||
"@polkadot/util-crypto": "^2.14.1",
|
||||
"@polkadot/api": "^1.22.0-beta.1",
|
||||
"@polkadot/keyring": "^2.15.1",
|
||||
"@polkadot/types": "^1.22.0-beta.1",
|
||||
"@polkadot/util": "^2.15.1",
|
||||
"@polkadot/util-crypto": "^2.15.1",
|
||||
"babel-core": "^7.0.0-bridge.0"
|
||||
},
|
||||
"scripts": {
|
||||
@ -31,13 +31,13 @@
|
||||
"watch": "cd packages/extension && yarn polkadot-exec-webpack --config webpack.config.js --watch"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.10.2",
|
||||
"@polkadot/dev": "^0.55.10",
|
||||
"@polkadot/typegen": "^1.20.0-beta.3",
|
||||
"@types/jest": "^25.2.3",
|
||||
"@babel/core": "^7.10.3",
|
||||
"@polkadot/dev": "^0.55.12",
|
||||
"@polkadot/typegen": "^1.22.0-beta.1",
|
||||
"@types/jest": "^26.0.0",
|
||||
"copy-webpack-plugin": "^6.0.2",
|
||||
"sinon-chrome": "^3.0.1",
|
||||
"stylelint": "^13.6.0",
|
||||
"stylelint": "^13.6.1",
|
||||
"stylelint-config-recommended": "^3.0.0",
|
||||
"stylelint-config-styled-components": "^0.1.1"
|
||||
}
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
{
|
||||
"name": "@polkadot/extension-base",
|
||||
"description": "Functions, classes and other utilities used in @polkadot/extension",
|
||||
"version": "0.30.1",
|
||||
"version": "0.31.0",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"license": "Apache-2",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.2",
|
||||
"@polkadot/api": "^1.20.0-beta.3",
|
||||
"@polkadot/extension-inject": "0.30.1",
|
||||
"@polkadot/keyring": "^2.14.1",
|
||||
"@polkadot/ui-keyring": "^0.54.1"
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@polkadot/api": "^1.22.0-beta.1",
|
||||
"@polkadot/extension-inject": "0.31.0",
|
||||
"@polkadot/keyring": "^2.15.1",
|
||||
"@polkadot/ui-keyring": "^0.55.0-beta.1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -365,7 +365,7 @@ export default class State {
|
||||
return Promise.resolve(this.#providers[key].meta);
|
||||
}
|
||||
|
||||
public rpcSubscribe ({ method, params, type }: RequestRpcSubscribe, cb: ProviderInterfaceCallback, port: chrome.runtime.Port): Promise<number> {
|
||||
public rpcSubscribe ({ method, params, type }: RequestRpcSubscribe, cb: ProviderInterfaceCallback, port: chrome.runtime.Port): Promise<number | string> {
|
||||
const provider = this.#injectedProviders.get(port);
|
||||
|
||||
assert(provider, 'Cannot call pub(rpc.subscribe) before provider is set');
|
||||
|
||||
@ -227,7 +227,7 @@ export interface RequestRpcSubscribe extends RequestRpcSend {
|
||||
|
||||
export interface RequestRpcUnsubscribe {
|
||||
method: string;
|
||||
subscriptionId: number;
|
||||
subscriptionId: number | string;
|
||||
type: string;
|
||||
}
|
||||
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "@polkadot/extension-chains",
|
||||
"description": "Definitions for all known chains as exposed by the extension.",
|
||||
"version": "0.30.1",
|
||||
"version": "0.31.0",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"license": "Apache-2",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.2"
|
||||
"@babel/runtime": "^7.10.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/api": "*"
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
{
|
||||
"name": "@polkadot/extension-dapp",
|
||||
"description": "Provides an interfaces around the injected globals for ease of access by dapp developers.",
|
||||
"version": "0.30.1",
|
||||
"version": "0.31.0",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"license": "Apache-2",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.2",
|
||||
"@polkadot/extension-inject": "0.30.1",
|
||||
"@polkadot/util": "^2.14.1",
|
||||
"@polkadot/util-crypto": "^2.14.1"
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@polkadot/extension-inject": "0.31.0",
|
||||
"@polkadot/util": "^2.15.1",
|
||||
"@polkadot/util-crypto": "^2.15.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/api": "*"
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
{
|
||||
"name": "@polkadot/extension-inject",
|
||||
"description": "A generic injector (usable to any extension), that populates the base exposed interfaces to be used by dapps.",
|
||||
"version": "0.30.1",
|
||||
"version": "0.31.0",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"license": "Apache-2",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.2"
|
||||
"@babel/runtime": "^7.10.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/chrome": "^0.0.114",
|
||||
"@types/chrome": "^0.0.117",
|
||||
"@types/firefox-webext-browser": "^70.0.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@ -1,18 +1,18 @@
|
||||
{
|
||||
"name": "@polkadot/extension-ui",
|
||||
"description": "A sample signer extension for the @polkadot/api",
|
||||
"version": "0.30.1",
|
||||
"version": "0.31.0",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"license": "Apache-2",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.2",
|
||||
"@polkadot/extension-base": "0.30.1",
|
||||
"@polkadot/extension-inject": "0.30.1",
|
||||
"@polkadot/keyring": "^2.14.1",
|
||||
"@polkadot/react-identicon": "^0.54.1",
|
||||
"@polkadot/react-qr": "^0.54.1",
|
||||
"@polkadot/util": "^2.14.1",
|
||||
"@polkadot/util-crypto": "^2.14.1",
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@polkadot/extension-base": "0.31.0",
|
||||
"@polkadot/extension-inject": "0.31.0",
|
||||
"@polkadot/keyring": "^2.15.1",
|
||||
"@polkadot/react-identicon": "^0.55.0-beta.1",
|
||||
"@polkadot/react-qr": "^0.55.0-beta.1",
|
||||
"@polkadot/util": "^2.15.1",
|
||||
"@polkadot/util-crypto": "^2.15.1",
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
"react-dropzone": "^11.0.1",
|
||||
@ -27,7 +27,7 @@
|
||||
"@types/enzyme-adapter-react-16": "^1.0.6",
|
||||
"@types/react-copy-to-clipboard": "^4.3.0",
|
||||
"@types/react-dom": "^16.9.8",
|
||||
"@types/react-router": "^5.1.7",
|
||||
"@types/react-router": "^5.1.8",
|
||||
"@types/react-router-dom": "^5.1.5",
|
||||
"@types/sinon-chrome": "^2.2.9",
|
||||
"@types/styled-components": "^5.1.0",
|
||||
|
||||
@ -1,17 +1,17 @@
|
||||
{
|
||||
"name": "@polkadot/extension",
|
||||
"description": "A sample signer extension for the @polkadot/api",
|
||||
"version": "0.30.1",
|
||||
"version": "0.31.0",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"license": "Apache-2",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.2",
|
||||
"@polkadot/extension-base": "0.30.1",
|
||||
"@polkadot/extension-inject": "0.30.1",
|
||||
"@polkadot/extension-ui": "0.30.1"
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@polkadot/extension-base": "0.31.0",
|
||||
"@polkadot/extension-inject": "0.31.0",
|
||||
"@polkadot/extension-ui": "0.31.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/dev": "^0.55.10",
|
||||
"@polkadot/dev": "^0.55.12",
|
||||
"babel-loader": "^8.1.0",
|
||||
"extract-loader": "^5.1.0",
|
||||
"file-loader": "^6.0.0",
|
||||
@ -19,7 +19,7 @@
|
||||
"sinon-chrome": "^3.0.1",
|
||||
"thread-loader": "^2.1.3",
|
||||
"webpack": "^4.43.0",
|
||||
"webpack-cli": "^3.3.11",
|
||||
"webpack-cli": "^3.3.12",
|
||||
"webpack-extension-manifest-plugin": "^0.5.0"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user