@builderbot/bot 1.3.5-alpha.7 → 1.3.5-alpha.9

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/dist/index.cjs +1 -1
  2. 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('http');
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.7",
3
+ "version": "1.3.5-alpha.9",
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": "cb069d5c88102d204b4e60cfcb5403a5fa152c11"
65
+ "gitHead": "60e588660de6b2d3aee6b1b902763fd7f9cf890c"
66
66
  }