@ionic-native/intercom
Advanced tools
Comparing version 4.4.2 to 5.0.0-alpha.3
@@ -23,3 +23,3 @@ import { IonicNativePlugin } from '@ionic-native/core'; | ||
*/ | ||
export declare class Intercom extends IonicNativePlugin { | ||
export declare class IntercomOriginal extends IonicNativePlugin { | ||
/** | ||
@@ -117,1 +117,3 @@ * Register a identified user | ||
} | ||
export declare const Intercom: IntercomOriginal; |
264
index.js
@@ -11,243 +11,33 @@ var __extends = (this && this.__extends) || (function () { | ||
})(); | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core'; | ||
import { Injectable } from '@angular/core'; | ||
/** | ||
* @name Intercom | ||
* @description | ||
* This is a plugin that allows your Ionic app to use Intercom for iOS and/or Intercom for Android. | ||
* Follow the offical documentation to setup this plugin correctly: https://developers.intercom.com/docs/cordova-phonegap-configuration | ||
* | ||
* @usage | ||
* ```typescript | ||
* import { Intercom } from '@ionic-native/intercom'; | ||
* | ||
* | ||
* constructor(private intercom: Intercom) { } | ||
* | ||
* ... | ||
* | ||
* this.intercom.registerUnidentifiedUser(); | ||
* ... | ||
* this.intercom.registerForPush(); | ||
* | ||
* ``` | ||
*/ | ||
var Intercom = (function (_super) { | ||
import { IonicNativePlugin, cordova, injectable } from '@ionic-native/core'; | ||
var IntercomOriginal = /** @class */ (function (_super) { | ||
__extends(Intercom, _super); | ||
function Intercom() { | ||
function IntercomOriginal() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
/** | ||
* Register a identified user | ||
* @param options {any} Options | ||
* @return {Promise<any>} Returns a promise | ||
*/ | ||
Intercom.prototype.registerIdentifiedUser = function (options) { return; }; | ||
/** | ||
* Register a unidentified user | ||
* @param options {any} Options | ||
* @return {Promise<any>} Returns a promise | ||
*/ | ||
Intercom.prototype.registerUnidentifiedUser = function (options) { return; }; | ||
/** | ||
* This resets the Intercom integration's cache of your user's identity and wipes the slate clean. | ||
* @return {Promise<any>} Returns a promise | ||
*/ | ||
Intercom.prototype.reset = function () { return; }; | ||
/** | ||
* | ||
* @param secureHash {string} | ||
* @param secureData {any} | ||
* @return {Promise<any>} Returns a promise | ||
*/ | ||
Intercom.prototype.setSecureMode = function (secureHash, secureData) { return; }; | ||
/** | ||
* | ||
* @param secureHash {string} | ||
* @return {Promise<any>} Returns a promise | ||
*/ | ||
Intercom.prototype.setUserHash = function (secureHash) { return; }; | ||
/** | ||
* | ||
* @param attributes {any} | ||
* @return {Promise<any>} Returns a promise | ||
*/ | ||
Intercom.prototype.updateUser = function (attributes) { return; }; | ||
/** | ||
* | ||
* @param eventName {string} | ||
* @param metaData {any} | ||
* @return {Promise<any>} Returns a promise | ||
*/ | ||
Intercom.prototype.logEvent = function (eventName, metaData) { return; }; | ||
/** | ||
* | ||
* @return {Promise<any>} Returns a promise | ||
*/ | ||
Intercom.prototype.displayMessenger = function () { return; }; | ||
/** | ||
* | ||
* @return {Promise<any>} Returns a promise | ||
*/ | ||
Intercom.prototype.displayMessageComposer = function () { return; }; | ||
/** | ||
* | ||
* @param initialMessage {string} | ||
* @return {Promise<any>} Returns a promise | ||
*/ | ||
Intercom.prototype.displayMessageComposerWithInitialMessage = function (initialMessage) { return; }; | ||
/** | ||
* | ||
* @return {Promise<any>} Returns a promise | ||
*/ | ||
Intercom.prototype.displayConversationsList = function () { return; }; | ||
/** | ||
* | ||
* @return {Promise<any>} Returns a promise | ||
*/ | ||
Intercom.prototype.unreadConversationCount = function () { return; }; | ||
/** | ||
* | ||
* @param visibility {string} | ||
* @return {Promise<any>} Returns a promise | ||
*/ | ||
Intercom.prototype.setLauncherVisibility = function (visibility) { return; }; | ||
/** | ||
* | ||
* @param visibility {string} | ||
* @return {Promise<any>} Returns a promise | ||
*/ | ||
Intercom.prototype.setInAppMessageVisibility = function (visibility) { return; }; | ||
/** | ||
* | ||
* @return {Promise<any>} Returns a promise | ||
*/ | ||
Intercom.prototype.hideMessenger = function () { return; }; | ||
/** | ||
* | ||
* @return {Promise<any>} Returns a promise | ||
*/ | ||
Intercom.prototype.registerForPush = function () { return; }; | ||
Intercom.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
Intercom.ctorParameters = function () { return []; }; | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [Object]), | ||
__metadata("design:returntype", Promise) | ||
], Intercom.prototype, "registerIdentifiedUser", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [Object]), | ||
__metadata("design:returntype", Promise) | ||
], Intercom.prototype, "registerUnidentifiedUser", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", Promise) | ||
], Intercom.prototype, "reset", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String, Object]), | ||
__metadata("design:returntype", Promise) | ||
], Intercom.prototype, "setSecureMode", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String]), | ||
__metadata("design:returntype", Promise) | ||
], Intercom.prototype, "setUserHash", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [Object]), | ||
__metadata("design:returntype", Promise) | ||
], Intercom.prototype, "updateUser", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String, Object]), | ||
__metadata("design:returntype", Promise) | ||
], Intercom.prototype, "logEvent", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", Promise) | ||
], Intercom.prototype, "displayMessenger", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", Promise) | ||
], Intercom.prototype, "displayMessageComposer", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String]), | ||
__metadata("design:returntype", Promise) | ||
], Intercom.prototype, "displayMessageComposerWithInitialMessage", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", Promise) | ||
], Intercom.prototype, "displayConversationsList", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", Promise) | ||
], Intercom.prototype, "unreadConversationCount", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String]), | ||
__metadata("design:returntype", Promise) | ||
], Intercom.prototype, "setLauncherVisibility", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String]), | ||
__metadata("design:returntype", Promise) | ||
], Intercom.prototype, "setInAppMessageVisibility", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", Promise) | ||
], Intercom.prototype, "hideMessenger", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", Promise) | ||
], Intercom.prototype, "registerForPush", null); | ||
Intercom = __decorate([ | ||
Plugin({ | ||
pluginName: 'Intercom', | ||
plugin: 'cordova-plugin-intercom', | ||
pluginRef: 'intercom', | ||
repo: 'https://github.com/intercom/intercom-cordova', | ||
platforms: ['Android', 'iOS'], | ||
}) | ||
], Intercom); | ||
return Intercom; | ||
IntercomOriginal.prototype.registerIdentifiedUser = function (options) { return cordova(this, "registerIdentifiedUser", {}, arguments); }; | ||
IntercomOriginal.prototype.registerUnidentifiedUser = function (options) { return cordova(this, "registerUnidentifiedUser", {}, arguments); }; | ||
IntercomOriginal.prototype.reset = function () { return cordova(this, "reset", {}, arguments); }; | ||
IntercomOriginal.prototype.setSecureMode = function (secureHash, secureData) { return cordova(this, "setSecureMode", {}, arguments); }; | ||
IntercomOriginal.prototype.setUserHash = function (secureHash) { return cordova(this, "setUserHash", {}, arguments); }; | ||
IntercomOriginal.prototype.updateUser = function (attributes) { return cordova(this, "updateUser", {}, arguments); }; | ||
IntercomOriginal.prototype.logEvent = function (eventName, metaData) { return cordova(this, "logEvent", {}, arguments); }; | ||
IntercomOriginal.prototype.displayMessenger = function () { return cordova(this, "displayMessenger", {}, arguments); }; | ||
IntercomOriginal.prototype.displayMessageComposer = function () { return cordova(this, "displayMessageComposer", {}, arguments); }; | ||
IntercomOriginal.prototype.displayMessageComposerWithInitialMessage = function (initialMessage) { return cordova(this, "displayMessageComposerWithInitialMessage", {}, arguments); }; | ||
IntercomOriginal.prototype.displayConversationsList = function () { return cordova(this, "displayConversationsList", {}, arguments); }; | ||
IntercomOriginal.prototype.unreadConversationCount = function () { return cordova(this, "unreadConversationCount", {}, arguments); }; | ||
IntercomOriginal.prototype.setLauncherVisibility = function (visibility) { return cordova(this, "setLauncherVisibility", {}, arguments); }; | ||
IntercomOriginal.prototype.setInAppMessageVisibility = function (visibility) { return cordova(this, "setInAppMessageVisibility", {}, arguments); }; | ||
IntercomOriginal.prototype.hideMessenger = function () { return cordova(this, "hideMessenger", {}, arguments); }; | ||
IntercomOriginal.prototype.registerForPush = function () { return cordova(this, "registerForPush", {}, arguments); }; | ||
IntercomOriginal.pluginName = "Intercom"; | ||
IntercomOriginal.plugin = "cordova-plugin-intercom"; | ||
IntercomOriginal.pluginRef = "intercom"; | ||
IntercomOriginal.repo = "https://github.com/intercom/intercom-cordova"; | ||
IntercomOriginal.platforms = ["Android", "iOS"]; | ||
return IntercomOriginal; | ||
}(IonicNativePlugin)); | ||
var Intercom = new IntercomOriginal(); | ||
export { Intercom }; | ||
//# sourceMappingURL=index.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvcGx1Z2lucy9pbnRlcmNvbS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsT0FBTywwQ0FBc0MsTUFBTSxvQkFBb0IsQ0FBQzs7SUFnQzFDLDRCQUFpQjs7OztJQVE3Qyx5Q0FBc0IsYUFBQyxPQUFZO0lBUW5DLDJDQUF3QixhQUFDLE9BQVk7SUFPckMsd0JBQUs7SUFTTCxnQ0FBYSxhQUFDLFVBQWtCLEVBQUUsVUFBZTtJQVFqRCw4QkFBVyxhQUFDLFVBQWtCO0lBUTlCLDZCQUFVLGFBQUMsVUFBZTtJQVMxQiwyQkFBUSxhQUFDLFNBQWlCLEVBQUUsUUFBYTtJQU96QyxtQ0FBZ0I7SUFPaEIseUNBQXNCO0lBUXRCLDJEQUF3QyxhQUFDLGNBQXNCO0lBTy9ELDJDQUF3QjtJQU94QiwwQ0FBdUI7SUFRdkIsd0NBQXFCLGFBQUMsVUFBa0I7SUFReEMsNENBQXlCLGFBQUMsVUFBa0I7SUFPNUMsZ0NBQWE7SUFPYixrQ0FBZTs7Ozs7O21CQTNKakI7RUFnQzhCLGlCQUFpQjtTQUFsQyxRQUFRIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3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AgICpcbiAgICogQHBhcmFtIHZpc2liaWxpdHkge3N0cmluZ31cbiAgICogQHJldHVybiB7UHJvbWlzZTxhbnk+fSBSZXR1cm5zIGEgcHJvbWlzZVxuICAgKi9cbiAgQENvcmRvdmEoKVxuICBzZXRJbkFwcE1lc3NhZ2VWaXNpYmlsaXR5KHZpc2liaWxpdHk6IHN0cmluZyk6IFByb21pc2U8YW55PiB7IHJldHVybjsgfVxuXG4gIC8qKlxuICAgKlxuICAgKiBAcmV0dXJuIHtQcm9taXNlPGFueT59IFJldHVybnMgYSBwcm9taXNlXG4gICAqL1xuICBAQ29yZG92YSgpXG4gIGhpZGVNZXNzZW5nZXIoKTogUHJvbWlzZTxhbnk+IHsgcmV0dXJuOyB9XG5cbiAgLyoqXG4gICAqXG4gICAqIEByZXR1cm4ge1Byb21pc2U8YW55Pn0gUmV0dXJucyBhIHByb21pc2VcbiAgICovXG4gIEBDb3Jkb3ZhKClcbiAgcmVnaXN0ZXJGb3JQdXNoKCk6IFByb21pc2U8YW55PiB7IHJldHVybjsgfVxuXG59XG4iXX0= |
@@ -1,18 +0,1 @@ | ||
{ | ||
"name": "@ionic-native/intercom", | ||
"version": "4.4.2", | ||
"description": "Ionic Native - Native plugins for ionic apps", | ||
"module": "index.js", | ||
"typings": "index.d.ts", | ||
"author": "ionic", | ||
"license": "MIT", | ||
"peerDependencies": { | ||
"@ionic-native/core": "^4.2.0", | ||
"@angular/core": "*", | ||
"rxjs": "^5.0.1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/ionic-team/ionic-native.git" | ||
} | ||
} | ||
{"description":"Ionic Native - Native plugins for ionic apps","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/ionic-team/ionic-native.git"},"name":"@ionic-native/intercom","peerDependencies":{"rxjs":"^5.0.1","@ionic-native/core":"5.0.0-alpha.3"},"version":"5.0.0-alpha.3"} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
23511
5
211
2
2
0
1