v1.26.0

@March 29, 2022

What is updated?

  • isNewUser property is added by torusEmbed in getUserInfo() response.

export interface UserInfo {
  /**
   * Returns if the logged in user is new to Torus wallet which supports Startrail login
   */
  isNewUser?: boolean | ''
  /**
   * Email of the logged in user if your selected wallets knows it
   */
  email: string
  /**
   * Full name of the logged in user if your selected wallets knows it
   */
  name: string
  /**
   * Profile image of the logged in user if your selected wallets knows it
   */
  profileImage: string
  /**
   * verifier of the logged in user (google, facebook etc) if your selected wallets knows it
   */
  verifier: string
  /**
   * Verifier Id of the logged in user if your selected wallets knows it
   *
   * email for google,
   * id for facebook,
   * username for reddit,
   * id for twitch,
   * id for discord
   */
  verifierId: string
  typeOfLogin?: LoginProvider | ''
  wallet?: WalletType
}

Last updated

©2023 Startbahn, Inc.