pub const MAX_SAFE_INTEGER: u64 = 9_007_199_254_740_991;
Largest integer JavaScript represents exactly; timestamps and counters beyond it are rejected rather than rounded.