Source

utils/types.ts

/**
 * @category Types
 *
 * @typedef {object} FaceLoginResponse - Response of login
 * @property {object} wallet - Wallet information
 * @property {string} wallet.id - Unique wallet id.
 * @property {string} wallet.address - Wallet's address.
 * @property {string} wallet.ecdsaPublicKey - Encrypted using ecdsa algorithm public key.
 * @property {string} wallet.eddsaPublicKey - Encrypted using eddsa algorithm public key.
 * @property {string} faceUserId - Unique user ID using on Face Wallet.
 */

/**
 * @category Types
 *
 * @typedef {object} Network - Blockchain networks
 * @property {string} ETHEREUM - ethereum network
 * @property {string} GOERLI - goerli network
 * @property {string} POLYGON - polygon network
 * @property {string} MUMBAI - mumbai network
 * @property {string} BNB_SMART_CHAIN - bnb_smart_chain network
 * @property {string} BNB_SMART_CHAIN_TESTNET - bnb_smart_chain_testnet network
 * @property {string} KLAYTN - klaytn network
 * @property {string} BAOBAB - baobab network
 * @property {string} SOLANA - solana network
 * @property {string} SOLANA_DEVNET - solana_devnet network
 * @property {string} NEAR - near network
 * @property {string} NEAR_TESTNET - near_testnet network
 * @property {string} BORA - bora network
 * @property {string} BORA_TESTNET - bora_testnet network
 */