## 2.59.1-alpha.0 (November 20, 2025)

### Fixes:

- Removed vulnerabilties and updated to stable version

## 2.59.0 (June 30, 2025)

### What's new:

- added `sendChatIcon` and `chatSettingIcon` properties to the `livelike-live-chat` component for `livelike-livechat-chat-composer` icons.
- added support to localize `livelike-live-chat` UI static strings.

## 2.58.0 (June 25, 2025)

### What's new:

- added localization support for all Web SDK methods.
- introduced two new APIs: `getLanguage` and `setLanguage` for retrieving and setting the desired language in SDK APIs.
- added a new `lang` property to the `init` method to specify the language during SDK initialization.
- added support to localize `livelike-live-chat` UI static strings

## 2.57.7 (April 15, 2025)

### Fixes:

- removed unnecessary JS code from the DOM in `livelike-chat` caused by a missing `renderComposer()` call.

## 2.57.6 (November 27, 2024)

### Fixes:

- update vulnerable dependencies to fixed version.

## 2.57.5 (November 26, 2024)

### Fixes:

- update vulnerable dependencies to fixed version.

## 2.57.4 (November 14, 2024)

### Fixes:

- web SDK Vote event fired for poll widgets on reload.

## 2.57.3 (July 31, 2024)

### Fixes:

- fixed chat memory leak issue

## 2.57.2 (July 3, 2024)

### Fixes:

- fixed livechat composer bug on opening user setting while sending empty message
- fixed composer height auto adjusting on adding stickers
- added `maxThresholdMessagesCount` in chat to limit number of messages to be shown

## 2.57.1 (July 2, 2024)

### Fixes:

- fixed special character render issue in quote message

## 2.57.1-alpha.0 (July 1, 2024)

### What's new:

- added new LiveLike Live Chat component `<livelike-live-chat>`
- added support for `sponsors` on all types of widgets.

## 2.57.0 (May 17, 2024)

### What's new:

- Added embeddable reaction component `<livelike-embed-reaction>`

## 2.56.0 (May 16, 2024)

### What's new:

- enabled localization on `livelike-load-more-button` component label `Load More`.
- added arguement `questIds` to `getUserQuests` API which would enable integrators to fetch user quests based on quest ids.

### Fixes:

- allow integrators to pass url with query params in `url` arguement and additonal query param in `queryParams` arguement for `request` api.

## 2.55.1-alpha.3 (May 1, 2024)

### What's new:

- enabled spoiler prevention in reactions for `livelike-chat` messages.

- added param `status` to `getQuests` API which would enable integrators to fetch quests based on it’s status.

## 2.55.1-alpha.2 (April 24, 2024)

### Fixes:

- Fixed scroll issue on sending long messages and gifs in `livelike-chat` when list virtualisation is enabled

## 2.55.1-alpha.1 (April 16, 2024)

### Fixes:

- fix sorting issue in `livelike-chat` messages caused by spoiler prevention with messages sent at the same program_date_time, ensuring correct order by converting variables to milliseconds for comparison in the `programDateTimeSort` function.

## 2.55.1-alpha.0 (April 1, 2024)

### What’s new:

- Added list virtualisation to `livelike-chat`, optimizing message list performance by dynamically rendering only visible message items in the DOM. Integrators can enable virtualization by passing the `virtualList` prop to the `livelike-chat` component

## 2.55.0 (March 26, 2024)

### What’s new:

- introduced `renderMessageList` , `renderLoadPrevMessageButton` , `renderComposer` methods for integrators to override `livelike-chat` web components allowing them to customize `livelike-message-list` , load previous button and `livelike-chat-composer` .
- exposed `LiveLikeChatComposer` , `LiveLikeMessageList` , `LivelikeChatMessageAvatar` , `LiveLikeGiphyPicker` , `LiveLikeStickerPicker` , `LiveLikeQuoteMessageItem` , `LiveLikeChatMessageItem` , `LiveLikeMessageListScrollDown`, `LiveLikeMessageMenu` and `LiveLikeConfirmation` web components from `livelike-chat`.
- added params to send `reward_item_amount` and `reward_item_id` in options for `createImagePredictionWidget` API.
- added param `pageSize` to `getLeaderboardEntries` API which would enable integrators to fetch leaderboard enteries based on page size.

### Fixes:

- removed pubnub dependency for showing reactions in `livelike-chat`.

## 2.54.1-alpha.0 (January 31, 2024)

### What’s new:

- exposed all JavaScript APIs and global singleton SDK objects from JS SDK and reexported them from web SDK.

## 2.54.0 (December 7, 2023)

### What’s new:

- introduced `createImageNumberPredictionWidget`, `updateImageNumberPredictionWidgetOption`, and `createNumberPredictionFollowUpWidget` SDK API’s that would enable integrators to create image number prediction widget.

## 2.53.0 (December 6, 2023)

### What's New:

