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

snapsave-media-downloader

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snapsave-media-downloader - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

30

dist/index.d.ts

@@ -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",

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