@realvare/based 2.6.22 → 2.6.23
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.
|
@@ -69,7 +69,7 @@ const getImageProcessingLibrary = async () => {
|
|
|
69
69
|
return jimp;
|
|
70
70
|
})(),
|
|
71
71
|
(async () => {
|
|
72
|
-
const sharp = await (Promise.resolve().then(() => __importStar(require('sharp'))).catch(() => { }));
|
|
72
|
+
const sharp = await (Promise.resolve().then(() => __importStar(require('@img/sharp-wasm32'))).catch(() => { }));
|
|
73
73
|
return sharp;
|
|
74
74
|
})()
|
|
75
75
|
]);
|
package/lib/Utils/thumbnail.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@realvare/based",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.23",
|
|
4
4
|
"description": "WhatsApp Web API by Sam",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"baileys",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"music-metadata": "^7.12.3",
|
|
59
59
|
"pino": "^9.6",
|
|
60
60
|
"protobufjs": "^7.2.5",
|
|
61
|
-
"sharp": "^0.33.5",
|
|
61
|
+
"@img/sharp-wasm32": "^0.33.5",
|
|
62
62
|
"uuid": "^10.0.0",
|
|
63
63
|
"ws": "^8.18.0"
|
|
64
64
|
},
|
|
@@ -67,7 +67,6 @@
|
|
|
67
67
|
"@types/got": "^9.6.11",
|
|
68
68
|
"@types/jest": "^29.5.12",
|
|
69
69
|
"@types/node": "^20.14.0",
|
|
70
|
-
"@types/sharp": "^0.32.0",
|
|
71
70
|
"@types/ws": "^8.5.10",
|
|
72
71
|
"conventional-changelog-cli": "^2.2.2",
|
|
73
72
|
"eslint": "^8.57.0",
|
|
@@ -78,7 +77,7 @@
|
|
|
78
77
|
"open": "^10.1.0",
|
|
79
78
|
"qrcode-terminal": "^0.12.0",
|
|
80
79
|
"release-it": "^16.1.0",
|
|
81
|
-
"sharp": "^0.33.5",
|
|
80
|
+
"@img/sharp-wasm32": "^0.33.5",
|
|
82
81
|
"ts-jest": "^29.1.2",
|
|
83
82
|
"ts-node": "^10.9.2",
|
|
84
83
|
"typedoc": "^0.25.12",
|
|
@@ -88,7 +87,7 @@
|
|
|
88
87
|
"audio-decode": "^2.1.3",
|
|
89
88
|
"link-preview-js": "^3.0.0",
|
|
90
89
|
"qrcode-terminal": "^0.12.0",
|
|
91
|
-
"sharp": "^0.33.0"
|
|
90
|
+
"@img/sharp-wasm32": "^0.33.0"
|
|
92
91
|
},
|
|
93
92
|
"peerDependenciesMeta": {
|
|
94
93
|
"audio-decode": {
|