- added `request` util API for user to easily make backend request using REST API (refer [request doc](https://docs.livelike.com/docs/web-request) for more details).
- added `createUserProfileAuth` and `createPersonalApiAuth` API that could be used to pass authorisation token to `request` util API.
- all create widget API now supports passing list of sponsor Id using `sponsorIds` argument prop.

## 2.53.0-alpha.3 (November 30, 2023)

### Fixes:

- added a fix to `<livelike-comments>` to let users see visited replies after sorting the comment list.

## 2.53.0-alpha.2 (November 20, 2023)

### What's New:

- added `userQuestIds` arg prop to [`getUserQuestRewards`](https://websdk.livelikecdn.com/docs/2.53.0-alpha.2/functions/quest.getUserQuestRewards.html) API that would enable integrators to get rewards for multiple user quest Ids.

- internal type documentation package update resulting in new UI for type documentation.

## 2.53.0-alpha.1 (November 16, 2023)

What’s New:

- introduced optional title in rich post widget interface

## 2.53.0-alpha.0 (November 2, 2023)

### Fixes:

- update vulnerable dependencies and devDependencies to fixed version.

## 2.52.1 (October 16, 2023)

Fixes:

- added a fix to the`<livelike-text-ask>`component to make `.hidden` class name style more specific to avoid polluting client app styles with same class name.

## 2.52.0 (October 13, 2023)

### What’s New:

- added create widget API’s for creating, publising and deleting widget from SDK, namely `createTextPollWidget`, `createImagePollWidget`, `createTextPredictionWidget`, `createImagePredictionWidget`, `updateTextPredictionWidgetOption`, `updateImagePredictionWidgetOption`, `createPredictionFollowUpWidget`, `createTextQuizWidget`, `createImageQuizWidget`, `createAlertWidget`, `createTextAskWidget`, `publishWidget` and `deleteWidget` API. Refer [docs](https://docs.livelike.com/docs/creating-and-scheduling-widgets) for more details.
- `customId` arg prop from `createCommentBoard` API is now optional.
- added `widgetAttributes` arg prop to `getPostedWidgets` and `getWidgets` API that would enable listing widgets based on given widget attributes.

## 2.51.1 (October 9, 2023)

Fixes:

- added a fix to the `<livelike-comments>` component to hide the "Load More" button in the main comment list when there are no more comments to load.

## 2.51.0 (October 4, 2023)

What's new:

- added `profaneComment` and `profaneCommentFilterFunction` property to the `<livelike-comments>` component, allowing users to configure the behaviour of profane comments.

Fixes:

- added a fix to the `<livelike-comments>` component to show proper reply count when user post a new reply and navigates back to the same reply list within 30 seconds after posting a reply.

## 2.50.1 (September 21, 2023)

### Fixes:

- fix vulnerable superagent dependency package by updating pubnub to `7.3.3`. Refer [pubnub js sdk](https://github.com/pubnub/javascript/issues/317) issue for further details.

## 2.50.0 (September 5, 2023)

### What New:

- added `excludeDeletedCommentWithNoReplies` argument properties to `getComments` and `getCommentReplies` API’s.
- replaced `created_by` with `created_by_id` in comment board model.

### Fixes:

- added a fix for `livelike-comments` component to properly show comment/reply count when comment or reply list has deleted comments or filtered comments.

## 2.49.0 (August 30, 2023)

### What's New:

- added `topLevel`, `since` and `until` arg properties to `getComments` API.
- added `since` and `until` arg properties to `getCommentReplies` API.
- filter out profane comment as a default behaviour from comment/replies list for `livelike-comments` stock component.
- filter out deleted comment with no replies and hide reactions on deleted comments with replies for `livelike-comments` stock component.
- show error banner for any error that occurs during posting a new comment/reply for `livelike-comments` stock component.

## 2.48.0 (August 17, 2023)

### What's new

- added `unassignRedemptionKey` API
- added `isAssigned` arg prop to `getRedemptionKeys` API.

## 2.47.0 (August 10, 2023)

### What's New:

- added `authorImageUrl` arg prop to `addComment` and `addCommentReply` API.
- added `contentFilter` arg prop to `createCommentBoard` and `updateCommentBoard` API.
- added `livelike-reaction` component that would enable showing user reactions and performing add/remove user reaction actions.
- added reactions in `livelike-comments` where if a reaction space is created for a comment board, user could add/remove reaction on every comment/reply.
- added moderation capability to `livelike-comments` where user could block comment author, report comments and delete self comments.
- every moderation action shows a info/error banner for `livelike-comments`.
- added showing spinner when loading replies for `livelike-comments`.
- added `commentController`, `bannerController`, `userReactionController`, `reactionSpaceController` and `reactionPackController` to extend/customise default `livelike-comments` behaviour.

### Fixes:

- fix placeholder text for `livelike-comments` composer which now supports localization.
- fix minor UI styles for `livelike-comments`.

## 2.46.1 (July 28, 2023)

### Fixes:

- fix `livelike-comments` component not loading comments list when sdk is already initialised.

## 2.46.0 (July 28, 2023)

### What's New:

- added `livelike-comments` stock UI web component (and its related components).
- `getProfileChatRoomMemberships` API now supports fetching chat room memberships based on profileIds, when no profileIds are passed it fetches chat room memberships for current profile.
- added optional `profileIds` arg for `getChatRoomMemberships` API to filter chat room memberships based on given profileIds.
- minor TS typing change for `IComment` interface.

## 2.45.0 (July 6, 2023)

### What's New?

- `getPostedWidgets` API now supports video on demand widgets where we have introduced `playback_time_ms` property in `IWidgetPayload`. Refer [VOD Widgets](https://docs.livelike.com/docs/vod-widgets) doc for more details.

### Fixes

- Instead of SDK deriving next url for `getMessageList` API iterator, now next url is based on the server response.

## 2.44.0 (June 20, 2023)

### What's New?

- added support for showing GIPHY preview when sending giphy message (set `imagepicker` attribute to `livelike-chat` for enabling giphy preview).

## 2.43.1 (June 15, 2023)

### Fixes:

- fixed bug for `livelike-widgets` where `dateTimeFormatter` is not initialised and invoked causing the UI to break.

## 2.43.0 (June 7, 2023)

### What's New:

- added `replies_count` and make `replies_url` not nullable in the comment resource
- added `dateTimeFormatter` function to `livelike-chat` and `livelike-widgets` element
- added `autoclaim_interaction_rewards` boolean to the application resource
- added `getSmartContracts` for fetching smart contract address details that could be used to get aliases name for contract addresses for logged in user. Refer [Doc](https://docs.livelike.com/docs/token-gating-chat#get-smart-contracts-to-create-token-gated-chatroom) for more details.
- added `attributes` and `token_type` property to `createChatRoom` API argument for creating token gated chat room.
- added `token_type` and `metadata` property to `contract_balances` in `getTokenGatedChatRoomAccessDetails` API response for getting token gated chat room.
- added `uploadImage` API.

## 2.42.0 (May 25, 2023)

### What's New:

- added `imagePicker` property to `livelike-chat` element for allowing stock UI users to upload images from device storage in the chat rooms. Refer [Chat Image Picker](https://docs.livelike.com/docs/chat-message-image-picker#showing-image-picker) Doc.
- added `chatImagePickerRenderer` property to `livelike-chat` element to customise the chat image picker. Refer [Customise Image Picker](https://docs.livelike.com/docs/chat-message-image-picker#customise-image-picker) Doc.
- Reactions in a Chat Room are now supported using the LiveLike Reaction as a Service.
- added `getTokenGatedChatRoomAccessDetails` API for fetching token gated chat room details that could be used to verify whether a user’s wallet address has access to chat room Refer [Token Gating Chat](https://docs.livelike.com/docs/token-gating-chat) for more details.
- added `token_gates` property to `createChatRoom` API argument for creating token gated chat room.

## 2.41.1-alpha.0 (May 16, 2023)

### Fixes:

- fixed bug for `livelike-widgets` element where not all widgets were shown in the timeline when multiple widgets were scheduled to be published at the same time.

## 2.41.0 (April 27, 2023)

### What’s New:

- Added User presence based APIs namely `getPresenceUserChannels`, `getPresenceChannelUsers`, `joinPresenceChannel`, `leavePresenceChannel`, `setPresenceUserAttributes`, `getPresenceUserAttributes`, `addPresenceListener`, `removePresenceListener`. Refer [User Presence](https://docs.livelike.com/docs/presence) Doc.

## 2.40.0 (April 27, 2023)

### What’s New:

- Added Comment Report based APIs namely `createCommentReport`, `getCommentReport`, `getCommentReports`, `dismissCommentReport`, `dismissAllCommentReports` and `deleteCommentReport`. Refer Doc [Comment Report](https://docs.livelike.com/docs/comment-boards#create-comment-report)
- Added comment APIs namely `getComment` and `getCommentReplies`. Refer Doc [Comment](https://docs.livelike.com/docs/comment-boards#get-a-list-of-replies-to-a-comment)

## 2.39.0 (March 29, 2023)

### What's New:

- Added Social Graph based APIs namely `getProfileRelationshipTypes`, `getProfileRelationships`, `createProfileRelationship`, `getProfileRelationshipDetails` and `deleteProfileRelationship`. Refer Doc [Social Graph](https://docs.livelike.com/docs/social-graph-service)
- Added comment board ban APIs namely `createCommentBoardBan`, `getCommentBoardBans`, `getCommentBoardBan` and `deleteCommentBoardBan`. Refer Doc [Comment Board Ban](https://docs.livelike.com/docs/comment-boards#comment-board-moderation)
- Added property `profileIds` and `attributes` to arguments of `getInvokedRewardActions` API. This would help in filtering invoked actions history by a specific set of profile Ids and attributes. Refer Doc [Invoked Reward Actions](https://docs.livelike.com/docs/reward-actions#list-of-all-invoked-reward-actions)
- Added comment APIs namely 'addComment','addCommentReply',‘ getComments', 'editComment', 'deleteComment'. Refer Doc [Comment](https://docs.livelike.com/docs/comment-boards)

## 2.38.1 (February 8, 2023)

### Fixes:

- fixed subscription listeners not working on sdk re-initialization

## 2.38.0 (January 17, 2023)

### What's New?

- added comment board related API i.e `createCommentBoard`, `updateCommentBoard`, `deleteCommentBoard`, `getCommentBoards` and `getCommentBoardDetails` API.

## 2.37.1 (December 21, 2022)

### Fixes:

- fixed `init` method not resolving on sdk re-initialization.

## 2.37.0 (December 6, 2022)

### What's New:

- Added `getBadgeProfiles` API.

## 2.36.0 (November 22, 2022)

### What's New:

- Added `deleteMessage` SDK API.
- Added “Delete message” feature to `livelike-chat` UI component.
- Added `deletemessages` attribute to `livelike-chat` component to disable delete message feature.
- Added `confirmationRenderer` property to `livelike-chat` component to render a custom UI for confirmation.
- Added `confirmActions` property on `livelike-chat` component to set an array of supported `ConfirmationType` actions. This would enable showing confirmation for a given action before performing the action.

## 2.35.0 (November 9, 2022)

### What's New:

- Added internal support for high latency chat messages using short polling mechanism. Internally switches between pubnub event provider or short polling chat room events API to get latest chat messages.

## 2.34.0 (October 21, 2022)

### What's New:

- Added `message_metadata` arg param to `sendMessage` and `quoteMessage` API for setting message related metadata.

## 2.33.0 (October 11, 2022)

### What's New:

- Added functionality to auto filter out messages from shadow muted users.
- Added `getProfileLeaderboards` and `getProfileLeaderboardViews` API.
- Added `widgetKinds` argument param for `getWidgetInteractions` API to get list of widget interaction based on widget kinds.

## 2.32.1 (September 29, 2022)

### Fixes:

- fix real time event provider reconnection issue when user network drops

## 2.32.0 (September 27, 2022)

- Added toggle property showFilteredMessages in component livelike-chat to show/hide messages with banned words in a chat room
- Added boolean param includeFilteredMessages in API getMessageList to include messages with banned words in the message list
- Fix incorrect user reaction count in `livelike-chat` element in case of stale/invalid reaction.

## 2.31.0 (September 13, 2022)

### What's New:

- Added `getRewardActions` and `getInvokedRewardActions` API.

### Fixes:

- fixed `getMessageList` API `next` pagination behaviour when there are bunch of deleted message events.

## 2.30.0 (August 30, 2022)

### Release Notes:

- Added `getQuestRewards`, `getUserQuestRewards` and `claimUserQuestRewards` API.
- Updates from `2.30.0-alpha.0` are not included in this release.

## 2.29.0 (August 2, 2022)

### What’s New:

- Added reaction pack based API `getReactionPacks` and `getReactionPackDetail`.
- Added reaction space based API `createReactionSpace`, `updateReactionSpace`, `deleteReactionSpace`, `getReactionSpaces`, `getReactionSpaceDetail`, `addReactionSpaceEventListener`, `removeReactionSpaceEventListener`.
- Added user reaction based API `addUserReaction`, `removeUserReaction`, `getUserReactions`, `getUserReactionsCount`.

### Fixes:

- fix `livelike-chat` web component issue where after loading previous messages, user were not able to react on initially loaded messages.

## 2.28.0 (July 19, 2022)

- Lazy initialisation of pubnub
- Fixed widget disabled when interactive_until is set for more than 24.8 days later
- Added new Quests API `incrementUserQuestTaskProgress`, `setUserQuestTaskProgress`
- Added new filters to `getRewardTransactions` API - profileIds, rewardItemIds, rewardActionKeys, createdSince, createdUntil

## 2.27.0 (July 6, 2022)

- Added new Quests API `getQuests`, `startUserQuest`, `getUserQuests`, `updateUserQuestTasks`

## 2.26.0 (July 5, 2022)

### What's New:

- added `previousmessages` property to `livelike-chat` element for showing load more previous messages UI.
- added `loadPrevMessageRenderer` property to `livelike-chat` element to customise the UI for loading more previous messages.
- updated default behaviour of widgets to make them disabled when current time is equal to widget’s interactive_until or expiry time.

## 2.25.0 (June 21, 2022)

- fix `getMessageList` API `response.next` iterator

## 2.24.1 (June 9, 2022)

- fix `livelike-chat` component gify search input where hitting enter key on gify search input was sending search text as chat message

## 2.24.0 (June 7, 2022)

- added support for non-realtime Widgets, Programs, and Applications
- made stock widget UI more responsive to user's vote
- added `since` query parameter in `getWidgets` API
- fixed theming of Video Alert Widget footer
- added property `clickthrough_url` in interface `ISponsorPayload`
- added property `profileIds` to arguments of `getLeaderboardEntries`. This would help in filtering leaderboard entries by a specific set of profile Ids

## 2.24.0-alpha.0 (June 3, 2022)

- add `createVideoRoom` and `getVideoRoom` API for video room feature
- add `addSdkEventListener` and `removeSdkEventListener` for sdk events like `INITIALISED`

## 2.23.0 (May 24, 2022)

- add decoding of chat message text characters which were encoded to fix XSS issue in web sdk.

## 2.22.0 (May 11, 2022)

- Added token_gates to IChatRoomPayload
- Added event "chatroom-updated" to addChatRoomEventListener function
- Added event "chatroom-updated" to removeChatRoomEventListener function
- Fixed bug where error was being logged when widget timeline loaded without customTemplateRenderer

## 2.21.0 (April 26, 2022)

- Removed Mixpanel third party library
- Added `analyticsProvider` argument in init function to use integrator's provider track API

## 2.20.0 (April 12, 2022)

- internal changes for `getMessageList` and `getMessageCount` API implementation.

## 2.19.0 (March 15, 2022)

- internal changes for `sendMessage` API implementation.

## 2.18.2 (March 4, 2022)

- fix `livelike-chat` auto scroll issue for new messages in message list

## 2.18.1 (March 2, 2022)

- fix rendering issue in `livelike-chat` due to quote message changes introduced in `2.18.0`

## 2.18.0 (March 1, 2022)

- added quote message feature (set `messagequotes` attribute on `livelike-chat` to enable the feature)
- added `quoteMessage` API

## 2.17.1 (February 25, 2022)

- fix critical XSS issue for `livelike-chat` component when displaying chat messages

## 2.17.0 (February 15, 2022)

- Redemption Keys

* Interfaces `redeemKeyByCode`, `redeemKeyById`, `getRedemptionKeys` have been added
* Integrators can view keys filtered by status and redeem keys by code or by id

- Registered Links

* Badge object has a new property called registered_links(array of IRegisteredLink)

- Widget Attributes

* WidgetPayload has a new property widget_attributes(array of IAttribute)

## 2.16.0 (January 18, 2022)

- added new sponsors API `getApplicationSponsors`, `getProgramSponsors`, `getChatRoomSponsors`
- getSponsors API is deprecated (use `getProgramSponsors` API instead)
- fix regression issue in `addMessageListener` API where adding listener was not subscribing to chat room channel
- added `images` and `attributes` property in `IRewardItem` interface
- added filter by attributes option in `getApplicationRewardItems` API
- added `interactive` query parameter in `getWidgets` API

## 2.15.0 (January 4, 2022)

- add auto filtering of chat messages send by blocked profiles

## 2.14.0 (December 21, 2021)

- Added pin messages API `pinMessage`, `unpinMessage`, `getPinMessageInfoList`
- Added `ChatRoomEvent.PIN_MESSAGE` and `ChatRoomEvent.UNPIN_MESSAGE` for real time pin message events
- Added `earnable_rewards` property to `IWidgetPayload` and `IOptionItem` interfaces

## 2.13.0 (December 7, 2021)

- Updated default behaviour of single tag widgets to make them infinite interactive with submit vote buttons to move to result phase
- Added support for custom modes to single tag widgets
- Added block profile API `blockProfile`, `unblockProfile`, `getBlockInfoList` and `getProfileBlockInfo`
- Added user profile event listener API `addUserProfileEventListener` and `removeUserProfileEventListener`
- Added `getRewardTransactions` API to fetch earned rewards filtered by widgets
- Added `getWidgets` API to fetch widgets filtered by their IDs and kinds

## 2.12.0 (November 23, 2021)

- Add listener option for Reward Events - "reward-item-transfer-received"
- Add listener option for ChatRoom Events - "chat-room-add" | "chat-room-invite"
- Introduce ChatRoomInvitation APIS - `sendChatRoomInviteToProfile`, `updateChatRoomInviteStatus`, `getSentChatRoomInvitations`, `getReceivedChatRoomInvitations`
- Introduce JSON theming for widget vote buttons

## 2.11.0 (November 9, 2021)

- Added filters to getRewardItemTransfers SDK interface.
- Added sendCustomMessage API
- Added customMessageRenderer property for livelike-chat custom element

## 2.10.1 (October 28, 2021)

- Fixed error when loading single tag widgets by ensuring all necessary configuration options are present at time of widget load.

## 2.10.0 (October 26, 2021)

- Added number prediction and followUp widget Stock UI
- Correct answer hidden in Quiz by default for users who did not interact
- Fixed chat input and stickers picker styles

## 2.9.0 (October 13, 2021)

- Added APIs related to fetching reward items, transferring rewardItem, and fetching reward balance
- Fixed a bug in chat anchor links
- Added a new number prediction widget model

## 2.8.3 (September 28, 2021)

- Changed quiz vote button label to Answer
- Fixed interactivity events not firing for custom widgets

## 2.8.2 (September 1, 2021)

- Fixed livelike-video element not reacting to style change

## 2.8.1 (August 31, 2021)

- Added sponsor UI to Polls and Emoji Slider
- Updated ask widget default UI
- Added widget tag in title for voting widgets(optional)

## 2.8.0 (August 18, 2021)

- Added sponsors in the widget data model
- Added a new video alert widget
- Added a new ask me anything widget
- Added anchor links support to the chat feature
- Fixed a bug for voting widgets option behaving incorrectly on rapid change in option

## 2.7.1 (August 9, 2021)

- Added chatroom-updated event to be listened to through addMessageListener
- Fixed livelike-chat-composer element not reacting to hidecomposer attribute change

## 2.7.0 (July 29, 2021)

- Added getProfileBadges method to fetch badges earned by any users
- Added getApplicationBadges method to fetch all badges for any Application
- Added getBadgeProgress method to fetch progress of any user on a given set of badge badgeIds
- Added unclaimed interaction API to fetch interactions whose rewards have not been claimed yet

## 2.6.2 (July 8, 2021)

- Unlocked Polls and Predictions in interactive-timeline if previous vote persists
- Percentage hidden for predictions if user has not interacted with it

## 2.6.1 (July 1, 2021)

- Bug fix in interactions

## 2.6.0 (June 17, 2021)

- Added getSponsors method
- Fixed a regression in embedded widgets

## 2.5.0 (May 27, 2021)

- Added interactive timeline mode for Widgets
- Added vote persistence in widgets

## 2.4.4 (May 14, 2021)

- Updated pubnub version to 4.30.0

## 2.4.3 (April 28, 2021)

- Fix to show Empty Message slot when chatroom has messages but not visible due to spoiler prevention
- Added heartbeatInterval and presenceTimeout to pubnub config

## 2.4.2 (April 22, 2021)

- Fixed chat composer hidden issue with Safari browser
- Fixed bug where message-list-empty slot was not rendering correctly
- Added support all ISO formats in chat message
- Fixed history messages sorting issue while respecting spoiler prevention
- Fixed issue for messages with invalid date never show up with spoiler prevention
- Fixed issue where queue was not re-initializing on chatroom update

## 2.4.1 (April 8, 2021)

- Added Widget Became Interactive mixpanel event
- Added support for styling giphy and sticker picker through external CSS
- Updated default syncStrategy
- Fixed initial message list loading not being processed for spoiler prevention
- Fixed vote updating case for custom Cheer Meter
- Fixed long charachter length widget descriptions overflowing container

## 2.4.0 (March 29, 2021)

- Added support for Chat Reaction Icon customization
- Added addWidgetListener method
- Added removeWidgetListener method
- Added improvements for handling single tag widgets
- Fixed bug where multiple chat elements on the same page could sometimes received incorrect events
- Fixed bug where error was being logged when chat element loaded without stickers
- Fixed bug where error would occur when sending text message after sending image message
- Changed default Cheer Meter UI to format very large images correctly
- Changed default widget UI to show vote percentages only after interaction

## 2.3.2 (February 24, 2021)

- Fixed image widget image positioning style issue.

## 2.3.1 (February 18, 2021)

- Fixed bug where default cheer meter progress bar width was not set properly

## 2.3.0 (February 17, 2021)

- Added support for using single widget HTML tags
- Added and updated widget tracking events and added associated program id to tracking properties
- Deprecated langcode property in favor of native lang attribute
- Fixed bug related to widget duplication and event listener handling
- Fixed bug with vote count updating

## 2.2.2 (February 1, 2021)

- Fixed bug of disappearing vote percentages in voting Widgets
- Fixed bug of widget timer becoming full when changing visibility of widget container

## 2.2.1 (January 29, 2021)

- Fixed duplicate widget issue in timeline mode
- Removed widget result subscription channel unsubscribe
- Fixed incorrect widget result updating

## 2.2.0 (January 18, 2021)

- Added getChatUserMutedStatus
- Fixed cheer meter vote updating

## 2.1.2 (December 17, 2020)

- Added custom widget support for Emoji Slider
- Added localization for chat element
- Fixed load-more-button to not show when next page is null for widget timeline mode
- Fixed bug in sticker shortcode handling
- Fixed cosmetic bug for image option Widgets
- Fixed titles not displayed for default Widgets
- Added hide_dismiss_button in livelike-chat element and removed dismiss button from widgets in timeline mode
- Fixed bug in updating mode from timeline to pop-up

## 2.1.1 (December 10, 2020)

- Fixed duplicate widgets bug
- Fixed bug where profile was not loaded with init() accessToken argument correctly.

## 2.1.0 (December 7, 2020)

- Added `addMessageReaction` and `removeMessageReaction` to livelike-chat element

## 2.0.1 (December 7, 2020)

- Fixes in emoji slider to show image in result state
- Fixes for custom templates not rendering without customTemplateRenderer
- Fixed issues in Snap to live button in chat
- Fix for follow-up widgets to be shown for time set in CMS in default pop up mode
- Fixes in Follow up widgets to show correct/incorrect responses

## 2.0.0 (November 20, 2020)

### Additions

- Added Widget Customization support
- Added ability to render single widget on page outside of <livelike-widgets> element
- Added `rankchange` event
- Added pagination to getLeaderboardEntries and getPostedWidgets methods.

### Fixes

- Fixed bug in Load More widgets not going through widget lifecycle
- Fixed cheer meter 0 vote not reflecting bug
- Fixed emoji slider not displaying correct average
- Fixed default message input creating a newline

### Breaking Changes

- Removed CSS Variables

## 1.28.1 (October 30, 2020)

- Added `hide-giphy` property to chat element to hide giphy picker
- Set Giphy search default to rating 'G'
- Fixed bug causing crash in older browsers

## 1.28.0 (October 15, 2020)

- Removed Sentry dependency
- Added avatarurl property in livelike-chat element
- Deprecated updateProfileImageForChatRoom for setting chat avatar
- Fixed alert header css variables
- Changed Widget Interaction event to be fired on each interaction
- Added Link URL in Widget Displayed analytics event
- Added Widget Type in Alert Link Opened analytics event

## 1.27.12 (September 28, 2020)

- Widget votes and reactions don't rely on pubnub messaging to update user UI
- Fixed alert css variables
- Changed Widget Interaction analytics event behavior

## 1.27.11 (September 28, 2020)

- Added pubnub listeners to timeline widgets

## 1.27.10 (September 28, 2020)

- Added message reaction unit abbreviation
- Prevented text quiz progress bar from showing early

## 1.27.7 (September 24, 2020)

- Made pubnub connection only over ssl
- Fixes for widget interaction events

## 1.27.6 (September 18, 2020)

- Added more CSS variables for chat message reaction styling
- Added more CSS variables for chat message rendering newest on top
- Added analytics for Widget Displayed and Widget Interacted
- Fixes in quiz logic

## 1.27.5 (September 15, 2020)

- Called widget events for timeline widgets

## 1.27.4 (September 14, 2020)

- Added more CSS variables for chat message styling
- Added option to show avatars in chat
- Fixed issue related to widgets getting blocked due to program-status-updated event

## 1.27.2 (September 8, 2020)

- Added more CSS variables for reaction button styling

## 1.27.1 (September 3, 2020)

- Added publishKey argument to init function
- Changed analytic events "Sticker ID" to "Sticker Shortcodes"
- Fixed bug where some widget impressions were not being fired.

## 1.27.0 (August 20, 2020)

- Added mixpanel tracking for Chat Reaction usage
- Added mixpanel tracking for analyzing Alert widget link opening
- Added fixes for avoiding race conditions in Leaderboard Paginated resources

## 1.26.4 (August 13, 2020)

- Added Alert Widget theming
- Updated script documentation

## 1.26.3 (August 13, 2020)

- Fixed issue with messageList not loading

## 1.26.2 (August 10, 2020)

- Fixed sticker/reaction fetch retry

## 1.26.1 (August 10, 2020)

- Fix for duplicate messages

## 1.26.0 (August 6, 2020)

- Added getLeaderboards method
- Added getLeaderboard method
- Added getLeaderboardEntries method
- Added getLeaderboardProfileRank method
- Added visibility parameter in createChatRoom method
- Added visibility parameter in updateChatRoom method

## 1.25.1 (July 31, 2020)

- Fixed bug with chat room not loading properly with roomid attribute.

## 1.25.0 (July 29, 2020)

- Added `hidecomposer` attribute to livelike-chat element to show or hide composer.
- Added `composer`, `body`, `send` slot to composer to enable composer customization.
- Added mixpanel tracking for user profile creation, message/sticker sending and receiving.

## 1.24.1 (July 17, 2020)

- Added nextPage resource to getPostedWidget method return

## 1.24.0 (July 17, 2020)

- Added widget theme customization for Polls, Quizzes, and Predictions.
- Added LiveLike.applyTheme() method.

## 1.23.7 (July 16, 2020)

- Added 'unattempted' event to widget voting results event

## 1.23.5 (July 3, 2020)

- Timeline Load More bug fix
- Added some CSS variables for styling chat message list
- Fixed reaction count styling for Safari browser
- Fixed widget bugs

## 1.23.3 (June 29, 2020)

- Added CSS variables for styling own chat messages

## 1.23.0 (June 28, 2020)

- Added GIF search using GIPHY in web chat

## 1.22.0 (June 25, 2020)

- Added storageStrategy argument in init function to use integrator's storage strategy instead of Local Storage which is default
- Made Sticker and Reaction packs async to make chat load faster

## 1.21.2 (June 13, 2020)

- Added more CSS variables for widget styling

## 1.21.1 (June 11, 2020)

- Fixed event listeners not being removed on chat element removal from DOM.

## 1.21.0 (June 10, 2020)

- Fixed Report User for messages containing images
- Fixed Deletion handler for messages containing images
- Fixed Moderation button and moderation menu styling
- Fixed moderation menu auto closure after action button clicked

## 1.20.0 (May 27, 2020)

- Added createChatRoom method
- Added getChatRoom method
- Changed sticker pack and reaction pack URLs to be fetched from chatRoom resources
- Changed message report URL from static to the one returned from chatRoom resources
- Changed Cheer Meter Widget functionality to enable voting on both sides

## 1.18.1 (May 18, 2020)

- Fixed widget timeline mode widget displaying bug

## 1.18.0 (May 13, 2020)

- Added widgetElement.createWidgetElement method
- Added widgetElement.createSyncWidget method
- Added widgetElement.showWidget method
- Added widgetElement.enqueueWidget method
- Added widgetElement.fetchWidget method
- Aded widget state transition methods
- Added widget lifecycle methods
- Added custom widget state/lifecycle transition mode registration
- Added getCurrentUserProfile - returns LiveLike.userProfile object
- Added check for HTTP error codes for app, program, and chatroom resource requests to give helpful errors
- Added Sentry error tracking
- Deprecated getProfile, added fetchUserProfile
- Deprecated generateProfile, added generateUserProfile
- Deprecated updateProfile, added updateUserProfile
- Deprecated addChannelHandler, added addChannelListener
- Deprecated removeChannelHandler, added removeChannelListener
- Deprecated <livelike-widget-zone>
- Deprecated syncStrategy on init function, added to chat and widget elements.
- Added warning for deprecations.
- Changed langCode/timeFormat/placeHolder widget and chat properties to langcode/timeformat/placeholder
- Limited messageCount count number return to 100.
- Added typedocs

## 1.17.2 (April 7, 2020)

- Fixed livelike-chat height and scrolling
- Fixed chat room error response
- Added .dev packages
- Removed .map package files

## 1.17.1 (March 6, 2020)

- Fixed Quiz widget not displaying correct/incorrect results

## 1.17.0 (March 5, 2020)

- Added nickName argument to init() to generate profile with custom name
- Added nickname arg to generateProfile()
- Fixed bug with timeline being displayed out of order

## 1.16.1 (March 3, 2020)

- Fixed chat and widget duplication

## 1.16.0 (February 29, 2020)

- Fixed widget not showing up if cloning node
- Added compatibility changes for Edge
- Added debug logger

## 1.15.0 (February 26, 2020)

- Added source maps to package
- Fixed widget and message queueing and sorting
- Prevented widget rewards request when no rewards set on program

## 1.14.0 (February 19, 2020)

- Removed credentials from sticker pack and reaction pack fetches

## 1.13.0 (February 19, 2020)

- Fixed recent widgets not being displayed in timeline mode due to cache
- Fixed chat message and reaction duplication
- Fixed Image Poll and Image Quiz image cropping

## 1.12.0 (February 19, 2020)

- Added pubnub origin to pubnub instantiation

## 1.11.0 (February 13, 2020)

- Added images to rich post widget
- Added CSS Variables for widget options
- Added slot to add element for widget element loading
- Fixed chat message duplication

## 1.10.1 (February 10, 2020)

- Fixed social media widget not displaying properly
- Fixed focus outline border on message element and sticker items

## 1.10.0 (February 6, 2020)

| VERSION | BUNDLE          | SIZE   | CHANGE |
| ------- | --------------- | ------ | ------ |
| 1.10.0  | livelike.min.js | 616KiB | -1.75% |

- Added accessibility tags on chat related elements
- Added more css variables for chat and widget elements
- Fixed widget option styles related to progress bar
- Fixed Social Media Embed widget FOUC for some providers

## 1.9.0 (January 28, 2020)

| VERSION | BUNDLE          | SIZE   | CHANGE |
| ------- | --------------- | ------ | ------ |
| 1.9.0   | livelike.min.js | 627KiB | 7.3%   |

- Added Chat Messages Reaction
- Added Widget Reactions
- Added images and gifs shown in chat messages
- Added countdown timer to timeline widgets
- Added theming for countdown timer and prediction widget confirmation message
- Added customizable text input placeholder
- Fixed generateProfile() requesting wrong url
- Widgets now visibly update votes without user interaction
- Fixed countdown timer not animating
- Fixed message list not updating when empty
- Fixed quiz widget styling on iOS and Safari
- Fixed Image poll margins

## 1.8.2 (January 21, 2020)

- Fixed bug returning error when calling LiveLike.generateProfile()

## 1.8.1 (January 17, 2020)

- Added polyfill to package to work in any env.

## 1.8.0 (January 16, 2020)

| VERSION | BUNDLE          | SIZE   | CHANGE |
| ------- | --------------- | ------ | ------ |
| 1.8.0   | livelike.min.js | 584KiB | 2.5%   |

- Social Embed Widget
- Rich Post Widget
- Added chat message timestamps
- Added widget result events
- Changed Alert widget header to be Widget default
- Fixed bug with widgets laoding in timeline mode
- Added Image Slider widget theming properties
- Added timer theming properties

## 1.7.0 (January 7, 2020)

| VERSION | BUNDLE          | SIZE   | CHANGE |
| ------- | --------------- | ------ | ------ |
| 1.7.0   | livelike.min.js | 570KiB | -0.5%  |

- Added api endpoint override
- Rank and Points display inside profile display no longer renders if program resource has no rewards set
- Fixed livelike-chat and livelike-chat-message-list element default styling related to positioning and scrolling
- Fixed livelike-widgets element default so custom styling is respected

## 1.6.3 (December 18, 2019)

| VERSION | BUNDLE          | SIZE   |
| ------- | --------------- | ------ |
| 1.6.3   | livelike.min.js | 573KiB |

- Widget events available
- Added Empty / Loading Message list slots for customization

## 1.6.2 (December 13, 2019)

- Fixed bug with updateProfile()

## 1.6.1 (December 11, 2019)

- Added ProgramDateTimeSyncStrategy and HlsJsSyncStrategy to the engagementsdk package export.

## 1.6.0 (December 10, 2019)

- Added messageCount function
- Added syncStrategy function
- getProfile, generateProfile, and updateProfile all work outside of an initialized application
- Added backwards compatibility with messageHandler and messageList

## 1.5.1 (December 9, 2019)

- Added filter to timeline mode so only published widgets get displayed.

## 1.5.0 (December 5, 2019)

- Added ability to hook into message stream by using chat message events.
- Added `updateProfileImageForChatRoom` function to change user profile image per chat room.

## 1.4.2 (December 2, 2019)

- README Edits

## 1.4.1 (December 2, 2019)

- Aliased `<livelike-widget-zone>` to `<livelike-widgets>`

## 1.4.0 (December 2, 2019)

- Added authors and timestamps bylines to widgets.

## 1.3.1 (November 25, 2019)

- Added documentation for Timeline/LiveBlog

## 1.3.0 (November 25, 2019)

- Added timeline mode to chat component.

## 1.2.0 (November 15, 2019)

- Added ability to use roomid with livelike-chat elements. programid is optional.
- Changed channelHandlers for more useful callbacks.
- Added removeChannelHandler

## 1.1.0 (November 8, 2019)

- Multiple chat and widget elements are now able to be placed on the same page.
- Removed hard coded element styles that prevented customization.
- Added light theme default.
- Added more css variables to widgets, message list, message options, message options modal, text input, sticker display, scroll icon.
- Added loaded state to chat element.
- Added slot to chat component to add optional component while chat is loading.

## 1.0.3 (October 28, 2019)

- Fixed widget and chat area not updating.

## 1.0.2 (October 24, 2019)

- Fixed errors being thrown incorrectly when chat elements aren't used and when gamification isn't enabled.

## 1.0.1 (October 11, 2019)

- Updated default bundle

## 1.0.0 (October 11, 2019)

Bundle Size Change from Previous Version

| VERSION | BUNDLE          | SIZE   | PERCENT CHANGE |
| ------- | --------------- | ------ | -------------- |
| 1.0.0   | livelike.min.js | 757KiB | -18.2%         |

- Changed video sync strategy linking and instantiation. Video from program.stream_url no longer gets attached to video element src. Custom sync strategy can now be passed in to the init function. If no sync strategy is chosen, default sync strategy will be used.
- Removed Hls package from repo and reworked Hls instantiation to rely on Hls being passed into init function. (Majority of bundle size reduction).
- Added page title and favicon.
- Added Cheer Meter Widget
- Added ability to view stickers in chat.
- Added sticker picker component to view sticker to choose from and add to chat message.
- Bundled as umd and cjs.
- Removed chat message list style that resulted in no messages showing.
- Added more css variables for various widget related styles.

## 0.0.7 (October 2, 2019)

Bundle Size

| VERSION | BUNDLE          | SIZE   | PERCENT CHANGE |
| ------- | --------------- | ------ | -------------- |
| 0.0.7   | livelike.min.js | 925KiB | -              |

- Added Image Slider Widget.
- Added user profile display showing nickname, rank, points.
- Added points and badge progression bar and icon display after widget is dismissed.
- Added user's new badge display after points display is dismissed.
- Added chat moderation - reporting and blocking users from message list options.
- Added functionality to replace deleted messages with a placeholder.
- Added automatic unmounting of elements when changing programmatically through init function.
- Auto resizing text area in chat.
- Auto scroll down/ manual scroll down button added to chat message list.
- Added dismiss button for Alert Widget.

## 0.0.6 (October 2, 2019)

- Added functions for optional control over chat messaging, channel events, and user profiles.

## 0.0.5 (August 20, 2019)

- Added syncing to chat messages.

## 0.0.4 (August 19, 2019)

- Initial public release
