Bump deps, remove deprecated ui-util (#145)

* Bump deps, remove deprecated ui-util

* Bumop, fix lint

* Update vuepress config (excl. removed ui-util)
This commit is contained in:
Jaco Greeff
2019-06-12 18:54:31 +02:00
committed by GitHub
parent f440b95671
commit 0acf9520c8
17 changed files with 598 additions and 790 deletions
+1 -2
View File
@@ -4,8 +4,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import { encodeAddress } from '@polkadot/keyring';
import { randomAsU8a } from '@polkadot/util-crypto';
import { encodeAddress, randomAsU8a } from '@polkadot/util-crypto';
import IdentityIcon from '.';
+2 -2
View File
@@ -2,15 +2,15 @@
// 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/keyring/address/types';
import { Prefix } from '@polkadot/util-crypto/address/types';
import { IdentityProps as Props } from './types';
import React from 'react';
import CopyToClipboard from 'react-copy-to-clipboard';
import styled from 'styled-components';
import { decodeAddress, encodeAddress } from '@polkadot/keyring';
import settings from '@polkadot/ui-settings';
import { isHex, isU8a, u8aToHex } from '@polkadot/util';
import { decodeAddress, encodeAddress } from '@polkadot/util-crypto';
import { Beachball, Empty, Jdenticon, Polkadot } from './icons';
+1 -2
View File
@@ -3,9 +3,8 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { encodeAddress } from '@polkadot/keyring';
import { isNull } from '@polkadot/util';
import { randomAsU8a } from '@polkadot/util-crypto';
import { encodeAddress, randomAsU8a } from '@polkadot/util-crypto';
import identicon from '.';
+1 -2
View File
@@ -19,8 +19,7 @@
import { Props as BaseProps } from '../types';
import React from 'react';
import { decodeAddress } from '@polkadot/keyring';
import { blake2AsU8a } from '@polkadot/util-crypto';
import { blake2AsU8a, decodeAddress } from '@polkadot/util-crypto';
type Props = BaseProps & {
sixPoint?: boolean
+1 -1
View File
@@ -2,7 +2,7 @@
// 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/keyring/address/types';
import { Prefix } from '@polkadot/util-crypto/address/types';
export type BaseProps = {
className?: string,