Documentation
    Preparing search index...

    Function buildShellCapabilities

    • Build the shell's immutable live capability snapshot from adapter wiring.

      Parameters

      • hooks: ShellAdapter

        The ShellAdapter provided by the host app.

      Returns ShellCapabilities

      Domain-only ShellCapabilities for the current live wiring.

      const caps = buildShellCapabilities(hooks);
      // caps.domains => ['relay', 'identity', 'storage', 'inc', 'theme', 'keys', 'media', 'notify']