@capacitor-community/intercom
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -5,4 +5,15 @@ # Changelog | ||
### [2.0.1](https://github.com/capacitor-community/intercom/compare/v2.0.0...v2.0.1) (2021-10-04) | ||
### Bug Fixes | ||
* displayMessageComposer can sen a message to the messenger ([54428ce](https://github.com/capacitor-community/intercom/commit/54428ce6d1a5a7dd040810b18475bd227ea420ce)) | ||
## [2.0.0](https://github.com/capacitor-community/intercom/compare/v1.1.0...v2.0.0) (2021-06-27) | ||
- update intercom dep for ios | ||
- update hide method for ios | ||
- fix example to use capacitor v2 | ||
## [1.1.0](https://github.com/capacitor-community/intercom/compare/v1.0.3...v1.1.0) (2020-07-11) | ||
@@ -9,0 +20,0 @@ |
@@ -28,2 +28,5 @@ declare global { | ||
hideInAppMessages(): Promise<void>; | ||
displayCarousel(options: { | ||
carouselId: string; | ||
}): Promise<void>; | ||
setUserHash(options: { | ||
@@ -30,0 +33,0 @@ hmac: string; |
@@ -24,2 +24,5 @@ import { IntercomProtocol, UserUpdateOptions } from './definitions'; | ||
hideInAppMessages(): Promise<void>; | ||
displayCarousel(options: { | ||
carouselId: string; | ||
}): Promise<void>; | ||
setUserHash(options: { | ||
@@ -26,0 +29,0 @@ hmac: string; |
@@ -43,2 +43,5 @@ import { Plugins } from '@capacitor/core'; | ||
} | ||
displayCarousel(options) { | ||
return IntercomPlugin.displayCarousel(options); | ||
} | ||
setUserHash(options) { | ||
@@ -45,0 +48,0 @@ return IntercomPlugin.setUserHash(options); |
{ | ||
"name": "@capacitor-community/intercom", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Enable Intercom features for Capacitor apps", | ||
@@ -5,0 +5,0 @@ "main": "dist/esm/index.js", |
@@ -15,3 +15,3 @@ <p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p> | ||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> | ||
<a href="#contributors"><img src="https://img.shields.io/badge/all%20contributors-6-orange?style=flat-square" /></a> | ||
<a href="#contributors"><img src="https://img.shields.io/badge/all%20contributors-8-orange?style=flat-square" /></a> | ||
<!-- ALL-CONTRIBUTORS-BADGE:END --> | ||
@@ -65,2 +65,3 @@ </p> | ||
- hideInAppMessages | ||
- displayCarousel | ||
- setUserHash | ||
@@ -95,3 +96,3 @@ - setBottomPadding | ||
intercom | ||
.displayMessageComposer({ message: "Hello there!" } }) | ||
.displayMessageComposer({ message: "Hello there!" }) | ||
@@ -102,3 +103,3 @@ // | ||
intercom | ||
.setUserHash({ hmac: "xyz" } }) | ||
.setUserHash({ hmac: "xyz" }) | ||
``` | ||
@@ -187,3 +188,7 @@ | ||
<td align="center"><a href="https://github.com/spaghettiguru"><img src="https://avatars.githubusercontent.com/u/5624009?v=4" width="75px;" alt=""/><br /><sub><b>Oleg Yuzvik</b></sub></a><br /><a href="#maintenance-spaghettiguru" title="Maintenance">🚧</a></td> | ||
<td align="center"><a href="https://github.com/gcorreaalves"><img src="https://avatars.githubusercontent.com/u/983426?v=4" width="75px;" alt=""/><br /><sub><b>Gustavo Corrêa Alves</b></sub></a><br /><a href="https://github.com/capacitor-community/intercom/commits?author=gcorreaalves" title="Documentation">📖</a></td> | ||
</tr> | ||
<tr> | ||
<td align="center"><a href="https://github.com/Jealvia"><img src="https://avatars.githubusercontent.com/u/28424830?v=4" width="75px;" alt=""/><br /><sub><b>Jealvia</b></sub></a><br /><a href="#maintenance-Jealvia" title="Maintenance">🚧</a></td> | ||
</tr> | ||
</table> | ||
@@ -190,0 +195,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
359
196
854431
182