wa-sticker-formatter
Advanced tools
Comparing version 4.4.1 to 4.4.2
@@ -44,3 +44,3 @@ "use strict"; | ||
let image = isVideo ? yield (0, videoToGif_1.default)(data) : data; | ||
const isAnimated = isVideo || mime.includes('gif'); | ||
const isAnimated = isVideo || mime.includes('gif') || mime.includes('webp'); | ||
if (isAnimated && ['crop', 'circle', 'rouded'].includes(type)) { | ||
@@ -47,0 +47,0 @@ const filename = `${(0, os_1.tmpdir)()}/${Math.random().toString(36)}.webp`; |
{ | ||
"name": "wa-sticker-formatter", | ||
"version": "4.4.1", | ||
"version": "4.4.2", | ||
"description": "Sticker Creator for WhatsApp", | ||
@@ -5,0 +5,0 @@ "main": "dist", |
46092