message: Refactor: `purser-metamask` `methodCaller()` helper method
diff: @@ -69,10 +69,10 @@ export const detect = async (): Promise<boolean> => {
  *
  * @return {any} It returns the result of the callback execution
  */
  -export const methodCaller = (
  +export const methodCaller = async (
  callback: () => any,
  errorMessage: string = '',
  -): any => {
  +): Promise<any> => {
  try {
  /*
  * Detect if the Metamask injected proxy is (still) available
  @@ -83,7 +83,7 @@ export const methodCaller = (
  * See: https://github.com/facebook/jest/issues/936
  */
  /* eslint-disable-next-line no-use-before-define */
  - metamaskHelpers.detect();
  + await metamaskHelpers.detect();
  return callback();
  } catch (caughtError) {
  throw new Error(
  