@alizadefaig/pos-server 1.2.6 → 1.2.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alizadefaig/pos-server",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "Server in express js with Proxy to Main server if need and will work with Electron JS",
5
5
  "homepage": "https://gitlab.com/faigalizade/pos-server#readme",
6
6
  "bugs": {
package/utils.js CHANGED
@@ -130,7 +130,7 @@ async function splitImageByHeight(base64Data, partHeight = 1000, toWidth = 576)
130
130
 
131
131
  const partBuffer = await sharp(buffer)
132
132
  .extract({ left: 0, top, width, height: currentHeight })
133
- .resize({width: toWidth})
133
+ // .resize({width: toWidth})
134
134
  .greyscale()
135
135
  .png()
136
136
  .toBuffer();