@builderbot/bot 1.3.5-alpha.6 → 1.3.5-alpha.8
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.
- package/dist/index.cjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -13891,7 +13891,7 @@ const generalDownload = async (url, pathToSave, headers) => {
|
|
|
13891
13891
|
ensureDirectoryExists(downloadDir);
|
|
13892
13892
|
const handleDownload = () => {
|
|
13893
13893
|
try {
|
|
13894
|
-
const checkProtocol = url.startsWith('
|
|
13894
|
+
const checkProtocol = url.startsWith('https');
|
|
13895
13895
|
const handleHttp = checkProtocol ? followRedirectsExports.https : followRedirectsExports.http;
|
|
13896
13896
|
const fileName = path.basename(checkProtocol ? new URL(url).pathname : url);
|
|
13897
13897
|
const name = path.parse(fileName).name;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@builderbot/bot",
|
|
3
|
-
"version": "1.3.5-alpha.
|
|
3
|
+
"version": "1.3.5-alpha.8",
|
|
4
4
|
"description": "core typescript",
|
|
5
5
|
"author": "Leifer Mendez <leifer33@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/codigoencasa/bot-whatsapp#readme",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"optionalDependencies": {
|
|
63
63
|
"sharp": "0.33.3"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "c70fc652620326a2e16142c6f6636dc46b05ae76"
|
|
66
66
|
}
|