Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ionic-native/email-composer

Package Overview
Dependencies
Maintainers
6
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic-native/email-composer - npm Package Compare versions

Comparing version 5.18.1-beta.3 to 5.18.1-beta.5

index.metadata.json

4

index.d.ts

@@ -113,3 +113,3 @@ import { IonicNativePlugin } from '@ionic-native/core';

*/
export declare class EmailComposerOriginal extends IonicNativePlugin {
export declare class EmailComposer extends IonicNativePlugin {
/**

@@ -167,3 +167,1 @@ * Checks if the app has a permission to access email accounts information

}
export declare const EmailComposer: EmailComposerOriginal;

@@ -1,23 +0,12 @@

var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';
import { IonicNativePlugin, checkAvailability, cordova, getPromise } from '@ionic-native/core';
var EmailComposerOriginal = /** @class */ (function (_super) {
__extends(EmailComposerOriginal, _super);
function EmailComposerOriginal() {
var EmailComposer = /** @class */ (function (_super) {
tslib_1.__extends(EmailComposer, _super);
function EmailComposer() {
return _super !== null && _super.apply(this, arguments) || this;
}
EmailComposerOriginal.prototype.hasPermission = function () { return cordova(this, "hasPermission", { "successIndex": 0, "errorIndex": 2 }, arguments); };
EmailComposerOriginal.prototype.requestPermission = function () { return cordova(this, "requestPermission", { "successIndex": 0, "errorIndex": 2 }, arguments); };
EmailComposerOriginal.prototype.hasAccount = function () {
EmailComposer.prototype.hasPermission = function () { return cordova(this, "hasPermission", { "successIndex": 0, "errorIndex": 2 }, arguments); };
EmailComposer.prototype.requestPermission = function () { return cordova(this, "requestPermission", { "successIndex": 0, "errorIndex": 2 }, arguments); };
EmailComposer.prototype.hasAccount = function () {
var _this = this;

@@ -27,3 +16,3 @@ return (function () {

return getPromise(function (resolve) {
EmailComposerOriginal.getPlugin().hasAccount(function (result) {
EmailComposer.getPlugin().hasAccount(function (result) {
if (result) {

@@ -40,3 +29,3 @@ resolve(true);

};
EmailComposerOriginal.prototype.hasClient = function (app) {
EmailComposer.prototype.hasClient = function (app) {
var _this = this;

@@ -47,3 +36,3 @@ return (function () {

if (app) {
EmailComposerOriginal.getPlugin().hasClient(app, function (result) {
EmailComposer.getPlugin().hasClient(app, function (result) {
if (result) {

@@ -58,3 +47,3 @@ resolve(true);

else {
EmailComposerOriginal.getPlugin().getClients(function (apps) {
EmailComposer.getPlugin().getClients(function (apps) {
resolve(apps.length && apps.length > 0);

@@ -67,3 +56,3 @@ });

};
EmailComposerOriginal.prototype.getClients = function () {
EmailComposer.prototype.getClients = function () {
var _this = this;

@@ -73,3 +62,3 @@ return (function () {

return getPromise(function (resolve) {
EmailComposerOriginal.getPlugin().getClients(function (apps) {
EmailComposer.getPlugin().getClients(function (apps) {
if (Object.prototype.toString.call(apps) === '[object String]') {

@@ -84,3 +73,3 @@ apps = [apps];

};
EmailComposerOriginal.prototype.isAvailable = function (app) {
EmailComposer.prototype.isAvailable = function (app) {
var _this = this;

@@ -98,13 +87,15 @@ return (function () {

};
EmailComposerOriginal.prototype.open = function (options, scope) { return cordova(this, "open", { "successIndex": 1, "errorIndex": 3 }, arguments); };
EmailComposerOriginal.prototype.addAlias = function (alias, packageName) { return cordova(this, "addAlias", {}, arguments); };
EmailComposerOriginal.pluginName = "EmailComposer";
EmailComposerOriginal.plugin = "cordova-plugin-email-composer";
EmailComposerOriginal.pluginRef = "cordova.plugins.email";
EmailComposerOriginal.repo = "https://github.com/katzer/cordova-plugin-email-composer";
EmailComposerOriginal.platforms = ["Amazon Fire OS", "Android", "Browser", "iOS", "Windows", "macOS"];
return EmailComposerOriginal;
EmailComposer.prototype.open = function (options, scope) { return cordova(this, "open", { "successIndex": 1, "errorIndex": 3 }, arguments); };
EmailComposer.prototype.addAlias = function (alias, packageName) { return cordova(this, "addAlias", {}, arguments); };
EmailComposer.pluginName = "EmailComposer";
EmailComposer.plugin = "cordova-plugin-email-composer";
EmailComposer.pluginRef = "cordova.plugins.email";
EmailComposer.repo = "https://github.com/katzer/cordova-plugin-email-composer";
EmailComposer.platforms = ["Amazon Fire OS", "Android", "Browser", "iOS", "Windows", "macOS"];
EmailComposer = tslib_1.__decorate([
Injectable()
], EmailComposer);
return EmailComposer;
}(IonicNativePlugin));
var EmailComposer = new EmailComposerOriginal();
export { EmailComposer };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvQGlvbmljLW5hdGl2ZS9wbHVnaW5zL2VtYWlsLWNvbXBvc2VyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7QUFDQSxPQUFPLGlEQUtMLFVBQVUsRUFDWCxNQUFNLG9CQUFvQixDQUFDOztJQWtJTyxpQ0FBaUI7Ozs7SUFTbEQscUNBQWE7SUFZYix5Q0FBaUI7SUFVakIsa0NBQVU7OzttREFBaUI7Z0JBQ3pCLE9BQU8sVUFBVSxDQUFVLFVBQUMsT0FBTztvQkFDakMsYUFBYSxDQUFDLFNBQVMsRUFBRSxDQUFDLFVBQVUsQ0FBQyxVQUFDLE1BQWU7d0JBQ25ELElBQUksTUFBTSxFQUFFOzRCQUNWLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQzt5QkFDZjs2QkFBTTs0QkFDTCxPQUFPLENBQUMsS0FBSyxDQUFDLENBQUM7eUJBQ2hCO29CQUNILENBQUMsQ0FBQyxDQUFDO2dCQ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21wb3Nlck9wdGlvbnN9IG9wdGlvbnMgRW1haWxcbiAgICogQHBhcmFtIHthbnl9IFtzY29wZV0gU2NvcGUgZm9yIHRoZSBwcm9taXNlXG4gICAqIEByZXR1cm5zIHtQcm9taXNlPGFueT59IFJlc29sdmVzIHByb21pc2Ugd2hlbiB0aGUgRW1haWxDb21wb3NlciBoYXMgYmVlbiBvcGVuZWRcbiAgICovXG4gIEBDb3Jkb3ZhKHtcbiAgICBzdWNjZXNzSW5kZXg6IDEsXG4gICAgZXJyb3JJbmRleDogM1xuICB9KVxuICBvcGVuKG9wdGlvbnM6IEVtYWlsQ29tcG9zZXJPcHRpb25zLCBzY29wZT86IGFueSk6IFByb21pc2U8YW55PiB7XG4gICAgcmV0dXJuO1xuICB9XG5cbiAgLyoqXG4gICAqIEFkZHMgYSBuZXcgbWFpbCBhcHAgYWxpYXMuXG4gICAqXG4gICAqIEBwYXJhbSB7c3RyaW5nfSBhbGlhcyBUaGUgYWxpYXMgbmFtZVxuICAgKiBAcGFyYW0ge3N0cmluZ30gcGFja2FnZU5hbWUgVGhlIHBhY2thZ2UgbmFtZVxuICAgKi9cbiAgQENvcmRvdmEoKVxuICBhZGRBbGlhcyhhbGlhczogc3RyaW5nLCBwYWNrYWdlTmFtZTogc3RyaW5nKTogdm9pZCB7fVxufVxuIl19

@@ -1,1 +0,1 @@

{"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/email-composer","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0","@ionic-native/core":"^5.1.0"},"version":"5.18.1-beta.3"}
{"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/email-composer","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0","@ionic-native/core":"^5.1.0"},"version":"5.18.1-beta.5"}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc