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

@ionic-native/photo-library

Package Overview
Dependencies
Maintainers
6
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic-native/photo-library - npm Package Compare versions

Comparing version 5.15.0 to 5.15.1

2

index.d.ts

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

*/
getLibrary(options?: GetLibraryOptions): Observable<LibraryItem[]>;
getLibrary(success?: (res?: any) => void, error?: (err?: any) => void, options?: GetLibraryOptions): Observable<LibraryItem[]>;
/**

@@ -71,0 +71,0 @@ * Asks user permission to access photo library.

@@ -61,3 +61,3 @@ var __extends = (this && this.__extends) || (function () {

}
PhotoLibraryOriginal.prototype.getLibrary = function (options) { return cordova(this, "getLibrary", { "observable": true }, arguments); };
PhotoLibraryOriginal.prototype.getLibrary = function (success, error, options) { return cordova(this, "getLibrary", { "observable": true }, arguments); };
PhotoLibraryOriginal.prototype.requestAuthorization = function (options) { return cordova(this, "requestAuthorization", { "callbackOrder": "reverse" }, arguments); };

@@ -82,2 +82,2 @@ PhotoLibraryOriginal.prototype.getAlbums = function () { return cordova(this, "getAlbums", { "callbackOrder": "reverse" }, arguments); };

export { PhotoLibrary };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvQGlvbmljLW5hdGl2ZS9wbHVnaW5zL3Bob3RvLWxpYnJhcnkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUFBLE9BQU8sOEJBTU4sTUFBTSxvQkFBb0IsQ0FBQztBQUM1QixPQUFPLEVBQUUsVUFBVSxFQUFZLE1BQU0sTUFBTSxDQUFDO0FBaUI1Qzs7OztHQUlHO0FB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wdG9yOiBUeXBlZFByb3BlcnR5RGVzY3JpcHRvcjxhbnk+XG4gICkgPT4ge1xuICAgIHJldHVybiB7XG4gICAgICB2YWx1ZSguLi5hcmdzOiBhbnlbXSkge1xuICAgICAgICBjb25zdCB3cmFwcGVkT2JzZXJ2YWJsZTogT2JzZXJ2YWJsZTxhbnk+ID0gd3JhcChcbiAgICAgICAgICB0aGlzLFxuICAgICAgICAgIG1ldGhvZE5hbWUsXG4gICAgICAgICAgb3B0c1xuICAgICAgICApLmFwcGx5KHRoaXMsIGFyZ3MpO1xuICAgICAgICByZXR1cm4gbmV3IE9ic2VydmFibGU8YW55Pigob2JzZXJ2ZXI6IE9ic2VydmVyPGFueT4pID0+IHtcbiAgICAgICAgICBjb25zdCB3cmFwcGVkU3Vic2NyaXB0aW9uID0gd3JhcHBlZE9ic2VydmFibGUuc3Vic2NyaWJlKHtcbiAgICAgICAgICAgIG5leHQ6ICh4OiBhbnkpID0+IHtcbiAgICAgICAgICAgICAgb2JzZXJ2ZXIubmV4dChvcHRzLnJlc3VsdFRyYW5zZm9ybSA/IHhbb3B0cy5yZXN1bHRUcmFuc2Zvcm1dIDogeCk7XG4gICAgICAgICAgICAgIGlmIChvcHRzLnJlc3VsdEZpbmFsUHJlZGljYXRlICYmIHhbb3B0cy5yZXN1bHRGaW5hbFByZWRpY2F0ZV0pIHtcbiAgICAgICAgICAgICAgICBvYnNlcnZlci5jb21wbGV0ZSgpO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgZXJyb3I6IChlcnI6IGFueSkgPT4ge1xuICAgICAgICAgICAgICBvYnNlcnZlci5lcnJvcihlcnIpO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIGNvbXBsZXRlOiAoKSA9PiB7XG4gICAgICAgICAgICAgIG9ic2VydmVyLmNvbXBsZXRlKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSk7XG4gICAgICAgICAgcmV0dXJuICgpID0+IHtcbi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c3RyaW5nO1xuICB0aXRsZTogc3RyaW5nO1xufVxuXG4vKipcbiAqIEBoaWRkZW5cbiAqL1xuZXhwb3J0IGludGVyZmFjZSBHZXRMaWJyYXJ5T3B0aW9ucyB7XG4gIHRodW1ibmFpbFdpZHRoPzogbnVtYmVyO1xuICB0aHVtYm5haWxIZWlnaHQ/OiBudW1iZXI7XG4gIHF1YWxpdHk/OiBudW1iZXI7XG4gIGl0ZW1zSW5DaHVuaz86IG51bWJlcjtcbiAgY2h1bmtUaW1lU2VjPzogbnVtYmVyO1xuICB1c2VPcmlnaW5hbEZpbGVOYW1lcz86IGJvb2xlYW47XG4gIGluY2x1ZGVBbGJ1bURhdGE/OiBib29sZWFuO1xuICBpbmNsdWRlVmlkZW9zPzogYm9vbGVhbjtcbiAgbWF4SXRlbXM/OiBudW1iZXI7XG59XG5cbi8qKlxuICogQGhpZGRlblxuICovXG5leHBvcnQgaW50ZXJmYWNlIFJlcXVlc3RBdXRob3JpemF0aW9uT3B0aW9ucyB7XG4gIHJlYWQ/OiBib29sZWFuO1xuICB3cml0ZT86IGJvb2xlYW47XG59XG5cbi8qKlxuICogQGhpZGRlblxuICovXG5leHBvcnQgaW50ZXJmYWNlIEdldFRodW1ibmFpbE9wdGlvbnMge1xuICB0aHVtYm5haWxXaWR0aD86IG51bWJlcjtcbiAgdGh1bWJuYWlsSGVpZ2h0PzogbnVtYmVyO1xuICBxdWFsaXR5PzogbnVtYmVyO1xufVxuIl19

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

*/
getLibrary(options?: GetLibraryOptions): Observable<LibraryItem[]>;
getLibrary(success?: (res?: any) => void, error?: (err?: any) => void, options?: GetLibraryOptions): Observable<LibraryItem[]>;
/**

@@ -71,0 +71,0 @@ * Asks user permission to access photo library.

@@ -68,3 +68,3 @@ var __extends = (this && this.__extends) || (function () {

}
PhotoLibrary.prototype.getLibrary = function (options) { return cordova(this, "getLibrary", { "observable": true }, arguments); };
PhotoLibrary.prototype.getLibrary = function (success, error, options) { return cordova(this, "getLibrary", { "observable": true }, arguments); };
PhotoLibrary.prototype.requestAuthorization = function (options) { return cordova(this, "requestAuthorization", { "callbackOrder": "reverse" }, arguments); };

@@ -91,2 +91,2 @@ PhotoLibrary.prototype.getAlbums = function () { return cordova(this, "getAlbums", { "callbackOrder": "reverse" }, arguments); };

export { PhotoLibrary };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvQGlvbmljLW5hdGl2ZS9wbHVnaW5zL3Bob3RvLWxpYnJhcnkvbmd4L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxPQUFPLDhCQU1OLE1BQU0sb0JBQW9CLENBQUM7QUFDNUIsT0FBTyxFQUFFLFVBQVUsRUFBWSxNQUFNLE1BQU0sQ0FBQztBQUM1QyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBZ0IzQzs7OztHQUlHO0FBQ0gsTUFBTSxVQUFVLHVCQUF1QixDQUNyQyxJQUF5QztJQUF6QyxxQkFBQSxFQUFBLFNBQXlDO0lBRXpDLElBQUksQ0FBQyxVQUFVLEdBQUcsSUFBSSxDQUFDO0lBQ3ZCLE9BQU8sVUFDTCxNQUFjLEVBQ2QsVUFBa0IsRUFDbEIsVUFBd0M7UUFFeEMsT0FBTztZQUNMLEtBQUssRUFBTDtnQkFBTSxjQUFjO3FCQUFkLFVBQWMsRUFBZCxxQkFBYyxFQUFkLElBQWM7b0JBQWQseUJBQWM7O2dCQUNsQixJQUFNLGlCQUFpQixHQUFvQixJQUFJLENBQzdDLElBQUksRUFDSixVQUFVLEVBQ1YsSUFBSSxDQUNMLENBQUMsS0FBSyxDQUFDLElBQUksRUFBRSxJQ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XJ2ZXI8YW55PikgPT4ge1xuICAgICAgICAgIGNvbnN0IHdyYXBwZWRTdWJzY3JpcHRpb24gPSB3cmFwcGVkT2JzZXJ2YWJsZS5zdWJzY3JpYmUoe1xuICAgICAgICAgICAgbmV4dDogKHg6IGFueSkgPT4ge1xuICAgICAgICAgICAgICBvYnNlcnZlci5uZXh0KG9wdHMucmVzdWx0VHJhbnNmb3JtID8geFtvcHRzLnJlc3VsdFRyYW5zZm9ybV0gOiB4KTtcbiAgICAgICAgICAgICAgaWYgKG9wdHMucmVzdWx0RmluYWxQcmVkaWNhdGUgJiYgeFtvcHRzLnJlc3VsdEZpbmFsUHJlZGljYXRlXSkge1xuICAgICAgICAgICAgICAgIG9ic2VydmVyLmNvbXBsZXRlKCk7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBlcnJvcjogKGVycjogYW55KSA9PiB7XG4gICAgICAgICAgICAgIG9ic2VydmVyLmVycm9yKGVycik7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgY29tcGxldGU6ICgpID0+IHtcbiAgICAgICAgICAgICAgb2JzZXJ2ZXIuY29tcGxldGUoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9KTtcbiAgICAgICAgICByZXR1cm4gKCkgPT4ge1xuICAgICAgICAgICAgd3JhcHBlZFN1YnNjcmlwdGlvbi51bnN1YnNjcmliZSgpO1xuICAgICAgICAgIH07XG4gICAgICAgIH0pO1xuICAgICAgfSxcbiAgICAgIGVudW1lcmFibGU6IHRydWVcbiAgICB9O1xuICB9O1xufVxuXG4vKipcbiAqIEBuYW1lIFBob3RvIExpYnJhcnlcbiAqIEBkZXNjcmlwdGlvblxuICogVGhlIFBob3RvTGlicmFyeSBwbHVnaW4gYWxsb3dzIGFjY2VzcyB0byBwaG90b3MgZnJvbSBkZXZpY2UgYnkgdXJsLiBTbyB5b3UgY2FuIHVzZSBwbGFpbiBpbWcgdGFnIHRvIGRpc3BsYXkgcGhv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0eT86IG51bWJlcjtcbiAgaXRlbXNJbkNodW5rPzogbnVtYmVyO1xuICBjaHVua1RpbWVTZWM/OiBudW1iZXI7XG4gIHVzZU9yaWdpbmFsRmlsZU5hbWVzPzogYm9vbGVhbjtcbiAgaW5jbHVkZUFsYnVtRGF0YT86IGJvb2xlYW47XG4gIGluY2x1ZGVWaWRlb3M/OiBib29sZWFuO1xuICBtYXhJdGVtcz86IG51bWJlcjtcbn1cblxuLyoqXG4gKiBAaGlkZGVuXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgUmVxdWVzdEF1dGhvcml6YXRpb25PcHRpb25zIHtcbiAgcmVhZD86IGJvb2xlYW47XG4gIHdyaXRlPzogYm9vbGVhbjtcbn1cblxuLyoqXG4gKiBAaGlkZGVuXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgR2V0VGh1bWJuYWlsT3B0aW9ucyB7XG4gIHRodW1ibmFpbFdpZHRoPzogbnVtYmVyO1xuICB0aHVtYm5haWxIZWlnaHQ/OiBudW1iZXI7XG4gIHF1YWxpdHk/OiBudW1iZXI7XG59XG4iXX0=

@@ -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/photo-library","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0","@ionic-native/core":"^5.1.0"},"version":"5.15.0"}
{"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/photo-library","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0","@ionic-native/core":"^5.1.0"},"version":"5.15.1"}
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