@ionic-native/code-push
Advanced tools
Comparing version 3.1.0-alpha.1 to 3.1.0-alpha.2
39
index.js
@@ -7,4 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
import { Injectable } from '@angular/core'; | ||
import { Cordova, Plugin } from '@ionic-native/core'; | ||
import { Observable } from 'rxjs/Observable'; | ||
/** | ||
@@ -174,8 +178,14 @@ * Defines the possible result statuses of the window.codePush.sync operation. | ||
/** @nocollapse */ | ||
CodePush.ctorParameters = function () { return []; }; | ||
CodePush.ctorParameters = []; | ||
__decorate([ | ||
Cordova() | ||
Cordova(), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', []), | ||
__metadata('design:returntype', Promise) | ||
], CodePush.prototype, "getCurrentPackage", null); | ||
__decorate([ | ||
Cordova() | ||
Cordova(), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', []), | ||
__metadata('design:returntype', Promise) | ||
], CodePush.prototype, "getPendingPackage", null); | ||
@@ -185,9 +195,18 @@ __decorate([ | ||
callbackOrder: 'reverse' | ||
}) | ||
}), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [String]), | ||
__metadata('design:returntype', Promise) | ||
], CodePush.prototype, "checkForUpdate", null); | ||
__decorate([ | ||
Cordova() | ||
Cordova(), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', []), | ||
__metadata('design:returntype', Promise) | ||
], CodePush.prototype, "notifyApplicationReady", null); | ||
__decorate([ | ||
Cordova() | ||
Cordova(), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', []), | ||
__metadata('design:returntype', Promise) | ||
], CodePush.prototype, "restartApplication", null); | ||
@@ -199,3 +218,6 @@ __decorate([ | ||
errorIndex: 3 // we don't need this, so we set it to a value higher than # of args | ||
}) | ||
}), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [Object, Function]), | ||
__metadata('design:returntype', Observable) | ||
], CodePush.prototype, "sync", null); | ||
@@ -209,5 +231,6 @@ CodePush = __decorate([ | ||
platforms: ['Android', 'iOS'] | ||
}) | ||
}), | ||
__metadata('design:paramtypes', []) | ||
], CodePush); | ||
return CodePush; | ||
}()); |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"SyncStatus":{"UP_TO_DATE":0,"UPDATE_INSTALLED":1,"UPDATE_IGNORED":2,"ERROR":3,"IN_PROGRESS":4,"CHECKING_FOR_UPDATE":5,"AWAITING_USER_ACTION":6,"DOWNLOADING_PACKAGE":7,"INSTALLING_UPDATE":8},"InstallMode":{"IMMEDIATE":0,"ON_NEXT_RESTART":1,"ON_NEXT_RESUME":2},"CodePush":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"CodePush","plugin":"cordova-plugin-code-push","pluginRef":"codePush","repo":"https://github.com/Microsoft/cordova-plugin-code-push","platforms":["Android","iOS"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"getCurrentPackage":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}],"getPendingPackage":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}],"checkForUpdate":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackOrder":"reverse"}]}]}],"notifyApplicationReady":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}],"restartApplication":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}],"sync":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"observable":true,"successIndex":0,"errorIndex":3}]}]}]}}}},{"__symbolic":"module","version":1,"metadata":{"SyncStatus":{"UP_TO_DATE":0,"UPDATE_INSTALLED":1,"UPDATE_IGNORED":2,"ERROR":3,"IN_PROGRESS":4,"CHECKING_FOR_UPDATE":5,"AWAITING_USER_ACTION":6,"DOWNLOADING_PACKAGE":7,"INSTALLING_UPDATE":8},"InstallMode":{"IMMEDIATE":0,"ON_NEXT_RESTART":1,"ON_NEXT_RESUME":2},"CodePush":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"CodePush","plugin":"cordova-plugin-code-push","pluginRef":"codePush","repo":"https://github.com/Microsoft/cordova-plugin-code-push","platforms":["Android","iOS"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"getCurrentPackage":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}],"getPendingPackage":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}],"checkForUpdate":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackOrder":"reverse"}]}]}],"notifyApplicationReady":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}],"restartApplication":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}],"sync":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"observable":true,"successIndex":0,"errorIndex":3}]}]}]}}}}] | ||
{"__symbolic":"module","version":1,"metadata":{"SyncStatus":{"UP_TO_DATE":0,"UPDATE_INSTALLED":1,"UPDATE_IGNORED":2,"ERROR":3,"IN_PROGRESS":4,"CHECKING_FOR_UPDATE":5,"AWAITING_USER_ACTION":6,"DOWNLOADING_PACKAGE":7,"INSTALLING_UPDATE":8},"InstallMode":{"IMMEDIATE":0,"ON_NEXT_RESTART":1,"ON_NEXT_RESUME":2},"CodePush":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"CodePush","plugin":"cordova-plugin-code-push","pluginRef":"codePush","repo":"https://github.com/Microsoft/cordova-plugin-code-push","platforms":["Android","iOS"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"getCurrentPackage":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}],"getPendingPackage":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}],"checkForUpdate":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackOrder":"reverse"}]}]}],"notifyApplicationReady":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}],"restartApplication":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}],"sync":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"observable":true,"successIndex":0,"errorIndex":3}]}]}]}}}} |
{ | ||
"name": "@ionic-native/code-push", | ||
"version": "3.1.0-alpha.1", | ||
"version": "3.1.0-alpha.2", | ||
"description": "Ionic Native - Native plugins for ionic apps", | ||
@@ -11,4 +11,4 @@ "module": "index.js", | ||
"@angular/core": "2.2.1", | ||
"@ionic-native/core": "3.1.0-alpha.1", | ||
"@ionic-native/utils": "3.1.0-alpha.1", | ||
"@ionic-native/core": "3.1.0-alpha.2", | ||
"@ionic-native/utils": "3.1.0-alpha.2", | ||
"rxjs": "5.0.0-beta.12" | ||
@@ -15,0 +15,0 @@ }, |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
538
0
28590