My code was working in a previous version of my application and stopped working in a newer version. How to fix this?
see me relevant code snippet.
const web3auth = new Web3AuthNoModal({
clientId: client_Id,
web3AuthNetwork: 'testnet', // mainnet, aqua, celeste, cyan or testnet
chainConfig: {
chainNamespace: CHAIN_NAMESPACES.EIP155,
chainId: '0x1',
rpcTarget: 'https://rpc.ankr.com/eth', // This is the public RPC we have added, please pass on your own endpoint while creating an app
},
});
const openloginAdapter = new OpenloginAdapter({
adapterSettings: {
redirectUrl: ReUrl,
loginConfig: {
jwt: {
verifier: verifier_name,
typeOfLogin: 'jwt',
clientId: client_id,
},
},
},
});