nuxt-modules / turnstile

đŸ”Ĩ Cloudflare Turnstile integration for Nuxt
https://cloudflare.com/products/turnstile
MIT License
215 stars 17 forks source link

Uncaught (in promise) ReferenceError: nextTick is not defined #273

Closed madebyfabian closed 10 months ago

madebyfabian commented 10 months ago

🐛 The bug

Hi there! After the update on 0.6.0, the widget stopped rendering and I get these console logs:

Bildschirmfoto 2023-08-27 um 20 54 25

You can reproduce it by opening the playground link.

🛠ī¸ To reproduce

https://stackblitz.com/github/nuxt-modules/turnstile/tree/main/playground?file=package.json

🌈 Expected behaviour

Everything should work like before 😄

ℹī¸ Additional context

No response

dargmuesli commented 10 months ago

My bad, I removed nextTick first, not knowing why it was required, then readded it with a comment explaining why it's needed but forgetting to readd the import statement. Should be fixed now! I'm in contact with @danielroe about release permissions so either he'll create a release or I'll do once the permissions are granted.

madebyfabian commented 10 months ago

@dargmuesli no worries, thank you so much!

AleexMzz commented 10 months ago

Hello, don't forget to update npmjs, thank you very much.

dargmuesli commented 10 months ago

Should be pushed to npm now! :raised_hands: I'm currently setting up a new ci pipeline and am trying to combine the best of two worlds :wink: somehow the push to npm got lost in the void, but now it's there.