@kimafinance/kima-transaction-widget 1.2.41 → 1.2.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11965,53 +11965,53 @@ const {
11965
11965
  WalletProvider: SolanaWalletProvider
11966
11966
  } = SolanaAdapter;
11967
11967
  const ethereum = {
11968
- chainId: 11155111,
11969
- name: 'Ethereum Sepolia',
11968
+ chainId: 1,
11969
+ name: 'Ethereum Mainnet',
11970
11970
  currency: 'ETH',
11971
- explorerUrl: 'https://sepolia.etherscan.io',
11972
- rpcUrl: 'https://ethereum-sepolia-rpc.publicnode.com'
11971
+ explorerUrl: 'https://etherscan.io',
11972
+ rpcUrl: 'https://eth.llamarpc.com'
11973
11973
  };
11974
11974
  const bsc = {
11975
- chainId: 97,
11976
- name: 'BNB Smart Chain Testnet',
11977
- currency: 'tBNB',
11978
- explorerUrl: 'https://testnet.bscscan.com',
11979
- rpcUrl: 'https://endpoints.omniatech.io/v1/bsc/testnet/public'
11975
+ chainId: 56,
11976
+ name: 'BNB Smart Chain Mainnet',
11977
+ currency: 'BNB',
11978
+ explorerUrl: 'https://bscscan.com',
11979
+ rpcUrl: 'https://binance.llamarpc.com'
11980
11980
  };
11981
11981
  const polygon = {
11982
- chainId: 80002,
11983
- name: 'Amoy',
11982
+ chainId: 137,
11983
+ name: 'Polygon Mainnet',
11984
11984
  currency: 'MATIC',
11985
- explorerUrl: 'https://www.oklink.com/amoy',
11986
- rpcUrl: 'https://rpc-amoy.polygon.technology'
11985
+ explorerUrl: 'https://polygonscan.com',
11986
+ rpcUrl: 'https://polygon.llamarpc.com'
11987
11987
  };
11988
11988
  const arbitrum = {
11989
- chainId: 421614,
11990
- name: 'Arbitrum Sepolia Testnet',
11989
+ chainId: 42161,
11990
+ name: 'Arbitrum Mainnet',
11991
11991
  currency: 'ETH',
11992
- explorerUrl: 'https://sepolia.arbiscan.io/',
11993
- rpcUrl: 'https://sepolia-rollup.arbitrum.io/rpc'
11992
+ explorerUrl: 'https://arbiscan.io',
11993
+ rpcUrl: 'https://arbitrum.llamarpc.com'
11994
11994
  };
11995
11995
  const optimism = {
11996
- chainId: 11155420,
11997
- name: 'OP Sepolia',
11996
+ chainId: 10,
11997
+ name: 'OP Mainnet',
11998
11998
  currency: 'ETH',
11999
- explorerUrl: 'https://sepolia-optimism.etherscan.io',
12000
- rpcUrl: 'https://sepolia.optimism.io'
11999
+ explorerUrl: 'https://optimistic.etherscan.io',
12000
+ rpcUrl: 'https://optimism.llamarpc.com'
12001
12001
  };
12002
12002
  const avalanche = {
12003
- chainId: 43113,
12004
- name: 'Avalanche Fuji Testnet',
12003
+ chainId: 43114,
12004
+ name: 'Avalanche Mainnet',
12005
12005
  currency: 'AVAX',
12006
- explorerUrl: 'https://testnet.snowtrace.io',
12007
- rpcUrl: 'https://api.avax-test.network/ext/bc/C/rpc'
12006
+ explorerUrl: 'https://snowtrace.io',
12007
+ rpcUrl: 'https://api.avax.network/ext/bc/C/rpc'
12008
12008
  };
12009
12009
  const zkEVM = {
12010
- chainId: 2442,
12010
+ chainId: 1101,
12011
12011
  name: 'Polygon zkEVM Cardona Testnet',
12012
12012
  currency: 'ETH',
12013
- explorerUrl: 'https://cardona-zkevm.polygonscan.com',
12014
- rpcUrl: 'https://polygon-zkevm-cardona.blockpi.network/v1/rpc/public'
12013
+ explorerUrl: 'https://zkevm.polygonscan.com',
12014
+ rpcUrl: 'https://rpc.ankr.com/polygon_zkevm'
12015
12015
  };
12016
12016
  const metadata = {
12017
12017
  name: 'Kima Transaction Widget',
@@ -12041,6 +12041,7 @@ const KimaProvider = ({
12041
12041
  } else toast$1.error(e.message);
12042
12042
  }
12043
12043
  const onChainChanged = chainData => {
12044
+ console.log(chainData);
12044
12045
  toast$1.error('Please switch to Tron Nile Testnet!');
12045
12046
  if (chainData.chainId !== '0xcd8690dc') {
12046
12047
  adapters[0].switchChain('0xcd8690dc');