Constants [Internal]

Event Types
export const eventTypes = {
  logIn: 'Log in',
  triaSignUp: 'Tria Sign up',
  socialSignUp: 'Social Sign up',
  signMessage: 'Sign Message',
  send: 'Send',
  disconnect: 'Disconnect',
  switchChain: 'Switch chain',
  detected: 'Detected Logged in Tria account',
  logout: 'Logout',
  passMessage: 'Pass Message',
  accessToken: 'Access Token Pass',
  idTokenPass: 'Id Token Pass',
  saveToAuth: 'Save to Auth Iframe',
};
chainIdToChainName
const chainIdToChainName = {
  80001: 'MUMBAI',
  137: 'POLYGON',
  1: 'ETH',
  43114: 'AVALANCHE',
  42161: 'ARBITRUM',
  56: 'BINANCE',
  10: 'OPTIMISM',
  250: 'FANTOM',
  122: 'FUSE',
};
export const TRIA_WALLET_STORE = 'tria.wallet.store';
export const TRIA_WALLET_SELECTED_CHAIN = 'tria.wallet.selectedChain';
export const triaAuthUrl = 'https://auth.tria.so';
export const triaWalletUrl = 'https://wallet.tria.so';

Last updated