Releases: jamieweavis/contribution
Releases · jamieweavis/contribution
3.0.1
Changes
- Updated project description
3.0.0
Breaking Changes
- Altered returned
data
object shape to use improved nested structure:data.bestStreak
>data.streak.best
data.currentStreak
>data.streak.current
data.bestDay
>data.contributions.best
data.currentDay
>data.contributions.current
data.contributions
>data.contributions.total
2.2.0
Changes
- New
currentDay
property on data object which is the amount of contributions done today
2.1.0
Changes
- Smaller package size with transpilation, minification and only shipping the
lib
directory - New
bestDay
property on data object which is the highest amount of contributions in a single day
2.0.0
Breaking Changes
- Callbacks
- Callback option has been renamed from
callback
toonSuccess
- New
onFailure
callback option is available to handle when username does not exist
- Callback option has been renamed from
- Promises & Async/await
- Error is thrown when username does not exist