@archastro/sdk
    Preparing search index...
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Create an owner-only relay Only the owning user in the same app may access this relay.

      Parameters

      • input: { purpose: string; ttl_seconds: number }

        Request body.

      Returns Promise<Relay>

      Successful response

    • Extend an owner-only relay Only the owning user in the same app may access this relay.

      Parameters

      • relay: string
      • input: { ttl_seconds: number }

        Request body.

      Returns Promise<Relay>

      Successful response

    • Create an owner-only relay short code Stores encrypted launch parameters for a live relay owned by the signed-in user.

      Parameters

      • relay: string
      • input: { params: Record<string, unknown>; target_path: string }

        Request body.

      Returns Promise<RelayLink>

      Successful response