In my case since it was a supported package, all I had to do was updating wrangler.toml from
wrangler.toml
compatibility_date="2023-05-18"
to
compatibility_date="2024-09-23"