Hello,
I maintain the `node-strava-v3` library. Through a bug report, I learned that some segment effort IDs are very large numbers, larger than JavaScripts MAX_SAFE_INTEGER value. This is causing the values to get truncated during parsing and bugs result.
Here's an illustration:
2922283800928553000 <- What node-strava-v3 returns for a segment effort ID
2922283800928553202 <- What a direct API call with Curl returns for the same
9007199254740991 <- For reference, the max Int size in Javascript
If Strava wants to support languages with similar "max int" values, returning these IDs as a string instead of a number could resolve the issue.
Mark