Bump deps (#74)

* Bump deps

* Expose options with isDevelopment
This commit is contained in:
Jaco Greeff
2019-02-15 11:13:34 +01:00
committed by GitHub
parent 177d0093ea
commit 46a8dad405
7 changed files with 40 additions and 35 deletions
+3 -2
View File
@@ -3,8 +3,9 @@
// of the Apache-2.0 license. See the LICENSE file for details.
import { Prefix } from '@polkadot/keyring/address/types';
import { KeyringInstance, KeyringPair, KeyringOptions } from '@polkadot/keyring/types';
import { KeyringInstance, KeyringPair } from '@polkadot/keyring/types';
import { AddressSubject } from './observable/types';
import { KeyringOptions } from './types';
import testKeyring from '@polkadot/keyring/testing';
import { isBoolean, isString } from '@polkadot/util';
@@ -82,7 +83,7 @@ export default class Base {
env.set(isDevelopment);
}
protected initKeyring (options: KeyringOptions & { isDevelopment?: boolean }): void {
protected initKeyring (options: KeyringOptions): void {
const keyring = testKeyring({ addressPrefix: this._prefix, ...options });
if (isBoolean(options.isDevelopment)) {