@capacitor-community/intercom
Advanced tools
Comparing version 1.0.3 to 1.1.0
@@ -9,2 +9,12 @@ # Changelog | ||
## [1.1.0](https://github.com/capacitor-community/intercom/compare/v1.0.3...v1.1.0) (2020-07-11) | ||
### Features | ||
- extend user update with new properties ([703d63e](https://github.com/capacitor-community/intercom/commit/703d63eef8546b84bccdd44fdb7718d7d0daa520)), closes [#19](https://github.com/capacitor-community/intercom/issues/19) | ||
### Bug Fixes | ||
- lock capacitor core in 2.0 to avoid yarn issues ([6580a12](https://github.com/capacitor-community/intercom/commit/6580a12a8dd8fd1bfec4fc1b9f4dbd653a2ace4f)) | ||
### [1.0.3](https://github.com/capacitor-community/intercom/compare/v1.0.2...v1.0.3) (2020-07-01) | ||
@@ -11,0 +21,0 @@ |
@@ -12,7 +12,3 @@ declare global { | ||
registerUnidentifiedUser(): Promise<void>; | ||
updateUser(options: { | ||
customAttributes: { | ||
[key: string]: any; | ||
}; | ||
}): Promise<void>; | ||
updateUser(options: UserUpdateOptions): Promise<void>; | ||
logout(): Promise<void>; | ||
@@ -40,1 +36,11 @@ logEvent(options: { | ||
} | ||
export interface UserUpdateOptions { | ||
userId?: string; | ||
email?: string; | ||
name?: string; | ||
phone?: string; | ||
languageOverride?: string; | ||
customAttributes: { | ||
[key: string]: any; | ||
}; | ||
} |
@@ -1,2 +0,2 @@ | ||
import { IntercomProtocol } from './definitions'; | ||
import { IntercomProtocol, UserUpdateOptions } from './definitions'; | ||
export declare class Intercom implements IntercomProtocol { | ||
@@ -8,7 +8,3 @@ registerIdentifiedUser(options: { | ||
registerUnidentifiedUser(): Promise<void>; | ||
updateUser(options: { | ||
customAttributes: { | ||
[key: string]: any; | ||
}; | ||
}): Promise<void>; | ||
updateUser(options: UserUpdateOptions): Promise<void>; | ||
logout(): Promise<void>; | ||
@@ -15,0 +11,0 @@ logEvent(options: { |
{ | ||
"name": "@capacitor-community/intercom", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "Enable Intercom features for Capacitor apps", | ||
@@ -21,3 +21,3 @@ "main": "dist/esm/index.js", | ||
"dependencies": { | ||
"@capacitor/core": "latest" | ||
"@capacitor/core": "^2.0.0" | ||
}, | ||
@@ -24,0 +24,0 @@ "devDependencies": { |
@@ -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-4-orange?style=flat-square" /></a> | ||
<a href="#contributors"><img src="https://img.shields.io/badge/all%20contributors-5-orange?style=flat-square" /></a> | ||
<!-- ALL-CONTRIBUTORS-BADGE:END --> | ||
@@ -182,2 +182,3 @@ </p> | ||
<td align="center"><a href="https://github.com/atomassoni"><img src="https://avatars1.githubusercontent.com/u/17362459?v=4" width="75px;" alt=""/><br /><sub><b>Anne Tomassoni</b></sub></a><br /><a href="https://github.com/capacitor-community/intercom/commits?author=atomassoni" title="Code">💻</a> <a href="https://github.com/capacitor-community/intercom/pulls?q=is%3Apr+reviewed-by%3Aatomassoni" title="Reviewed Pull Requests">👀</a></td> | ||
<td align="center"><a href="https://github.com/mmodzelewski"><img src="https://avatars2.githubusercontent.com/u/7762633?v=4" width="75px;" alt=""/><br /><sub><b>Maciej Modzelewski</b></sub></a><br /><a href="https://github.com/capacitor-community/intercom/commits?author=mmodzelewski" title="Code">💻</a></td> | ||
</tr> | ||
@@ -188,5 +189,4 @@ </table> | ||
<!-- prettier-ignore-end --> | ||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
879660
343
3
+ Added@capacitor/core@2.5.0(transitive)
+ Addedtslib@1.14.1(transitive)
- Removed@capacitor/core@6.2.0(transitive)
- Removedtslib@2.8.1(transitive)
Updated@capacitor/core@^2.0.0