javascript v0.0.1-alpha.8
over 2 years ago by ReadMe API
What’s New:
- Added pin message API’s namely
pinMessage,unpinMessageandgetPinMessageInfoList. Refer pin message docs. - Added
getTargetedWidgetIdAndKindwidget API. Refer getTargetedWidgetIdAndKind API doc. - Added reward action API’s namely
getRewardActionsandgetInvokedRewardActions. Refer reward action docs. - Added quest API’s namely
getQuests,startUserQuest,getUserQuests,updateUserQuestTasks,incrementUserQuestTaskProgress,setUserQuestTaskProgress,getQuestRewards,getUserQuestRewardsandclaimUserQuestRewards. Refer quest docs. getWidgetInteractionsalso supportinteractionUrlas argument prop (similar togetWidgetsInteractions).claimPredictionRewardsAPI now only supports follow up widget details (since this API needs to be used only in the case of follow up widgets).
Fixes:
- internally refactored
getWidgetInteractionsAPI to extend support for follow up widgets. Internally it usesgetTargetedWidgetIdAndKindAPI to get its corresponding interacted widget details and return widget interactions against that widget details. This is useful in the case of prediction followup widgets.
