message: Fix: `purser-metamask` detect before accessing state
diff: @@ -118,8 +118,15 @@ export const detect = async (): Promise<boolean> => detectHelper();
  * @return {Promise<void>} Does not return noting
  */
  export const accountChangeHook =
  - async (callback: MetamaskStateEventsObserverType): Promise<void> =>
  - setStateEventObserver(callback);
  + async (callback: MetamaskStateEventsObserverType): Promise<void> => {
  + /*
  + * If detect fails, it will throw, with a message explaining the problem
  + * (Most likely Metamask will be locked, so we won't be able to get to
  + * the state observer via the in-page provider)
  + */
  + detectHelper();
  + return setStateEventObserver(callback);
  + };
  /*
  * @NOTE There's an argument to be made here to expose the new version
  