@nebius/js-sdk - v0.2.54
    Preparing search index...

    Function sanitizeNoSignature

    • Shortens a token format that has no signature.

      When the payload after prefix has 15 characters or fewer, this function returns the complete token and leaves the payload visible.

      Parameters

      • token: string
      • prefix: string

      Returns string