Is your feature request related to a problem? Please describe.
The version of web-vitals used by this library (3.3.2) is quite old (May 2023) and unsupported. The latest version is 4.2.4 and we're even working on a v5.
v4 includes a number of improvements, particular for INP tracking.
Describe the solution you'd like
It might be a good idea to upgrade to v4.2.4 now to get the latest, and minimise issues when upgrading to v5 later.
FID has also been deprecated and replaced by INP (already being tracked). So might be good idea to remove that since it it's deprecated in v4 and removed in v5.
Describe alternatives you've considered
Leave as is, or wait for v5. Or upgraxde to v4, but still collect FID for now.
Additional context
I'm the maintainer of web-vitals so happy to answer any questions you might have!
I'm also happy to add a PR for this as looks fairly simple. However, there are some breaking changes in v4, which may affect users of this so not sure what the best way is of communicating this (of it it needs to wait for a major upgrade of Snowplow?)
Is your feature request related to a problem? Please describe.
The version of web-vitals used by this library (3.3.2) is quite old (May 2023) and unsupported. The latest version is 4.2.4 and we're even working on a v5.
v4 includes a number of improvements, particular for INP tracking.
Describe the solution you'd like
It might be a good idea to upgrade to v4.2.4 now to get the latest, and minimise issues when upgrading to v5 later.
FID has also been deprecated and replaced by INP (already being tracked). So might be good idea to remove that since it it's deprecated in v4 and removed in v5.
Describe alternatives you've considered
Leave as is, or wait for v5. Or upgraxde to v4, but still collect FID for now.
Additional context
I'm the maintainer of web-vitals so happy to answer any questions you might have!
I'm also happy to add a PR for this as looks fairly simple. However, there are some breaking changes in v4, which may affect users of this so not sure what the best way is of communicating this (of it it needs to wait for a major upgrade of Snowplow?)