All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Configuration options (that would otherwise be in
window.intercomSettings
) - Add a somewhat typed input for
Intercom.boot
andIntercom.update
- BREAKING CHANGE: Removed deprecated
Intercom.init()
method
- BREAKING CHANGE:
ng-intercom
now requires peers of Angular v5. Please update your applications, or you may get an error when compiling.
- Make NPM dependencies compatible with Angular v5
- Clean up dependencies and structure
- Add compatibility with Angular v5
- Fix load script
- Properly inject options providers
- Set property onUnreadCountChange to correct value (Closing #20)
- semver-major: Create an interface to interact with Leads API (https://developers.intercom.com/v2.0/reference)
- semver-major:Add option to watch router events and fire Intercom update, as is standard practice in SPAs (#17)
- Added peer dependency for
@angular/router
. It will warn if you don't have the router installed, but it is not required to function if you are not usingupdateOnRouterChange
.
- Fix issue with production build throwing error (#19)
- Only fire warnings if in development mode, so production code executes without warnings.
- Resolved an error where
undefined
was being exported from the module. - Removed CommonModule from exports array
- semver-major: New methods to line up with Intercom documentation
- semver-major: New directives
- semver-major:
intercom.init()
method
- IntercomEnvironment class
- IntercomBrowser class
- IntercomNode class
- Fix reference in package.json
- semver-minor: AoT compatibility
trackEvent()
method
- Move to Angular compiler so it acutally works
- Clean up module format setup