Bump version to 1.1.42-rc13. Fix endpoint type for retries