new Base()

Method

static

_normalizeId(id) → object

Normalizes a WhatsApp ID object so that _serialized is always defined. WhatsApp Web changed _serialized to $1 in July 2026. This ensures backward compatibility so all downstream code can continue using _serialized.

Parameter

Name Type Optional Description

id

object

 

Returns

object