javascript v0.0.1-alpha.8

What’s New:

  • Added pin message API’s namely pinMessage, unpinMessage and getPinMessageInfoList. Refer pin message docs.
  • Added getTargetedWidgetIdAndKind widget API. Refer getTargetedWidgetIdAndKind API doc.
  • Added reward action API’s namely getRewardActions and getInvokedRewardActions. Refer reward action docs.
  • Added quest API’s namely getQuests, startUserQuest, getUserQuests, updateUserQuestTasks, incrementUserQuestTaskProgress, setUserQuestTaskProgress, getQuestRewards, getUserQuestRewards and claimUserQuestRewards. Refer quest docs.
  • getWidgetInteractions also support interactionUrl as argument prop (similar to getWidgetsInteractions).
  • claimPredictionRewards API 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 getWidgetInteractions API to extend support for follow up widgets. Internally it uses getTargetedWidgetIdAndKind API 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.