@shibam/sticker-maker 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -111,6 +111,11 @@ var ToWebp = function (buffer, metaInfo, mimeExt, mimeType) { return __awaiter(v
111
111
  fit: sharp_1.fit.fill
112
112
  });
113
113
  }
114
+ else {
115
+ res.resize(512, 512, {
116
+ fit: sharp_1.fit.contain,
117
+ });
118
+ }
114
119
  return [2 /*return*/, res
115
120
  .toFormat('webp')
116
121
  .webp({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shibam/sticker-maker",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "A package for creating stickers",
5
5
  "main": "dist/index.js",
6
6
  "type": "commonjs",