refactor: paste component fix: lint issues and delete unused hook test: add test fix: update api for npm broadcast channel