reticulum-js
    Preparing search index...
    • Parses a signed notify command's inner value (Rust parse_notify_command).

      Modern form: ["register"|"unregister"|"clear", relay_hex_str|nil, bin(16) channel_hash|nil]. Legacy form (when defaultKind is set and the value isn't a 3-array): [relay_hex_str, bin(16) ch|nil], or a bare string for clear.

      Parameters

      • valueBytes: Uint8Array<ArrayBufferLike>
      • OptionaldefaultKind: string

        Inferred from the request path; op in the modern form must match it when provided.

      Returns {
          channelHash: Uint8Array<ArrayBufferLike> | null;
          kind: string;
          relayHash: string | null;
      }