Othent
search
Ctrlk
Othent
  • 👋Welcome to Othent
  • 🥪JS SDK
    • Getting Started
    • Events
    • Error Handling
    • Binary Data Types Utils
    • TypeScript Types
    • Config Constants
  • 🥪JS SDK API
    • constructor()
    • startTabSynching()
    • completeConnectionAfterRedirect()
    • connect()
    • disconnect()
    • requireAuth()
    • isAuthenticated
    • getActiveAddress()
    • getActivePublicKey()
    • getAllAddresses()
    • getWalletNames()
    • getUserDetails()
    • getSyncActiveAddress()
    • getSyncActivePublicKey()
    • getSyncAllAddresses()
    • getSyncWalletNames()
    • getSyncUserDetails()
    • sign() (transaction)
    • dispatch() (transaction)
    • encrypt()
    • decrypt()
    • signature()
    • signDataItem()
    • signMessage()
    • verifyMessage()
    • privateHash()
    • walletName
    • walletVersion
    • config
    • getArweaveConfig()
    • getPermissions()
  • Demos
    • 🍏SDK playground / demoarrow-up-right
    • 🍏SDK playground / demo GitHubarrow-up-right
    • 🍎File upload app examplearrow-up-right
    • 🍎File upload app example GitHubarrow-up-right
  • 📚External libraries
    • arweave-jsarrow-up-right
    • Arweave Wallet Kitarrow-up-right
  • Additional Links
    • 🌐Othent.ioarrow-up-right
    • 🌐Discordarrow-up-right
    • 🌐GitHubarrow-up-right
    • 🌐Xarrow-up-right
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. 🥪JS SDK

Config Constants

Othent exported config constants.

While you are most likely no going to need to access these constants directly, they have been exported just in case.

hashtag
config.constants.tsarrow-up-right

  • DEFAULT_OTHENT_CONFIG: OthentConfig

  • DEFAULT_APP_INFO: AppInfo

  • DEFAULT_GATEWAY_CONFIG: GatewayConfigarrow-up-right

  • DEFAULT_OTHENT_OPTIONS: OthentOptions

  • DEFAULT_DISPATCH_NODE: UrlStringarrow-up-right

  • DEFAULT_COOKIE_KEY: OthentStorageKeyarrow-up-right

  • DEFAULT_LOCAL_STORAGE_KEY: OthentStorageKeyarrow-up-right

  • CLIENT_NAME: string

  • CLIENT_VERSION: string

  • ANALYTICS_TAGS: Tag[]arrow-up-right

PreviousTypeScript Typeschevron-leftNextconstructor()chevron-right

Last updated 1 year ago