Bump deps (#215)

This commit is contained in:
Jaco Greeff
2019-09-25 14:00:43 +02:00
committed by GitHub
parent fb59238ef0
commit 741ca2a150
15 changed files with 614 additions and 713 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
# 0.44.1
- Update `@polkadot/util` to 1.4.1
- Upddate to babel 7.6
- Upddate to Babel 7.6
# 0.43.1
+5 -5
View File
@@ -26,13 +26,13 @@
"test:one": "jest"
},
"devDependencies": {
"@babel/core": "^7.6.0",
"@babel/runtime": "^7.6.0",
"@polkadot/dev-react": "^0.31.0-beta.8",
"@polkadot/ts": "^0.1.72",
"@babel/core": "^7.6.2",
"@babel/runtime": "^7.6.2",
"@polkadot/dev-react": "^0.31.1",
"@polkadot/ts": "^0.1.73",
"babel-plugin-transform-vue-template": "^0.4.2",
"empty": "^0.10.1",
"gh-pages": "^2.1.1",
"webpack-serve": "^3.1.1"
"webpack-serve": "^3.2.0"
}
}
+1 -1
View File
@@ -9,6 +9,6 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.0"
"@babel/runtime": "^7.6.2"
}
}
+2 -4
View File
@@ -2,8 +2,6 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { Prefix } from '@polkadot/util-crypto/address/types';
import React, { useEffect, useState } from 'react';
import ReactDOM from 'react-dom';
import Identicon from '@polkadot/react-identicon';
@@ -24,7 +22,7 @@ if (!rootElement) {
function App ({ className }: Props): React.ReactElement<Props> | null {
const [address, setAddress] = useState<string | null>(null);
const [phrase, setPhrase] = useState<string | null>(null);
const [ss58Format, setSS58Format] = useState<Prefix>(42);
const [ss58Format, setSS58Format] = useState(42);
const _onClickNew = (): void => {
const phrase = mnemonicGenerate(12);
@@ -34,7 +32,7 @@ function App ({ className }: Props): React.ReactElement<Props> | null {
setPhrase(phrase);
};
const _onChangeSS58Format = ({ currentTarget: { value } }: React.SyntheticEvent<HTMLSelectElement>): void => {
setSS58Format(parseInt(value, 10) as Prefix);
setSS58Format(parseInt(value, 10));
};
useEffect((): void => {
+1 -1
View File
@@ -9,6 +9,6 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.0"
"@babel/runtime": "^7.6.2"
}
}
+4 -4
View File
@@ -9,7 +9,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.0",
"@babel/runtime": "^7.6.2",
"@polkadot/ui-settings": "^0.45.0-beta.13",
"@polkadot/ui-shared": "^0.45.0-beta.13",
"@types/color": "^3.0.0",
@@ -17,7 +17,7 @@
"color": "^3.1.2",
"jdenticon": "2.2.0",
"react-copy-to-clipboard": "^5.0.1",
"styled-components": "^4.3.1"
"styled-components": "^4.4.0"
},
"peerDependencies": {
"@polkadot/keyring": "*",
@@ -25,8 +25,8 @@
"react": "*"
},
"devDependencies": {
"@polkadot/keyring": "^1.4.1",
"@polkadot/util-crypto": "^1.4.1",
"@polkadot/keyring": "^1.5.1",
"@polkadot/util-crypto": "^1.5.1",
"xmlserializer": "^0.6.1"
}
}
+2 -2
View File
@@ -9,9 +9,9 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.0",
"@babel/runtime": "^7.6.2",
"@types/react-qr-reader": "^2.1.1",
"qrcode-generator": "^1.4.3",
"qrcode-generator": "^1.4.4",
"react-qr-reader": "^2.2.1"
}
}
+4 -4
View File
@@ -9,16 +9,16 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.0",
"@babel/runtime": "^7.6.2",
"@polkadot/ui-shared": "^0.45.0-beta.13",
"react-native-svg": "^9.9.3"
"react-native-svg": "^9.9.4"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"devDependencies": {
"@types/react-native": "^0.60.12",
"react-native": "^0.60.5"
"@types/react-native": "^0.60.15",
"react-native": "^0.61.1"
}
}
+1 -1
View File
@@ -9,6 +9,6 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.0"
"@babel/runtime": "^7.6.2"
}
}
+5 -6
View File
@@ -17,7 +17,7 @@
"./ledger/transportsWeb": "./ledger/transportsEmpty"
},
"dependencies": {
"@babel/runtime": "^7.6.0",
"@babel/runtime": "^7.6.2",
"@ledgerhq/hw-transport-u2f": "^4.70.0",
"@ledgerhq/hw-transport-webusb": "^4.70.0",
"@types/ledgerhq__hw-transport-node-hid": "^4.21.1",
@@ -27,13 +27,12 @@
"extensionizer": "^1.0.1",
"ledger-polkadot": "^0.0.4",
"mkdirp": "^0.5.1",
"store": "^2.0.12",
"styled-components": "^4.3.1"
"store": "^2.0.12"
},
"devDependencies": {
"@polkadot/keyring": "^1.4.1",
"@polkadot/types": "^0.93.0-beta.7",
"@polkadot/util": "^1.4.1"
"@polkadot/keyring": "^1.5.1",
"@polkadot/types": "^0.93.0-beta.19",
"@polkadot/util": "^1.5.1"
},
"optionalDependencies": {
"@ledgerhq/hw-transport-node-hid": "^4.70.0"
+4 -8
View File
@@ -64,15 +64,11 @@ export default class Base {
}
public decodeAddress = (key: string | Uint8Array, ignoreChecksum?: boolean, ss58Format?: Prefix): Uint8Array => {
// FIXME Tryings are wrong... :()
// eslint-disable-next-line @typescript-eslint/no-explicit-any
return (this.keyring.decodeAddress as any)(key, ignoreChecksum, ss58Format);
return this.keyring.decodeAddress(key, ignoreChecksum, ss58Format);
}
public encodeAddress = (key: string | Uint8Array, ss58Format?: Prefix): string => {
// FIXME Tryings are wrong... :()
// eslint-disable-next-line @typescript-eslint/no-explicit-any
return (this.keyring.encodeAddress as any)(key, ss58Format);
return this.keyring.encodeAddress(key, ss58Format);
}
public getPair (address: string | Uint8Array): KeyringPair {
@@ -100,8 +96,8 @@ export default class Base {
return password.length > 0 && password.length <= MAX_PASS_LEN;
}
public setSS58Format (ss58Format: number): void {
this._ss58Format = ss58Format as Prefix;
public setSS58Format (ss58Format: Prefix): void {
this._ss58Format = ss58Format;
}
public setDevMode (isDevelopment: boolean): void {
+2 -2
View File
@@ -9,12 +9,12 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.0",
"@babel/runtime": "^7.6.2",
"@types/store": "^2.0.2",
"store": "^2.0.12"
},
"devDependencies": {
"@polkadot/util": "^1.4.1"
"@polkadot/util": "^1.5.1"
},
"peerDependencies": {
"@polkadot/util": "*"
+2 -2
View File
@@ -9,7 +9,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.0",
"@babel/runtime": "^7.6.2",
"@types/color": "^3.0.0",
"color": "^3.1.2"
},
@@ -17,6 +17,6 @@
"@polkadot/util-crypto": "*"
},
"devDependencies": {
"@polkadot/util-crypto": "^1.4.1"
"@polkadot/util-crypto": "^1.5.1"
}
}
+1 -1
View File
@@ -9,7 +9,7 @@
"main": "index.js",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.0",
"@babel/runtime": "^7.6.2",
"@polkadot/ui-shared": "^0.45.0-beta.13",
"jdenticon": "2.2.0"
},
+579 -671
View File
File diff suppressed because it is too large Load Diff