message: Add: `purser-software` index named exports
diff: @@ -24,9 +24,6 @@ import SoftwareWallet from './class';
  import { REQUIRED_PROPS as REQUIRED_PROPS_SOFTWARE } from './defaults';
  import { staticMethods as messages } from './messages';
  -const softwareWallet: Object = Object.assign(
  - {},
  - {
  /**
  * Open an existing wallet
  * Using either `mnemonic`, `private key` or `encrypted keystore`
  @@ -54,7 +51,7 @@ const softwareWallet: Object = Object.assign(
  * @return {WalletType} A new wallet object (or undefined) if somehwere along
  * the line an error is thrown.
  */
  - open: async (
  +export const open = async (
  argumentObject: WalletArgumentsType = {},
  ): Promise<SoftwareWallet | void> => {
  /*
  @@ -114,9 +111,9 @@ const softwareWallet: Object = Object.assign(
  * @TODO Detect if existing but not valid mnemonic, and warn the user
  */
  if (mnemonic && HDNode.isValidMnemonic(mnemonic)) {
  - const mnemonicWallet: Object = HDNode.fromMnemonic(
  - mnemonic,
  - ).derivePath(derivationPath);
  + const mnemonicWallet: Object = HDNode.fromMnemonic(mnemonic).derivePath(
  + derivationPath,
  + );
  extractedPrivateKey = mnemonicWallet.privateKey;
  }
  /*
  @@ -151,7 +148,8 @@ const softwareWallet: Object = Object.assign(
  })} Error: ${caughtError.message}`,
  );
  }
  - },
  +};
  +
  /**
  * Create a new wallet.
  *
  @@ -168,7 +166,7 @@ const softwareWallet: Object = Object.assign(
  *
  * @return {WalletType} A new wallet object
  */
  - create: async (
  +export const create = async (
  argumentObject: WalletArgumentsType = {},
  ): Promise<SoftwareWallet | void> => {
  /*
  @@ -210,8 +208,11 @@ const softwareWallet: Object = Object.assign(
  } catch (caughtError) {
  throw new Error(`${messages.create} Error: ${caughtError.message}`);
  }
  - },
  - },
  -);
  +};
  +
  +const softwareWallet: Object = {
  + open,
  + create,
  +};
  export default softwareWallet;
  