Skip to content

Releases: comapi/comapi-sdk-js

1.3.0

17 May 10:13
25705b1

Choose a tag to compare

Added handlePush method to the SDK client that accepts Firebase push message or it's message.data field, calls tracking url if found and returnes deep link url to open.

1.2.2 Release

21 Jun 09:58
aa4691d

Choose a tag to compare

This release contains the following enhancements:

  • Cordova docs updated to show push config being passed during initialization

  • package.json has some dependency updates

  • Utils spec has some TS related linting and some additional tests for getHeaderValue()

  • ComapiConfig has withPushConfiguration added to builder pattern which enables integrator to pass push config during initialization rather than manually

  • Device manager consumes PushConfiguration from initialization config if supplied

  • Foundation has mutex in initialize method to ensure poor client code doesn’t generate multiple sessions

  • Push config interfaceSymbols added

  • Profile has some improved etag handling

  • restClient has been tidied up to remove network manager

  • Utils has improved getHeaderValue with some tests

1.1.4 Release

12 Mar 15:54
fd39d09

Choose a tag to compare

removed a few console.log() calls

1.1.3 Release

03 Oct 10:49
3a9e928

Choose a tag to compare

Fixed bug in unsubscribeFromLocalEvent

1.1.2 Release

07 Aug 11:58
39b2a17

Choose a tag to compare

Robustness to orphaned events with no conversationId

1.1.1 Release

05 Jun 11:55

Choose a tag to compare

This release contains the following enhancements

  • Invalid cached token used to connect web socket will now trigger auth flow.

1.1.0 Release

27 Mar 08:46

Choose a tag to compare

This release contains the following features / enhancements

  • Introduced inversify IOC container framwork
  • Typing on / off support
  • content api support
  • web socket enhancements
  • additional cache-control headers for IE suppport
  • grunt-ts now used for build
  • chrome-leaderless used for running tests

1.0.2 Orphaned Event Persistence release

02 Jun 06:34

Choose a tag to compare

This release provides the following Enhancements

  • Orphaned events now persisted either in localStorage or indexedDB (if available)

  • eTag inconsistencies in interfaces addressed

  • Docs updated

participantTyping feature and other minor enhancements / patches

12 May 07:43

Choose a tag to compare

Support for participantTypingOff event

This can be now sent from the sdk to explicitly indicate that a paricipant has stopped typing in a conversation.

The event can be sent using the following method:

foundation.services.appMessaging.sendIsTypingOff(conversationId: string);

The event can be listened for as follows:

foundation.on("participantTypingOff", event => { 
});

Docs updates

Various enhancements and typo's addressed

Websocket now restarts when session times out and restarts

Bugfix: When the session times out, the next time a method is called, the auth flow is triggered again to get a new token.
Now the websocket restarts as part of this flow.

Message Pager bugfix

Cached orphaned events received while paging through conversation messages weren't being persisted - they are now cached in localStorage.

Interface enhancents

More interfaces defined to allow easier mocking for unit tests.

Initial release

04 Apr 10:29

Choose a tag to compare

Initial release of the Comapi SDK for JS