@capacitor-community/media
Advanced tools
Comparing version 4.0.0-0 to 4.0.1
@@ -10,3 +10,3 @@ { | ||
"name": "getMedias", | ||
"signature": "(options?: MediaFetchOptions | undefined) => any", | ||
"signature": "(options?: MediaFetchOptions | undefined) => Promise<MediaResponse>", | ||
"parameters": [ | ||
@@ -19,8 +19,8 @@ { | ||
], | ||
"returns": "any", | ||
"returns": "Promise<MediaResponse>", | ||
"tags": [], | ||
"docs": "", | ||
"complexTypes": [ | ||
"MediaFetchOptions", | ||
"MediaResponse" | ||
"MediaResponse", | ||
"MediaFetchOptions" | ||
], | ||
@@ -31,5 +31,5 @@ "slug": "getmedias" | ||
"name": "getAlbums", | ||
"signature": "() => any", | ||
"signature": "() => Promise<MediaAlbumResponse>", | ||
"parameters": [], | ||
"returns": "any", | ||
"returns": "Promise<MediaAlbumResponse>", | ||
"tags": [], | ||
@@ -44,3 +44,3 @@ "docs": "", | ||
"name": "savePhoto", | ||
"signature": "(options?: MediaSaveOptions | undefined) => any", | ||
"signature": "(options?: MediaSaveOptions | undefined) => Promise<PhotoResponse>", | ||
"parameters": [ | ||
@@ -53,8 +53,8 @@ { | ||
], | ||
"returns": "any", | ||
"returns": "Promise<PhotoResponse>", | ||
"tags": [], | ||
"docs": "", | ||
"complexTypes": [ | ||
"MediaSaveOptions", | ||
"PhotoResponse" | ||
"PhotoResponse", | ||
"MediaSaveOptions" | ||
], | ||
@@ -65,3 +65,3 @@ "slug": "savephoto" | ||
"name": "saveVideo", | ||
"signature": "(options?: MediaSaveOptions | undefined) => any", | ||
"signature": "(options?: MediaSaveOptions | undefined) => Promise<PhotoResponse>", | ||
"parameters": [ | ||
@@ -74,8 +74,8 @@ { | ||
], | ||
"returns": "any", | ||
"returns": "Promise<PhotoResponse>", | ||
"tags": [], | ||
"docs": "", | ||
"complexTypes": [ | ||
"MediaSaveOptions", | ||
"PhotoResponse" | ||
"PhotoResponse", | ||
"MediaSaveOptions" | ||
], | ||
@@ -86,3 +86,3 @@ "slug": "savevideo" | ||
"name": "saveGif", | ||
"signature": "(options?: MediaSaveOptions | undefined) => any", | ||
"signature": "(options?: MediaSaveOptions | undefined) => Promise<PhotoResponse>", | ||
"parameters": [ | ||
@@ -95,8 +95,8 @@ { | ||
], | ||
"returns": "any", | ||
"returns": "Promise<PhotoResponse>", | ||
"tags": [], | ||
"docs": "", | ||
"complexTypes": [ | ||
"MediaSaveOptions", | ||
"PhotoResponse" | ||
"PhotoResponse", | ||
"MediaSaveOptions" | ||
], | ||
@@ -107,3 +107,3 @@ "slug": "savegif" | ||
"name": "createAlbum", | ||
"signature": "(options: MediaAlbumCreate) => any", | ||
"signature": "(options: MediaAlbumCreate) => Promise<void>", | ||
"parameters": [ | ||
@@ -116,3 +116,3 @@ { | ||
], | ||
"returns": "any", | ||
"returns": "Promise<void>", | ||
"tags": [], | ||
@@ -130,53 +130,2 @@ "docs": "", | ||
{ | ||
"name": "MediaFetchOptions", | ||
"slug": "mediafetchoptions", | ||
"docs": "", | ||
"tags": [], | ||
"methods": [], | ||
"properties": [ | ||
{ | ||
"name": "quantity", | ||
"tags": [], | ||
"docs": "The number of photos to fetch, sorted by last created date descending", | ||
"complexTypes": [], | ||
"type": "number | undefined" | ||
}, | ||
{ | ||
"name": "thumbnailWidth", | ||
"tags": [], | ||
"docs": "The width of thumbnail to return", | ||
"complexTypes": [], | ||
"type": "number | undefined" | ||
}, | ||
{ | ||
"name": "thumbnailHeight", | ||
"tags": [], | ||
"docs": "The height of thumbnail to return", | ||
"complexTypes": [], | ||
"type": "number | undefined" | ||
}, | ||
{ | ||
"name": "thumbnailQuality", | ||
"tags": [], | ||
"docs": "The quality of thumbnail to return as JPEG (0-100)", | ||
"complexTypes": [], | ||
"type": "number | undefined" | ||
}, | ||
{ | ||
"name": "types", | ||
"tags": [], | ||
"docs": "Which types of assets to return (currently only supports \"photos\")", | ||
"complexTypes": [], | ||
"type": "string | undefined" | ||
}, | ||
{ | ||
"name": "albumIdentifier", | ||
"tags": [], | ||
"docs": "Which album identifier to query in (get identifier with getAlbums())", | ||
"complexTypes": [], | ||
"type": "string | undefined" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "MediaResponse", | ||
@@ -195,3 +144,3 @@ "slug": "mediaresponse", | ||
], | ||
"type": "{}" | ||
"type": "MediaAsset[]" | ||
} | ||
@@ -312,2 +261,53 @@ ] | ||
{ | ||
"name": "MediaFetchOptions", | ||
"slug": "mediafetchoptions", | ||
"docs": "", | ||
"tags": [], | ||
"methods": [], | ||
"properties": [ | ||
{ | ||
"name": "quantity", | ||
"tags": [], | ||
"docs": "The number of photos to fetch, sorted by last created date descending", | ||
"complexTypes": [], | ||
"type": "number | undefined" | ||
}, | ||
{ | ||
"name": "thumbnailWidth", | ||
"tags": [], | ||
"docs": "The width of thumbnail to return", | ||
"complexTypes": [], | ||
"type": "number | undefined" | ||
}, | ||
{ | ||
"name": "thumbnailHeight", | ||
"tags": [], | ||
"docs": "The height of thumbnail to return", | ||
"complexTypes": [], | ||
"type": "number | undefined" | ||
}, | ||
{ | ||
"name": "thumbnailQuality", | ||
"tags": [], | ||
"docs": "The quality of thumbnail to return as JPEG (0-100)", | ||
"complexTypes": [], | ||
"type": "number | undefined" | ||
}, | ||
{ | ||
"name": "types", | ||
"tags": [], | ||
"docs": "Which types of assets to return (currently only supports \"photos\")", | ||
"complexTypes": [], | ||
"type": "string | undefined" | ||
}, | ||
{ | ||
"name": "albumIdentifier", | ||
"tags": [], | ||
"docs": "Which album identifier to query in (get identifier with getAlbums())", | ||
"complexTypes": [], | ||
"type": "string | undefined" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "MediaAlbumResponse", | ||
@@ -326,3 +326,3 @@ "slug": "mediaalbumresponse", | ||
], | ||
"type": "{}" | ||
"type": "MediaAlbum[]" | ||
} | ||
@@ -371,4 +371,4 @@ ] | ||
{ | ||
"name": "MediaSaveOptions", | ||
"slug": "mediasaveoptions", | ||
"name": "PhotoResponse", | ||
"slug": "photoresponse", | ||
"docs": "", | ||
@@ -379,3 +379,3 @@ "tags": [], | ||
{ | ||
"name": "path", | ||
"name": "filePath", | ||
"tags": [], | ||
@@ -385,9 +385,2 @@ "docs": "", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "album", | ||
"tags": [], | ||
"docs": "", | ||
"complexTypes": [], | ||
"type": "string | undefined" | ||
} | ||
@@ -397,4 +390,4 @@ ] | ||
{ | ||
"name": "PhotoResponse", | ||
"slug": "photoresponse", | ||
"name": "MediaSaveOptions", | ||
"slug": "mediasaveoptions", | ||
"docs": "", | ||
@@ -405,3 +398,3 @@ "tags": [], | ||
{ | ||
"name": "filePath", | ||
"name": "path", | ||
"tags": [], | ||
@@ -411,2 +404,9 @@ "docs": "", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "album", | ||
"tags": [], | ||
"docs": "", | ||
"complexTypes": [], | ||
"type": "string | undefined" | ||
} | ||
@@ -413,0 +413,0 @@ ] |
{ | ||
"name": "@capacitor-community/media", | ||
"version": "4.0.0-0", | ||
"version": "4.0.1", | ||
"description": "Enable some media features for Capacitor such as create albums, save videos, gifs and more.", | ||
@@ -5,0 +5,0 @@ "author": "Stewan Silva", |
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
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
64597
1001
1