message: added retry for signing data
diff: @@ -233,8 +233,11 @@ function safeTransactionTypedData(
  };
  }
  -export function signTypedData(web3: Web3, account: string, data: any): Promise<string> {
  - return new Promise((resolve, reject) => {
  +export async function signTypedData(web3: Web3, account: string, data: any): Promise<string> {
  + let signature: string | undefined;
  + let attempts = 0;
  + do {
  + signature = await new Promise((resolve, reject) => {
  let provider = web3.currentProvider;
  if (typeof provider === 'string') {
  throw new Error(`The provider ${web3.currentProvider} is not supported`);
  @@ -259,6 +262,11 @@ export function signTypedData(web3: Web3, account: string, data: any): Promise<s
  }
  );
  });
  + } while (signature == null && attempts++ < 5);
  + if (!signature) {
  + throw new Error(`unable to sign typed data for EOA ${account} with data ${JSON.stringify(data, null, 2)}`);
  + }
  + return signature;
  }
  export function ethSignSignatureToRSVForSafe(ethSignSignature: string) {
  