snapsave-media-downloader
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -1,21 +0,2 @@ | ||
declare const snapsave: (url: string) => Promise<{ | ||
success: boolean; | ||
message: string; | ||
status?: undefined; | ||
data?: undefined; | ||
} | { | ||
status: boolean; | ||
message: string; | ||
success?: undefined; | ||
data?: undefined; | ||
} | { | ||
success: boolean; | ||
data: { | ||
media: SnapSaveDownloaderMedia[]; | ||
description?: string; | ||
thumbnail?: string; | ||
}; | ||
message?: undefined; | ||
status?: undefined; | ||
}>; | ||
declare const snapsave: (url: string) => Promise<SnapSaveDownloaderResponse>; | ||
interface SnapSaveDownloaderMedia { | ||
@@ -26,3 +7,12 @@ resolution?: string; | ||
} | ||
interface SnapSaveDownloaderResponse { | ||
success: boolean; | ||
message?: string; | ||
data?: { | ||
description?: string; | ||
thumbnail?: string; | ||
media: SnapSaveDownloaderMedia[]; | ||
}; | ||
} | ||
export { snapsave }; |
@@ -149,3 +149,3 @@ var __defProp = Object.defineProperty; | ||
} | ||
if (!media.length) return { status: false, message: "Blank data" }; | ||
if (!media.length) return { success: false, message: "Blank data" }; | ||
return { success: true, data: __spreadProps(__spreadValues({}, data), { media }) }; | ||
@@ -152,0 +152,0 @@ } catch (e) { |
{ | ||
"name": "snapsave-media-downloader", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Download Instagram, Facebook and TikTok media using snapsave.app downloader", | ||
@@ -5,0 +5,0 @@ "type": "module", |
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
16585
173