break out hash invalidation
Merge pull request #4 from shoelace-ui/validate-hash

break out hash invalidation