Tags: comapi/comapi-sdk-js
Tags
Grunt ts inversify (#7) * doc typos * initial commit of chat layet memory store + tests * IndexedDB persistence implementation * persistence interface refactor * added some promise patterns / tests, refactored chat logic for easier testing * pre holiday checkpoint * Added interface for Foundation so can be unit tested better * INetworkManager enhancements * restart session logic on 401 now encapsulates WS restart * networkManager tests * typing off support * checkpoint * started orpnaned interface * patch * interace tweaks * removed orphaned event interfaces * revisions * basic chat layer tests * test updates * tests * missing conv event test * status update enhancements * gap detection #1 * added more expecttions in chat layer tests * deleteAllMessages refactor * linting * getConversation retrys on 401 and test timeouts tweake * participant added refactor * added mutex lib and some tests * mutex refctor #1 * refactiring * config refactor * config tweaks * session related refactor * refactor * putProfile * patch profile test * pre-removal of chat layer * chat layer removed * removed chat from gruntfile * linting * exposed logger so can be consumed by chat sdk * configurable rest API URL's * IEventMapping added to ComapiConfig * swapped out grunt-typescript for grunt-ts, now using up to date compiler * removed inversify * re added inversify and created some dummy tests * added a dynamic test * inversify WIP * ioc WIP * stage one finished * rest client refactor * linting tweaks * removed Foundation from IOC container * interface manager refactored to use symbols * test fixes and linting * removed Symbol usage, fixed a few bugs * IOC reactor * more IOC changes * refactored IndexedDBLogger binding * binding / initialisation enhancements * added IEventMapper * removed unnecessary IConversationManager dependency from MessageManager * IOC container instance based now * unit test bugfixes * linting * url params now encoded * case insensitive response header access, session checks for switched apiSpace * end session failure resulves false, new withURL option for message builder * lint issue * LocalStorageData takes ComapiConfig in constructor so prefix can be overridable * content data checkpoint * content data and orphanedEventPersistence * added helper withOrphanedEventPersistence * content data tweaks * tweaked IUploadContentResult * content file upload enhancement * exposed websocket open/close events * refactor ILocalStorageData to be asynchronous * refactored Sessionmanager to have async initialise method called when foundation is initialised * added back session interface and removed typo in orphanedEvents * orphanedEvent bugfixes * JSDoc comments for content API * JSDoc tweaks * removed ensureSessionAndSocket * websocket refactor, exposed Mutex * added mutex spec * websocket enhancements * missing arrow function * websocket enhancements * moved echo interval to constructor * added additional cache control headers for IE support * Websocket connect reject message enhancement * added debounce to utils, bolstered unit tests to utils class and exported it for use with chat layer * linting tweaks * interface tweaks * tests use chrome instead of phantomJS * tweaked dependencies to get thests working * added customLaunchers section to karma.conf.js * test using ChromeHeadless * specified explicit typescript version of 2.3.4 * tweaked karmaTypescriptConfig * grunt tweaks * dded line of logging to gruntfile for diagnostic purposes * removed clen from default grunt task * typing throttling tweaks * changed version nunber to 1.1.0