Error While integrating Gassless

Got following error when trying to integrate following


  let walletProvider = new ethers.AlchemyProvider("maticmum","https://polygon-mumbai.g.alchemy.com/v2/PvgBlFCsMVqRMtlreVvLFPyPfZWMupAQ");

  console.log(walletProvider);
  const wallet = new ethers.Wallet(privateKey, walletProvider);
  const wallet1 = new SmartAccount(walletProvider, {
    debug: false,
    activeNetworkId: 80001,
    supportedNetworksIds: [80001],
    networkConfig: [
      {
        chainId: 80001,
        dappAPIKey: "cPcj7RT6D.e6856fe2-d206-4d09-bc95-971c80c92752",
      },
    ],
  });

The error is caused by wallet1.init()


This is the updated error