Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace setup

Index

Functions

  • debug(__namedParameters: { enabled: boolean }): boolean
  • Toggle debug mode.

    Only adds a few console.logs at this moment.

    Parameters

    • __namedParameters: { enabled: boolean }
      • enabled: boolean

    Returns boolean

  • Override endpoints.

    You can override each of these, no need to provide them all here.

    api Location of the Fission API (default https://runfission.com) apiVersion Vesion of the Fission API (defaults to the latest version) lobby Location of the authentication lobby. (default https://auth.fission.codes) user User's domain to use, will be prefixed by username. (default fission.name)

    Parameters

    Returns Endpoints

  • shouldPin(__namedParameters: { enabled: boolean }): boolean
  • Configure whether webnative should aggressively pin everything, or pin nothing at all.

    Parameters

    • __namedParameters: { enabled: boolean }
      • enabled: boolean

    Returns boolean

  • Configure messages that webnative sends to users.

    versionMismatch.newer is shown when webnative detects that the user's filesystem is newer than what this version of webnative supports. versionMismatch.older is shown when webnative detects that the user's filesystem is older than what this version of webnative supports.

    Parameters

    Returns UserMessages

Generated using TypeDoc