Amarula.Baileys (amarula v0.1.0)

View Source

Which upstream Baileys revision Amarula's port currently tracks.

Amarula is a port of Baileys; its protocol logic is meant to stay faithful to a specific upstream revision. This module is the single source of truth for which one — so you can git diff that revision against newer Baileys and find changes worth porting.

This is source parity, distinct from the WhatsApp Web protocol version (Amarula.Config's :version, e.g. [2, 3000, ...]) which is the on-the-wire version WhatsApp must accept. Baileys can refactor logic we'd want to mirror without the WA version changing, and vice versa — keep the two separate.

See docs/PARITY.md for the bump runbook (how to sync to a newer Baileys).

Summary

Types

The pinned upstream Baileys revision Amarula tracks.

Functions

The pinned upstream Baileys revision this build of Amarula tracks.

Types

parity()

@type parity() :: %{
  version: String.t(),
  commit: String.t(),
  date: String.t(),
  repo: String.t()
}

The pinned upstream Baileys revision Amarula tracks.

Functions

parity()

@spec parity() :: parity()

The pinned upstream Baileys revision this build of Amarula tracks.

iex> Amarula.Baileys.parity().version
"7.0.0-rc13"