Thanks for reporting the issue. I could reproduce the same issue withall these as well:
pg_logical_slot_peek_changespg_logical_slot_get_binary_changespg_logical_slot_peek_binary_changes
thanksShveta