chore(hoodie.store): extracted the eventing methods