Skip to content

Releases: sendbird/SendBird-Desk-SDK-JavaScript

v1.1.5

17 Jul 09:47
3264322
Compare
Choose a tag to compare

Change Log

v1.1.5(Jul 17, 2025)

  • Authenticate user with optional language parameter
    • authenticate(userId, accessToken, language, callback)
  • Update customer's language setting after authentication
    • setCustomerLanguage(language, callback)
  • Language format: IETF BCP 47 standard ("en", "ko", "ja")
  • Fixed to include botKey and groupKey if they are strings

v1.1.4

02 Aug 05:35
Compare
Choose a tag to compare
  • Added CommonJS build support
  • Improved stability

v1.1.3

18 Jul 05:20
Compare
Choose a tag to compare
  • Fixed a bug that empty string groupKey does not work

v1.1.2

08 Nov 17:48
Compare
Choose a tag to compare
  • Added proactiveChatCreatedBy in Ticket
  • Added firstResponseTime in Ticket

v1.1.0(Aug 23, 2023)

24 Aug 06:49
9e3b5be
Compare
Choose a tag to compare
  • Convert all sourcecode to TS
  • Upgrade ChatSDK to v4
  • No more IE support
  • No error first callbacks
  • Use jest for testing
  • Use rollup for bundling

Add new methods:

init(sendbird: SendbirdGroupChat, platform?: DeviceOsPlatform)

  • instanceConfirmEndOfChat to Ticket instances
// confirmEndOfChat
Ticket.confirmEndOfChat(msg, 'yes', (ticket, error) => {
  console.log(ticket, error);
});

// instanceConfirmEndOfChat
const t = new Ticket();
t.instanceConfirmEndOfChat(msg, 'yes', (ticket, error) => {
  console.log(ticket, error);
});
  • instanceSubmitFeedback to Ticket instances instanceSubmitFeedback has same functionality and signature as submitFeedback Only difference is, instanceSubmitFeedback is a method on ticket instance
// submitFeedback
Ticket.submitFeedback(message, score, comment, () => { /* callback */ });

// instanceSubmitFeedback
const t = new Ticket();
t.instanceSubmitFeedback(msg, 'yes', (ticket, error) => {
  console.log(ticket, error);
});

Fixes: https://sendbird.atlassian.net/browse/SDKRLSD-961

Co-authored-by: HoonBaek [email protected]
Co-authored-by: Chris Heo [email protected]

v1.0.23(Mar 10, 2023)

10 Mar 11:55
Compare
Choose a tag to compare

feat: add Ticket.getList()
Add new API to get by groups, otherwise, we have to modify other methods to
handle callback to the end& JS doesnt really have first class support for polymorphism

* @param {integer} filters.offset - list offset.
* @param {object} filters.customFieldFilter - customField filter.
* @param {string} filters.group - group key(to filter tickets by a team).
* @param {string} filters.status - status to get tickets. ('all', 'CLOSED', 'OPEN').
* @param {function} callback - Function(list:Array<Ticket>, err:Error)
Ticket.getList(params, callback)

v1.0.21

29 Mar 05:35
Compare
Choose a tag to compare

(Mar 29, 2022)

  • Add getAllTickets interface in Ticket.

v1.0.20

04 Feb 02:18
Compare
Choose a tag to compare

(JAN 11, 2022)

  • Bug-fix in sendbird version comparison logic

v1.0.19

02 Jun 05:23
Compare
Choose a tag to compare
  • Minor internal update.

v1.0.18

21 May 06:47
Compare
Choose a tag to compare
  • Added botKey in Ticket.create().
  • Added cancel() in Ticket.
  • Added selectQuestion() in Ticket.