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

gallery-video-picker

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gallery-video-picker - npm Package Compare versions

Comparing version 1.0.0 to 1.0.2

8

dist/esm/definitions.d.ts

@@ -6,2 +6,6 @@ declare module '@capacitor/core' {

}
export declare enum PickerVideoType {
CAMERA = 0,
GALLERY = 1
}
export interface PickerVideoOptions {

@@ -20,4 +24,8 @@ readonly sizeLimit: number;

}
export interface PickerVideoPermissions {
readonly permissionType: PickerVideoType;
}
export interface GalleryVideoPickerPlugin {
getVideoFromGallery(options: PickerVideoOptions): Promise<PickerVideoResults>;
getPermissions(options: PickerVideoPermissions): Promise<any>;
}

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

export var PickerVideoType;
(function (PickerVideoType) {
PickerVideoType[PickerVideoType["CAMERA"] = 0] = "CAMERA";
PickerVideoType[PickerVideoType["GALLERY"] = 1] = "GALLERY";
})(PickerVideoType || (PickerVideoType = {}));
//# sourceMappingURL=definitions.js.map

1

dist/esm/index.js

@@ -0,2 +1,3 @@

export * from './definitions';
export * from './web';
//# sourceMappingURL=index.js.map

3

dist/esm/web.d.ts
import { WebPlugin } from '@capacitor/core';
import { GalleryVideoPickerPlugin, PickerVideoOptions, PickerVideoResults } from './definitions';
import { GalleryVideoPickerPlugin, PickerVideoOptions, PickerVideoPermissions, PickerVideoResults } from './definitions';
export declare class GalleryVideoPickerWeb extends WebPlugin implements GalleryVideoPickerPlugin {
constructor();
getVideoFromGallery(options: PickerVideoOptions): Promise<PickerVideoResults>;
getPermissions(options: PickerVideoPermissions): Promise<any>;
}
declare const GalleryVideoPicker: GalleryVideoPickerWeb;
export { GalleryVideoPicker };

@@ -24,2 +24,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

}
getPermissions(options) {
return __awaiter(this, void 0, void 0, function* () {
console.log(options);
return { error: 'Unsupported' };
});
}
}

@@ -26,0 +32,0 @@ const GalleryVideoPicker = new GalleryVideoPickerWeb();

@@ -1,4 +0,10 @@

var capacitorPlugin = (function (exports, core) {
var galleryVideoPicker = (function (exports, core) {
'use strict';
exports.PickerVideoType = void 0;
(function (PickerVideoType) {
PickerVideoType[PickerVideoType["CAMERA"] = 0] = "CAMERA";
PickerVideoType[PickerVideoType["GALLERY"] = 1] = "GALLERY";
})(exports.PickerVideoType || (exports.PickerVideoType = {}));
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -26,2 +32,8 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }

}
getPermissions(options) {
return __awaiter(this, void 0, void 0, function* () {
console.log(options);
return { error: 'Unsupported' };
});
}
}

@@ -28,0 +40,0 @@ const GalleryVideoPicker = new GalleryVideoPickerWeb();

{
"name": "gallery-video-picker",
"version": "1.0.0",
"version": "1.0.2",
"description": "This plugin is used to get video from gallery",

@@ -5,0 +5,0 @@ "main": "dist/plugin.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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