@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.
package/dist/index.js CHANGED
@@ -12870,53 +12870,53 @@ var KimaTransactionWidget = function KimaTransactionWidget(_ref) {
12870
12870
  var ConnectionProvider = SolanaAdapter.ConnectionProvider,
12871
12871
  SolanaWalletProvider = SolanaAdapter.WalletProvider;
12872
12872
  var ethereum = {
12873
- chainId: 11155111,
12874
- name: 'Ethereum Sepolia',
12873
+ chainId: 1,
12874
+ name: 'Ethereum Mainnet',
12875
12875
  currency: 'ETH',
12876
- explorerUrl: 'https://sepolia.etherscan.io',
12877
- rpcUrl: 'https://ethereum-sepolia-rpc.publicnode.com'
12876
+ explorerUrl: 'https://etherscan.io',
12877
+ rpcUrl: 'https://eth.llamarpc.com'
12878
12878
  };
12879
12879
  var bsc = {
12880
- chainId: 97,
12881
- name: 'BNB Smart Chain Testnet',
12882
- currency: 'tBNB',
12883
- explorerUrl: 'https://testnet.bscscan.com',
12884
- rpcUrl: 'https://endpoints.omniatech.io/v1/bsc/testnet/public'
12880
+ chainId: 56,
12881
+ name: 'BNB Smart Chain Mainnet',
12882
+ currency: 'BNB',
12883
+ explorerUrl: 'https://bscscan.com',
12884
+ rpcUrl: 'https://binance.llamarpc.com'
12885
12885
  };
12886
12886
  var polygon = {
12887
- chainId: 80002,
12888
- name: 'Amoy',
12887
+ chainId: 137,
12888
+ name: 'Polygon Mainnet',
12889
12889
  currency: 'MATIC',
12890
- explorerUrl: 'https://www.oklink.com/amoy',
12891
- rpcUrl: 'https://rpc-amoy.polygon.technology'
12890
+ explorerUrl: 'https://polygonscan.com',
12891
+ rpcUrl: 'https://polygon.llamarpc.com'
12892
12892
  };
12893
12893
  var arbitrum = {
12894
- chainId: 421614,
12895
- name: 'Arbitrum Sepolia Testnet',
12894
+ chainId: 42161,
12895
+ name: 'Arbitrum Mainnet',
12896
12896
  currency: 'ETH',
12897
- explorerUrl: 'https://sepolia.arbiscan.io/',
12898
- rpcUrl: 'https://sepolia-rollup.arbitrum.io/rpc'
12897
+ explorerUrl: 'https://arbiscan.io',
12898
+ rpcUrl: 'https://arbitrum.llamarpc.com'
12899
12899
  };
12900
12900
  var optimism = {
12901
- chainId: 11155420,
12902
- name: 'OP Sepolia',
12901
+ chainId: 10,
12902
+ name: 'OP Mainnet',
12903
12903
  currency: 'ETH',
12904
- explorerUrl: 'https://sepolia-optimism.etherscan.io',
12905
- rpcUrl: 'https://sepolia.optimism.io'
12904
+ explorerUrl: 'https://optimistic.etherscan.io',
12905
+ rpcUrl: 'https://optimism.llamarpc.com'
12906
12906
  };
12907
12907
  var avalanche = {
12908
- chainId: 43113,
12909
- name: 'Avalanche Fuji Testnet',
12908
+ chainId: 43114,
12909
+ name: 'Avalanche Mainnet',
12910
12910
  currency: 'AVAX',
12911
- explorerUrl: 'https://testnet.snowtrace.io',
12912
- rpcUrl: 'https://api.avax-test.network/ext/bc/C/rpc'
12911
+ explorerUrl: 'https://snowtrace.io',
12912
+ rpcUrl: 'https://api.avax.network/ext/bc/C/rpc'
12913
12913
  };
12914
12914
  var zkEVM = {
12915
- chainId: 2442,
12915
+ chainId: 1101,
12916
12916
  name: 'Polygon zkEVM Cardona Testnet',
12917
12917
  currency: 'ETH',
12918
- explorerUrl: 'https://cardona-zkevm.polygonscan.com',
12919
- rpcUrl: 'https://polygon-zkevm-cardona.blockpi.network/v1/rpc/public'
12918
+ explorerUrl: 'https://zkevm.polygonscan.com',
12919
+ rpcUrl: 'https://rpc.ankr.com/polygon_zkevm'
12920
12920
  };
12921
12921
  var metadata = {
12922
12922
  name: 'Kima Transaction Widget',
@@ -12945,6 +12945,7 @@ var KimaProvider = function KimaProvider(_ref) {
12945
12945
  } else toast.toast.error(e.message);
12946
12946
  }
12947
12947
  var onChainChanged = function onChainChanged(chainData) {
12948
+ console.log(chainData);
12948
12949
  toast.toast.error('Please switch to Tron Nile Testnet!');
12949
12950
  if (chainData.chainId !== '0xcd8690dc') {
12950
12951
  adapters[0].switchChain('0xcd8690dc');