@ionic-native/google-analytics
Advanced tools
Comparing version 3.6.1 to 3.7.0
265
index.js
@@ -1,6 +0,11 @@ | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
var __extends = (this && this.__extends) || (function () { | ||
var 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 function (d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
@@ -45,6 +50,6 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
*/ | ||
export var GoogleAnalytics = (function (_super) { | ||
var GoogleAnalytics = (function (_super) { | ||
__extends(GoogleAnalytics, _super); | ||
function GoogleAnalytics() { | ||
_super.apply(this, arguments); | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
@@ -178,127 +183,127 @@ /** | ||
GoogleAnalytics.prototype.enableUncaughtExceptionReporting = function (shouldEnable) { return; }; | ||
GoogleAnalytics.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
GoogleAnalytics.ctorParameters = function () { return []; }; | ||
__decorate([ | ||
Cordova({ | ||
successIndex: 2, | ||
errorIndex: 3 | ||
}), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [String, Number]), | ||
__metadata('design:returntype', Promise) | ||
], GoogleAnalytics.prototype, "startTrackerWithId", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [Boolean]), | ||
__metadata('design:returntype', Promise) | ||
], GoogleAnalytics.prototype, "setAllowIDFACollection", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [String]), | ||
__metadata('design:returntype', Promise) | ||
], GoogleAnalytics.prototype, "setUserId", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [Boolean]), | ||
__metadata('design:returntype', Promise) | ||
], GoogleAnalytics.prototype, "setAnonymizeIp", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [String]), | ||
__metadata('design:returntype', Promise) | ||
], GoogleAnalytics.prototype, "setAppVersion", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [Boolean]), | ||
__metadata('design:returntype', Promise) | ||
], GoogleAnalytics.prototype, "setOptOut", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', []), | ||
__metadata('design:returntype', Promise) | ||
], GoogleAnalytics.prototype, "debugMode", null); | ||
__decorate([ | ||
Cordova({ | ||
successIndex: 2, | ||
errorIndex: 3 | ||
}), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [String, Object]), | ||
__metadata('design:returntype', Promise) | ||
], GoogleAnalytics.prototype, "trackMetric", null); | ||
__decorate([ | ||
Cordova({ | ||
successIndex: 3, | ||
errorIndex: 4 | ||
}), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [String, String, Boolean]), | ||
__metadata('design:returntype', Promise) | ||
], GoogleAnalytics.prototype, "trackView", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [Number, String]), | ||
__metadata('design:returntype', Promise) | ||
], GoogleAnalytics.prototype, "addCustomDimension", null); | ||
__decorate([ | ||
Cordova({ | ||
successIndex: 5, | ||
errorIndex: 6 | ||
}), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [String, String, String, Number, Boolean]), | ||
__metadata('design:returntype', Promise) | ||
], GoogleAnalytics.prototype, "trackEvent", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [String, Boolean]), | ||
__metadata('design:returntype', Promise) | ||
], GoogleAnalytics.prototype, "trackException", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [String, Number, String, String]), | ||
__metadata('design:returntype', Promise) | ||
], GoogleAnalytics.prototype, "trackTiming", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [String, String, Number, Number, Number, String]), | ||
__metadata('design:returntype', Promise) | ||
], GoogleAnalytics.prototype, "addTransaction", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [String, String, String, String, Number, Number, String]), | ||
__metadata('design:returntype', Promise) | ||
], GoogleAnalytics.prototype, "addTransactionItem", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [Boolean]), | ||
__metadata('design:returntype', Promise) | ||
], GoogleAnalytics.prototype, "enableUncaughtExceptionReporting", null); | ||
GoogleAnalytics = __decorate([ | ||
Plugin({ | ||
pluginName: 'GoogleAnalytics', | ||
plugin: 'cordova-plugin-google-analytics', | ||
pluginRef: 'ga', | ||
repo: 'https://github.com/danwilson/google-analytics-plugin', | ||
platforms: ['Android', 'iOS', 'Browser'] | ||
}), | ||
__metadata('design:paramtypes', []) | ||
], GoogleAnalytics); | ||
return GoogleAnalytics; | ||
}(IonicNativePlugin)); | ||
GoogleAnalytics.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
GoogleAnalytics.ctorParameters = function () { return []; }; | ||
__decorate([ | ||
Cordova({ | ||
successIndex: 2, | ||
errorIndex: 3 | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String, Number]), | ||
__metadata("design:returntype", Promise) | ||
], GoogleAnalytics.prototype, "startTrackerWithId", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [Boolean]), | ||
__metadata("design:returntype", Promise) | ||
], GoogleAnalytics.prototype, "setAllowIDFACollection", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String]), | ||
__metadata("design:returntype", Promise) | ||
], GoogleAnalytics.prototype, "setUserId", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [Boolean]), | ||
__metadata("design:returntype", Promise) | ||
], GoogleAnalytics.prototype, "setAnonymizeIp", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String]), | ||
__metadata("design:returntype", Promise) | ||
], GoogleAnalytics.prototype, "setAppVersion", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [Boolean]), | ||
__metadata("design:returntype", Promise) | ||
], GoogleAnalytics.prototype, "setOptOut", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", Promise) | ||
], GoogleAnalytics.prototype, "debugMode", null); | ||
__decorate([ | ||
Cordova({ | ||
successIndex: 2, | ||
errorIndex: 3 | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String, Object]), | ||
__metadata("design:returntype", Promise) | ||
], GoogleAnalytics.prototype, "trackMetric", null); | ||
__decorate([ | ||
Cordova({ | ||
successIndex: 3, | ||
errorIndex: 4 | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String, String, Boolean]), | ||
__metadata("design:returntype", Promise) | ||
], GoogleAnalytics.prototype, "trackView", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [Number, String]), | ||
__metadata("design:returntype", Promise) | ||
], GoogleAnalytics.prototype, "addCustomDimension", null); | ||
__decorate([ | ||
Cordova({ | ||
successIndex: 5, | ||
errorIndex: 6 | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String, String, String, Number, Boolean]), | ||
__metadata("design:returntype", Promise) | ||
], GoogleAnalytics.prototype, "trackEvent", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String, Boolean]), | ||
__metadata("design:returntype", Promise) | ||
], GoogleAnalytics.prototype, "trackException", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String, Number, String, String]), | ||
__metadata("design:returntype", Promise) | ||
], GoogleAnalytics.prototype, "trackTiming", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String, String, Number, Number, Number, String]), | ||
__metadata("design:returntype", Promise) | ||
], GoogleAnalytics.prototype, "addTransaction", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String, String, String, String, Number, Number, String]), | ||
__metadata("design:returntype", Promise) | ||
], GoogleAnalytics.prototype, "addTransactionItem", null); | ||
__decorate([ | ||
Cordova(), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [Boolean]), | ||
__metadata("design:returntype", Promise) | ||
], GoogleAnalytics.prototype, "enableUncaughtExceptionReporting", null); | ||
GoogleAnalytics = __decorate([ | ||
Plugin({ | ||
pluginName: 'GoogleAnalytics', | ||
plugin: 'cordova-plugin-google-analytics', | ||
pluginRef: 'ga', | ||
repo: 'https://github.com/danwilson/google-analytics-plugin', | ||
platforms: ['Android', 'iOS', 'Browser'] | ||
}) | ||
], GoogleAnalytics); | ||
export { GoogleAnalytics }; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@ionic-native/google-analytics", | ||
"version": "3.6.1", | ||
"version": "3.7.0", | ||
"description": "Ionic Native - Native plugins for ionic apps", | ||
@@ -5,0 +5,0 @@ "module": "index.js", |
Sorry, the diff of this file is not supported yet
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
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
464
36730