version for npm release (add middleware)