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 / demo
    • 🍏SDK playground / demo GitHub
    • 🍎File upload app example
    • 🍎File upload app example GitHub
  • 📚External libraries
    • arweave-js
    • Arweave Wallet Kit
  • Additional Links
    • 🌐Othent.io
    • 🌐Discord
    • 🌐GitHub
    • 🌐X
Powered by GitBook
On this page
  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.

config.constants.ts

  • DEFAULT_OTHENT_CONFIG: OthentConfig

  • DEFAULT_APP_INFO: AppInfo

  • DEFAULT_GATEWAY_CONFIG: GatewayConfig

  • DEFAULT_OTHENT_OPTIONS: OthentOptions

  • DEFAULT_DISPATCH_NODE: UrlString

  • DEFAULT_COOKIE_KEY: OthentStorageKey

  • DEFAULT_LOCAL_STORAGE_KEY: OthentStorageKey

  • CLIENT_NAME: string

  • CLIENT_VERSION: string

  • ANALYTICS_TAGS: Tag[]

PreviousTypeScript TypesNextconstructor()

Last updated 10 months ago

🥪