message: Add: `core` purser signer `sendTransaction` method
diff: @@ -6,12 +6,15 @@ import {
  DESCRIPTORS,
  } from './defaults';
  -import type { WalletArgumentsType } from './flowtypes';
  +import type {
  + WalletArgumentsType,
  + TransactionResponseType,
  +} from './flowtypes';
  const { GENERIC_PROPS } = DESCRIPTORS;
  export default class PurserSigner extends Signer {
  - constructor(purserWalletInstance: WalletArgumentsType, provider) {
  + constructor(purserWalletInstance: WalletArgumentsType, provider: {}) {
  if (!provider) {
  /*
  * @TODO Better message copy
  @@ -33,6 +36,12 @@ export default class PurserSigner extends Signer {
  purserWalletInstance.signMessage({ message }),
  ...GENERIC_PROPS,
  },
  + sendTransaction: {
  + value:
  + async (signedTransaction: string): Promise<TransactionResponseType> =>
  + provider.sendTransaction(signedTransaction),
  + ...GENERIC_PROPS,
  + }
  });
  }
  }
  